LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Low Voltage Shutdown


Low voltage shutdown is testing the battery voltage against BATT_SHUTDOWN_LOW level and when the voltage is below that a running user program will be stopped, running motors will stop, a popup window will appear on the screen and a timer will be started. If the voltage not rises over the BATT_SHUTDOWN_LOW level within LOW_VOLTAGE_SHUTDOWN_TIME the brick will save to flash and power down.

                          V
                          ^
                          |
                          |
                          |
                          |
  XXXX_WARNING_HIGH       -    Make LEDs normal
                          |
                          |
                          |    Keep LED colors
                          |
                          |
  XXXX_WARNING_LOW        -    Make LEDs ORANGE
                          |
  XXXX_SHUTDOWN_HIGH      -         -         -         -
                          |
                          |    Reset shutdown timer
                          |
  XXXX_SHUTDOWN_LOW       -         -         -         -
                          |
                          |    Show popup and stop user program immediately
                          |
                          |    Power down after LOW_VOLTAGE_SHUTDOWN_TIME
                          |
                          |
                          '-----------------------------------

  XXXX = BATT/ACCU