Technical data
Example 2: calling a function block and assigning parameters to it with
the STL and CSF/LAD methods of representation in a program block.
STL method of representation
PB 25
SEGMENT 1
:
:CDB5
:
: JU FB 201
NAME : REQUEST
DATA : DW 1
RST : I 3.5
SET : F 2.5
MTIM : T2
TIME : KT 010.1
TRAN : DW 2
BEC : Q 2.3
LOOP : Q 6.0
:BE
CSF/LAD method of representation
PB 25
SEGMENT 1
FB 201
REQUEST
DW1 DATA TRAN DW 2
I 3.5 RST BEC Q 2.3
F 2.5 SET LOOP
Q 6.0
T2 MTIM :BE
KT 010.1 TIME
Formal
operands
Actual
operands
Function Blocks
CPU 928B Programming Guide
2 - 34 C79000-B8576-C898-01