Moving spindle in spindle-specific syntax ((M3/M4/M5)
Syntax: | ||
M03 | Spindle rotation clockwise (cw) | modal |
M04 | Spindle rotation counter-clockwise (ccw) | modal |
M05 | Stop spindle | modal |
The spindle M functions M03 and M04 define the spindle direction of rotation and must be used in conjunction with the spindle speed (REV word). M05 stops spindle rotation. Note that this spindle M function is the default spindle mode after controller start-up and initial program start. These M functions are modal and may only be programmed on their own within the bracketed expression.
Spindle rotation is activated if M03 or M04 are programmed and a valid speed (REV) is set.
If no M05 is set at program end, the spindle continues to rotate.
Programming Example
Programming of one spindle "S”:
Programming Example
Programming two spindles "S2”and "S2”:
Channel parameter list [1]:
The synchronisation modes must be defined spindle-specific for M3, M4, M5. The M function is not executed for synchronisation mode "0” (NO_SYNCH).