
14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01
- 450 -
To prevent overcutting in this case, instruct the tool to move in the
direction in which it is fed after moving along the Z axis according to
the above rule immediately before the tool is moved along the Z axis.
As the block with sequence No. N2 has the move command in the same
direction as that of the block with sequence No. N6, the correct
compensation is performed.
Overcutting can also be prevented by specifying a command which
specifies the startup block so that the IJ type vector points to the
direction in which the tool is fed after it moves along the Z axis (for
example, N1 G91 G00 G41 X500, Y500, I0 J1 D1;).
N1 G91 G00 G41 X500.0 Y500.0 D1 ;
N2 Y300.0 ;
N3 Z-250.0 ;
N5 G01 Z-50.0 F100 ;
N6 Y700.0 F200 ;
N3, N5 : Move command for the Z axis (2blocks)
Workpiece
N1
N6
fter compensation
N2