109
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
J1939_x_TRANSMIT
4322
x = 1...n = number of the CAN interface (depending on the device,
→ Data sheet)
Unit type = function block (FB)
Unit is contained in the library
ifm_J1939_
x
_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
2298
J1939_x_TRANSMIT is responsible for transmitting individual messages or blocks of messages. To do
so, the parameters PG, PF, PS, RPT and the address of the data array SRC are assigned to the FB.
Info
PGN = [Page] + [PF] + [PS]
PDU = [PRIO] + [PGN] + [J1939 address] + [data]
► To the source address SRC applies:
Determine the address by means of the operator ADR and assigne it to the FB!
► In addition, the number of data bytes to be transmitted and the priority (typically 3, 6 or 7) must be
assigned.
► Given that the transmission of data is processed via several control cycles, the process must be
evaluated via the RESULT byte. All data has been transmitted if RESULT = 1.
If more than 8 bytes are to be sent, a "multi package transfer" is carried out.
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......