Program Blocks (Pbs); Sequence Blocks (Sbs); Function Blocks (Fbs) - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual

7.3.2 Program Blocks (PBs)

Self-contained program parts are usually programmed in blocks.
Special feature:
Control functions can be represented graphically in program blocks.
Call
Block calls JU and JC activate program blocks. You can program these operations in all block types
except data blocks. Block call and block end cause the RLO to be reloaded. However, the RLO can
be included in the "new" block and be evaluated there.

7.3.3 Sequence Blocks (SBs)

Sequence blocks are special program blocks that process sequence controls. They are treated like
program blocks.

7.3.4 Function Blocks (FBs)

Frequently recurring or complex control functions are programmed in function blocks. Function
blocks have the following special features:
Function blocks have the following special features:
FBs can be assigned parameters.
Actual parameters can be assigned when the block is called.
FBs have a supplementary set of operations not available to other blocks.
The FB program can be written and documented in STL only.
The S5-115U has the following types of function blocks:
FBs that you can program
FBs that are integrated in the operating system (see Chapter 11)
FBs that are available as software packages (Standard Function Blocks, see Catalog ST 57).
EWA 4NEB 811 6130-02b
Introduction to STEP 5
7-11

Advertisement

Table of Contents
loading

Table of Contents