
B-63322EN/03 NC FUNCTIONS 14.TOOL COMPENSATION FUNCTION
- 179 -
- Three-dimensional tool compensation vector
In three-dimensional tool compensation mode, the following three -
dimensional compensation vector is generated at the end of each block:
Programmed path
Path after three-dimensional tool compensation
Three-dimensional tool compensation vector
G40
The three-dimensional tool compensation vector is obtained from the
following expressions:
i- r
Vx=
p
(Vector component along the Xp-axis)
j- r
Vy=
p
(Vector component along the Yp-axis)
k- r
Vz=
p
(Vector component along the Zp-axis)
In the above expressions, i, j, and k are the values specified in addresses I,
J, and K in the block. r is the offset value corresponding to the specified
offset number. p is the value obtained from the following expression:
p = i
2
+j
2
+k
2
When the user wants to program the magnitude of a three-dimensional
tool compensation vector as well as its direction, the value of p in the
expressions of Vx, Vy, and Vz can be set as a constant in parameter (No.
6011.) If the parameter is set to 0, however, p is determined as follows:
p = i
2
+j
2
+k
2