Block Call Operations - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
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.
Operation
Operand
JU
JC
ID
OB
PB
FB
SB
C
G
ID
DB
BE
BEU
BEC
*
f using the PG 615, select "SYS. OPS. Y" in the presets menu. Also note that certain OBs are assigned
I
by the operating system.
**
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-02
Table 8-8. Overview of Block Call Operations
Jump unconditionally
Program scanning continues in a different block regardless of the
RLO.
The RLO is not affected.
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
0 to 63
0 to 63
0 to 63
Call a data block
A data block is activated regardless of the RLO.
Program scanning is not interrupted.
The RLO is not affected.
Generate and delete a data block**
An area is set up in the RAM to store data regardless of the RLO.
Parameter
CPU 100
2 to 63***
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.
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.
STEP 5 Operations
Meaning
CPU 102
CPU 103
0 to 63
0 to 255*
0 to 63
0 to 255
0 to 63
0 to 255
0 to 255
CPU 102
CPU 103
2 to 63***
2 to 255***
8-33

Advertisement

Table of Contents
loading

Table of Contents