12. Tool Offset Functions
12.3.2 Other operations during tool radius compensation
Insertion of corner arc
An arc that uses the compensation amount as the radius is inserted without calculating the point of
intersection at the workpiece corner when G39 (corner arc) is commanded.
Inserted
Tool center path
s
circular
r = Compensation amount
Program path
(With G39 command)
For outer side compensation
Y
N6
N7
N1
Changing and holding of compensation vector
The compensation vector can be changed or held during tool diameter compensation by using the
G38 command.
(1) Holding of vector: When G38 is commanded in a block having a movement command,
(2) Changing of vector: A new compensation vector direction can be commanded with I, J
Point of
intersection
(No G39 command)
Tool center path
N5
Program path
N3
N2
D1=5.000
the point of intersection will not be calculated at the program end point,
and instead the vector of the previous block will be held.
G38 Xx Yy ;
This can be used for pick feed, etc.
and K, and a new offset amount with D.
(These can be commanded in the same block as the movement
command.)
G38 Ii Jj Dd ; (I, J and K will differ according to the selected
12.3 Tool radius compensation
Inserted
circular
s
Tool center path
(With G39 command)
For inner side compensation
N1 G28X0Y0 ;
N2 G91G01G42X20.Y20.D1F100 ;
N3 G39X40. ;
N4 G39Y40. ;
N4
N5 G39X-40. ;
N6 Y-40. ;
N7 G40X-20.Y-20. ;
N8 M02 ;
X
plane.)
116
Program path
r = Compensation
amount
Point of
intersection
(No G39 command)