Command Line Interface - MyLab-odyssey/ED_BMSdiag GitHub Wiki
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 allto enter theBMS>>submenu and run theallcommand.
In every submenu you can enter a complete command like:
bms tto switch to the other submenu and get the requested readout.
log on 10to 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 detectedif 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 1definition in theED_BMDdiag.hto 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 |