M-functions with Special Function
04.97
5.3
Subroutine end M17/M29
If the M-function M17 or M29 is programmed as the 1st M-function is a subroutine, a return
follows into the superior program level when executing the program.
M17 or M29 must only be programmed if the program end shall take place prematurely.
5.4
Program end M02/M30
M02 and M30 terminate an NC program. The M-function M02 or M30 must be programmed in
a separate block. At the end of the program all G-functions are brought into basic position.
M02 or M30 must only be programmed if the program end shall take place prematurely.
5 – 2
©
Siemens AG 1997 All Rights Reserved 6ZB5 440-0VU02
WF 723 C (Programming Guide)