Connecting with a terminal
Any serial terminal works (PuTTY on Windows, screen or minicom on macOS/Linux). Settings: 115200 baud, 8N1, no flow control. Press Enter and you should see the pylon> prompt. Commands end with Enter. If nothing comes back, the console may be asleep: see waking it up. Rather not type? The online viewer sends these commands and formats the answers for you.
pwr: one line per battery
pwr on the master battery lists every address in the stack (1 to 16). Unused addresses read Absent. A typical line looks like this:
Power Volt Curr Tempr Tlow Tlow.Id Thigh Thigh.Id Vlow Vlow.Id Vhigh Vhigh.Id Base.St Volt.St Curr.St Temp.St Coulomb ... 1 50462 1064 27800 25800 12 27000 0 3364 0 3365 12 Charge Normal Normal Normal 87% ...
| Column | Meaning | Unit / example |
|---|---|---|
| Power | Battery address in the stack (1 = master) | 1 |
| Volt | Battery voltage | millivolts: 50462 = 50.46 V |
| Curr | Current, positive when charging | milliamps: 1064 = 1.06 A |
| Tempr | Battery temperature | thousandths of °C: 27800 = 27.8 °C |
| Tlow / Thigh (+ .Id) | Coolest and warmest sensor, and which one | m°C |
| Vlow / Vhigh (+ .Id) | Lowest and highest cell, and which cell | mV: 3364 = 3.364 V |
| Base.St | Working state | Charge, Dischg, Idle, Absent |
| Volt.St, Curr.St, Temp.St | Protection status per quantity | Normal when all is well |
| Coulomb | State of charge | 87% |
| Time | Battery clock | date and time |
| B.V.St, B.T.St, MosTempr, M.T.St, SysAlarm.St | Further status flags and power-switch temperature (on newer firmware) | Normal / m°C |
Quick health check from one line: Vhigh − Vlow is the cell spread of that battery. A difference of 1 mV is nothing and a few tens of mV is common while charging, but a hundred or more at rest deserves a closer look.
bat: the cells of one battery
bat lists the cells of the battery you're connected to; bat 2, bat 3… ask the master for the other batteries. One line per cell:
Battery Volt Curr Tempr Base State Volt. State Curr. State Temp. State SOC Coulomb BAL 0 3344 1184 27000 Charge Normal Normal Normal 88% 87397 mAH N
Cells are numbered from 0. Coulomb is the remaining capacity in mAh; BAL = Y when that cell is being balanced.
info: identity of the battery
info (or info 2…) returns key–value lines: device address, manufacturer, device name (US2000C, US3000C, US5000…), board version, main software version, barcode (serial number), specification (for example 48V/100AH) and cell number. That's the page to photograph before a warranty claim.
stat: counters and health
stat returns lifetime counters: charge and discharge counts, cycle times, SOH (state of health, %) and, depending on firmware, reset counters and energy totals. A used battery with 300 cycles and SOH 98 is a very different deal from one with 3,000.
help
help lists the commands your battery's firmware accepts. The list varies between models and firmware versions.
Commands you should not type
The console also accepts service commands that change settings, clear logs, set the clock or start firmware procedures. Leave alone anything you don't fully understand, or you may upset the battery's calibration and end up on the phone to support. Stick to pwr, bat, info, stat and help, which is all our tools ever send.
The 1200-baud wake-up
After a power cut, some batteries bring their console up in a 1200-baud protocol mode and ignore text commands until they receive a switch frame (sent at 1200 baud), after which the shell answers at 115200 again. Nothing is written to the battery; it simply goes back to that mode at the next power cut. BatteryView and our online viewer send this frame automatically when the console stays silent.