![IFM PDM360NG Series System Manual Download Page 185](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026185.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN-FBs on layer 2 (RAW-CAN)
185
CAN_TX
7522
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, CR9042
Symbol in CoDeSys:
Description
7523
CAN_TX is the easiest transmit function. With it, a standard message per cycle can be sent with
minimal knowledge (and with resources such as IEC RAM).
> If an instance of this FB is called several times during a cycle, the data is also sent several times.
In case of the simple functions CAN_TX and CAN_RX, it is determined by means of the ID whether a
standard or an extended frame is to be sent. With the enhanced versions this is set via the input
EXTENDED. Therefore, extended frames in the ID area 0...2047 cannot be sent via the easy
functions.
Parameters of the inputs
7524
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:
2 048...536 870 912 (2
29
)
DATA
ARRAY [0...7] OF BYTE
data to be sent (1...8 bytes)