96
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN-FBs on layer 2 (RAW-CAN)
CAN_TX_ENH_CYCLIC
7568
= CAN TX enhanced Cyclic
Unit type = function block (FB)
Contained in the library: ifm_RawCAN_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
CAN_TX_ENH_CYCLIC
ENABLE
RESULT
CHANNEL
ID
Extended
DataLengthCode
DATA
PERIOD
Description
7569
CAN_TX_ENH_CYCLIC serves for cyclical transmitting of CAN messages.
Otherwise, the FB corresponds to CAN_TX_ENH (→ page 94
).
► Set the period duration via the parameter PERIOD.
NOTE
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
Parameter Data type Description
ENABLE BOOL TRUE: unit is executed
FALSE: unit is not executed
> POU inputs and outputs are not active
CHANNEL BYTE CAN interface (1...n) depending on the device
ID DWORD number of the data object identifier:
normal frame: 0...2 047 (2
11
)
extended frame: 0...536 870 912 (2
29
)
Extended
(optional use of the parameter)
BOOL TRUE: extended frame
FALSE: normal frame
(preset for ID < 2 048)
DataLengthCode
(optional use of the parameter)
BYTE length of the data to be sent (0...8 bytes)
reset = 0 bytes
DATA ARRAY [0...7] OF BYTE data to be sent (1...8 bytes)
PERIOD TIME period duration