Reference Manual
PMAC 2 Software Reference
310 PMAC Program Command Specification
See Also
I-variable I5
On-line commands ENABLE PLC, DISABLE PLC, ENABLE PLCC, DISABLE
PLCC, <CONTROL-D>
Program command ENABLE PLC, DISABLE PLCC, ENABLE PLCC
DISABLE PLCC {constant}[,{constant}...]
Function
Disable Compiled PLC Programs
Type
Motion program (PROG or ROT), PLC program (uncompiled or compiled), except for
PLC0 and PLCC0
Syntax
DISABLE PLCC {constant}[,{constant}...]
DISABLE PLCC {constant}[..{constant}]
DIS PLCC {constant}[,{constant}...]
DIS PLCC {constant}[..{constant}]
where:
• {constant} is an integer from 0 to 31 representing the compiled PLC number
Remarks
Warning:
This command should not be used in a foreground PLC either
uncompiled PLC 0 or compiled PLCC 0 as its operation cannot be
guaranteed in these programs.
This command disables the operation of the specified compiled PLC (PLCC) programs.
The programs are specified by number, and can be used singly, in a list separated by
commas, or in a continuous range.
I-variable I5 is a separate master control of PLC program operation. Think of the two
bits of I5 as two master circuit breakers for a house, and the individual PLC and PLCC
enable/disable bits as separate light switches within the house. Both the master breaker
and the switch must be on for the PLC to operate. The breakers and the switches can be
operated independently without affecting the setting of the others.
Example
DISABLE PLCC 1
DISABLE PLCC 4,5
DISABLE PLCC 7..20
DIS PLCC 3,8,11
DIS PLC 0..31
See Also
I-variable I5
On-line commands ENABLE PLC, DISABLE PLC, ENABLE PLCC, DISABLE
PLCC, <CONTROL-D>
Program command ENABLE PLC, DISABLE PLC, ENABLE PLCC
DISPLAY [{constant}] "{message}"
Function
Display Text to Display Port
Type
Motion program (PROG and ROT), PLC program
Syntax
DISPLAY [{constant}] "{message}"
DISP [{constant}] "{message}"
where:
• {constant} is an integer value between 0 and 79 specifying the starting character
number on the display; if no value is specified, 0 is used.