
PROGRAMMING
B–63444EN/01
13. COMPENSATION FUNCTION
147
Offset values can be input by a program using the following command :
G10 P_ X_ Y_ Z_ R_ Q_ ;
or
G10 P_ U_ V_ W_ C_ Q_ ;
P : Offset number
0 : Command of work coordinate system shift value
1–64 : Command of tool wear offset value
Command value is offset number
X : Offset value on X axis (absolute)
Z : Offset value on Z axis (absolute)
U : Offset value on X axis (incremental)
W: Offset value on Z axis (incremental)
R : Tool nose radius offset value (absolute)
C : Tool nose radius offset value (incremental)
Q : Imaginary tool nose number
In an absolute command, the values specified in addresses X, Z, and R are
set as the offset value corresponding to the offset number specified by
address P. In an incremental command, the value specified in addresses
U, V, W, and C is added to the current offset value corresponding to the
offset number.
NOTE
1 Addresses X, Z, U and W can be specified in the same
block.
2 Use of this command in a program allows the tool to
advance little by little. This command can also be used input
offset values one at a time from a program by specifying this
command successively instead of inputting these values
one at a time from the MDI unit.
13.4.2
Changing of Tool
Offset Value
(Programmable Data
Input ) (G10)
Format