Flexible NC programming
1.11 Repeat program section (REPEAT, REPEATB, ENDLABEL, P)
Job planning
92 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
3. Repeat section between two jump markers:
<start jump marker>: ...
...
<end jump marker>: ...
...
REPEAT <start jump marker> <end jump marker> P=<n>
...
Note
It is not possible to nest the
REPEAT statement with the two jump markers in parentheses. If
the
<start jump marker> appears before the REPEAT statement and the <end jump marker> is
not reached before the
REPEAT statement, the section between the <start jump marker> and
the
REPEAT statement will be repeated.
4. Repeat section between jump marker and ENDLABEL:
<jump marker>: ...
...
ENDLABEL: ...
...
REPEAT <jump marker> P=<n>
...
Note
It is not possible to nest the
REPEAT statement with the <jump marker> and the ENDLABEL in
parentheses. If the
<jump marker> appears before the REPEAT statement and the ENDLABEL is
not reached before the
REPEAT statement, the section between the <jump marker> and the
REPEAT statement will be repeated.