
173
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
>
Parameters of the outputs
8125
Parameter
Data type
Description
VALUE_CYCLE
DWORD
(MODE = 14 / 19 / 20)
Cycle time in [µs] at the input
(MODE = 25)
Cycle time in [µs] at the A channel of the input pair
VALUE_FREQ
REAL
(MODE = 14 / 19 / 20)
Frequency of the detected periods in [Hz] at the input
(MODE = 25)
Frequency of the detected periods in [Hz] at the A channel of the input
pair
VALUE_TIME
TIME
(MODE = 14)
Value = 0 (not detected)
(MODE = 19 / 20)
Time elapsed since the last positive edge
(MODE = 25)
Time elapsed since the last valid measurement
VALUE_RATIO
WORD
(MODE = 14)
Value = 0 (not detected)
(MODE = 19 / 20)
Mark-to-space ratio of the input signal in [‰]
(MODE = 25)
Phase shift in [°]
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
137
89
value for PERIODS or TIMEBASE is invalid
146
92
Period duration is too long
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...