Flexible NC programming
1.12 Check structures
Syntax
LOOP
...
ENDLOOP
Meaning
LOOP
ENDLOOP
Example
Program code
...
LOOP
MSG ("no tool cutting edge active")
M0
STOPRE
ENDLOOP
...
1.12.3
Count loop (FOR ... TO ..., ENDFOR)
Function
The count loop is used if an operation must be repeated with a fixed number of runs.
Syntax
FOR <variable> = <initial value> TO <end value>
...
ENDFOR
112
:
Initiates the endless loop.
:
Marks the end of the loop and results in a return jump to the beginning of the
loop.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning