1.12.2
Continuous program loop (LOOP, ENDLOOP)
Function
Endless loops are used in endless programs. At the end of the loop, there is always a branch
back to the beginning.
Syntax
LOOP
...
ENDLOOP
Significance
LOOP:
ENDLOOP:
Example
Program code
...
LOOP
MSG ("no tool cutting edge active")
M0
STOPRE
ENDLOOP
...
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Initiates the endless loop.
Marks the end of the loop and results in a return jump to the beginning of the
loop.
Flexible NC programming
1.12 Check structures
111