170
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmRawCAN.library
>
10.9.5
CAN_Rx
6939
Function block type:
Function block (FB)
Behaviour model:
ENABLE
Library:
ifmRawCAN.library
Symbol in CODESYS:
>
Description
11777
The FB receives CAN messages with a defined identifier.
The FB receives all CAN messages with the indicated identifier between 2 FB calls and stores them in
a FIFO buffer storage. The number of the received CAN messages is displayed. The CAN message
received first is always provided on the output.
>
Input parameter
11784
Parameter
Data type Description
Possible values
xEnable
BOOL
Control activity of the FB
FALSE
FB is deactivated
TRUE
FB is activated
eChannel
CAN_
CHANNEL
Identifier of the CAN Interface
→
CAN_CHANNEL (ENUM)
(
→ p.
xExtended
BOOL
Requested frame type:
- Standard Frame (11 bits identifier)
- Extended-Frame (29 bits identifier)
FALSE
Standard Frame*
TRUE
Extended Frame
udiID
UDINT
Identifier of the CAN message
for Standard Frame (11 bits
identifier):
0 ... 2047
for Extended-Frame (29 bits
identifier):
0 ... 536.870.911