Block Call Operations - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

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.
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.
8-32
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
0 to 255
0 to 255
0 to 255
0 to 255
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
2 to 255 for C DB and 2 to 251, 255
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.
Meaning
*
S5-95F
for G DB
***
EWA 4NEB 812 6210-02

Advertisement

Table of Contents
loading

Table of Contents