PROGRAMMING
B–63854EN/03
14. COMPENSATION FUNCTION
193
If a G41 or G42 block precedes a block in which G40 and I_, K_ are
specified, the system assumes that the path is programmed as a path from
the end position determined by the former block to a vector determined
by (I,K). The direction of compensation in the former block is inherited.
In the N1 block, the tool nose radius center
moves towards P.
In the N2 block, the tool nose radius center
moves towards E.
E(a, b)
r
N1 (G42 mode) ;
N2 G40 Xa Yb I_ J_ ;
(I, J)
r
P
S
N2
N1
(G42)
Workpiece
Programmed path
Tool nose radius center path
(G40)
In this case, note that the CNC obtains an intersection of the tool path
irrespective of whether inner or outer side machining is specified
r
X
S
(G42)
E
G40
r
(I, J)
Tool nose radius
center path
Programmed path
When an intersection is not obtainable, the tool comes to the normal
position to the previous block at the end of the previous block.
E
(I, J)
r
S
G40
X
r
Tool nose radius center path
Programmed path
(G42)
D Block containing G40
and I_K_
S The previous block
contains G41 or G42