
6.COMPENSATION FUNCTION PROGRAMMING B-63944EN-2/02
- 132 -
- Tool movement when the moving direction of the tool in a block which includes a
G40 (offset cancel) command is different from the direction of the workpiece
When you wish to retract the tool in the direction specified by X and
Z canceling the tool nose radius compensation at the end of machining
the first block in Fig. 6.5.4 (i), specify the following :
G40 X _ Z _ I _ K _ ;
where I and K are the direction of the workpiece in the next block,
which is specified in incremental mode.
(G42)
G40 X_ Z_ I_ K_ ;
G40
I, K
X, Z
Moving direction of tool
Fig. 6.5.4 (i) If I and K are specified in the same block as G40
Thus, this prevents the tool from overcutting, as shown in Fig. 6.5.4
(j).
G40 X_ Z_ ;
(G42)
G40
X, Z
ctual move command
Fig. 6.5.4 (j) Case in which overcutting occurs in the same block as G40
The workpiece position specified by addresses I and K is the same as
that in the preceding block.
Specify I_K_; in the same block as G40. If it is specified in the same
block as G02 or G03, it is assumed to be the center of the arc.
G40 X_ Z_ I_ K_ ; Tool nose radius compensation
G02 X_ Z_ I_ K_ ; Circular interpolation
If I and/or K is specified with G40 in the cancel mode, the I and/or K
is ignored. The numeral is followed I and K should always be
specified as radius values.
G40 G01 X_ Z_ ;
G40 G01 X_ Z_ I_ K_ ; Offset cancel mode (I and K are
ineffective.)