
PROGRAMMING22. RISC PROCESSOR
B–63534EN/02
664
Suppose the above. Then, the tool length compensation vector for each
axis is calculated depending on the machine type, as follows:
(1)A– and C–axes. The tool axis is the Z–axis.
ƪ
Vx
Vy
Vz
ƫ
+
ƪ
cosC
sinC
0
* sinC
cos C
0
0
0
1
ƫ
ȧ
ȡ
Ȣ
ƪ
1
0
0
0
cosA
sinA
0
* sinA
cos A
ƫƪ
Cx
Cy
To ) Ho ) Cz
ƫ
)
ƪ
Jx
Jy
Jz
ƫ
ȧ
ȣ
Ȥ
)
ƪ
Sx
Sy
Sz
ƫ
(2)B– and C–axes. The tool axis is the Z–axis.
ƪ
Vx
Vy
Vz
ƫ
+
ƪ
cosC
sinC
0
* sinC
cos C
0
0
0
1
ƫ
ȧ
ȡ
Ȣ
ƪ
cosB
0
* sin B
0
1
0
sinB
0
cosB
ƫƪ
Cx
Cy
To ) Ho ) Cz
ƫ
)
ƪ
Jx
Jy
Jz
ƫ
ȧ
ȣ
Ȥ
)
ƪ
Sx
Sy
Sz
ƫ
(3)A– and B–axes. The tool axis is the X–axis.
ƪ
Vx
Vy
Vz
ƫ
+
ƪ
1
0
0
0
cos A
sin A
0
* sin A
cosA
ƫ
ȧ
ȡ
Ȣ
ƪ
cosB
0
* sin B
0
1
0
sinB
0
cosB
ƫƪ
To ) Ho ) Cx
Cy
Cz
ƫ
)
ƪ
Jx
Jy
Jz
ƫ
ȧ
ȣ
Ȥ
)
ƪ
Sx
Sy
Sz
ƫ
(4)A– and B–axes. The tool axis is the Z–axis, and the B–axis is the
master.
ƪ
Vx
Vy
Vz
ƫ
+
ƪ
cos B
0
* sinB
0
1
0
sinB
0
cosB
ƫ
ȧ
ȡ
Ȣ
ƪ
1
0
0
0
cosA
sinA
0
* sinA
cos A
ƫƪ
Cx
Cy
To ) Ho ) Cz
ƫ
)
ƪ
Jx
Jy
Jz
ƫ
ȧ
ȣ
Ȥ
)
ƪ
Sx
Sy
Sz
ƫ
(5)A– and B–axes. The tool axis is the Z–axis, and the A–axis is the
master.
ƪ
Vx
Vy
Vz
ƫ
+
ƪ
1
0
0
0
cos A
sin A
0
* sin A
cosA
ƫ
ȧ
ȡ
Ȣ
ƪ
cosB
0
* sin B
0
1
0
sinB
0
cosB
ƫƪ
Cx
Cy
To ) Ho ) Cz
ƫ
)
ƪ
Jx
Jy
Jz
ƫ
ȧ
ȣ
Ȥ
)
ƪ
Sx
Sy
Sz
ƫ
The shift vector (Sx, Sy, Sz) is calculated as follows:
(A) When bit 5 (SVC) of parameter No.19665 = 0, the vector is set to 0.
(B) When bit 5 (SVC) of parameter No.19665 = 1, and bit 4 (SPR) of
parameter No. 19665 = 0:
When the machine type is other than (3)
ƪ
Sx
Sy
Sz
ƫ
+*
ƪ
Cx ) Jx
Cy ) Jy
Cz ) Jz ) Ho
ƫ
When the machine type is (3)
ƪ
Sx
Sy
Sz
ƫ
+*
ƪ
Cx ) Jx ) Ho
Cy ) Jy
Cz ) Jz
ƫ
(C) When bit 5 (SVC) of parameter No.19665 = 1, and bit 4 (SPR) of
parameter No. 19665 = 1, the vector specified in parameter No. 19667
is set.
In the mode for this function, the following functions can be used, but the
condition of each function cannot be changed
– Inch/metric conversion
The alarm is issued when the condition is changed by G20 or G21
command.
Restriction
D Limitation of Functions