Smithy CNC Mills User Manual
Page 24

SmithyCNC Programmer’s Reference Manual: G Codes
2-9
radius value of zero will be used.
It is an error if:
* the D number is not an integer, is negative or is larger than the number of
carousel slots,
* the XY-plane is not active,
* or cutter radius compensation is commanded to turn on when it is already on.
The behavior of the machining center when cutter radius
compensation is on is described in Chapter [cha:Cutter-Radius-Compensation]
2.12 G43, G49: Tool Length Offsets
2.12.1 G43 H-
To use a tool length offset from the tool table, program G43 H-, where the H num-
ber is the desired index in the tool table. It is expected that all entries in
this table will be positive. The H number should be, but does not have to be, the
same as the slot number of the tool currently in the spindle. It is OK for the H
number to be zero; an offset value of zero will be used.
It is an error if:
* the H number is not an integer, is negative, or is larger than the number of
carousel slots.
2.12.2 G43 H-1 I- K-
To use a tool length offset from the program, use G43 H-1 I- K-, where I- gives the
X tool offset (for lathes) and K- gives the Z tool offset (for lathes and mills).
It is an error if:
* motion is commanded on the same line as G43 H-1
2.12.3 G49
To use no tool length offset, program G49.
It is OK to program using the same offset already in use. It is also OK to program
using no tool length offset if none is currently being used.