![background image](http://html.mh-extra.com/html/ifm/ecomat-100-mobile-cr0301/ecomat-100-mobile-cr0301_programming-manual_620659107.webp)
107
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
J1939_x_SPECIFIC_REQUEST
8884
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
2300
J1939_x_SPECIFIC_REQUEST is responsible for the automatic requesting of individual messages
from a specific J1939 network participant. To do so, the logical device address DA, the parameters
PG, PF, PS and the address of the array DST in which the received data is stored are assigned to the
FB.
Info
PGN = [Page] + [PF] + [PS]
PDU = [PRIO] + [PGN] + [J1939 address] + [data]
13790
NOTICE
Risk of inadmissible overwriting of data!
► Create a receiver array with a size of 1 785 bytes.
This is the maximum size of a J1939 message.
► Check the amount of received data:
the value must not exceed the size of the array created to receive data!
► To the destination address DST applies:
Determine the address by means of the operator ADR and assigne it to the FB!
► In addition, the priority (typically 3, 6 or 7) must be assigned.
► Given that the request of data can be handled via several control cycles, this process must be
evaluated via the RESULT byte. All data has been received if RESULT = 1.
>
The output LEN indicates how many data bytes have been received.
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......