Application of the Function Block
5–49
IP244
C79000–B8576–C861–02
Calling the function block
The function block can be called absolutely in the cyclic program.
Exception: the command KS can only be specified in the startĆup OBs.
In this case, it is advisable to use indirect parameter assignment. For this, the parameter DBNR
must be assigned the value KY = 0.0 and the required parameters written to data block DB-A, DW1
to DW8 and DW12 to DW 13.
The function block may only be called once per temperature controller module per cycle.
When calling FB162, you can decide whether to use direct or indirect parameter assignment. Once
the mode of parameter assignment has been selected, this must be adhered to for all further FB
calls for the same IP module.
In cyclic operation it is not permitted to address a module both with indirect and direct
parameter assignment
Indirect parameter assignment uses the working area of DB-A (DW0 to DW15):
Application with indirect parameter assignment
reserviertreserviert
DB/DX selection  (*) DB no: DBĆB
reserviert
Reserved
Reserved
DW 11
DW 12
DW 13
DW 14
DW 0
DW 1
DW 3
DW 4
DW 5
DW 6
DW 7
DW 8
DW 9
DW 10
DW 2
KC
KY
KF
KY
KY
KY
KH
KH
KY
KH
KY
KY
KH
DW 15
KM
(*) omitted with S5Ć115U (CPU 941 to CPU 944 and CPU 941B to CPU 944B)
KY
Recommended
data format
Reserved
KH
DB/DX selection  (*) DB no: DBĆC
Reserved
Command
Message number Direct function
Address of the module
DB/DX selection  (*) DB no: DBĆA
- Addressing type
- Software switch
DB/DX selection  (*) Alternative DB no: DBĆA'
DB/DX selection  (*) Alternative DB no: DBĆC'
Reserved
Reserved
You will find the explanation of the data words under the parameters of the FB in direct parameter
assignment (Sections 3.2 and 3.3) and on the following pages in this Chapter.