34 m commands, M commands for program-run control – HEIDENHAIN SW 54843x-03 DIN Programming User Manual
Page 430
430
DIN Programming
4.34 M commands
4.34 M commands
M commands for program-run control
The effect of machine commands depends on the configuration of
your machine. On your lathe, other M commands may apply for the
listed functions. Refer to your machine manual.
Overview: M commands for program-run control
M00
Program stop
The program run stops. Cycle start resumes the
program run.
M01
Optional stop
If the Continuous run soft key is not active in
Automatic mode, the program run stops with M01.
Cycle start
resumes the program run. If Continuous
run
is active, the program continues without
stopping.
M18
Counting pulse
M30
End of program
M30 means "end of program" (you do not need to
program M30). If you press Cycle start after M30,
program execution is repeated from the start of the
program.
M417
Activate protection zone monitoring
M418
Deactivate protection zone monitoring
M99 NS..
Program end with restart
M99 means end program and start again. Steuerung
restarts program execution from:
The start of program if no NS is entered
The block number NS if a NS is entered
Modal functions (feed rate, spindle speed, tool number,
etc.) which are effective at the end of program remain in
effect when the program is restarted. You should
therefore reprogram the modal functions at the start of
program or at the startup block (if M99 is used).