Technical Appendix
6.4 Application note: Unipolar spindle control
6-156
SINUMERIK 802S
6FC5 597–2AA00–0BP2 (01.02)
6.4 Application note: Unipolar spindle control
General
The spindle speed setpoint of the SINUMERIK 802S is generally output in the range from
–10V to +10V (S... M3 or M4). Setpoint output with only positive polarity (0V to +10V) and an
additional direction signal as required for unipolar frequency converters can be realized by
programming in the NC part program and the PLC user program (two additional M commands
for switching the direction signal, and M3 for starting rotation).
Direction reversal may only be carried out at setpoint zero (spindle stopped). It should taken
into account that the setpoint is output from the NC but the direction signal is switched form
the PLC, i.e. the user program must ensure that the new direction signal is only provided if the
spindle has stopped. Rotation may only be started again if the direction signal has been out-
put from the PLC.
Position–controlled spindle operation (SPOS= , G331,G332, LCYC84) is not possible with
unipolar spindle control.
N10 M5 ;Spindle Stop
N20 G4 F15 ;Dwelling if necessary, spindle must be at save stop;
can also be secured via the PLC user program
M23 ;M23 will be the new direction signal
N40 S200 M3 ;New spindle speed and start of rotation
...
N100 M5 ;Spindle Stop
PLC programming
according to the particular conditions with consideration of the abovementioned notes; for ex-
ample, M23 and M24 are the M commands for the direction signals and must be evaluated
from the user program accordingly; then the direction signal must be set.
NC programming