DIALOGREBEL CTREBEL LTSoftware

DIALOG: log UDS and OBD diagnostic data

Updated

Configure a REBEL LT or REBEL CT to poll a module over UDS (ISO 14229) or standard OBD-II. The logger then records parameters that are never broadcast on the bus.

Before you start

  • A REBEL LT or REBEL CT, its USB cable and a cable to the vehicle (the Influx Technology OBD cable connects to CAN 0).
  • DIALOG installed, with a project open. For projects and configurations, see DIALOG: create projects and configurations and send them to a REBEL.
  • The module identifier and tester identifier for the module you want to read, and the bit rate of its network.
  • The parameters to read: an ODX file from the module supplier, or the PID numbers and their scaling.

You set up UDS and OBD logging in DIALOG Configurator and above, the versions that import ODX files and edit PIDs. If the terms are new, read understanding UDS and on-board diagnostics basics first.

The videos in this guide show an earlier version of DIALOG (formerly DiaLog), so some menus look slightly different.

Create the configuration and the bus

  1. Create a configuration. Select New Configuration and enter a name.
  2. Check the sleep mode. On the Sleep Mode tab, choose the mode you need from the drop-down list. Clear Limit Module Wakeup so polling does not keep waking the vehicle and draining its battery. Select OK.
  3. Add the bus. Select New Bus, choose CAN 0 (HS) and select OK. Use CAN 0 when you connect through the Influx Technology OBD cable.
  4. Set the bit rate. Choose the bit rate of the vehicle network from the Bus Speed list and select OK.

Add the diagnostic protocol

Choose a preset

  1. Add a protocol. Select New Protocol, choose Diagnostic and select OK.
  2. Choose the preset. The Diagnostic Protocol Presets window lists these presets:
    • Bosch ISO14229
    • Conti ISO14229
    • ISO14230
    • ISO15765
    • Keyword2000
    • OBDII
    • Siemens ISO14229
    Choose the one that matches the module and select OK. The right-hand panel shows what the preset sets. For example, the Bosch ISO14229 preset uses an extended diagnostic session with module ident 0x7E8 and tester ident 0x7E0.
The Choose Protocol Type window listing Diagnostic, CCP Protocol, XCP Protocol and CAN Monitor, with Diagnostic selected
New Protocol offers four protocol types.
The Diagnostic Protocol Presets window with the Bosch ISO14229 preset selected and its settings listed on the right
Each preset fills in the ISO 15765 and ISO 14229 settings.

Set the module and tester identifiers

The Edit Diagnostic Protocol window opens on the ISO Settings tab. Enter the Module Ident (the CAN identifier the module answers on) and the Tester Ident (the identifier the logger sends requests on). Unless the module's documentation says otherwise, leave the flow control and timing fields at the preset's values. These are FS, ST Min, BS Max and Keep Alive Tick. To poll more than one module, select Add Module under Other Modules.

The ISO Settings tab of the Edit Diagnostic Protocol window with Module Ident 0x7E8, Tester Ident 0x7E0 and Send start session ticked
The ISO Settings tab holds the module and tester identifiers and the Send start session box.

UDS or OBD: the Send start session box

Send start session makes the logger request a diagnostic session from the module (service 10, DiagnosticSessionControl) before it starts polling.

  • UDS (ISO 14229): tick Send start session, so the module is in the session your identifiers need, then select OK.
  • Standard OBD-II PIDs (mode 01): clear Send start session and Sample Only Valid PIDs. An OBD request needs no session. These two boxes are the first thing support checks when an OBD configuration records nothing.
