Skip to main content
FW version: Stable

State machine

The BMS has a state machine that defines the behavior of the BMS.

The state is available as a variable:

  • /driver/state - string variable, the state name is printed
  • /driver/statemachine/state - integer variable, the state code is printed
ValueModeDescriptionDSCCHG
0ERRPermanent ERROROFFOFF
10FAILFail (temporary) stateOFFOFF
20INITBMS is not set, minimum parametrization requiredOFFOFF
30PROTECTTransient state, verifying that the error(s) has disappearedOFFOFF
40UNDERVOLTAGEUndervoltage of some battery cell detectedOFFOFF
60STORAGEBattery is being discharged to storage voltageOFFOFF
70STANDBYBMS switched OFF, no errorsOFFOFF
80PRECHARGINGStarting by prechargingPREOFF
90OVERVOLTAGEOvervoltage of some battery cell detectedONOFF
100IDLEIdle state - DSC port ON but no discharging or charging currentONOFF
110DISCHARGINGDischarging batteryONOFF
120REGENCharging battery by DSC from motorONOFF
125CHG_IDLECharger connected but no chargingONOFF
130CHARGINGCharging battery by CHG from chargerONON