Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 316
DELETE PLCC
Function: Erase specified compiled PLC program
Scope: Global
Syntax: DELETE PLCC {constant}
DEL PLCC {constant}
where:
{constant} is an integer from 0 to 31, representing the program number
This command causes Turbo PMAC to erase the specified compiled PLC program. Remember that
because all of the compiled PLC programs must be downloaded to Turbo PMAC together, the only way
to restore this PLC is to download the entire set of compiled PLCs.
Only one PLCC program can be deleted in one command. Ranges and lists of PLCC program numbers
are not permitted in this command.
To perform the same function for an uncompiled PLC program, the command sequence would be OPEN
PLC n CLEAR CLOSE.
Example:
DELETE PLCC 5 ; Erase compiled PLC program 5
DEL PLCC 0.... ; Erase compiled PLC program 0
See Also:
Compiled PLCs (Writing a PLC Program)
I-variable I5
On-line commands DISABLE PLCC, ENABLE PLCC, CLEAR
DELETE ROTARY
Function: Delete rotary motion program buffer of addressed coordinate system
Scope: Coordinate-system specific
Syntax: DELETE ROTARY
DEL ROT
This command causes Turbo PMAC to erase the rotary buffer for the currently addressed coordinate
system and frees the memory that had been allocated for it.
Note:
Turbo PMAC will reject this command, reporting an ERR003 if I6=1 or 3, if the
ROTARY buffer for this coordinate system is open or executing, or if any
ROTARY buffer exists for a lower numbered coordinate system, or if a GATHER
buffer exists. Any of these buffers must be deleted first. ROTARY buffers must
be defined from high-numbered coordinate system to low-numbered coordinate
system, and deleted from low-numbered motor to high-numbered motor.
Example:
&2 DELETE ROTARY ; Try to erase C.S. 2’s rotary buffer
ERR003 ............. ; Turbo PMAC rejects this; C.S. 1 still has
............ ; a rotary buffer
&1 DELETE ROTARY ; Erase C.S. 1's rotary buffer
&2 DELETE ROTARY ; Erase C.S. 2's rotary buffer; OK now
See Also:
Rotary Program Buffers (Writing and Executing Motion Programs)
On-line commands DEFINE ROTARY, OPEN ROTARY.