
PROGRAMMING
B–63524EN/01
14. COMPENSATION FUNCTION
285
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
10000+(1–64) : Command of tool geometry offset value
(1–64) : Offset number
X : Offset value on X axis (absolute)
Y : Offset value on Y axis (absolute)
Z : Offset value on Z axis (absolute)
U : Offset value on X axis (incremental)
V : Offset value on Y axis (incremental)
W: Offset value on Z axis (incremental)
R : Tool nose radius offset value (absolute)
R : Tool nose radius offset value (incremental)
Q : Imaginary tool nose number
In an absolute command, the values specified in addresses X, Y , 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, Y, Z, U, V, 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.
14.5.2
Changing of Tool
Offset Value
(Programmable Data
Input ) (G10)
Format