Re: Running the EMC program




Charles

The GUI that you use is a choice in the ini file that you are using. 
The display section of the usual ini looks like this:

-----
; Sections for display options ------------------------------------------------
[DISPLAY]

; Platform for GUI
PLAT =			nonrealtime

; Name of display program, e.g., xemc
DISPLAY =		xemc
; DISPLAY =		tkemc
; DISPLAY =		yemc
; DISPLAY =		keystick
; DISPLAY =		emcpanel

; Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME =		0.200

; Path to help file
HELP_FILE =		doc/help.txt

; Initial display setting for position, RELATIVE or ABSOLUTE
POSITION_OFFSET =	RELATIVE

; Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK =	ACTUAL

; Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE =	1.2

; Prefix to be used
PROGRAM_PREFIX =	programs/
-----

To change display comment out ( place a ; in front of) the line that says:

	DISPLAY = xemc

so that it looks like:

	;DISPLAY = xemc

and uncomment (remove the ; in front of the line that says:

	;DISPLAY = tkemc

And that should do it.  To do this you will need to open an editor, call
up a file, and learn to change text and save the revised file.  This can
be done with a number of editors but I don't know what you have wir Red
Hat 6.2.  You can play with the editors until you get the hang of it. 
Just save a copy of the file you want to edit before you start in.

>From a terminal window,

	cp emc.ini emcorig.ini

will make a copy.  Whenever I mess it up bad, I just copy the
emcorig.ini back to emc.ini and start over.

You will notice that the last variable in the display section is the
location of the default part program directory.  You could change this to
a location on your dos partition if you mount that partition when your
system boots up.  Then you would have access to these files from both
operating systems.

If you change this directory, you should make it an absolute reference
from root.  On my system, it might look something like this.

	/dos/emc/programs

The leading slash means that it is to start looking from the root
directory.  Don't comfuse this with /root which is the superusers home
directory.

Also remember Dan's good advice about the extension.  I see that the
latest tkemc release uses * so if you put any file in the default
directory, It should find it when tkemc opens a file to run.

Ray

On Sun, 10 Sep 2000, Charles wrote:

> How do I get tkemc to run?




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact