Siemens SINUMERIK 840D sl Programming Manual page 470

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
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.
Meaning
REPEATB:
REPEAT:
<jump marker>:
ENDLABEL:
470
Command for repeating a program line
Command for repeating a program section
The <jump marker> identifies:
● The program line to be repeated (in the case of REPEATB)
or
● The start of the program section to be repeated (in the case of REPEAT)
The program line identified by the <jump marker> can appear before or after
the REPEAT/REPEATB statement. The search initially commences toward the
start of the program. If the jump marker is not found in this direction, the search
continues working toward the end of the program.
Exception:
If the program section between the jump marker and the REPEAT statement
needs to be repeated (see 2. under Syntax), the program line identified by
the <jump marker> has to appear before the REPEAT statement, since in
this case the search runs only toward the beginning of the program.
If the line with the <jump marker> contains further operations, these are
executed again on each repetition.
Keyword marking the end of a program section to be repeated.
If the line with the ENDLABEL contains further operations, these are executed
again on each repetition.
ENDLABEL can be used more than once in the program.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents