
B-63783EN-1/01 9.SPINDLE FUNCTION
- 921 -
command SRV to be sent to the spindle amplifier at the same
time.
Resetting all the spindle motor command signals to 0 sets the
spindle speed voltage sent from the CNC to the spindle
amplifier to 0 V, causing the spindle motor to stop.
(2) When the stop state of the spindle is confirmed by checking
that speed zero signal SST of the spindle amplifier is set to 1,
set torque limit signal TLML to 1 first, which is an output
signal to the spindle amplifier. (Only the FANUC analog
spindle amplifier requires that a torque limit signal be input.
Do not input it for the serial spindle amplifier.) Then, set
forward spindle rotation command SFR to 1, and reverse
spindle rotation command SRV to 0 so that a positive spindle
speed voltage causes forward spindle rotation, and a negative
spindle speed voltage causes reverse spindle rotation. After
waiting at least 400 msec, set spindle stop confirmation
signal SPSTPs to 1. (Only the FANUC analog spindle
amplifier needs to wait at least 400 ms. This is unnecessary
for the serial spindle amplifier, because a parameter is used to
specify a necessary condition.)
4. After setting the RTAP signal to 1, the CNC makes a movement
along the X- and Y-axes to the tapped hole position, then makes a
movement along the Z-axis to point R. These operations are
performed regardless of the PMC processing described in 3.
5. After movement to point R along the Z-axis, the CNC checks
whether the SPSTPs signal is 1. If the signal is 0, the CNC waits
until the signal is set to 1. When the signal is set to 1, the CNC
changes the spindle control mode from speed control mode to
position control mode.
6. After the change of the position control mode is completed, the
CNC starts two-axis linear interpolation between the Z-axis and
the spindle. Before starting the linear interpolation, the CNC sets
the same time constant for each of the acceleration/deceleration
circuits of the Z-axis and spindle. For the position control circuits
of the Z-axis and spindle, the CNC sets the same position gain.
These values are set in parameters in advance.
7. Linear interpolation between the Z-axis and spindle is executed.
8. After dwell, if required, is performed at the bottom of the hole,
linear interpolation between the Z-axis and spindle is executed to
cause retraction from point Z to point R on the Z-axis while the
spindle is being rotated in the reverse direction. The Z-axis and
spindle movement directions are opposite to the directions of the
Z-axis and spindle movements made in 7.
9. After movement to point R along the Z-axis, the CNC restores the
original time constant for the Z-axis. The CNC also restores the
original position gain value for the Z-axis.
10. When initial point return (G98) is specified, movement to the
initial point on the Z-axis is made.
This completes all the operations. If G84.2 is also specified in the next
block, the above procedure is repeated. When the second and