96-8000 169
G CODES
June 1999
AUTOMATIC T OOL M EASUREMENT (G35, G37)
G35 Automatic Tool Diameter Measurement (This G-code is optional and requires a probe) Group 00
G37 Automatic Tool Offset Measurement
(This G-code is optional and requires a probe) Group 00
F Feed rate in inches (mm) per minute
D Tool diameter offset number (G35)
H Tool offset number (G37)
Z Required Z-axis offset
The automatic tool offset measurement operation (G37) is a non-modal operation that causes a linear move of
the Z-axis until the skip signal is received or the end of Z travel limits. A nonzero H code must be active, G43 or
G44 must be active, a Z value must be specified, and a feed rate must be defined. No X, Y, or A code is
allowed. When the move is terminated, the specified Z and the final Z positions are used to set the specified
(Hnn) tool offset. The active coordinate system is taken into account.
The coordinate system (G54..G59, G110..G129) and tool length offset (H01..H100) may be selected in this
block or in a previous block. The end point of the Z move is controlled only by the maximum travel limits defined
for the machine.
The resulting tool offset value is such that a subsequent move to the Z value specified in the G37 will move the
tool to the position where the skip signal was sensed. The skip signal is a discrete input that usually indicates
that the end of travel has been reached; this is sometimes a probe. Cutter compensation may not be active
during a skip function. M78 or M79 may be used to test if the skip signal was received. The resulting tool offset
is the offset between the work zero and the point where the probe is touched.
The automatic tool diameter measurement function (G35) is used to set the tool diameter (or radius) using two
different probe passes; one on each side of the tool. The first point is set with a G31 block using an M75 and
the second point is set with the G35 block. The distance between these two points is set into the Dnn value
active. A nonzero D code must be selected. Setting 63 is used to reduce this measurement by the width of the
tool probe.