
B-63944EN/02 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
- 647 -
Kn
Kd
=
3263×5
72000×1
=
3263
14400
Both Kn and Kd are within the allowable range. No alarm is
output.
In this sample program, when T1 is specified for the master
axis, the synchronization ratio (fraction) of the CMR of the
C-axis to the denominator Kd can always be reduced to
lowest terms, thus Kd falls in the allowable range. So, the
specifiable range of C is as follows:
-99999999 ≤ C ≤ 99999999
(d) Command : G81.5 T10 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 to ten spindle rotations.
Pm : (Number of pulses per spindle rotation) × (10
rotations) → 72000 × 10
Ps : (Amount of C-axis movement) × CMR → 3263
× 5
Kn
Kd
=
3263×5
72000×10
=
3263
144000
In this case, an alarm is issued because Kd exceeds the
specifiable range.
(e) Command : G81.5 P10000 C-0.214 ;
Operation : Synchronization between the spindle and C-axis
is started at the ratio of a -0.214 degree rotation
of the C-axis to 10,000 feedback pulses from
the pulse coder of the spindle.
Pm : (Specified number of feedback pulses from the
pulse coder of the spindle) → 10000
Ps : (Amount of C-axis movement) × CMR → -214
× 5
Kn
Kd
=
-214×5
10000
=
-107
1000
Both Kn and Kd are within the allowable range. No alarm is
output.
(2) When the master axis is the spindle, the slave axis is the V-axis
(linear axis), and inch/metric conversion is performed
(a) For a millimeter machine and metric input
Command : G81.5 T1 V1.0 ;
Operation : Synchronization between the spindle and
V-axis is started at the ratio of a 1.0 inch
movement (25.4 mm) along the V-axis per
spindle rotation.
Pm : (Number of pulses per spindle rotation) × (one
rotation) → 72000 × 1