7.7.5. DTC match and clear (pdtc_ClearDtcs)

Clear all DTCs which match the DTC type, DTC emissions severity and DTC state, in accordance with the comparator parameters.

7.7.5.1. Supported targets

All targets

7.7.5.2. Required license

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

7.7.5.3. Description

Given a DTC table, clear all DTCs (if the clear state is supported by the DTC), which match the block parameters DTC type (in accordance with comparator Type comparison), DTC emissions severity (in accordance with comparator Emissions severity comparison), DTC state (in accordance with comparator State comparison). This block provides for configurable clearing of DTCs according to the user requirements e.g. the user may wish to clear all DTCs in a given table that are of type ISO only, with emissions severity greater than B1 and with state not equal to active.

The user may also select to clear DTCs only according to OBD regulations (e.g. following CARB regulations for permanent DTCs or Euro non-erasable DTCs), or may select to clear DTCs unconditionally.

7.7.5.4. Inports

7.7.5.5. Outports

None.

7.7.5.6. Mask parameters

  • DTC table identifier

    The name of the DTC table to act on (there must be a corresponding named table specified in a pdtc_Table block in the model).

    Value type:String
    Calibratable:No
  • Type comparison

    A drop-down selection of the comparison to perform on the DTC's type (first step) when clearing DTCs, in the DTC table (specified by parameter DTC table identifier). See parameter DTC type for the second step.

    Value type:List
    Calibratable:No
  • DTC type

    A drop-down selection of the type of DTCs to use (second step) for clearing DTCs in the DTC table (specified by parameter DTC table identifier). If the parameter Type comparison is set to 'Any' then this drop-down is not available.

    Value type:List
    Calibratable:No
  • Emissions severity comparison

    A drop-down selection of the comparison to perform on the DTC's emissions severity (first step) when clearing DTCs, in the DTC table (specified by parameter DTC table identifier). See parameter DTC emissions severity for the second step.

    Value type:List
    Calibratable:No
  • DTC emissions severity

    A drop-down selection of the emissions severity to use (second step) for clearing DTCs in the DTC table (specified by parameter DTC table identifier). If the parameter Emissions severity comparison is set to 'Any' then this drop-down is not available.

    Value type:List
    Calibratable:No
  • State comparison

    A drop-down selection of the comparison to perform on the DTC's state (first step) when clearing DTCs, in the DTC table (specified by parameter DTC table identifier). See parameter DTC state for the second step.

    Value type:List
    Calibratable:No
  • DTC state

    A drop-down selection of the DTC state to use (second step) for clearing DTCs in the DTC table (specified by parameter DTC table identifier). If the parameter State comparison is set to 'Any' then this drop-down is not available.

    Value type:List
    Calibratable:No
  • Clear DTCs unconditionally

    If checked, this block will clear DTCs matching the comparison criteria above unconditionally, regardless of whether they are configured as CARB permanent DTCs or as Euro non-erasable DTCs.

    If unchecked, this block will only clear DTCs which match the comparison criteria above, and which are permitted to be cleared at this time by OBD regulations. Any CARB permanent DTCs will be cleared under the conditions of the CARB regulations, and Euro non-erasable DTCs will never be cleared.

    Typically this would be unchecked for clearing DTCs via OBD scan tool request, and would be checked for a full reset of DTCs during production or in other situations where OBD regulations on clearing DTCs are not relevant (e.g. moving the ECU to a different vehicle).

    Value type:Boolean
    Calibratable:No

7.7.5.7. Notes

None.