138
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
J1939_ENABLE
7641
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7642
For initialisation of the J1939 stack, J1939_ENABLE is set to TRUE=1.
> This FB also causes booting of the soft I/Os of the CFG file.
> A different baud rate is only adopted if CAN_ENABLE has not been activated before.
ACE = Address Claiming Enable:
• If an ifm controller communicates with only one engine controller via J1939:
set ACE = FALSE.
• If however several engine controllers are working on the same bus:
set ACE = TRUE.
In this case the engine controllers must support the address claiming!
Otherwise you will risk an overlapping of addresses with subsequent system failure.
>
Parameters of the inputs
7643
ENABLE BOOL := FALSE TRUE: Enable J1939 channel
Ace=TRUE: Address claiming effected
FALSE: Block J1939 channel
CHANNEL BYTE CAN interface (1...n) depending on the device
Baud rate
(optional use of the parameter)
WORD := 250 Baud rate [Kbits/s]
permissible values: 20, 50, 100, 125, 250, 500, 800, 1 000
PreferredAddress
(optional use of the parameter)
BYTE = 252 preferred source address
Ace
(optional use of the parameter)
BOOL := TRUE Address Claiming Enable
TRUE: Address claiming enabled
(control unit is self-configuring)
FALSE: No address claiming