Reference Manual
PMAC 2 Software Reference
276 PMAC On-Line Command Specification
PASSWORD=Reagan ; Attempt to enter password
ERR002 ; PMAC rejects as incorrect password
PASSWORD=BUSH ; Attempt to enter password
ERR002 ; PMAC rejects as incorrect (wrong case)
PASSWORD=Bush ; Attempt to enter password
; PMAC accepts as correct password
LIST PLC 1 ; Request listing of protected program
P1=P1+1 ; PMAC responds because password matched
RETURN
PASSWORD=Clinton ; This changes password to “Clinton”
LIST PLC 1 ; Request listing of protected program
P1=P1+1 ; PMAC responds because password has been
RETURN ; matched by changing it.
$$$ ; Reset the card
PASSWORD=Clinton ; Attempt to enter password
; PMAC accepts as correct password
LIST PLC 1 ; Request listing of protected program
P1=P1+1 ; PMAC responds because password matched
RETURN
See Also
On-line commands LIST, LIST PC, LIST PE, OPEN
PAUSE PLC
Function
Pause specified PLC program(s).
Scope
Global
Syntax
PAUSE PLC {constant}[,{constant}...]
PAU PLC {constant}[,{constant}...]
PAUSE PLC {constant}[..{constant}]
PAU PLC {constant}[..{constant}]
where:
• {constant} is an integer from 0 to 31, representing the program number
Remarks
This command causes 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.
The on-line PAUSE PLC command can only suspend execution of a PLC program either at
the end of a scan, which is the end of the program, or at an ENDWHILE statement in the
program.
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 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.
Example
PAUSE PLC 1
PAU PLC 5
PAU PLC 3,4,7
PAUSE PLC 0..31
See Also
I-variable I5
On-line commands DISABLE PLC, ENABLE PLC, OPEN PLC, RESUME PLC, LIST
PLC, <CONTROL-D>.
Program commands DISABLE PLC, ENABLE PLC, PAUSE PLC, RESUME PLC