
PROGRAMMING
B–63534EN/02
14. COMPENSATION FUNCTION
283
G39
(or ) ;
D Start up
(Cutter compensation
start)
G00 (or G01) G41 (or G42)
H_ ;
G41
G42
R_
I
_
H_
: Command for axis movement
: Cutter compensation left (Group 07)
: Cutter compensation right (Group 07)
: Incremental value from the end position. Perpendicular to the offset
vector at the end position.
: Code for specifying the cutter compensation value (1 to 3 digits)
D Corner offset circular
interpolation
P_
R_
I
G39
: Corner offset circular interposition (Group 00)
: Incremental value from the end position. Perpendicular to
the offset vector at the end position.
D Cutter compensation
cancel
G40
P_
;
G40 : Cutter compensation cancel (Group 07)
P_
: Command for axis movement
D Selection of the offset
plane
Offset plane
XpYp
ZpXp
YpZp
Command of the plane selection
G17 ;
G18 ;
G19 ;
_
Xp_Yp_
Xp_Zp_
Yp_Zp_
R_
I
I_J_
I_K_
J_K_
P_
(or)
R_
I
R_I
IP_
IP
IP
IP
IP
IP
IP
Specify the number assigned to a cutter compensation value with a 1– to
3–digit number after address H (H code) in the program. The H code can
be specified in any position before the offset cancel mode is first switched
to the cutter compensation mode. The H code need not be specified again
unless the cutter compensation value needs to be changed.
Assign cutter compensation values to the H codes on the MDI panel. For
the specification of the cutter compensation value, see III–11.4.1 in the
section on operation.
The table below shows the range in which the cutter compensation values
can be specified.
Table 14.4 Valid range of cutter compensation values
Metric input inch input
Cutter compensation value 0 to ±999.999mm 0 to ±99.9999inch
NOTE
The cutter compensation value corresponding to offset
No.0, that is, H0 always gets 0. It is impossible to set H0 to
any other cutter compensation value.
Format
Explanations
D H code