7.7.8. DTC lamp states (pdtc_Status)

Firstly, this indicates the required states of the Malfunction Indicator Lamp, the Red Stop Lamp, the Amber Warning Lamp and the Protection Lamp. These states are determined having taken into consideration the states of all DTCs in the system.

Optionally, values are output required to support EuroVI MIL activation and to populate messages with MIL and B1-severity fault time counter values.

7.7.8.1. Supported targets

All targets

7.7.8.2. Required license

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

7.7.8.3. Description

Each DTC in the system can specify which (if any) warning lamps are to be lit or flashed when they become active. This block reports the required states of these lamps. The relative priorities of the lamp states are (from highest to lowest) continuously on, fast flash, slow flash, and off. The highest priority lamp state of all of the active DTCs is indicated by this block.

7.7.8.4. Inports

None.

7.7.8.5. Outports

  • mil_status

    Indicates the state of the Malfunction Indicator Lamp, taking into consideration the states of all DTCs in the system.

    Range: [0, 3] (0 is Slow Flash, 1 is Fast Flash, 2 is On, 3 is Off)

    Value type:Integer
    Calibratable:No
  • rsl_status

    Indicates the state of the Red Stop Lamp, taking into consideration the states of all DTCs in the system.

    Range: [0, 3] (0 is Slow Flash, 1 is Fast Flash, 2 is On, 3 is Off)

    Value type:Integer
    Calibratable:No
  • awl_status

    Indicates the state of the Amber Warning Lamp, taking into consideration the states of all DTCs in the system.

    Range: [0, 3] (0 is Slow Flash, 1 is Fast Flash, 2 is On, 3 is Off)

    Value type:Integer
    Calibratable:No
  • pl_status

    Indicates the state of the Protection Lamp, taking into consideration the states of all DTCs in the system.

    Range: [0, 3] (0 is Slow Flash, 1 is Fast Flash, 2 is On, 3 is Off)

    Value type:Integer
    Calibratable:No
  • mi_actv_mode

    The MI Activation Mode as defined by EuroVI in UN_ECE Regulation 49 Addendum 48 Rev 4. (This outport is only shown if the "Show EuroVI outputs?" option is checked.)

    Range: [0, 3] (0 is mode 1/no fault, 1 is mode 2/class C, 2 is mode 3/class B1 < 200hr, 3 is mode 4/class A or B1 > 200hr)

    Value type:Integer
    Calibratable:No
  • mil_cumulative

    The total time for which the MIL has been active with the engine running. (This outport is only shown if the "Show EuroVI outputs?" option is checked.)

    Range: [0, 4294967295] seconds

    Value type:Integer
    Calibratable:No
  • b1_cumulative

    The total time for which any B1 severity DTC has been active with the engine running. This corresponds to the "System Greatest B1 Counter" in SAE J1939-73 DM39. (This outport is only shown if the "Show EuroVI outputs?" option is checked.)

    Range: [0, 4294967295] seconds

    Value type:Integer
    Calibratable:No
  • b1_continuous

    The current time for which any B1 severity DTC has been active with the engine running. This counter is reset if no B1 fault is active for three engine cycles. This corresponds to the "Single B1 Counter" in UN_ECE Regulation 49 Addendum 48 Rev 4. (This outport is only shown if the "Show EuroVI outputs?" option is checked.)

    Range: [0, 4294967295] seconds

    Value type:Integer
    Calibratable:No

7.7.8.6. Mask parameters

  • Show EuroVI outputs?

    Whether to set additional outports to EuroVI-related values concerning MIL activation and MIL/B1 time counters.

    Value type:Boolean
    Calibratable:No
  • Sample time

    The periodicity of the block execution in seconds.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No

7.7.8.7. Notes

None.