Detailed description
2.7 Program operation mode
Basic logic functions: Mode group, channel, program operation, reset response (K1)
110
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.7.10.2
Individual part program block
Functionality
Via
REPEATB
(B=Block) in part program block N150, the part program processing branches
to the part program block N120 that is labeled
START_1
. This is repeated x number of times.
If P is not specified, the program section is repeated exactly once. After the last repetition,
the part program is continued with the part program block N160 following the
REPEATB
instruction.
:
N100 ...
N120 START_1: ...
; Label: START_1
N130 ...
N140 ...
N150 REPEATB START_1 P=n
; Repetition after: START_1
N160 ...
:
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
Start label to which the instruction:
REPEAT
branches
Type: String
P
Number of repetitions
-{}-
n
Number of repetitions
Type: Integer
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...