Reference Manual
PMAC 2 Software Reference 
PMAC On-Line Command Specification  283 
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 that 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 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 program(s) 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 PLC, ENABLE PLC, OPEN PLC, PAUSE PLC, LIST 
PLC, <CONTROL-D>. 
Program commands DISABLE PLC, ENABLE PLC, PAUSE PLC, RESUME PLC 
S 
Function 
Execute One Move (Step) of Motion Program 
Scope 
Coordinate-system specific 
Syntax 
S 
Remarks 
This command causes the addressed 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 I53 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 I53 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 I53, if program execution on a Step command encounters a 
BLOCKSTART statement in the program, execution will continue until a BLOCKSTOP 
statement is encountered. 










