Glenn,
There are a number of commands which will give you meaningful status
information. They include:
get estop
Returns On | Off for whether the machine is in estop
get machine
Returns On | Off for whether the machine state is on or off.
get program
Returns the name of the currently loaded
PROTECTED] On Behalf Of Eric H.
Johnson
Sent: Wednesday, February 07, 2007 11:03 AM
To: 'Enhanced Machine Controller (EMC)'
Subject: Re: [Emc-users] Command-line interface to EMC2
Jeff,
It should be noted however that if AXIS, or any other user interface
opens a
program file, that issuing:
get program
It's possible that 'open' is working, but axis isn't doing what you
expect. If another UI (including emcrsh) opens a file, AXIS doesn't
automatically load that file in its preview. If you want to open a file
in AXIS to preview, you can use the script 'axis-remote' to do it.
Jeff
Dear fellow EMC users and developers,
Several months ago I asked a question about remote control of EMC. I
received many excellent responses - thank you all.
As the system architecture progresses, it has become clear (or clearer)
that what I need is the ability run EMC2 from within a
PROTECTED] Behalf Of Glenn R.
Edwards
Sent: Friday, December 29, 2006 1:34 PM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] Command-line interface to EMC2
Dear fellow EMC users and developers,
Several months ago I asked a question about remote control of EMC. I
received many
I've just put an example program, called jdi (just do it) on the
AXIS blog:
jdi.py is an example of controlling emc with a simple Python program
that sends NML messages. It will turn off estop, turn the machine on,
enter AUTO mode, open the named file, and then run it.
While the
Glenn,
See if this is of any value. I haven't checked the released version lately,
so this may only be in head at this time. But do a CVS check out and compile
of 'HEAD'. In there you will find a program called emcrsh (in bin). It
basically supports the same functions as emcsh only over a telnet