
12. Tool Compensation Functions
12.4 Tool Radius Compensation
198
Precautions
(1) Issue the I, J type vector in a linear mode (G0, G1). If it is issued in an arc mode at the start of
compensation, program error (P151) will occur.
An IJ designation in an arc mode functions as an arc center designation in the compensation
mode.
(2) When the I, J type vector has been designated, it is not deleted (avoidance of interference)
even if there is interference.
Consequently, overcutting may arise in such a case.
N1 G28 X0Y0 ;
N2 G42 D1 F1000 ;
N3 G91 X100. ;
N4 G42 X100. Y100. I10. ;
N5 X100. Y-100. ;
N6 G40 ;
N7 M02 ;
Cut section
Y
X
N5
(I,J)
N4
N3
N2
N6
(3) The vectors differ for the G38 I _J_ (K_) command and the G41/G42 I_J_(K_) command.
G38
G41/G42
~
(G41)
~
G38 G91 X100. I50. J50. ;
~
~
(G41)
~
G41 G91 X100. I50. J50. ;
~
Example
(I J)
(Compensation
amount)
(I J)
(Compensation
amount)
Vector in IJ direction having a
compensation amount size
Vector perpendicular in IJ direction and
having a compensation amount size