beautypg.com

34 m commands, M commands for program-run control – HEIDENHAIN SW 548328-05 DIN Programming User Manual

Page 407

background image

HEIDENHAIN MANUALplus 620, CNC PILOT 620/640

407

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. Control

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).