Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 302
perpendicular moves that may be executed between two moves with a component in the plane of
compensation.
Once this buffer is defined, its use is automatic and invisible to the user. If the number of consecutive
moves perpendicular to the plane of compensation exceeds this buffer size, Turbo PMAC will assume that
the incoming and outgoing moves to this point in the plane of compensation form an outside corner. If it
turns out that they form an inside corner, there will be an overcut, or gouge.
The CCBUF is a temporary buffer. Its contents are never held through a board reset or power cycling. Its
structure is only retained through a board reset or power cycling if the latest SAVE command was issued
with the buffer defined and with I14 = 1.
Turbo PMAC will reject this command, reporting an ERR003 if I6 = 1 or 3, if any CCBUFFER exists for
a lower-numbered coordinate system, or if any LOOKAHEAD or GATHER buffer exists on the board.
Any of these buffers must be deleted first. CCBUFFERs must be defined from high-numbered coordinate
system to low-numbered coordinate system.
Example:
DEFINE CCBUF 5
See Also:
Cutter Radius Compensation
On-line command DELETE CCBUF
Program commands CC0, CC1, CC2, CCR
DEFINE COMP (one-dimensional)
Function: Define Leadscrew Compensation Table
Scope: Motor specific
Syntax: DEFINE COMP {entries}, [#{source}[D],[#{target},]] {count
length}
where:
{entries} is a positive integer constant representing the number of numbers in the table;
{source} (optional) is a constant from 1 to 32 representing the motor whose position controls
which entries in the table are used for the active correction; if none is specified, Turbo PMAC
assumes the source is the addressed motor; if a D is specified after the source motor number, the
desired position of the motor is used to calculate the correction; otherwise the actual position is used;
{target} (optional) is a constant from 1 to 32 representing the motor that receives the correction; if
none is specified, Turbo PMAC assumes the target is the addressed motor;
{count length} is a positive integer representing the span of the table in encoder counts of the
source motor
This command establishes a leadscrew compensation table assigned to the addressed motor. The next
{entries} constants sent to Turbo PMAC will be placed into this table. Once defined the tables are
enabled and disabled with the variable I51.
The table belongs to the currently addressed motor, and unless otherwise specified in the command line, it
will use the addressed motor both for source position data and as the target for its corrections. Each
motor can only have one table that "belongs" to it (for a total of 32 tables in one Turbo PMAC), but it can
act as a source or a target for multiple motors.