
12. Tool Compensation Functions
12.3 Tool Length Compensation in the Tool Axis Direction ; G43.1/G44
172
Example of program
(1) Example of arc machining
Shown below is an example of a program for linear
→
arc
→
arc
→
linear machining using the
B and C rotary axes on the ZX plane.
X axis
Tool length
compensation
amount
Example of program
Tool with no
compensation
N09
N10
Path after
compensation
Programmed
path
N07
Z axis
N12
N11
N08
Machining program
N01 G91 G28 X0 Y0 Z0 ; Compensation amount H01 = 50 mm
N02 G28 B0 C0 ;
N03 G90 G54 G00 X400. Y0 ;
N04 Z-150. ;
N05 B90. ; B axis: 90 degrees
N06 G18 ;
N07 G43.1 X250. H01 ; Tool length compensation in the tool axis
direction ON
N08 G01 Z0 F200 ;
N09 G02 X0 Z250. I-250. K0 B0 ; Top right arc, B axis: 0 degrees
N10 G02 X-250. Z0 I0 K-250. B-90. ; Bottom right arc,
B axis: -90 degrees
N11 G01 Z-150. ;
N12 G00 G44 X-400. ; Tool length compensation in the tool axis
direction OFF
N13 G91 G28 B0 C0 ;
N14 G28 X0 Y0 Z0 ;
N15 M02 ;
X axis
Tool length compensation
amount
(Reference)
Example of tool length
compensation (G43)
N09
N10
Path after
compensation
Programmed path
N07
Z axis
N12
N11
N08