12. Tool Compensation Functions
12.5 Three-dimensional Tool Radius Compensation ; G40/G41,G42
223
Relation with other functions
(1) Normal tool radius compensation
If the plane normal line vector (I, J, K) is not commanded for all three axes in the
three-dimensional tool radius compensation start block, the normal tool radius compensation
mode will take place.
If G41 (G42) is commanded without commanding the plane normal line vector during
three-dimensional tool radius compensation, the modal will change, however, the old vector
will be used.
If G41 (G42) with the plane normal line vector is commanded during tool radius compensation,
this command will be ignored and the normal tool radius compensation will take place.
(2) Tool length offset
Tool length offset is applied on the coordinate after three-dimensional tool radius
compensation.
(3) Tool position offset
Tool position offset is applied on the coordinate after three-dimensional tool radius
compensation.
(4) Fixed
cycle
The program error (P155) will occur.
(5) Scaling
Scaling is applied on the coordinate before three-dimensional tool radius compensation.
Scaling is not applied on the plane normal line vector (I, J, K).
D1=10.
G90 ;
G51 X0 Y0 P0.5 ;
N1 G41 D1 X-10. Y-20. Z-10. I-5.
J-5. K-5. ;
N2 X-30. Y-30. Z-20. ;
N3 X-50. Y-20. Z-10. ;
N4 Y0. ;
N1( -5.000, -10.000, -10.000 )
N1( -10.773, -15.773, -15.773 )
N2( -15.000, -15.000, -20.000 )
N2( -20.773, -20.773, -25.773 )
N3( -25.000, -10.000, -10.000 )
N3( -30.773, -15.773, -15.773 )
N4( -25.000, 0.000, -10.000 )
N4( -30.773, -5.773, -15.773 )
*Upper:
Program position after scaling
Lower:
Position after scaling and
compensation
Program path
Path after
compensation
Plane normal
line vector
Program path
Path after
compensation
Plane normal
line vector
Program path
after scaling
Path after
scaling and
compensation
Program path
after scaling
Path after scaling
and compensation
X
X
Y
Z
-50. -30.
-20.
-10.
-30.
-20.
-10.
-20.