![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933070.webp)
70
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CAN_RX_ENH_FIFO
7615
= CAN RX enhanced with FiFo
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7616
In addition, CAN_RX_ENH_FIFO provides a FiFo for the received data (as opposed to
CAN_RX_ENH
(
)). Thus several CAN messages can be received in one cycle.
No overwriting takes place when the FiFo is full. Inbound messages will be lost.
In this event:
► Deactivate and reactive the FB via ENABLE.
>
The FiFo is deleted and can be newly filled.
Description to the filter mask:
→
CAN_RX_ENH
(
) > chapter
Description
>
Parameters of the inputs
7609
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
DWORD
Number of the data object identifier:
normal frame (2
11
IDs):
0...2 047 = 0x0000 0000...0x0000 07FF
extended Frame (2
29
IDs):
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)
ID_Mask
(optional use of the parameter)
DWORD := 0
filter mask for the identifier:
if ID_MASK bit = 0, CAN ID bit may be = 0 or 1
if ID_MASK bit = 1, CAN ID bit must be = ID bit
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...