Skip to content

Command Line Interface

MyLab-odyssey edited this page Sep 12, 2017 · 9 revisions

Starting with version v0.5.0 ED BMSdiag will feature a Command Line Interface (CLI) to navigate through different diagnostic readouts. You can now get data about the charging system (NLG6 and standard OBL) or the cooling system beside the BMS data. See a complete description on the parameters here.

When the CAN-Bus is connected the system will start a standard query and will show them on a welcome splash screen. When the command prompt is displayed CMD >>, use the terminal (IDE serial monitor) to enter commands for further readouts.

Please set the terminal to CR (carriage return) for a new line. Otherwise the Command will be ignored!

It is also possible to enter a complete command including additional parameters, e.g. :

  • bms all to enter the BMS>> submenu and run the all command.

In every submenu you can enter a complete command like: bms t to switch to the other submenu and get the requested readout.

  • log on 10 to activate logging, with an interval of 10 seconds.

Starting with v0.7.0, the input is no more case sensitive!

Commands

Command Description
help, ? get a list of the available commands.
If you are tight on memory, set the HELP constant to zero (in ED_BMSdiag.h)
bms enter the bms submenu
nlg6 enter the fast charger (NLG6) submenu - if system is present
obl use on vehicle with standard charger
all run all available tests in sequence
rpt get a Battery Status Report (Description [[here
cs enter the submenu for cooling and subsystems
log start / stop logging of data
info show if NLG6 was detected and the status of data logging
# show real time data (like splash screen)
.. goto main menu

BMS submenu (Prompt BMS >> )

Command Description
all get all available datasets
v get voltage values
t get temperatures

NLG6 submenu (Prompt NLG6 >> )

The menu is only activated, when the NLG6 charger is installed in the car! On startup the system will show NLG6 detected if the fast charger is present.

Command Description
all get all available datasets
v get voltage values
t get temperatures

OBL submenu (Prompt OBL >> )

This menu is active, when no NLG6 charger is detected and the car is equipped with the standard On Board Loader. If you know, that the standard charger is installed in the car, you can speed up diag startup by setting the NLG6TEST 1 definition in the ED_BMDdiag.h to zero: #define NLG6TEST 0

Command Description
all get all available datasets
v get voltage values
t get temperatures

CS submenu (Prompt CS >> )

Command Description
all get all available datasets

Logging data

Command Description
on start logging
on [t] set logging interval in seconds and start
off stop logging
off [t] set logging interval in seconds without starting
log show info of log status