30 m functions – HEIDENHAIN MANUALplus 4110 User Manual
Page 408

408
6 DIN Programming
6.30 M F
unctions
6.30 M Functions
With M functions, you can control the program run and program
switching functions for the machine (machine commands).
Select "M function."
Enter the number of the M function. Define the parameters, if
applicable.
M commands for program-run control
M00 Program stop interrupts execution of a DIN program. Program
run is continued after Cycle START has been pressed.
M01 Optional stop: In "Program run" mode, you can use
Continuous run to determine whether cycle programs or DIN
programs are to be interrupted at an M01 command. If this function
is disabled, MANUALplus interrupts execution of the program when
M01 is reached and continues program run after Cycle START has
been pressed.
M30 End of program 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 End of program with return jump to start of program or to
the defined block number and restart. MANUALplus restarts
program execution from:
The start of program if no "next block NS" is defined, or
From the block number NS if a "next block NS" is defined.
M417 deactivates protection zone monitoring.
M418 activates protection zone monitoring.
Entering M functions
M commands for program-run control
M00
Program STOP
M01
Optional STOP
M30
End of program
M99
NS.. End of program with return jump to
start of program or to block number "NS.."
and restart
M417
Deactivate protection zone monitoring
M418
Activate protection zone monitoring
Note on using M99: All 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.