15. Measurement Support Functions
15.1 Automatic Tool Length Measurement; G37.1
544
Example of execution
(1) For new measurement
Tool
Reference position (Z0)
Tool
len
g
th
F
R
D
D
Measuring
device
Mov
eme
nt a
m
ou
nt b
y
to
ol
lengt
h m
eas
urem
ent
G28 Z0;
T01;
M06 T02;
G90 G00 G43 Z0 H01;
G37.1 Z-400 R200 D150 F1;
Coordinate value when reached at the
measurement position=-300
-300-(-400)=100
Thus, 0+100=100 H01=100.
-100
-200
-300
-400
0
(Note)
A new measurement is applied when the current tool length compensation amount is zero.
Thus, length will be compensated whether or not length dimension by tool compensation
memory type and length wear are differentiated.
(2) When tool compensation is applied
Tool
Reference position (Z0)
F
R
D
D
Measuring
device
G28 Z0;
T01;
M06 T02;
G43 G00 Z0 H01;
G37.1 Z-400. R200. D50. F10;
Coordinate value when reached
measurement position=-305
-305-(400)=95
Thus, H01=95.
-100
-200
-300
-400
0
Wear amount
(Note)
A measurement for the wear amount is applied when the current tool length compensation
amount is other than zero. Thus, length wear will be compensated if length dimension by
tool compensation memory type and length wear are differentiated. If not differentiated,
length dimension will be compensated.