
B-63942EN/02 NC FUNCTION 8.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
- 307 -
8.18 AUTOMATIC TOOL LENGTH MEASUREMENT /
AUTOMATIC TOOL OFFSET
8.18.1 Automatic Tool Length Measurement
M
Difference between the coordinate value of tool when tool end has
reached the measuring position and coordinate value of the measuring
position is automatically measured, calculated, and added to the
currently set tool offset amount by CNC system. The machine must be
equipped with measuring devices, for example touch sensor, so that a
signal is sent when the tool end has reached the measuring position.
Format
G92 IP_ ; Sets the workpiece coordinate system.
(It can be set with G54 to G59.)
Hxx ; Specifies an offset number for tool length
compensation.
G90 G37 IP_ ; Absolute programming
G37 is valid only in the block in which it is specified.
IP_ indicates the X-, Y-, Z-, or fourth axis.
Explanation
Compensation value = (Current compensation value)
+ [(approach end signal detection position) - (coordinate value set by G37)]
Z
X
0
(Start point)
Measurement position is commanded with G37
B (Deceleration position)
C (Measurement position)
The tool stops when the approach end signal go
Rapid traverse
Measurement feedrate
When G37 is specified, the tool moves from the start point to
deceleration position by rapid traverse, then from the deceleration
position the tool decelerates to a parameter-set measurement federate
and moves until the approach end signal is issued from the measuring
device. That is, the tool movement stops when the tool tip has reached
the measurement position.