
B–63523EN–1/03
10. TOOL FUNCTIONS
1289
Vx, Vy, Vz: Tool length compensation vectors
A, B, C: Absolute coordinate values for the A–, B–, and C–axes
To: Tool offset value
Ho: Tool holder offset value
Jx, Jy, Jz: Rotation center compensation vectors
Cx, Cy, Cz: Spindle center compensation vectors
Sx, Sy, Sz: Shift vectors
Assuming the above, axis–specific tool length compensation vectors for
individual machine types are obtained as follows:
(1)For the A– and C–axes with the Z–axis as the tool axis
ƪ
Vx
Vy
Vz
ƫ+ ƪ
cos C
sin C
0
–sinC
cos C
0
0
0
1
ƫ
ǒ
ƪ
1
0
0
0
cos A
sin A
0
–sinA
cos A
ƫ
ƪ
Cx
Cy
To ) Ho ) Cz
ƫ) ƪ
Jx
Jy
Jz
ƫ
Ǔ
) ƪ
Sx
Sy
Sz
ƫ
(2)For the B– and C–axes with the Z–axis as the tool axis,
ƪ
Vx
Vy
Vz
ƫ+ ƪ
cos C
sin C
0
–sinC
cos C
0
0
0
1
ƫ
ǒ
ƪ
cos B
0
–sinB
0
0
1
sin B
0
cos B
ƫ
ƪ
Cx
Cy
To ) Ho ) Cz
ƫ) ƪ
Jx
Jy
Jz
ƫ
Ǔ
) ƪ
Sx
Sy
Sz
ƫ
(3)For the A– and B–axes with the X–axis as the tool axis
ƪ
Vx
Vy
Vz
ƫ+
ƪ
1
0
0
0
cos A
sin A
0
–sinA
cos A
ƫ
ǒ
ƪ
cos B
0
–sinB
0
1
0
sin B
0
cos B
ƫ
ƪ
To ) Ho ) Cz
Cy
Cz
ƫ) ƪ
Jx
Jy
Jz
ƫ
Ǔ
) ƪ
Sx
Sy
Sz
ƫ
(4)For the A– and B–axes with the Z–axis as the tool axis and the B–axis
as the master axis
ƪ
Vx
Vy
Vz
ƫ+
ƪ
cos B
0
–sinB
0
1
0
sin B
0
conB
ƫ
ǒ
ƪ
1
0
0
0
cos A
sin A
0
–sinA
cos A
ƫ
ƪ
Cx
Cy
To ) Ho ) Cz
ƫ) ƪ
Jx
Jy
Jz
ƫ
Ǔ
) ƪ
Sx
Sy
Sz
ƫ
(5)For the A– and B–axes with the Z–axis as the tool axis and the A–axis
as the master axis
ƪ
Vx
Vy
Vz
ƫ+
ƪ
1
0
0
0
cos A
sin A
0
–sinA
cos A
ƫ
ǒ
ƪ
cos B
0
–sinA
0
1
0
sin B
0
cos B
ƫƪ
Cx
Cx
To ) Ho ) Cz
ƫ
) ƪ
Jx
Jy
Jz
ƫ
Ǔ
) ƪ
Sx
Sy
Sz
ƫ
The shift vectors (Sx, Sy, Sz) are obtained as follows:
(A) 0 if the SVC parameter (bit 5 of parameter No. 19665) is 0
(B) If the SVC parameter (bit 5 of parameter No. 19665) is 1 and the SBP
parameter (bit 4 of parameter No. 19665) is 0
If the machine type is not the one mentioned in (3)
ƪ
Sx
Sy
Sz
ƫ+ –ƪ
Cx ) Jx
Cy ) Jy
Cz ) Jz ) Ho
ƫ
If the machine type is the one mentioned in (3)
ƪ
Sx
Sy
Sz
ƫ+ –ƪ
Cx ) Jx ) Ho
Cy ) Jy
Cz ) Jz
ƫ
(C) Vector specified in parameter No. 19667 if the SVC parameter (bit
5 of parameter No. 19665) is 1 and the SBP parameter (bit 4 of
parameter No. 19665) is 1
D Expressions for
individual machine types