
9.SPINDLE FUNCTION B-63783EN-1/01
- 832 -
Sequence (time chart)
Spindle orientation
To cancel spindle rotation mode then enter spindle positioning mode,
specify Mxx in a program.
xx must be set in parameter No. 5680 in advance. The sequence pattern
must be set in parameter No. 5895.
1. Assume that Mxx is programmed.
2. A miscellaneous function code signal M0 to M31 is sent, and at
the same time, miscellaneous function strobe signal MF is set to 1.
This sending procedure is the same as that for ordinary
miscellaneous functions.
3. When strobe signal FM is set to 1, the PMC reads the code signal.
After confirming that the code signal is xx, the PMC must respond
appropriately. For example, suppose that Mxx is specified while
the spindle is rotating. The PMC may respond in either of two
ways. Firstly, in response to the Mxx command, the PMC may
stop spindle rotation. Secondly, the PMC may issue an alarm by
using the external data input/output function, assuming that the
Mxx command is not permitted during spindle rotation.
Generally, the second response is recommended because the
spindle is stopped by specifying M05. Regardless of which
response is made, the PMC must set spindle stop confirmation
signal SPSTPs to 1 when the spindle is stopped.
4. As soon as strobe signal MF is set to 1, the CNC checks whether
spindle stop confirmation signal SPSTPs is 1. If the SPSTPs
signal is 1, the control mode for the spindle is changed from
spindle control to position control.
5. If sequence pattern 2, 3, or 4 is set, the CNC places spindle
position control in the servo-on state.
6. Spindle unclamp signal SUCLPs is set to 1.
7. When spindle unclamp signal SUCLPs is set to 1, the PMC
unclamps the spindle. Upon the completion of the unclamp
operation, the PMC must set spindle unclamp completion signal
*SEUCLs to 0.
8. When spindle unclamp completion signal *SEUCLs is set to 0, the
CNC sets spindle unclamp signal SUCLPs to 0 to indicate that the
CNC has received the *SEUCLs signal.
9. If sequence pattern 1 is set, the CNC places spindle position
control in the servo-on state.
10. When spindle unclamp signal SUCLPs is set to 0, the PMC must
set spindle unclamp completion signal *SEUCLs to 1.
11. The CNC rotates the spindle, and stops it at a certain position.
(This operation is generally called spindle orientation.) Then, the
CNC sets reference position return completion signal ZPj (j is the
controlled axis number of the spindle) to 1.
12. If sequence pattern 1 is set, the CNC places spindle position
control in the servo-off state.
13. The CNC sets spindle clamp signal SCLPs to 1.