Reference Manual
PMAC 2 Software Reference
PMAC On-Line Command Specification 221
Note:
When the executive program’s data gathering function operates, it
automatically reserves the entire open buffer space for gathered data.
When this has happened, no additional programs or program lines may
be entered into PMAC’s buffer space until the DELETE GATHER
command has freed this memory.
Example
CLOSE ............... ; Make sure no buffers are open
DELETE GATHER ; Free memory
OPEN PROG 50 ; Open new buffer for entry
CLEAR ............... ; Erase contents of buffer
... ; Enter new contents here
See Also
Buffered Commands (Talking to PMAC)
On-line commands GATHER, DEFINE GATHER, SIZE
DELETE LOOKAHEAD {Option 6L firmware only}
Function
Erase lookahead buffer
Scope
Coordinate-system specific
Syntax:
DELETE LOOKAHEAD
DEL LOOK
Remarks
This command erases the lookahead buffer for the addressed coordinate system, freeing the
memory for other uses. It also permits a motor to be added to, or removed from, the
coordinate system, which cannot be done while there is a defined lookahead buffer for the
coordinate system.
PMAC will reject the DELETE LOOKAHEAD command, reporting an ERR003 if I6 = 1 or 3,
if a data gathering buffer exists. An existing data gathering buffer must be erased with a
DELETE GATHER command before the lookahead buffer may be deleted.
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
Remarks
This command causes PMAC to erase the specified compiled PLC program. Remember that
because all of the compiled PLC programs must be downloaded to 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