78
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
CAN_REMOTE_RESPONSE
7631
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7633
CAN_REMOTE_RESPONSE provides data to the CAN controller in the device which is automatically
sent upon the request of a remote message.
This FB strongly depends on the device type. Only a limited number of remote messages can be set
up:
BasicController: CR040n, CR041n, CR043n
BasicDisplay: CR045n
max. 40 remote messages
PDM360 NG: CR108n, CR120n
max. 100 remote messages
>
Parameters of the inputs
7634
Parameter
Data type
Description
ENABLE
BOOL := FALSE
TRUE:
execute this function element
Edge:
enter the new values
FALSE:
unit is not executed
reset internal remote values
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)
DATALENGTHCODE
BYTE
= Data Length Code
number of the data bytes to be sent (0...8)
DATA
ARRAY [0..7] OF BYTE
data to be sent (1...8 bytes)