
12. Tool Compensation Functions
12.4 Tool Radius Compensation
197
Selection of compensation modal
The G41 or G42 modal can be selected at any time.
N1 G28 X0 Y0 ;
N2 G41 D1 F1000 ;
N3 G01 G91 X100. Y100. ;
N4 G42 X100. I100. J-100. D2 ;
N5 X100. Y-100. ;
N6 G40 ;
N7 M02 ;
%
N3
x
D1
N2
N6
(I,J)
N5
y
N4
D2
Compensation amount for compensation vectors
The offset amounts are determined by the offset number (modal) in the block with the I, J
designation.
X
N110
(I,J)
A
Y
N100
D1
D1
(G41 D1 G91)
N100 G41 X150. I50. ;
N110 X100. Y-100. ;
< Example 1>
Vector A is the offset amount entered in offset number modal D1 in the N200 block.
(G41 D1 G91)
N200 G41 X150. I50. D2 ;
N210 X100. Y-100. ;
X
N210
(I,J)
B
Y
N200
D2
D1
< Example 2>
Vector B is the offset amount entered in offset number modal D2 in the N200 block.