Siemens SINUMERIK 840D sl Programming Manual page 104

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.11 Repeat program section (REPEAT, REPEATB, ENDLABEL, P)
Meaning
REPEATB
REPEAT
<jump marker>
ENDLABEL
:
P
<n>
104
:
Command for repeating a program line
:
Command for repeating a program section
:
The
 The program line to be repeated (in the case of
 The start of the program section to be repeated (in the case of
The program line identified by the
after the
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
statement needs to be repeated (see 2. under Syntax), the program
line identified by the
statement, since in this case the search runs only toward the
beginning of the program.
If the line with the
are executed again on each repetition.
:
Keyword marking the end of a program section to be repeated.
If the line with the
executed again on each repetition.
ENDLABEL
Address for specifying the number of repetitions
:
Number of program section repetitions
Type:
The program section to be repeated is repeated
last repetition, the program is resumed at the line following the
REPEAT
Note:
In the absence of a number being specified for
section is repeated just once.
identifies:
<jump marker>
or
)
REPEAT
/
statement. The search initially commences
REPEAT
REPEATB
<jump marker>
<jump marker>
ENDLABEL
can be used more than once in the program.
INT
/
line.
REPEATB
<jump marker>
has to appear before the
contains further operations, these
contains further operations, these are
<n>
P=<n>
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
)
REPEATB
can appear before or
REPEAT
REPEAT
times. After the
, the program
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents