64
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
CAN_RX_RANGE
7592
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7594
CAN_RX_RANGE provides the following settings:
select the message type (11 or 29 bits),
define an identifier range.
CAN_RX filters for the set identifier. If several CAN messages with the same identifier are received in
one cycle, only the last / latest message is available.
>
Parameters of the inputs
7595
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
CAN interface (1...n) depending on the device
ID_START
DWORD
start number of the data object identifier range:
normal frame (2
11
):
0...2 047 = 0x0000 0000...0x0000 07FF
extended frame (2
29
):
0...536 870 911 = 0x0000 0000...0x1FFF FFFF
ID_STOP
DWORD
end number of the data object identifier range:
normal frame (2
11
):
0...2 047 = 0x0000 0000...0x0000 07FF
extended frame (2
29
):
0...536 870 911 = 0x0000 0000...0x1FFF FFFF
Extended
(optional use of the parameter)
BOOL := FALSE
TRUE:
extended Frame (ID = 0...2
29
-1)
FALSE:
normal Frame (ID = 0...2
11
-1)