8 Basic CNC Programming
8.4 NC Codes
113
In the example below, left cutter compensation is enabled and the compensation value is equal to offset
value 1 from the Offset Table.
NC Code Example:
G0X0Y0
G91; INCREMENTAL
G41D1; CUTTER COMP ON
G1X.25Y.25; MOVE TO P1
G1X0Y1; MOVE TO P2
G1X.75Y0; MOVE TO P3
G1X.25Y-.25; MOVE TO P4
G1X0Y-.75; MOVE TO P5
Explanation
Motion
The black lines show the
specified tool path.
The purple dashed lines
show the compensated tool
path that the tool will
follow.
Note that the distance
between the two paths is
always as specified by D1.
8.4.6.9.4.
D: Specify Cutter Compensation Value
The D code selects a value for cutter compensation or tool offset adjustments by referencing values in
the control program offset table.
For example, D1 selects entry #1 from the offset table.
D0 cancels compensation.
The offsets specified by D1 to D199 are set in the Setup Offsets table, accessed by clicking
Setup
|
Offsets
in the Main Menu.