EasyManua.ls Logo

IFM Electronic CR0451 - Page 94

IFM Electronic CR0451
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
94
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN-FBs on layer 2 (RAW-CAN)
CAN_TX_ENH
7558
= CAN TX enhanced
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
ENABLE
RESULT
CHANNEL
ID
Extended
DataLengthCode
DATA
Description
7559
Additional setting options are offered through CAN_TX_ENH (for: enhanced). Here, all CAN specific
characteristics can be set individually, e.g.:
Is it an 11 or a 29 bit identifier?
The additional inputs can be preset so that CAN_TX ( page 92
) is not required.
> If an instance of this FB is called several times during a cycle, the data is also sent several times.
Parameters of the inputs
7634
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 BYTE number of the data bytes to be sent (0...8)
DATA ARRAY [0...7] OF BYTE data to be sent (1...8 bytes)

Table of Contents