Delta Tau GEO BRICK LV User Manual

Page of 440
Turbo PMAC User Manual 
Writing and Executing Motion Programs
 
295
 
This same command also specifies the plane for circular interpolation.  NORMAL K-1 is the default.  The 
compensation plane should not be changed while compensation is active. 
Other common settings are NORMAL J-1, which specifies the ZX-plane for compensation, and NORMAL 
I-1
, which specifies the YZ-plane.  These three settings of the normal vector correspond to RS-274 G-
codes G17, G18, and G19, respectively.  If implementing G-codes in Turbo PMAC program 1000, 
incorporate them in PROG 1000: 
N17000 NORMAL K-1 RETURN 
N18000 NORMAL J-1 RETURN 
N19000 NORMAL I-1 RETURN 
Defining the Magnitude of Compensation 
The magnitude of the compensation – the cutter radius – must be set using the buffered motion program 
command CCR{data} (Cutter Compensation Radius).  This command can take either a constant 
argument (e.g. CCR0.125) or an expression in parentheses (e.g. CCR(P10+0.0625)
)
.  The units of 
the argument are the user units of the X, Y, and Z-axes.  In RS-274 style programs, these commands are 
often incorporated into “tool data” D-codes using Turbo PMAC motion program 1003. 
Negative and zero values for cutter radius are possible.  Note that the behavior in changing between a 
positive and negative magnitude is different from changing the direction of compensation.  See the 
Changes in Compensation section of this manual.  Also, the behavior in changing between a non-zero 
magnitude and a zero magnitude is different from turning the compensation on and off.  See the 
appropriate sections below. 
Turning On Compensation 
The compensation is turned on by buffered motion program command CC1 (offset left) or CC2 (offset 
right).  These are equivalent to the RS-274 G-Codes G41 and G42, respectively.  If implementing G-
Code subroutines in Turbo PMAC motion program 1000, incorporate them in 
PROG 1000: 
N41000 CC1 RETURN 
N42000 CC2 RETURN 
Turning Off Compensation 
The compensation is turned off by buffered motion program command CC0, which is equivalent to the 
RS-274 G- Code G40.  If implementing G-Code subroutines in Turbo PMAC motion program 1000, 
incorporate them in 
PROG 1000: 
N40000 CC0 RETURN 
How Turbo PMAC Introduces Compensation 
Turbo PMAC gradually introduces compensation over the next LINEAR or CIRCLE-mode move 
following the CC1 or CC2 command that turns on compensation.  This lead-in move ends at a point one 
cutter radius away from the intersection of the lead-in move and the first fully compensated move with 
the line from the programmed point to this compensated endpoint being perpendicular to the path of the 
first fully compensated move at the intersection. 
Note:  
Few controllers can make their lead-in move a CIRCLE-mode move.  This 
capability permits establishing contact with the cutting surface very gently, 
important for fine finishing cuts. 
Inside Corner Introduction 
If the lead-in move and the first fully compensated move form an inside corner, the lead-in move goes 
directly to this point.  When the lead-in move is a LINEAR-mode move, the compensated tool path will 
be at a diagonal to the programmed move path.  When the lead-in move is a CIRCLE-mode move, the 
compensated tool path will be a spiral.