A Part Program Section Between A Start Label And End Label - Siemens SINUMERIK 828D Function Manual

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.9 Program operation mode
Programming
Syntax:
REPEAT <Label> [P=n]
Labe
l
P
?{}?
n
9.9.11.4

A part program section between a start label and end label

Functionality
Via REPEAT in part program block N160, the part program processing branches to the part program block N120
that is labeled START_1 with a start label. This part program block and all the part program blocks up to and
including the part program block marked with the end label END_1 (N140) are repeated x number of times. 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 N170 following the REPEATinstruction.
:
N100 ...
N120 START_1: ...
N130 ...
N140 END_1 ...
N150 ...
N160 REPEAT START_1 END_1 P=n
N170 ...
:
Note
Label search direction
The program section marked with the Start and End labels can come before or after the
REPEATinstruction. The search initially commences toward the start of the program. If the
Start label is not found, a search is made in the direction of the program end.
If the REPEAT instruction is between the Start and End label, only the part program section
from the Start label to the REPEAT instruction is repeated.
REPEAT instruction repeated.
574
Start label to which the instruction: REPEAT branches
Type: String
Number of repetitions
Number of repetitions
Type: Integer
; Start label: START__1
; End label: END_1
; Repetition: START_1 until END_1
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents