S5-100U
STEP 5 Operations
8.1.8
Block Call Operations
Block call operations specify the sequence of a structured program. Table 8-8 provides an overview
of the block call operations. Examples follow the table.
Table 8-8. Overview of Block Call Operations
Operation
Meaning
Jump unconditionally
Program scanning continues in a different block regardless of the
RLO.
The RLO is not affected.
Operand
JU
JC
Jump conditionally
Program scanning jumps to a different block when the RLO is “1”.
Otherwise program scanning continues in the same block.
The RLO is set to “1”.
Parameter
CPU 100
CPU 102
CPU 103
0 to 63
0 to 63
0 to 255
0 to 63
0 to 63
0 to 255
0 to 63
0 to 63
0 to 255
0 to 255
ID
OB
PB
FB
SB
C
BE
Block end
The current block is terminated regardless of the RLO.
Program scanning continues in the block in which the call originated.
The RLO is “carried along” but not affected. BE is always the last
statement in a block.
BEU
BEC
Block end, unconditional
The current block is terminated regardless of the RLO.
Program scanning continues in the block in which the call originated.
The RLO is “carried along” but not affected.
Block end, conditional
When the RLO is “1”, the current block is terminated.
Program scanning continues in the block in which the call originated.
During the block change, the RLO remains “1”.
If the RLO is “0”, the operation is not executed.
The RLO is set to “1” and linear program scanning continues.
Call a data block
A data block is activated regardless of the RLO.
Program scanning is not interrupted.
The RLO is not affected.
Parameter
CPU 100
CPU 102
CPU 103
2 to 63**
2 to 63**
2 to 255**
ID
DB
G
Generate and delete a data block*
An area is set up in the RAM to store data regardless of the RLO.
*
The length of the DB must be loaded into ACCU 1 before execution of the operation. A length of 0
makes the DB invalid.
**
Data blocks DB0 and DB1 are reserved for special functions.
EWA 4NEB 812 6120-02b
8-33
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...