S5-115F Manual   Introduction to STEP 5
• Block parameter type
You can enter the following parameter types:
- I Input parameters
- Q Output parameters
- D Data
- B Blocks
- T Timers
- C Counters
In graphic representation, output parameters appear to the right of the function symbol. Other
parameters appear to the left.
• Block data type
You can specify the following data types:
- BI Operands with bit address
- BY Operands with byte address
- W Operands with word address
- K Constants
When assigning parameters, enter all block parameter specifications. 
Figure 2-6.   Programming a Function Block with Block Parameters
Name
Control
program
Memory map
Program example
NAME: EXAMPLE
DECL: IN  1 I BI
DECL: IN  2 IBI
DECL: OUT 1 Q BI
.
.
LFW 0
LKF +1
+F
TFW 0
: A = IN 1
: A = IN 2
: = = OUT 1
.
.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Block parameter
Formal operand
System header
Block
parameter
EWA 4NEB 811 6149-02
2-15