172
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
8124
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> initiated processes continue in the background
> FB outputs are not updated
CHANNEL
BYTE
(MODE = 14 / 19 / 20)
Number of the fast input channel
0...3 for the inputs IN0...IN3
(MODE = 25)
Number of the fast input A channel
0 / 2 for the inputs IN0 / IN2
B channel = A c 1
MODE
BYTE
Operating mode of the function block:
0 = 0x00 = no measurement
14 = 0x0E = frequency measurement
19 = 0x13 = interval measurement
20 = 0x14 = invertal and ratio measurement
25 = 0x19 = phase shift of two input signals
PERIODS
BYTE
Number of periods to be averaged (1...4)
• if MODE = 19 / 20
average arithmetically
• if MODE = 25
average geometrically
• if PERIODS = 1
no averaging
TIMEBASE
TIME
(only relevant if MODE = 14)
time for counting the edges in [ms]
permissible values = 1...2 000
Summary of Contents for ioControl CR2050
Page 228: ...228 10 Notizen Notes Notes ...