A UDS session: open, poll, keep alive UDS · ISO 14229 A UDS session: open, poll, keep alive Tester ECU Repeat 10 03 DiagnosticSessionControl: extended session 50 03 … positive response 22 F1 90 ReadDataByIdentifier: DID F190 62 F1 90 … data 3E 00 TesterPresent: keep the session open 7E 00 positive response A positive response is the service ID plus 40 hex (10 to 50, 22 to 62, 3E to 7E). Repeat the read loop for as long as you log, and send TesterPresent before the session timeout (S3, typically 5 s) or the ECU returns to its default session. Physical IDs, for example 7E0 and 7E8.
How a UDS tester opens a session, polls and keeps the session open.
Requesting engine speed (PID 0C) with OBD-II mode 01 OBD-II · MODE 01 Requesting engine speed (PID 0C) with OBD-II mode 01 Request: tester to every engine-related ECU (functional address) ID 7DF 02 01 0C pad pad pad pad pad length mode PID Response: engine ECU to tester ID 7E8 04 41 0C 1A F8 pad pad pad length mode + 40 PID A B Engine speed, PID 0C rpm = (256 × A + B) / 4 = (256 × 0x1A + 0xF8) / 4 = (6656 + 248) / 4 = 1726 rpm length: how many bytes follow. A positive reply adds 40 to the mode. With 29-bit identifiers the request goes to 18DB33F1 and replies come from 18DAF1xx, where xx is the ECU address. Unused bytes are padding.
An OBD-II mode 01 request needs no session: one request, one reply.

Watch: Quick OBD configuration, out of the box (2:10)

Add the PIDs

Import them from an ODX file

  1. Open Load ODX. On the Import tab, select Load ODX.
  2. Choose the file. Select the ODX file, then select Open. DIALOG reads ODX, GDX and MDX description files.
The Import tab with Load ODX selected and a file dialog open on an ODX file
Load ODX on the Import tab.

Add a PID by hand

On the Configuration tab, open the New PID menu and select New PID. The same menu offers Import PID From Presets, New Address and Edit PID Presets. Fill in the New Data Item window and select OK.

Data Item, Units
The name and unit the recording shows.
PID, Mode
The identifier in hex and the diagnostic service that reads it.
Min Value, Max Value
The permitted range of the converted value.
Log on change, Rate
Log All Data records every sample. Rate sets how often the PID is polled.
Data Type, Msg Size, Byte Position, Byte Order, Bit Mask
Where the value sits in the reply and how to read it.
Conversion Method
A formula of the form (Ax + B) / (Cx + D), set with coefficients A to D, or a conversion table.
The New PID menu on the Configuration tab above the New Data Item window with its settings, memory layout and conversion method fields
The Stream Rate field belonged to the retired STREAMLOG service.

Watch: How to log data using UDS in DIALOG (1:33)

Edit the PID presets

The PID Presets window holds the library of predefined PIDs that Import PID From Presets draws on. To open it, select Edit PID Presets.

To find a preset, filter by PID, label, units, data type or mode. Select it and change its settings on the right. Then select Post to save or Cancel to discard.

Add and Delete manage single presets. Delete All Mode 0x22 removes every mode 0x22 preset from the library. Import ODX and Export ODX load or save the library.

The PID Presets window with filters, the list of OBD presets and the PID settings and memory layout panels
The PID Presets window, PIDs tab.

PID settings

PID (Hex)
The hexadecimal identifier of the PID.
Label
The name of the preset.
Units
The unit of the converted value.
Mode
The diagnostic service used to read the PID.
Formula
A conversion formula applied automatically.
MinValue, MaxValue
The minimum and maximum permitted values.

Memory layout

Data Type
The data type of the value.
Size
The number of bytes in each data item.
Byte Position
Where the first data byte sits in the returned CAN message.
Start Bit, Bit Count
The first bit and the number of bits, for values that do not fill whole bytes.
Precision
The number of decimal places shown.
Byte Order
The order in which the data bytes are transmitted.

Send the configuration to the logger

  1. Connect the logger. Plug the REBEL into the PC with the USB cable.
  2. Send the configuration. Right-click it and select Send Configuration to the Logger, then select Yes.
  3. Wait for the processing to finish. The logger runs the new configuration once DIALOG reports it is done.

If no diagnostic data is recorded

If you are still stuck, contact technical support with the configuration and a short log file.

Next: DIALOG: log ECU data over CCP or XCP from an A2L file.

Products in this guide

DIALOG

CAN analysis & diagnostics

View DIALOG Ask an engineer

REBEL CT

Automotive engineering logger

View REBEL CT Ask an engineer

REBEL LT

Vehicle diagnostics logger

View REBEL LT Ask an engineer

Still stuck?

Our engineers answer support questions on every Influx Technology product.