73
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
ifm function elements ifm function elements for the device CR0452
CAN_TX_ENH_CYCLIC
7568
= CAN TX enhanced cyclic
Unit type = function block (FB)
Unit is contained in the library ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7569
CAN_TX_ENH_CYCLIC serves for cyclical transmitting of CAN messages.
Otherwise, the FB corresponds to CAN_TX_ENH (→ p. 71).
► Set the period duration via the parameter PERIOD.
If a period is too short, this could lead to a high bus load which could affect the performance of the
complete system.
>
Parameters of the inputs
7582
TRUE: execute this function element
FALSE: unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CAN interface (1...n) depending on the device
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)
TRUE: extended Frame (ID = 0...2
29
-1)
FALSE: normal Frame (ID = 0...2
11
-1)
DataLengthCode
(optional use of the parameter)
length of the data to be sent (0...8 bytes)
data to be sent (1...8 bytes)