
12. Tool Compensation Functions
12.2 Tool Length Compensation/Cancel; G43/G44
165
12.2 Tool Length Compensation/Cancel; G43/G44
Function and purpose
The end position of the movement command can be compensation by the preset amount when this
command is used. A continuity can be applied to the program by setting the actual deviation from
the tool length value decided during programming as the compensation amount using this function.
Command format
G43 Zz Hh ;
:
G44 Zz ;
Tool length compensation start
Tool length compensation cancel
Detailed description
(1) Tool length compensation movement amount
The movement amount is calculated with the following expressions when the G43 tool length
compensation command or G44 tool length compensation cancel command is issued.
Z axis move-
ment amount
G43 Zz Hn1 ; z + (
l
h
1
)
Compensation in + direction by tool compensation amount
G43 Zz Hh1 ; z - (
l
h
1
)
Compensation in - direction by tool compensation amount
G44 Zz ;
z - (+) (
l
h
1
)
Compensation amount cancel
(Note)
l
h
1
: Compensation amount for compensation No. h
1
Regardless of the absolute value command or incremental value command, the actual end
point will be the point compensated by the compensation amount designated for the
programmed movement command end point coordinate value.
The G44 (tool length compensation cancel) mode is entered when the power is turned ON or
when M02 has been executed.
(Example 1)
For absolute value command
H01 = -100000
N1 G28 Z0 T01 M06 ;
N2 G90 G92 Z0 ;
N3 G43 Z5000 H01 ;
N4 G01 Z-50000 F500 ;
(Example 2)
For incremental value
command
H01 = -100000
N1 G28 Z0 T01 M06 ;
N2 G91 G92 Z0 ;
N3 G43 Z5000 H01 ;
N4 G01 Z-55000 F500 ;
Tool length
compensation
H01=-100.
Work
p
iece
R
+5.00
0
W
-50.000