174
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
Parameters of the inputs
8105
ENABLE
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...11)
0...11 for the inputs IN0...IN11
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…3 600 Ω
from HW state
AD:
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
(→ page 49)
>
Parameters of the outputs
8106
VALUE WORD current value or status of the input channel
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