Manual

6-16 Escape Sequences
ESC.S [ (<selector>) [ ; (<id>) ]] : Output Resource Allocation
This command causes the Automove System to output the current allocation or consumption
of some resource, according to the value of the DEC parameter <selector>:
Table 25 - <selector> Parameter Values for Command ESC.S
<selector> Action
1 Output the overall size of the non-volatile download memory, in bytes. This will
normally be 13894. For release 3.5 or later, the allowable download memory is
32986 bytes.
2 Output the number of bytes currently unused in the download memory. The value
is in the range 0 through 13894. For release 3.5 or later, the range may be 0
through 32986.
3 Output the identifying number, 0 to 255, of the currently executing Download
Sequence, or output -1, if no sequence is executing.
4 Output the current level of pattern nesting. If no pattern is active, zero is output.
Otherwise an integer in the range 1 through 12 is output.
5 Output the actual number of memory bytes occupied by the Download Sequence
whose identifying number is given by <id>, or zero if that Download Sequence is
not defined.
6 Output the number of physical action commands which have been processed
during the current Continuous Path sequence, or -1 if no BC command has
been executed. The value output is 0 if only a BC has been executed; it is in the
range 1 through 200 as the commands are processed; and it returns to -1 as soon
as the EC command executes and the motion begins.
7 Output the maximum number of physical action commands allowable in a BC...EC
Continuous Path sequence. This will normally be 200.
If <selector> is omitted or is not one of the above values, a zero is output.
The DEC <id> parameter specifies which Download Sequence is meant if <selector> is 5.
<id> is ignored if <selector> is not 5. If <selector> is 5 but <id> is not in the range 0
through 255 then the System outputs the value zero.
ESC.Y Programmed On
The Programmed On command puts the Automove System into the Programmed On state; in
this state, the machine pays attention to the incoming data from the RS-232C channel. This
state is the power up default.
ESC.Vn: Retrieve Variable Value
This escape sequence allows the value of a variable to be output the same way as an OV
command but can be sent while a machine is performing a downloaded program that is
repeating forever, such as a conveyor controller routine. This allows a “state” variable to be
retrieved to identify what the conveyor program is doing.