SimWB supports some of the functionalities of J1939. This mapping panel allows the configuration of a J1939 device under SimWB.
The J1939 hardware devices can be any of the ESD-402, IXXAT600 or IXXAT640 CAN boards.
ESD 402 / IXXAT-640 / IXXAT-600x.
WCS-ES-CAN-405.
ICS-SWB-1212.
In order to configure a J1939 device , you must first import a DBC file by selecting it in the file chooser dialog and clicking the Import button as shown in the picture to the right.
Once you have selected the DBC file, the panel will display, the ECU (CA) found in the file as well as the messages (PGN) they are configured to transmit and receive. The panel will also
show the CAN devices av Make sure the channel is not used by regular CAN mappings as the device cannot be shared between regular CAN channel and J1939.ailable to the J1939 SimWB application.
SimWB will use the selected CAN channel to implemenent the communication for a particular ECU. Make sure the channel is not used by regular CAN mappings as the device cannot be shared between regular CAN channel and J1939.
After importing the DBC file, the panel to right will display all ECU's found in the file and under each ECU, all the messages PGN's they transmit.
Pick an ECU by clicking on its name and select one or several of the transmit messages.
When an ECU has been selected, the fields below the ECU list will be populated with the specific properties of the ECU.
You can edit the fields to modify for instance the ECU address, industry group,etc.
Labels that are displayed in underlined blue text are clickable and will show possible choices for the field values.
You can either enter a value in the entry field directly or select a value from the list displayed when clicking on the label.
The messages received by the selected ECU are shown to the right of the editable fields. You can also select the message(s) that you want to process
on reception by clicking on the checkbox associated with the message.
Once you have selected an ECU and the trasnmit and receive messages (PGN's) you want in SimWB, you must select a specific CAN Device/Channel through which the ECU will communicate. as
shown in the picture to the right. Each CAN board instance and its channels are identified by their name.
After Picking the CAN channel and selecting the ECU and its messages, click on the
button to add everything to the channel.
The CAN channel will now be populated with the messages and signals so that the RTDB can now be created.
The CAN channel Baud rate should also be specified by clicking on the Baud Rate Combo Box. Do not select Auto Detect
if the CAN channel is inactive when the SimWB test starts.
Additionally, you can add Diagnotic Messages (DM's) to an input channel. As a DM is not directly associated with a receiving ECU, A DM message must be added
independly to a channel if you want SimWB to receive and process it.
It is impossible to determine ahead of time the length of the DM message - (How many DTC's - Diagnostic Trouble Code) will be sent to SimWB, when adding a DM message, you can specify the maximum number of DTC's it
can receive.
The DTC sub fields (CM, FMI, OC, SPN) will be created for each DTC added to a DM.
It is also not possible to know how many different ECU's (Different Source Addresses SA's) will issue the message, you can also create slots
in the mapping so that the same DM message DM1,DM2,etc. can be receive from multiple ECU's.
All this can be specified in the DM sub-panel at the bottom of the CAN channel display.
Once the CAN channel(s) have been populated .It is time to generate the RTDB.
You can either create a new RTDB or merge the new signals and their signals into an existing RTDB. If you merge to an existing RTDB, make sure that RTDB does already contain
J1939 mappings for the selected channel(s) as those would be lost.
The SimWB signal names are generated automatically and will be structured as:
ECU_name.AI|AO.Message_Name.Signal_Name
ECU_Name, Message_Name and Signal are provided by the DBC file.
Have a look at the RTViewer picture to the right for an example of gene RTDB signal names.
|
HT V370 | Joystick |
|