B-63324EN/03 PROGRAMMING 16.MEASUREMENT FUNCTIOM
- 571 -
16.5 AUTOMATIC TOOL LENGTH MEASUREMENT (G37)
By issuing G37 the tool starts moving to the measurement position and
keeps on moving till the approach end signal from the measurement
device is output. Movement of the tool is stopped when the tool tip
reaches the measurement position.
When the tool reaches the measurement position, the difference
between the coordinate value of that position and the coordinate value
specified by G37 is added to the current tool length compensation data.
Compensation data = (Current compensation data) + [(Measurement position reach
signal detection position) - (Coordinate value specified by G37)]
when the MDC bit (bit 0 of parameter 7300) is set to 1
A (Start position)
Measurement position is
commanded with G37
B (Deceleration position)
C (Measurement position)
The tool stops when the approach end signal
Fig.16.5 (a) Automatic tool length measurement
G92 IP_ ; Sets the workpiece coordinate system.i It can be
set with G54 to G59. See Chapter 7,
Hxx ; Specifies an offset number for tool length offset.
G90 G37 IP_ ; Absolute command
G37 is valid only in the block in which it is specified.
IP_ indicates the X_, Y_, Z_ or fourth axis.
- Setting the workpiece coordinate system
Set the workpiece coordinate system so that a measurement can be
made after moving the tool to the measurement position. The
coordinate system must be the same as the workpiece coordinate
system for programming.