
6.COMPENSATION FUNCTION PROGRAMMING B-63944EN-2/02
- 116 -
Format
- Start up (cutter compensation start)
G00(or G01)G41(or G42) IP_D_;
G41 : Cutter compensation left (Group 07)
G42 : Cutter compensation right (Group 07)
IP_ : Command for axis movement
D_ : Code for specifying as the cutter compensation
value (1-3 digits) (D code)
- Cutter compensation cancel (offset mode cancel)
G40 IP_;
G40 : Cutter compensation cancel (Group 07)
(Offset mode cancel)
IP_ : Command for axis movement
- Selection of the offset plane
Offset plane
Command for plane
selection
IP_
XpYp G17 ; Xp_Yp_
ZpXp G18 ; Xp_Zp_
YpZp G19 ; Yp_Zp_
Explanation
- Offset cancel mode
At the beginning when power is applied the control is in the cancel
mode. In the cancel mode, the vector is always 0, and the tool center
path coincides with the programmed path.
- Start-up
When a cutter compensation command (G41 or G42, D code other
than 0) is specified in the offset cancel mode, the CNC enters the
offset mode.
Moving the tool with this command is called start-up.
Specify positioning (G00) or linear interpolation (G01) for start-up.
If circular interpolation (G02, G03) or involute interpolation (G02.2,
G03.2) is specified, alarm PS0034 occurs.
For the start-up and subsequent blocks, the CNC prereads as many
blocks as the number of preread blocks set in the parameter (No.
19625).
- Offset mode
In the offset mode, compensation is accomplished by positioning
(G00), linear interpolation (G01), or circular interpolation (G02, G03).
If three or more blocks that move the tool cannot be read in offset
mode, the tool may make either an excessive or insufficient cut.
If the offset plane is switched in the offset mode, alarm PS0037 occurs
and the tool is stopped.