
PROGRAMMING
B–63664EN/02
12. COMPENSATION FUNCTION
177
If a G41 or G42 block precedes a block in which G40 and I_, J_, 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,J), (I,K), or (J,K). The direction of compensation in the former block
is inherited.
E(a, b)
r
N1 (G42 mode) ;
N2 G40 Xa Yb I_ J_ ;
(I, J)
r
X
S
N2
N1
(G42)
Workpiece
Programmed path
Beam center path
In the N1 block, the tool center moves towards X.
In the N2 block, the tool moves towards E.
G40
In this case, note that the CNC obtains an intersection of the beam path
irrespective of whether inner or outer side machining is specified
r
X
S
(G42)
E
G40
r
(I, J)
Beam center path
Programmed path
When an intersection is not obtainable, the beam comes to the normal
position to the previous block at the end of the previous block.
E
(I, J)
r
S
G40
X
r
Beam center path
Programmed path
(G42)
D Block containing G40
and I_J_K_
The previous block contains
G41 or G42