Installation guide
180 Programming Commands
"ESC"  Miscellaneous Commands
ACTION: The ESC key (or ESC character code sent via a serial port) is used dur-
ing program execution to force execution of a command in the host
buffer.
COMMAND SYNTAX: ESC (ASCII 27) command
REMARKS: When the controller is executing a BASIC program, any host commands
received are queued for execution after the BASIC program finishes. 
The execution of a host command can be forced to happen immediately
by preceding it with the ESC character (ASCII 27). The command will
consist of all characters from the ESC to the cr (carriage return). Multi-
ple commands can be placed on one line, but they must be separated by
colons (:).
EXAMPLE: <ESC>ABSPOS(1)
Returns the absolute position of axis 1 during program execution.
EVENT1  Motion Parameter
ACTION: Returns the state of the trigger input labeled EVNT1 or sets the trigger
polarity and enable for a Movehome and Movereg cycle.
PROGRAM SYNTAX: EVENT1(axis)=number cr
EVENT1=number1, ... , number8 cr
EVENT1(axis) cr
EVENT1 cr
REMARKS: See Programming Command EVENT1.
EXAMPLES:  EVENT1(2)=0
disables Event1 as a MOVEREG trigger on axis 2
EVENT1(2)=1
enables Event1 to trigger when activated on axis 2
EVENT1(2)=-1
enables Event1 to trigger when open circuited on axis 2.
EVENT1(2)
Returns the current input state for the EVNT1 input on axis 2.
EVENT1
Returns the current input states for all EVNT1 inputs on all assigned
axes.










