Delta Tau GEO BRICK LV 참조 매뉴얼

다운로드
페이지 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 318 
DISABLE PLC 
Function: 
Disable specified PLC programs. 
Scope: 
Global 
Syntax: 
DISABLE PLC {constant}[,{constant}] 
 
DIS PLC {constant}[,{constant}] 
 
DISABLE PLC {constant}..{constant} 
 
DIS PLC {constant}..{constant} 
where 
 
{constant} is an integer from 0 to 31, representing the program number 
This command causes Turbo PMAC to disable (stop executing) the specified uncompiled PLC program 
or programs.  Execution can subsequently be resumed at the top of the program with the ENABLE PLC 
command.  If it is desired to restart execution at the stopped point, execution should be stopped with the 
PAUSE PLC command, and restarted with the RESUME PLC command 
The on-line DISABLE PLC command can only suspend execution of a PLC program at the end of a 
scan, which is either the end of the program, or after 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.  PLC programs can be re-enabled by using 
the ENABLE PLC command.  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. 
Example: 
DISABLE PLC 1 
DIS PLC 5 
DIS PLC 3,4,7 
DISABLE PLC 0..31 
See Also: 
I-variable I5 
On-line commands ENABLE PLCOPEN PLCDISABLE PLCCENABLE PLCC, <CONTROL-D>
Program commands DISABLE PLCENABLE PLC, DISABLE PLCCENABLE PLCC 
DISABLE PLCC 
Function: 
Disable compiled PLC programs. 
Scope: 
Global 
Syntax: 
DISABLE PLCC {constant}[,{constant}] 
 
DIS PLCC {constant}[,{constant}] 
 
PLCC {constant}..{constant} 
 
DIS PLCC {constant}..{constant} 
where: 
 
{constant} is an integer from 0 to 31, representing the compiled PLC program number 
This command causes Turbo PMAC to disable (stop executing) the specified compiled PLC program or 
programs.  Compiled 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.  PLC 
programs can be re-enabled by using the ENABLE PLCC command. 
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.