8 Basic CNC Programming
8.4 NC Codes
111
4
D0
Setting the offset number to zero cancels
cutter compensation. The cutter moves
from the offset path to the programmed
end point.
Setting the offset number to zero has
the same effect as cancelling cutter
compensation (see 1). However, cutter
compensation is still active.
G91G41D1
…
X.25
Y-.25
Z.2; RETRACT
D0
X-.5Y-.25
M2
5
D0XYZ
The D0 cancels the cutter compensation,
but a subsequent motion (X-.5Y-.25) is
included in the program. The tool moves
towards the programmed path in the
direction of X-.5Y-.25.
Setting the offset number to zero has
the same effect as cancelling cutter
compensation. However, cutter
compensation is still active.
G91G41D1
…
X.25
Y-.25
Z.2;RETRACT
D0 X-.5Y-.25
M2
6
G41/42D0XYZIJK
An IJK vector specifies the direction of
movement after cutter compensation is
cancelled.
Setting the offset number to zero has
the same effect as cancelling cutter
compensation. However, cutter
compensation is still active.
G91G41D1
…
X.25
Y-.25
Z.2; RETRACT
D0 X-.5Y-.25I-.5J-.25
M2