PROGRAMMING14. COMPENSATION FUNCTION
B–63614EN/01
204
D Start up
(Tool compensation
start)
G00(or G01)G41(or G42)
P_
D_ ;
G41
G42
P_
D_
: Cutter compensation left (Group07)
: Cutter compensation right (Group07)
: Command for axis movement
: Code for specifying as the cutter compensation value(1–3digits)
(D code)
D Cutter compensation
cancel
(offset mode cancel)
G40
;
G40 : Cutter compensation cancel(Group 07)
(Offset mode cancel)
: Command for axis movement
D Selection of the offset
plane
Offset plane
XpYp
ZpXp
YpZp
Command for plane selection
G17 ;
G18 ;
G19 ;
_
Xp_Yp_
Xp_Zp_
Yp_Zp_
IP
IP
P_
IP
IP
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.
When a cutter compensation command (G41 or G42, nonzero dimension
words in the offset plane, and D code other than D0) 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) is specified, P/S alarm 34 occurs.
When processing the start–up block and subsequent blocks, the CNC
prereads two blocks.
In the offset mode, compensation is accomplished by positioning (G00),
linear interpolation (G01), or circular interpolation (G02, G03). If two or
more blocks that do not move the tool (miscellaneous function, dwell,
etc.) are processed in the offset mode, the tool will make either an
excessive or insufficient cut. If the offset plane is switched in the offset
mode, P/S alarm 37 occurs and the tool is stopped.
Format
Explanations
D Offset cancel mode
D Start Up
D Offset mode