Blog · 2026-11-10
OBD MIL commanded status and DTC stored
Stefan Bogdanescu
Founder & Senior Architect
Decoupling MIL Commanded Status from Stored DTCs
When parsing OBD-II data, specifically Mode 01 PID 01, it is common to encounter a logical disconnect that defies intuitive expectations. The standard interpretation suggests that if the Engine Control Unit (ECU) stores emission-related Diagnostic Trouble Codes (DTCs), the Malfunction Indicator Lamp (MIL)âthe Check Engine Lightâmust be commanded ON. However, real-world telemetry often reveals scenarios where bit A7 (Commanded MIL Status) reads OFF while bits A6-A0 report a non-zero count of confirmed DTCs.
Consider a specific case involving a Skoda Superb. In this instance, the dashboard showed no visible Check Engine Light. The ECU reported that the MIL was not commanded ON (bit A7 = 0). Yet, the data stream indicated exactly 16 confirmed emissions-related DTCs were stored (bits A6-A0 = 16). This creates a paradox: how can the system acknowledge faults without illuminating the warning lamp?
The resolution lies in understanding that "Commanded MIL Status" is not a simple binary state of "fault present," but rather a specific command issued by the ECU to illuminate the lamp at that exact moment. The ECU manages the lamp state based on several conditions, including freeze frame data capture, readiness monitors, and regulatory requirements regarding when the light should actually appear versus when faults are merely logged.
According to EPA documentation regarding MIL Commanded status, the scenario where the MIL is NOT commanded ON while codes ARE stored falls within documented behavior, though it occurs in a minority of cases depending on the vehicle's specific compliance strategy. It is crucial not to assume that a non-zero DTC count automatically equates to an active illumination command. The ECU may be storing historical or pending faults that have not yet met the threshold for immediate MIL activation, or the vehicle logic dictates that the light remains off until specific driving cycles are completed to confirm the fault's persistence.
A critical question arises regarding the inverse scenario: is it possible for the Commanded MIL Status to be ON while the number of stored DTCs is zero? Theoretically, this represents a state where the ECU has explicitly commanded the lamp to turn on without currently holding active emission-related trouble codes in the buffer. This can happen during specific diagnostic cycles when the ECU needs to clear pending codes or transition states, but it generally implies that the stored DTC count should eventually reflect the fault triggering the command. If a lamp is commanded ON, one would expect a corresponding fault memory entry; a mismatch here usually indicates a transitional state or a potential communication lag between the MIL control logic and the DTC storage register.
When building diagnostic tools or parsing CAN bus data, developers must treat these bits with distinct granularity. Relying solely on the bit count (A6-A0) to determine if a car is "broken" can lead to false negatives if the application assumes illumination is mandatory for fault storage. Conversely, relying only on bit A7 might miss stored faults that are currently in a pending state or awaiting confirmation.
# Example logic for parsing PID 01 response
def parse_mode_01_pid_01(response_bytes):
# Response format: [Checksum] [DTC Count (bits 6-0)] [MIL Commanded (bit 7)]
# Note: Actual bit positions depend on specific protocol encoding (Hex vs Binary)
# Assuming a simplified byte structure where relevant bits are extracted
mil_commanded = bool(response_bits[7]) # Bit A7
dtc_count = int(response_bits[6:0], 2) # Bits A6-A0
# Logical check for the Skoda anomaly scenario
if not mil_commanded and dtc_count > 0:
status = "Faults Stored, MIL Not Commanded"
# Potential causes: Pending faults, post-drive cycle clearance,
# or specific manufacturer logic delaying illumination
elif mil_commanded and dtc_count == 0:
status = "MIL Commanded, No Active Codes (Transition State?)"
else:
status = "Standard Correlation"
return status
Developers integrating these signals into fleet management systems should flag discrepancies between commanded status and stored counts for further investigation. Ignoring the bit-level details can result in inaccurate reporting of vehicle health, potentially missing critical emissions failures that have not yet triggered a dashboard warning but are present in the ECU memory. Always cross-reference raw PID data with manufacturer-specific service bulletins to understand the exact logic governing MIL illumination thresholds for specific makes and models.