152
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
>
Parameters of the outputs
14980
Parameter
Data type
Description
REDSTOPLAMP
BOOL
red stop lamp (for older projects only)
TRUE:
ON
FALSE:
OFF
AMBERWARNINGLAMP
BOOL
Amber warning lamp (for older projects only)
TRUE:
ON
FALSE:
OFF
PROTECTLAMP
BOOL
protect lamp (for older projects only)
TRUE:
ON
FALSE:
OFF
NUMBER
BYTE
number of the DTCs received (0...8)
SPN
WORD
Suspect Parameter Number (→ J1939 specification)
FMI
BYTE
Failure Mode Indicator (→ J1939 specification)
permissible values = 0...31 = 0x00...0x1F
SPN_CM
BOOL
conversion method (→ J1939 specification)
OC
BYTE
occurrence count
RESULT
BYTE
feedback of the function block
(possible messages → following table)
MIL_FC
BYTE
Status of the electronic component:
Malfunction indicatation light status and flash code:
0 = off
1 = on
2 = flash slowly
3 = flash quickly
REDSTOPLAMP_FC
BYTE
Status of the electronic component:
red stop light status and flash code:
0 = off
1 = on
2 = flash slowly
3 = flash quickly
AMBERWARNINGLAMP_FC
BYTE
Status of the electronic component:
Yellow warning light status and flash code:
0 = off
1 = on
2 = flash slowly
3 = flash quickly
PROTECTLAMP_FC
BYTE
Status of the electronic component:
protection light status and flash mode:
0 = off
1 = on
2 = flash slowly
3 = flash quickly
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
FB execution completed without error
– data is valid
8
08
FB is active
– no data was received
242
F2
Error: setting is not possible