100
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
J1939_x
9375
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
4325
J1939_x serves as protocol handler for the communication profile SAE J1939.
4313
NOTE
(for RTS to v05 only)
J1939 communication via the 1st CAN interface:
► First initialise the interface via
CAN1_EXT
(
J1939 communication via the 2nd CAN interface:
► First initialise the interface via
CAN2
!
To handle the communication, the protocol handler must be called in each program cycle. To do so,
the input ENABLE is set to TRUE.
The protocol handler is started if the input START is set to TRUE for one cycle.
Using MY_ADDRESS, a device address is assigned to the controller. It must differ from the addresses
of the other J1939 bus participants. It can then be read by other bus participants.
>
Parameters of the inputs
469
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
START
BOOL
TRUE (only for 1 cycle):
Start J1939 protocol at CAN interface x
FALSE:
during further processing of the program
MY_ADDRESS
BYTE
J1939 address of the device
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......