59
Function Block Programming
Appendix B
The table below lists the Input and Output variables for the basic / extended function blocks.
Note
The table lists all possible variables for the maximum size function block, i.e. the Extended block for the
E5_R. For other basic / extended function blocks subsets of variables apply.
Name
Variable name
Data
type
Default
Range
Description
In
put
v
a
ri
ab
le
s
EN
EN
BOOL
1 (ON): Function block started
0 (OFF): Function block not started
Start Word
PROFIBUS Out-
put data
StartWordOutput
UINT
3000
Start Word of PROFIBUS Output data in
PROFIBUS Master Output data area.
Start Word
PROFIBUS Input
data
StartWordInput
UINT
3010
Start Word of PROFIBUS Input data in PROFI-
BUS Master Input data area.
SV values
SV_CH1
WORD
0
SV Channel 1
SV_CH2
WORD
0
SV Channel 2
SV_CH3
WORD
0
SV Channel 3
SV_CH4
WORD
0
SV Channel 4
Operation Com-
mand
Oper_Cmmnd
WORD
0
Special Operation Executed word
O
u
tput
v
a
ri
a
b
les
ENO
ENO
BOOL
1 (ON): Function block processed normally
0 (OFF): Function block not processed or
ended in an error
Process variables PV_CH1
WORD
PV Channel 1
MV1_CH1
WORD
MV1 Channel 1
MV2_CH1
WORD
MV2 Channel 1
Status_HW_CH1
WORD
Status High Word Channel 1
Status_LW_CH1
WORD
Status Low Word Channel 1
PV_CH2
WORD
PV Channel 2
MV1_CH2
WORD
MV1 Channel 2
MV2_CH2
WORD
MV2 Channel 2
Status_HW_CH2
WORD
Status High Word Channel 2
Status_LW_CH2
WORD
Status Low Word Channel 2
PV_CH3
WORD
PV Channel 3
MV1_CH3
WORD
MV1 Channel 3
MV2_CH3
WORD
MV2 Channel 3
Status_HW_CH3
WORD
Status High Word Channel 3
Status_LW_CH3
WORD
Status Low Word Channel 3
PV_CH4
WORD
PV Channel 4
MV1_CH4
WORD
MV1 Channel 4
MV2_CH4
WORD
MV2 Channel 4
Status_HW_CH4
WORD
Status High Word Channel 4
Status_LW_CH4
WORD
Status Low Word Channel 4
Operation_Exec
WORD
0
Special Operation Executed word