DIN/ISO programming | M commands
4
488
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017
Machine commands
Refer to your machine manual.
The effect of machine commands depends on the
configuration of your machine.
On your lathe, other M commands may apply for the listed
functions.
The following table lists the M commands used on most machines.
M commands as machine commands
M03
Main spindle on (cw)
M04
Main spindle on (ccw)
M05
Main spindle stop
M12
Lock main spindle brake
M13
Release main spindle brake
M14
C axis on
M15
C axis off
M19
Spindle stop at position C
M40
Shift gear to range 0 (neutral)
M41
Shift gear to range 1
M42
Shift gear to range 2
M43
Shift gear to range 3
M44
Shift gear to range 4
Mx03
Spindle x on (cw)
Mx04
Spindle x on (ccw)
Mx05
Spindle x stop