Independent site, not affiliated with, endorsed or sponsored by Pylon Technologies Co., Ltd. Pylontech® is their trademark, used here only to say what our tools are compatible with. Details

Reference

Pylontech console commands, explained column by column

The CONSOLE port gives you a small text shell, prompt pylon>. Four read commands cover almost everything a viewer needs. Below is what each one returns and how to make sense of it.

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%     ...
ColumnMeaningUnit / example
PowerBattery address in the stack (1 = master)1
VoltBattery voltagemillivolts: 50462 = 50.46 V
CurrCurrent, positive when chargingmilliamps: 1064 = 1.06 A
TemprBattery temperaturethousandths of °C: 27800 = 27.8 °C
Tlow / Thigh (+ .Id)Coolest and warmest sensor, and which onem°C
Vlow / Vhigh (+ .Id)Lowest and highest cell, and which cellmV: 3364 = 3.364 V
Base.StWorking stateCharge, Dischg, Idle, Absent
Volt.St, Curr.St, Temp.StProtection status per quantityNormal when all is well
CoulombState of charge87%
TimeBattery clockdate and time
B.V.St, B.T.St, MosTempr, M.T.St, SysAlarm.StFurther 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.

Questions people ask

What does "Dischg" mean in the pwr output?
Discharging: the battery is supplying power. "Charge" means charging and "Idle" means neither.
Why is Tempr 27800?
Temperatures are given in thousandths of a degree Celsius: 27800 means 27.8 °C. Voltages are in millivolts and currents in milliamps.
How do I read the cells of the second battery?
Type "bat 2" on the master battery's console. "info 2" and "stat 2" work the same way on most firmware.
Is it safe to type commands in the console?
Read commands (pwr, bat, info, stat, help) are harmless. Avoid any command that sets, clears or updates something.