Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC Program Command Specification 
 460 
Examples: 
P1=0 
P746=P20+P40 
P893=SIN(Q100)-0.5 
See Also: 
How Turbo PMAC Executes a Motion Program (Writing and Executing Motion Programs) 
On-line command P{constant}={expression} 
Program commands I{data}={expression}M{data}={expression}
Q{data}={expression}
PAUSE PLC  
Function: 
Pause execution of PLC programs 
Type: 
Motion program (PROG or ROT), PLC program 
Syntax: 
PAUSE PLC {constant}[,{constant}...] 
 
PAU PLC {constant}[,{constant}...] 
 
PAUSE PLC {constant}[..{constant}] 
 
PAU PLC {constant}[..{constant}] 
where: 
 
each {constant} is an integer from 0 to 31 representing the PLC number 
This command causes Turbo PMAC to stop execution of the specified uncompiled PLC program or 
programs, with the capability to restart execution at this point (not necessarily at the top) with a RESUME 
PLC
 command.  Execution can also be restarted at the top of the program with the ENABLE PLC 
command. 
If the PLC program is paused from within that PLC, execution is stopped immediately after the PAUSE 
PLC
 command. 
If the PLC program is paused while it is not in the middle of a scan, which is always the case if it is 
paused from another background PLC, it will obviously be paused at the end of a scan – after an 
ENDWHILE or after the last line. 
If the PLC program is paused while it has been interrupted in the middle of a scan (for example, from a 
motion program), its execution will resume after the interrupt and continue until after it executes any of 
the following: 
 
Any ENABLE PLCDISABLE PLCPAUSE PLC, or RESUME PLC command 
 
An ENDWHILE command 
 
The last line of the program 
Execution will be paused at this point. 
PLC programs are specified by number, and may be specified in a command singularly, in a list 
(separated by commas), or in a range of consecutively numbered programs.   
If no buffer is open when this command is sent to Turbo PMAC, it will be executed immediately as an 
on-line command. 
Examples: 
PAUSE PLC 1 
PAUSE PLC 4,5 
PAUSE PLC 7..20 
PAU PLC 3,8,11 
PAU PLC 0..31