5.1.36. DTC clear all if active (pdtc_ClearAllIfActive)

Set all DTCs referred to by the table identifier parameter, to the clear state, if the clear state is supported by the DTC, and if the DTC state is currently active.

5.1.36.1. Supported targets

All targets

5.1.36.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.36.3. Description

For the DTCs with matching type to the parameter DTC type in the DTC table specified by parameter DTC table identifier, this block sets the DTC state to clear, if the DTC state is currently active. See the pdtc_DiagnosticTroubleCode and pdtc_DiagnosticTroubleCodeExt blocks for details about the states each type of DTC can have.

Freeze frame data associated with the DTCs cleared is also erased, but not monitor data.

For OBD systems, see also pdtc_ClearAll.

5.1.36.4. Inports

  • clear

    Set to 1 to force the state of each DTC, with matching type to that specified by parameter DTC type, to clear if it is currently active. Otherwise, set to 0 for no change in DTC states.

    Value type:Boolean
    Calibratable:No

5.1.36.5. Outports

None.

5.1.36.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
  • DTC type

    A drop-down selection of the type of DTC to act on in the DTC table specified by parameter DTC table identifier.

    Value type:List
    Calibratable:No

5.1.36.7. Notes

None.