04.97
5
M-functions with Special Function
5.1
Stop at block end M00
If the M-number 0 is programmed as the 1st M-function in a traversing block, the movement is
stopped at the end of the block when executing the traversing block. The movement is not
continued before another STOP
5.2
Continuous loop M18
If the M-function M18 is programmed as 1st M-function in the last traversing block of a
traversing program, there will be an automatic return to the program start (continuous
processing of a traversing program).
There are two different cases:
•
The M-function M18 is output like any other M-function. There will be no return to the
program start before the block N50 (including M18) has completely been executed.
Programming:
N5 G91 X10.000 F100.00
...................
N50 G91 X50.000 F100.00 M1=18
•
If the M-function M18 is programmed as the last block of a traversing program, the
M-function will not be output, but the axis will immediately return to the program start.
Programming:
N5 G91 X10.000 F100.00
...................
N50 G91 X50.000 F100.00
N55 M1=18
In this example, the WF 723 C executes a flying block change to the program start, without
any velocity reduction in the X-axis.
©
Siemens AG 1997 All Rights Reserved
WF 723 C (Programming Guide)
START edge is triggered.
6ZB5 440-0VU02
M-functions with Special Function
5 – 1