![background image](http://html.mh-extra.com/html/ifm/iocontrol-cr2050/iocontrol-cr2050_programming-manual_620709170.webp)
170
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
>
Parameters of the inputs
19703
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CHANNEL
BYTE
Number of input channel
0...7 for the inputs IN0...IN7
MODE
BYTE
operating mode of the input channel:
0 = 0x00
off
3 = 0x03
voltage input
0…10 000 mV
6 = 0x06
voltage input, ratiometric
0...1 000 ‰
7 = 0x07
current input
0…20 000 µA
9 = 0x09
voltage input
0…32 000 mV
10 = 0x0A (only for analogue evaluated inputs)
binary input, plus switching (BL)
11 = 0x0B
(only for analogue evaluated inputs)
binary input, plus switching (BL) with diagnosis
(Namur)
12 = 0x0C binary input, minus switching (BH)
18 = 0x12 resistance input
16...30 000 Ω
FILTER
BYTE
filter for the measurement on the input:
valid= 0...8 recommended = 4
→ chapter
Configure the software filters of the inputs
(→ p.
>
Parameters of the outputs
8106
Parameter
Data type
Description
VALUE
WORD
current value or status of the input channel
(according to the selected operating mode MODE)
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
FB execution completed without error
– data is valid
2
02
function block is active (action not yet completed)
3
03
function block is active
– valid values not yet available
130
82
channel setting is invalid
132
84
mode setting is invalid
136
88
filter setting is invalid
141
8D
wire break occurred
142
8E
short to supply voltage occurred
144
90
Current at the input is too high
Summary of Contents for ioControl CR2050
Page 228: ...228 10 Notizen Notes Notes ...