Reference Manual

PMAC 2 Software Reference
220 PMAC On-Line Command Specification
See Also
Backlash Compensation (Setting Up a Motor)
I-variables I99, Ix85, Ix86
On-line command DEFINE BLCOMP
DELETE COMP
Function
Erase leadscrew compensation table
Scope
Motor specific
Syntax
DELETE COMP
DEL COMP
Remarks
This command causes PMAC to erase the compensation table belonging to the addressed
motor, freeing that memory for other use.
Note:
PMAC will reject this command, reporting an ERR003 if I6=1 or 3, if
any COMP buffer exists for a lower numbered motor, or if any
TCOMP, BLCOMP, TBUF, ROTARY, or GATHER buffer exists.
Any of these buffers must be deleted first. COMP buffers must be
defined from high-numbered motor to low-numbered motor, and
deleted from low-numbered motor to high-numbered motor.
Remember that a compensation table belonging to a motor does not necessarily affect that
motor or is not necessarily affected by that motor. The command LIST COMP DEF will
tell which motors it affects and is affected by.
Example
#2DEL COMP ... ; Erase table belonging to Motor 2
ERR003............. ; PMAC rejects this command
#1 DELETE COMP ; Erase table belonging to Motor 1
#2 DELETE COMP ; Erase table belonging to Motor 2
See Also
Leadscrew compensation (Setting Up a Motor)
I-variable I51
On-line commands {constant}, LIST COMP, LIST COMP DEF, DEFINE COMP
DELETE GATHER
Function
Erase the data gather buffer.
Scope
Global
Syntax
DELETE GATHER
DEL GAT
Remarks
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) PMAC will report an error on
receipt of this command.
PMAC’s Executive Program automatically inserts this command at the top of a file when it
uploads a buffer from PMAC into its editor, so the next download will not be hampered by an
existing gather buffer. It is strongly recommended that you use this command as well when
you create a program file in the editor (see Examples, below).