Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 393 
The RESUME PLC command cannot be used to restart execution of a PLC program that has been stopped 
with a DISABLE PLC command.  However, after a PLC has been stopped with a DISABLE PLC 
command, if a PAUSE PLC command is then given for that PLC, then a RESUME PLC command can 
be given to start operation at the point at which it has been stopped. 
Note: 
RESUME PLC 0..31 will restart all PLCs that have been paused, but not any 
that have been disabled. 
The line of the PLC at which execution will be resumed can be read with the LIST PLC,,1 command 
PLC programs are specified by number, and may be used singularly in this command, in a list (separated 
by commas), or in a range of consecutively numbered programs. 
If a motion or PLC program buffer is open when this command is sent to Turbo PMAC, the command 
will be entered into that buffer for later execution. 
I-variable I5 must be in the proper state to allow the PLC programs specified in this command to execute. 
Example: 
RESUME PLC 1 
RES PLC 2,7 
RESUME PLC 3,21 
RESUME PLC 0..31 
Note: 
If the RESUME command refers to multiple PLCs, only those PLCs that have been 
stopped with the PAUSE command will be resumed. 
See Also: 
I-variable I5 
On-line commands DISABLE PLCENABLE PLCOPEN PLCPAUSE PLCLIST PLC
<CONTROL-D>
Program commands DISABLE PLCENABLE PLCPAUSE PLC, RESUME PLC 
Function: 
Execute One Move (Step) of Motion Program 
Scope: 
Coordinate-system specific 
Syntax: 
This command causes the addressed Turbo PMAC coordinate system to start single-step execution of the 
motion program addressed by the coordinate system’s program counter from the location of the program 
counter.  Addressing of the program counter is done initially using the B{constant} command. 
At the default Isx53 value of zero, a STEP command causes program execution through the next move or 
DWELL command in the program, even if this takes multiple program lines. 
When Isx53 is set to 1, a STEP command causes program execution of only a single program line, even if 
there is no move or DWELL command on that line.  If there is more than one DWELL or DELAY command 
on a program line, a single STEP command will only execute one of the DWELL or DELAY commands. 
Regardless of the setting of Isx53, if program execution on a STEP command encounters a 
BLOCKSTART statement in the program, execution will continue until a BLOCKSTOP statement is 
encountered. 
If the coordinate system is already executing a motion program when this command is sent, the command 
puts the program in single-step mode, so execution will stop at the end of the latest calculated move.  In 
this case, its action is the equivalent of the Q command.