PROGRAMMING | 89
■ M03 SPINDLE FORWARD ROTATION
Command
M03 Sxxxx;
Function
Rotate the spindle in the direction of CW.
Example of command:
M03 Sxxxx ; (Master spindle CW rotation)
M1=3 S1=xxxx ; (Main spindle(spindle no. = 1) CW rotation)
M2=3 S2=xxxx ; (Milling spindle(spindle no. =2) CW rotation)
Condition of Command
This command is valid when chuck is clamped. Alarm occurs when the command is
instructed in unclamped state.
■ M04 SPINDLE REVERSE ROTATION
Command
M04 Sxxxx
Function
Rotate the spindle in the direction of CCW.
Example of command:
M04 Sxxxx(Master spindle CCW rotation)
M1=4 S1=xxxx (Main spindle(spindle no. = 1) CCW rotation)
M2=4 S2=xxxx (Main spindle(spindle no. = 2) CCW rotation)
Condition of Command
This command is valid when chuck is clamped. Alarm occurs when the command is
instructed in unclamped state.
■ M05 SPINDLE STOP
Command
M05;
Function
Stop spindle
Example of command:
M05; (Master spindle Stop)
M1=5; (Main spindle(spindle no. = 1) Stop)
M2=5; (Milling spindle(spindle no. = 2) Stop)
Command M05 makes spindle stop. But the last commanded S-code keep
maintaining in modal.
When spindle starts to rotate again without S-code, it will rotate at the same speed.