181
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
relay coil (± 10 %).
RELAY uses the FB
PWM1000
(
The effect of RELAY is
not
visible in the control configuration.
>
Parameters of the inputs
19722
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 the output channel
0...5 for the outputs K00...K05
VALUE
BOOL
TRUE:
activate output
FALSE:
deactivate output
REF_VOLTAGE
(optional use of the parameter)
WORD = 0
Reference voltage to calculate the status
• STAT_FUSE,
• STAT_NC,
• STAT_NO
permissible = 0...32 000
0 / not used = SUPPLY_VOLTAGE_VBBS
VOLTAGE
(optional use of the parameter)
WORD = 0
Required relay coil voltage in [mV]
permissible: 0...32 000
0 / not used = (SUPPLY_VOLTAGE_VBBS_SW – 400 mV)
>
Parameters of the outputs
19725
Parameter
Data type
Description
STAT_FUSE
BOOL
Status of the fuse:
TRUE
= OK
FALSE
= failled or not plugged in
STAT_NC
BOOL
Status of the relay's contact NC:
TRUE
= contact closed
FALSE
= contact opened
STAT_NO
BOOL
Status of the relay's contact NO:
TRUE
= contact closed
FALSE
= contact opened
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)
128
80
undervoltage on SUPPLY_VOLTAGE_VBBS_SW
or: SUPPLY_SWITCH = FALSE
130
82
channel setting is invalid
channel does not exist or channel it no relay output
140
8C
value of VOLTAGE or REF_VOLTAGE is too high
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...