Skip to content

Read DTCs

Common/tasks/PROC_X_READ-DTCS

What this task does

Reads the Diagnostic Trouble Codes (DTCs) which match the inputted DTC mask for the chosen Electronic Control Unit. From right to left: bit 0: Test Failed bit 1: Test Failed This Operation Cycle bit 2: Pending DTC bit 3: Confirmed DTC bit 4: Test Not Completed Since Last Clear bit 5: Unused bit 6: Test Not Completed This Operation Cycle bit 7: Unused

Vehicle compatibility

Select your vehicle’s hardware to see task details, requirements, and inputs. Availability is confirmed after connection.

Model 3 / Y AMD
Vehicle coverage
2024+ Model 3, 2025+ Model Y, Model Y, Pre-2024 Model 3
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU you wish to query from

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER, PEBS, SEBS

DTC mask

dtc_mask · EnumType

DTC mask to use to search for DTCs that match that status

Default: PENDING

Options: PENDING, CONFIRMED

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Model 3 / Y Intel
Vehicle coverage
Model Y, Pre-2024 Model 3
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU you wish to query from

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER, PEBS, SEBS

DTC mask

dtc_mask · EnumType

DTC mask to use to search for DTCs that match that status

Default: PENDING

Options: PENDING, CONFIRMED

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Model S / X (2021+) AMD
Vehicle coverage
2021+ Model S, 2021+ Model X
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU you wish to query from

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER, PEBS, SEBS

DTC mask

dtc_mask · EnumType

DTC mask to use to search for DTCs that match that status

Default: PENDING

Options: PENDING, CONFIRMED

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Browse all tasks →
Service procedures

Clear DTCs

Clears the diagnostic data on the chosen Electronic Control Unit (ECU). This will clear any active Diagnostic Trouble Codes (DTC). DTC functionality may not exist on all ECUs depending on the platform.

PROC_X_CLEAR-DTCS

Model 3 / Y Model S / X (2021+)
Service procedures

Clear IDB DTCs

Clear the Mando Decoupled Brake (IDB) Diagnostic Trouble Codes (DTC).

PROC-IDB_X_CLEAR_DTCS

Model 3 / Y
Service procedures

Clear RCU DTCs

Clear the Mando Redundant HCU (RCU) Diagnostic Trouble Codes (DTC).

PROC-RCU_X_CLEAR_DTCS

Model 3 / Y
Service procedures

Clear Side View Mirror Fold Type

Executes a routine to clear the side view mirror fold actuator type auto-detected by the Tesla ECU.

PROC_X_CLEAR-MIRROR-FOLD-TYPE

Model 3 / Y