Reference Manual
PMAC 2 Software Reference
PMAC Program Command Specification 303
language.
Example
CCR0.25 ; 1/4 unit cutter radius
CC1 ; Cutter compensation on to the left
X10 Y10 ; Compensation introduced during this move
X10 Y20
X20 Y20
X20 Y10
X10 Y10
CC0 ; Cutter compensation off
X0 Y0 ; Compensation eliminated during this move
OPEN PROG 1000 ; G-Code Subprogram
...
N41000 CC1 RETURN ; To implement G41 directly in PMAC
See Also
Cutter (Tool) Radius Compensation
Program commands CC2, CC0, CCR{data}, NORMAL
CC2
Function
Turn On Cutter Radius Compensation Right
Type
Motion program (PROG and ROT)
Syntax
CC2
Remarks
This turns on the cutter radius compensation mode, introducing the compensation
gradually through the next move. The cutter is offset to the right of the programmed tool
path, looking in the direction of cutter movement. The plane of the compensation is
determined by the NORMAL command. This is equivalent to the G42 command of the
machine-tool standard RS-274 language.
Example
CCR1.5 ; 1-1/2 unit cutter radius
CC2 ; Cutter compensation on to the right
X10 Y10 ; Compensation introduced during this move
X10 Y20
X20 Y20
X20 Y10
X10 Y10
CC0 ; Cutter compensation off
X0 Y0 ; Compensation eliminated during this move
OPEN PROG 1000 ; G-Code Subprogram
...
N42000 CC2 RETURN ; To implement G42 directly in PMAC
See Also
Tool Radius Compensation
Program commands CC1, CC0, CCR, NORMAL
CCR{data}
Function
Set Cutter Compensation Radius
Type
Motion program (PROG and ROT)
Syntax
CCR{data}
where:
• {data} represents the cutter compensation radius to be used, in user length units.
Remarks
This sets the radius for cutter compensation (when on) in user units, as defined by the
axis definition statements for the X, Y, and Z axes for the coordinate system. This
function is often part of the D tool data used in the machine-tool standard RS-274 (G)