37 m commands, M commands for program-run control – HEIDENHAIN CNC Pilot 4290 V7.1 User Manual
Page 330

330
4.37 M Commands
4.37 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
Selectable stop
If the “Selectable stop” soft key is active in Automatic
mode, the program run stops with M01. Cycle start
resumes the program run. If selectable stop is not
active, the program continues without stopping.
M18
Counting pulse
M30
End of program
M30 indicates the end of a program or subprogram.
(M30 does not need to be programmed.) If you press
Cycle Start after M30, program execution is repeated
from the start of the program.
M99 NS..
Program end with restart
M99 means end program and start again. The CNC
PILOT restarts program execution from:
The start of program if no NS is entered
The block number NS if a NS is entered
M97
Synchronous function (see “M97 Synchronous
function” on page 286)
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).