Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 315
This command causes Turbo PMAC to erase the lookahead buffer for the addressed coordinate system,
freeing that memory for other use.
Note:
Turbo PMAC will reject this command, reporting an ERR003 if I6=1 or 3, if any
LOOKAHEAD buffer exists for a lower numbered coordinate system, or if any
ROTARY or GATHER buffer exists. Any of these buffers must be deleted first.
LOOKAHEAD buffers must be defined from high-numbered coordinate system to
low-numbered coordinate system, and deleted from low-numbered coordinate
system to high-numbered coordinate system.
Lookahead buffers are not maintained through a power-down or board reset, even if a SAVE command
has been done while the buffers exist. Therefore a board reset will automatically delete all lookahead
buffers.
DELETE GATHER
Function: Erase the data gather buffer.
Scope: Global
Syntax: DELETE GATHER
DEL GAT
This command causes the data gathering buffer to be erased. The memory that was reserved is now de-
allocated and is available for other buffers (motion programs, PLC programs, compensation tables, etc.).
If Data Gathering is in progress (an ENDGATHER command has not been issued and the gather buffer has
not been filled up) Turbo PMAC will report an error on receipt of this command.
Turbo PMAC's Executive Program automatically inserts this command at the top of a file when it uploads
a buffer from Turbo PMAC into its editor, so the next download will not be hampered by an existing
gather buffer. It is strongly recommended that this command be used as well when a program file is
created in the editor (see Examples below).
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 Turbo 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 Turbo PMAC)
On-line commands GATHER, DEFINE GATHER, SIZE