12. Tool Compensation Functions
12.5 Three-dimensional Tool Radius Compensation ; G40/G41,G42
227
(14) Reference position return
All the axes will be temporarily canceled at the intermediate point.
D1=10.
G91 ;
N1 G41 D1 X-10. Y-20. Z-10. I-5.
J-5. K-5. ;
N2 X-20. Y-10. Z-10. ;
N3 X-20. Y10. Z10. ;
N4 G28 X0 Y0 Z0 ;
N1( -10.000, -20.000, -10.000 )
N1( -15.773, -25.773, -15.773 )
N2( -30.000, -30.000, -20.000 )
N2( -35.773, -35.773, -25.773 )
N3( -50.000, -20.000, -10.000 )
N3( -55.773, -25.773, -15.773 )
N4( 0.000, 0.000, 0.000 )
N4( 0.000, 0.000, 0.000 )
N4( 20.000, 10.000, 10.000 )
N4( 20.000, 10.000, 10.000 )
*Upper:
Program position
(workpiece coordinate)
Lower:
Position after compensation
X
X
Z
-30. -20. -10.
-40.
-20.
-10.
-30.
W(0,0)
M(0,0)
-10.
Y
-30.
-20.
M(0,0)
W(0,0)
-20.
-10.
-50.
-30. -20.
-70. -50.
Program path
Path after
compensation
Program path
Path after
compensation
(15) NC reset
Three-dimensional tool radius compensation will be canceled if NC reset is executed
during three-dimensional tool radius compensation.
(16) Emergency stop
Three-dimensional tool radius compensation will be canceled by the emergency stop or
emergency stop cancel during three-dimensional tool radius compensation.