12. Tool Compensation Functions
12.4 Tool Radius Compensation
194
12.4.3 G41/G42 Commands and I, J, K Designation
Function and purpose
The compensation direction can be intentionally changed by issuing the G41/G42 command and
I, J, K in the same block.
Command format
G17 (XY plane) G41/G42 X__ Y__ I__ J__ ;
G18 (ZX plane) G41/G42 X__ Z__ I__ K__ ;
G19 (YZ plane) G41/G42 Y__ Z__ J__ K__ ;
Assign an linear command (G00, G01) in a movement mode.
I, J type vectors (G17 XY plane selection)
The new I, J type vector (G17 plane) created by this command is now described. (Similar
descriptions apply to vector I, K for the G18 plane and to J, K for the G19 plane.)
As shown in the figures, the vectors with a size equivalent to the offset amount are made to serve
as the I, J type compensation vector perpendicularly to the direction designated by I, J without the
intersection point of the programmed path being calculated. the I, J vector can be commanded
even in the mode (G41/G42 mode in the block before) and even at the compensation start (G40
mode in the block before).
(1) When I, J is commanded at compensation start
Tool center path
Program path
(G40)
N100 G91 G41 X100. Y100. I150. D1 ;
N110 G04 X1000 ;
N120 G01 F1000 ;
N130 S500 ;
N140 M03 ;
N150 X150. ;
N150
N100
Y
X
N110
N120
N130
N140
D1
(2) When there are no movement commands at the compensation start.
(G40)
N1 G41 I150. D1 ;
N2 G91 X100. Y100. ;
N3 X150. ;
N3
N2
Y
X
D1 N1