
B-63943EN-1/02 11.SPINDLE SPEED FUNCTION
- 1287 -
Canceling spindle positioning
To cancel the spindle positioning mode and enter the spindle rotation
mode again, use an M code for canceling the spindle positioning
mode.
Set the M code in parameter No. 4961 in advance.
<1> Suppose that an M code is specified in a program.
<2> Miscellaneous function code signal M00 to M31 is sent, and the
miscellaneous function strobe signal MF is set to 1 at the same
time. This sending procedure is the same as for ordinary
miscellaneous functions.
<3> When strobe signal MF is set to 1, the PMC must read the code
signal and perform corresponding processing. After completing
the corresponding processing, the PMC sets spindle stop
complete signal SPSTPs to 1 when the spindle is stopped.
<4> As soon as setting strobe signal MF to 1, the CNC checks
whether spindle stop complete signal SPSTPs is set to 1. When
the SPSTPs signal is set to 1, the CNC sets spindle unclamp
signal SUCLPs to 1.
<5> When spindle unclamp signal SUCLPs is set to 1, the PMC
unclamps the spindle, and when unclamping of the spindle is
completed, the PMC sets spindle unclamp completion signal
*SUCPFs to 0.
<6> When spindle unclamp completion signal *SUCPFs is set to 0,
the CNC sets spindle unclamp signal SUCLPs to 0 to post that
the CNC has received the *SUCPFs signal. As soon as setting
the SUCLPs signal to 0, the CNC switches the spindle control
mode from the spindle positioning mode to spindle rotation mode.
The CNC sets spindle positioning mode signal MSPOSs to 0.
<7> When spindle unclamp signal SUCLPs is set to 0, the PMC sets
spindle unclamp completion signal *SUCPFs to 1.
<8> Finally, the PMC sets completion signal FIN to 1 for
miscellaneous function strobe signal MF. In response to this,
the CNC sets the MF signal to 0. Then, the PMC sets the FIN
signal to 0.