Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Program Command Specification 418
See Also:
Cutter (Tool) Radius Compensation
Program commands CC2, CC0, CCR{data}, NORMAL
CC2
Function: Turn On 2D Cutter Radius Compensation Right
Type: Motion program (PROG and ROT)
Syntax: CC2
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.
Note:
The coordinate system must be in move segmentation mode (Isx13>0) in order to
perform cutter radius compensation. If Isx13=0 (no move segmentation), the
moves will be executed without compensation.
Examples:
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 Turbo PMAC
See Also:
Tool Radius Compensation
Program commands CC1, CC0, CCR, NORMAL
CC3
Function: Turn On 3D Cutter Radius Compensation
Type: Motion program (PROG and ROT)
Syntax: CC3
This statement turns on three-dimensional cutter-radius compensation mode, introducing the
compensation gradually through the next move. Because the offset vectors are explicitly specified in 3D
compensation, there is no need to declare a left or right mode, as there is in 2D compensation.
When the CC3 statement is executed, both the tool-orientation and the surface-normal vector are
automatically set to the null vector. The tool-orientation vector can subsequently be modified by TX, TY,
and TZ values. A non-zero surface-normal vector must be declared with NX, NY, and NZ values before
any compensation will actually occur.
3D cutter-radius compensation remains active until the CC0 statement is executed.