132
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
>
Parameters of the inputs
7652
Parameter
Data type
Description
ENABLE
BOOL := FALSE
TRUE:
Any desired address available
FALSE:
Fixed address
CHANNEL
BYTE
CAN interface (1...n) depending on the device
IndustryGroup
(optional use of the parameter)
BYTE = 0xFF
industry group = industry group of the device
permissible values = 0...7
255 = 0xFF = filter for all
VehicleSystemInstance
(optional use of the parameter)
BYTE := 0xFF
instance of the vehicle system
permissible values = 0...15 = 0x00...0x0F
255 = 0xFF = filter for all
VehicleSystem
(optional use of the parameter)
BYTE := 0xFF
vehicle system
permissible values = 0...127 = 0x00...0x7F
255 = 0xFF = filter for all
nFunction
(optional use of the parameter)
WORD := 0xFFFF
function of the device
permissible values = 0...255 = 0x0000...0x00FF
65 535 = 0xFFFF = filter for all
FunctionInstance
(optional use of the parameter)
BYTE := 0xFF
instance of the function
permissible values = 0...31 = 0x00...0x1F
255 = 0xFF = filter for all
ECUInstance
(optional use of the parameter)
BYTE := 0xFF
instance of the control device
permissible values = 0...7
255 = 0xFF = filter for all
ManufacturerCode
(optional use of the parameter)
WORD := 0xFFFF
manufacturer code (must be requested from SAE)
permissible values = 0...2047 (2
11
-1) = 0x0000...0x07FF
65 535 = 0xFFFF = filter for all
IdentityNumber
(optional use of the parameter)
DWORD := 0xFFFF FFFF
serial number of the device (should not be overwritten)
permissible values = 0...2047 (2
11
-1) = 0x0000 0000...0x0000 07FF
4 294 967 295 = 0xFFFF FFFF = filter for all
>
Parameters of the outputs
7661
Parameter
Data type
Description
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
function block execution completed without error
8
08
function block is active
242
F2
Error: setting is not possible