Skip to main content

Functions

Reconfiguration – J1939

With the "Reconfiguration" function, you can dynamically adapt a J1939 configuration at application runtime which was initially downloaded to the controller.

With the DED.Reconfigure function block, which is available when the generic device diagnosis is enabled (PLC Settings:), you can execute the following actions at runtime.

  • Activation and deactivation of individual devices

  • Activation and deactivation of an entire bus strand

Tip

For more information about reconfiguration on the CANbus level, see the chapter "Reconfiguration – CANbus".

Bus Cycle Task

_can_img_buscycle_j1939.png

(1) Receiving Single Package PG

(2) IEC task

(3) Writing outputs to output buffer

(4) Receiving multipackage PGs, sending PGs

For more information, see: task configuration

Command: Import DBC File

Function: The command imports a DBC file and inserts the ECU devices described in the file below the J1939 Manager. The contents of the file are then displayed in the DBC content selection dialog, which helps you to select the contents to be imported.

Call: Context menu of a J1939 Manager (device object) in the device tree

Requirement: A DBC file exists.

Communication description as DBC file

DBC is a proprietary data format developed by Vector Informatik GmbH. The data format maps the J1939 communication relationships so that they can be imported into CODESYS.

Dialog: DBC content selection

Import

standard icon: The ECU is imported.

Name

ECU name (from DBC file)

Description

ECU description (from DBC file)

Local ECU

standard icon: The ECU is imported as a local ECU.

_cds_icon_option_deactivated.png: The ECU is imported as a remote ECU.

Enable signal conversion

standard icon: The signal conversion is enabled for all signals of the ECU.

OK

Inserts the selected ECUs below the J1939 Manager.

Note: The ECU name in the device tree corresponds to the name in the DBC file.

However, existing ECUs are not overwritten. The ECUs to be imported are provided with unique names.

Example 2. Example
_can_j1939_img_dlg_dbc_content_selection.png