166
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
J1939_DM1TX_CFG
15424
= J1939 Diagnostic Message 1 TX configurable
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_V02.00.02.LIB or higher
Symbol in CODESYS:
>
Description
15426
As from runtime system V03.00.03 the CAN stack automatically sends a DM1 message every second
as soon as the FB J1939_ENABLE (→ page 138) is called for the corresponding CAN interface.
► Use the FB J1939_DM1TX_CFG if you do not want the CAN stack to automatically and cyclically
transmit DM1 messages.
The FB offers the following modes for cyclic transmission of DM1 messages:
MODE = 0
(preset)
The CAN stack sends DM1 "zero active faults" messages in compliance with standards every second.
A manual transmission of DM1 messages via the FB J1939_DM1TX (→ page 163)is possible.
MODE = 1 The CAN stack does not send DM1 "zero active faults" messages.
DM2 requests are answered automatically.
A manual transmission of DM1 messages via the FBJ1939_DM1TX (→ page 163) is possible.
MODE = 2 The CAN stack does not send cyclic DM1 "zero active faults" messages
Nor does the CAN stack automatically reply to DM2 requests.
>
Parameters of the inputs
15427
ENABLE
TRUE: execute this function element
FALSE: unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CHANNEL BYTE CAN interface (1...n) depending on the device
MODE BYTE := 0 Operating mode of the function block
allowed = 0...2 (→ Description of the FB)
>
Parameters of the outputs
15429
RESULT BYTE feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0 00 FB is inactive
1 01 function block execution completed without error
242 F2 Error: setting is not possible