7.7.6. DTC control (pdtc_Control)

Start new drive, warm-up and ignition cycles. Handle engine running signal. Handle vehicle/operating conditions for OBD clear of CARB permanent DTCs.

7.7.6.1. Supported targets

All targets

7.7.6.2. Required license

EXT_DIAG (Extended diagnostics library). (See Section 2.3, “Licensed Features”.)

7.7.6.3. Description

Platform control of DTCs can depend on the number of drive, warm-up and ignition cycles that have taken place as well as the engine running state. This block is used to signal the start of each cycle and the engine running state. It is up to the application to determine the conditions for starting each of the cycles and the engine running state, as these can be dependent on the regulatory requirements that are being adhered to.

When an OBD clear request is received, any relevant CARB permanent DTCs will not be cleared immediately. Instead they will be cleared at the end of this drive cycle (or a subsequent drive cycle) if the relevant test has been carried out and passed (and has not subsequently failed again). In addition, DTCs relating to certain monitors are required to wait for certain vehicle/operating conditions to be met during a drive cycle before permanent DTCs for these monitors may be cleared, where these vehicle/operating conditions will have exercised a representative range of vehicle behaviour and any existing fault is likely to have been detected. It is up to the application to determine whether these conditions have been satisfied, as these can be dependent on the regulatory requirements that are being adhered to.

7.7.6.4. Inports

  • dc_start

    A transition from 0 to 1 indicates the start of a new drive cycle. The input should remain high throughout the drive cycle, but it must be switched low for at least one iteration between cycles.

    Value type:Boolean
    Calibratable:No
  • wu_start

    A transition from 0 to 1 indicates the start of a new warm-up cycle. The input should remain high throughout the warm-up cycle, but it must be switched low for at least one iteration between cycles.

    Value type:Boolean
    Calibratable:No
  • ic_start

    A transition from 0 to 1 indicates the start of a new ignition cycle. The input should remain high throughout the ignition cycle, but it must be switched low for at least one iteration between cycles.

    Value type:Boolean
    Calibratable:No
  • eng_running

    Set to 1 for engine running. Set to 0 otherwise.

    Value type:Boolean
    Calibratable:No
  • ok_to_clr_perm

    Set to 1 to indicate that vehicle/operating conditions are currently met such that an OBD clear request may be carried out for permanent DTCs. Set to 0 otherwise.

    Value type:Boolean
    Calibratable:No

7.7.6.5. Outports

None.

7.7.6.6. Mask parameters

7.7.6.7. Notes

None.