Skip to content
Service procedures 2026 firmware

Start/Stop HV Battery Discharge

ModelSX/tasks/PROC_BMS_X_HV-DISCHARGE

What this task does

This routine starts or stops discharging the HV Battery. When START is selected, the vehicle will produce waste heat by turning on the climate control system, setting the temperature to HI, and activating Keep Climate On mode. The vehicle will automatically exit the discharge state when the charge level reaches 20%, the STOP operation is selected, or if the climate control system is turned off manually.

Vehicle & firmware coverage

Open a version to see its description, requirements, and input definitions. Hardware configuration and live vehicle checks also determine availability.

Model S / X (legacy) Legacy infotainment · Firmware 2026.14.6
Vehicle coverage
Pre-2021 Model S, Pre-2021 Model X
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service

Procedure notes

Depending on selection, pumps and fans will start/stop making noise to produce and expel heat and the windows will vent/close (Intel MCU only).

Task inputs (2)

Operation

START_OR_STOP · String

Determine whether to START or STOP the discharge routine.

Firmware default: START

Options: START, STOP

Vent Windows (Intel MCU Only)

VENT_WINDOWS · Bool

If Intel MCU, determine whether to vent the windows if the START operation is selected.

Firmware default: true

Browse all tasks →
Service procedures

Attempt to Clear Blocked Pack Contactors

This routine will execute various Battery Management System (BMS) clear/reset routines in an attempt to clear blocked pack contactors. Keep in mind that even if all internal routines PASS, pack contactors may still be blocked from closing due to other extrinsic conditions.

PROC_BMS_X_CLEAR-BLOCKED-CONTACTORS

Model S / X (legacy)
Service procedures

BMS - Clear Isolation Counters

Clears the Battery Management System (BMS) isolation counters, which clears BMS_w/f027_SW_Drive_Iso_Repeated and BMS_w/f172_SW_Drive_Iso_Warning alerts. Execute this routine after repairing any isolation issue on the vehicle's High Voltage (HV) system. The BMS isolation counters latch the alerts BMS_w/f027 and BMS_w/f172 when reaching a specific count threshold.

PROC_BMS_X_CLEAR-ISOLATION-ALERT-COUNTERS

Model S / X (legacy)
Communication checks

BMS CAN Communication Test

This routine will test if the Battery Management System (BMS) is communicating over CAN to the Gateway.

PING-TP_BMS

Model S / X (legacy)
Service procedures

BMS ECU Backup

This routine creates a backup copy of data from the Battery Management System (BMS) ECU and saves it onto the car computer. The backup data is needed when performing a BMS ECU Restore.

PROC_BMS_X_ECU-REPLACEMENT-BACKUP

Model S / X (legacy)