A Part Program Section After A Start Label - Siemens SINUMERIK 828D Function Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Note
Label search direction
The part program block identified by the label can appear before or after the REPEATB
statement. The search initially commences toward the start of the program. If the label is not
found, a search is made in the direction of the program end.
Programming
Syntax:
REPEATB <Label> [P=n]
Labe
l
P
?{}?
n
9.9.11.3

A part program section after a start label

Functionality
Via REPEAT in part program block N150, the part program processing branches to the part program block N120
that is labeled START_1. This part program block and all of the following part program blocks (N130 and N140)
are repeated x number of times up to the part program block that contains the REPEATinstruction (N150). If P is
not specified, the part program section (N120 - N140) is repeated exactly once. After the last repetition, the part
program is continued with the part program block N160 following the REPEATinstruction.
:
N100 ...
N120 START_1: ...
N130 ...
N140 ...
N150 REPEAT START_1 P=n
N160 ...
:
Note
Label search direction
The part program block marked with the Start label must come before the REPEATinstruction.
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
K1: Mode group, channel, program operation, reset response
Start label to which the instruction: REPEAT branches
Type: String
Number of repetitions
Number of repetitions
Type: Integer
; Start label: START_1
;
Repetition after: START_1
9.9 Program operation mode
573

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents