
PROGRAMMING20. AXIS CONTROL FUNCTIONS
B–63534EN/02
586
Ps : (Amount of V–axis movement) CMR 254 B
100 → 10000 5 254 B 100
Kn
Kd
+
10000 5 254
72000 100
+
127
72
Both Kn and Kd are within the allowable range. No alarm is
output.
(c) For a millimeter machine and inch input
Command : G81.5 T1 V0.0013 ;
Operation : Synchronization between the spindle and V–axis is
started at the ratio of a 0.0013 inch (0.03302 mm)
movement along the V–axis per spindle rotation.
Pm : (Number of pulses per spindle rotation) 1
rotation → 72000 1
Ps : (Amount of V–axis movement) CMR 254 B
100 → 13 5 254 B 100
Kn
Kd
+
13 5 254
72000 100
+
1651
720000
In this case, an alarm is issued because Kd exceeds the specifiable
range.
Based on the controlled axis configuration described in Fig.20.8.5,
suppose that the spindle and V–axis are as follows:
Spindle pulse coder : 72000 pulse/rev (4 pulses for
one A/B phase cycle)
C–axis least command increment : 0.001 degree
C–axis CMR : 1/2
V–axis least command increment : 0.001mm
V–axis CMR : 1/2
Then, the C–axis detection unit is 0.002 degree. The V–axis detection
unit is 0.002 mm. In this case, the synchronization ratio (Kn, Kd) is
related with a command as indicated below. Here, let Pm and Ps be
the amounts of movements represented in the detection unit for the
master axis and slave axis specified in a synchronization start
command, respectively.
(1)When the master axis is the spindle, and the slave axis is the C–axis
(a) Command : G81.5 T1 C3.263 ;
Operation : Synchronization between the spindle and C–axis is
started at the ratio of a 3.263–degree rotation about
the C–axis per spindle rotation.
Pm : (Number of pulses per spindle rotation) 1
rotation → 72000 1
Ps : (Amount of C–axis movement) CMR → 3263
1 B 2
Kn
Kd
+
3263 1
72000 2
+
163
7200
In this case, an alarm is issued because Kd exceeds the specifiable
range.
(b) Command : G81.5 T1 C3.26 ;
Operation : Synchronization between the spindle and C–axis is
started at the ratio of a 3.26–degree rotation about
the C–axis per spindle rotation.
Pm : (Number of pulses per spindle rotation)
1 revolution → 72000 1
D Example 2)