Pylontech US2000B Daten über Konsole (RS232) auslesen

  • Zitat von PeterB

    Mir ist gerade ein gravierender Unterschied zwischen der englischensprachigen und der deutschen Bedienungsanleitung aufgefallen! (beide Version 1.0)


    Und auf welche Schnittstelle bezieht sich die Baudrateneinstellung?


    Also ich habe alle DIP Schalter auf off an allen vier Batterien. Die Adressen werden so automatisch vergeben.

  • Zitat von photoenchen4me

    Sehr schön.


    Welche Daten genau?
    Und wie gehst du vor?


    ALLES: Von einzelnen Zellenspannungen, Strömen, Temperaturen, Historischen Daten (geloggte Werte), Überspannungen, Hohen Überspannungen, SOH Datensätze usw.


    ACHTUNG: Durch Eingabe von fehlerhaften Kommandos kann man sich sicherlich die Batterien schiessen !
    Benutzung auf eigene Gefahr !!!


    Hier ist mal die Hilfeübersicht in der Konsole:


    pylon_debug>


    pylon_debug>


    pylon_debug>help
    help


    @


    Local command:


    adc Addr show - adc


    bat Battery data show - bat [pwr][index]


    bmicbld BMIC Soft Bleed Ctrl - bmicbld [chip][Val]


    bmicd BMIC data show - bmicd [chip]


    bmice Setup BMIC - bmice [chip]


    bmicr BMIC read - bmicr [chip][Offset]


    bmicsh BMIC show reg -bmicsh [chip]


    bmicw BMIC write - bmicw [chip][Offset][Val]


    ci Current Comm Info


    cmdquit Quit the Console Mode


    config config [pov/povr/phv/phvr/plv/plvr/puv/puvr/pslp/bov/bovr/bhv/bhvr/blv/blvr/buv/buvr/bslp/bsv/bv


    /cot/cotr/cht/chtr/clt/cltr/cut/cutr/dot/dotr/dht/dhtr/dlt/dltr/dut/dutr/coc/coca/cocar


    /eot/eotr/eht/ehtr/elt/eltr/eut/eutr/doc/doca/docar/ocd/ocr/sc/scd/scr/clc


    /recinv/shuttime/uvtime/save/default][val]


    /[sleep/record][on/off/day/week/month][starttime][endtime]


    /[hwsleep][<on/off>][sleeptime][wakeuptime]


    ct Track Comm Port Data [Port Number]


    Press [Enter] to be continued,other key to exit



    ctrl Contrl IO - ctrl [cfet/dfet/buzz/heat] [on/off]


    data History data load - data [event/history][item]


    datac Clear data - datac [event/history]


    datalist Show recorded data - datalist [event/history][item/bat][batnun][volt/curr/temp/coul][item]


    disp Display Info at regular intervals - disp [(pwrs pwrNo)/val]/[(bats batNo)/volt/curr/temp]


    eepe EEPROM erase - eepe [chip]


    eepr EEPROM read - eepr [chip][Offset][size]


    eepw EEPROM write - eepw [chip][Offset][Val][size]


    flae Extend flash erase - flae [chip]


    flar Extend flash read - flar [chip][Offset][size]


    flaw Extend flash write - flaw [chip][Offset][Val]


    getpwr Get power Info - getpwr


    help Help [cmd]


    info Device infomation - info


    log Log information show - log


    login Login Admin mode - login [password]


    logc Log clear - logc


    logout user mode - logout


    Press [Enter] to be continued,other key to exit



    logt Log test - logt [data]


    md Memory dump - md [width][Addr][size]


    mm Memory set - mm [width][Addr][Val]


    prot Protect ctrl - prot [bov/bhv/blv/buv/pov/phv/plv/puv/cbot/cbht/cblt/cbut/dbot/dbht/dblt/dbut/pot/pht/plt/put/coc/coc2/coca/doc/doc2/doca/sc/buzz/smartchg/default][en/dis]


    pwr Power data show - pwr [index]


    re Send Command To the Specified Power - re [addr][command]


    rtcr RTC read - rtcr [Offset]


    rtcw RTC write - rtcw [Offset][Val]


    rtcsh RTC show reg -rtcsh


    save Save data - save [event/history]


    socr SOC read - socr[Offset]


    socw SOC write - socw [Offset][Val]


    socsh SOC show reg -socsh


    soccfg SOC config - soccfg[subclass][Offset][value]


    soccal SOC calibration - soccal [volt/current/tempr/ccoffset/bdoffset] [value]


    socd SOC show data - socd


    tsoc bq34z100 test - tsoc


    socclr clear bq34z100 data flash and reload default value - socclr


    Press [Enter] to be continued,other key to exit



    shut Shut down - shut


    soh State of health - soh [addr]


    stat Statistic data show - stat


    statc Clear statistic - statc


    tbar Test write Barcode - tbar[reg]


    tbmic Max17830 test - tbmic


    tbuz Test Buzzer - tbuz


    tchgc test Charge current - tchgc


    tclear test clear record on chip- tclear


    tpv Test pack volt - tpv


    tdct Test dry ct - tdct


    tibcio Test ibc io - tibcio [nc/sc]


    tdip Test Dip - tdip [flag]


    tdisc test discharge current - tdisc


    teepr Device EEPROM test - teepr


    tetmp test enviroment temperature - tetmp


    tflash Device Flash test - tflash


    ti2c I2C test - ti2c


    Press [Enter] to be continued,other key to exit



    time Time - time [year] [month] [day] [hour] [minute] [second]


    tinput test input state - tinput [rv/dcov/absent/present]


    tled Test Led - tled


    tmos test mosfet - tmos [cfet/dfet]


    tcan Test can port - tcan [port#]


    tmpicr TMPR IC read - tmpicr [Offset]


    tmpicw TMPR IC write - tmpicw [Offset][Val]


    tmpicd TMPR IC data show - tmpicd


    tmpicsh TMPR IC Reg Show - tmpicsh


    tmprctrl Bat tmpr ctrl - tmprctrl [flag]/[flag][batid][val]


    trst Test Soft Reset - trst


    tpwr test the total voltage of the power - tpwr


    tsoh test soh - tsoh


    tspi SPI test - tspi


    ttmp test battery temperature - ttmp


    tusart Usart test - tusart


    tbld Test bleeding - tbld [val]


    updata updata system - updata


    Press [Enter] to be continued,other key to exit



    tvolt test battery voltage - tvolt


    twdg Stop feeding watchdog - wdg


    emptyvolt Set empty volt - emptyvolt [val]


    blocksoc set block soc - blocksoc [val]


    pwrsys power system info display


    setprt set protocol type - setprt [solax/lg]


    urates Set R485 Port Rate - urates [500000/115200/9600]


    tagevolt test age volt


    **********************************************************


    Remote command:


    config config [pov/povr/phv/phvr/plv/plvr/puv/puvr/pslp/bov/bovr/bhv/bhvr/blv/blvr/buv/buvr/bslp/bsv/bv


    /cot/cotr/cht/chtr/clt/cltr/cut/cutr/dot/dotr/dht/dhtr/dlt/dltr/dut/dutr/coc/coca/cocar


    /eot/eotr/eht/ehtr/elt/eltr/eut/eutr/doc/doca/docar/ocd/ocr/sc/scd/scr/clc


    /recinv/shuttime/uvtime/save/default][val]


    /[sleep/record][on/off/day/week/month][starttime][endtime]


    /[hwsleep][<on/off>][sleeptime][wakeuptime]


    ctrl Contrl IO - ctrl [cfet/dfet/buzz/heat] [on/off]


    data History data load - data [event/history][item]


    emptyvolt Set empty volt - emptyvolt [val]


    info Device infomation - info


    Press [Enter] to be continued,other key to exit



    login Login Admin mode - login [password]


    logout user mode - logout


    prot Protect ctrl - prot [bov/bhv/blv/buv/pov/phv/plv/puv/cbot/cbht/cblt/cbut/dbot/dbht/dblt/dbut/pot/pht/plt/put/coc/coc2/coca/doc/doc2/doca/sc/buzz/smartchg/default][en/dis]


    soh State of health - soh [addr]


    stat Statistic data show - stat


    statc Clear statistic - statc


    Command completed successfully


    $$


    pylon_debug>


    Beispiel für die Abfrage der Batterie 1:



    pylon_debug>bat 1



    <INTERRUPT>pylon_debug>bat 1
    @


    Battery Volt Curr Tempr Base State Volt. State Curr. State Temp. State Coulomb


    0 3303 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    1 3303 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    2 3303 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    3 3303 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    4 3302 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    5 3303 -236 19000 Dischg Normal Normal Normal 68% 33424 mAH


    6 3303 -236 19000 Dischg Normal Normal Normal 68% 33424 mAH


    7 3303 -236 19000 Dischg Normal Normal Normal 68% 33424 mAH


    8 3303 -236 19000 Dischg Normal Normal Normal 68% 33424 mAH


    9 3303 -236 19000 Dischg Normal Normal Normal 68% 33424 mAH


    10 3304 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    11 3304 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    12 3305 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    13 3304 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    14 3304 -236 18000 Dischg Normal Normal Normal 68% 33424 mAH


    Command completed successfully


    $$


    pylon_debug>


    Abfrage SOH Batterie 1:




    <INTERRUPT>pylon_debug>soh 1


    @


    Power 1


    Battery Voltage SOHCount SOHStatus


    0 3302 0 Normal


    1 3303 0 Normal


    2 3303 0 Normal


    3 3302 0 Normal


    4 3303 0 Normal


    5 3302 0 Normal


    6 3303 0 Normal


    7 3302 0 Normal


    8 3302 0 Normal


    9 3302 0 Normal


    10 3304 0 Normal


    11 3304 0 Normal


    12 3306 0 Normal


    13 3304 0 Normal


    14 3304 0 Normal


    Command completed successfully


    $$


    pylon_debug>


    Statistik Batterie 1:


    stat 1
    stat 1


    @


    Device address 1


    Data Items : 628


    HisData Items : 2044


    Charge Cnt. : 0


    Discharge Cnt. : 761


    Charge Times : 35859


    Status Cnt. : 760


    Idle Times : 38704


    COC Times : 0


    DOC Times : 0


    COCA Times : 0


    DOCA Times : 0


    SC Times : 0


    Bat OV Times : 44


    Bat HV Times : 83


    Bat LV Times : 8


    Bat UV Times : 0


    Bat SLP Times : 0


    Pwr OV Times : 220


    Pwr HV Times : 278


    Pwr LV Times : 8


    Pwr UV Times : 1


    Pwr SLP Times : 0


    COT Times : 0


    CUT Times : 0


    DOT Times : 0


    DUT Times : 0


    CHT Times : 0


    CLT Times : 0


    DHT Times : 0


    DLT Times : 0


    Shut Times : 7


    Reset Times : 22


    RV Times : 0


    Input OV Times : 0


    SOH Times : 31


    BMICERR Times : 0


    CYCLE Times : 11


    Pwr Percent : 67


    Pwr Coulomb : 120297600


    Dsg Cap : 4542819


    HT@0.5C Cnt : 0


    LT@0.5C Cnt : 0


    HT Cnt : 0


    LT Cnt : 0


    LV Cnt : 17416


    Command completed successfully


    $$


    pylon_debug>



    pylon_debug>


    Datensatz Inbetriebnahme Datum:


    ylon_debug>data event 1
    data event 1


    @


    -----------------------------------------------


    Item Index : 1


    Time : 17-05-13 20:52:58


    Voltage : 54015 mV


    Current : 10648 mA


    Temperature : 29000 mC


    Percent : 100 %


    Total Coulomb : 50000 mAH


    Max Voltage : 54000 mV


    Base State : Charge


    Volt. State : High


    Curr. State : Normal


    Tempr. State : Normal


    Coul. Status : Full


    Power Events : 0x2 PHV


    Bat Events : 0x0


    Bat Protect ENA : BOV BHV BLV BUV BSLP CBOT CBHT CBLT CBUT DBOT DBHT DBLT DBUT


    Pwr Protect ENA : POV PHV PLV PUV PSLP POT PHT PLT PUT COC2 COC COCA DOCA DOC DOC2 SC LCOUL


    System Fault : 0x0


    -----------------------------------------------




    Battery Volt Curr Tempr Base State Volt. State Curr. State Temp. State Coulomb


    0 3559 10648 28000 Charge Normal Normal Normal 100%


    1 3588 10648 28000 Charge Normal Normal Normal 100%


    2 3588 10648 28000 Charge Normal Normal Normal 100%


    3 3610 10648 28000 Charge Normal Normal Normal 100%


    4 3589 10648 28000 Charge Normal Normal Normal 100%


    5 3688 10648 29000 Charge Normal Normal Normal 100%


    6 3615 10648 29000 Charge Normal Normal Normal 100%


    7 3590 10648 29000 Charge Normal Normal Normal 100%


    8 3716 10648 29000 Charge High Normal Normal 100%


    9 3666 10648 29000 Charge Normal Normal Normal 100%


    10 3535 10648 28000 Charge Normal Normal Normal 100%


    11 3625 10648 28000 Charge Normal Normal Normal 100%


    12 3449 10648 28000 Charge Normal Normal Normal 100%


    13 3610 10648 28000 Charge Normal Normal Normal 100%


    14 3587 10648 28000 Charge Normal Normal Normal 100%


    Command completed successfully


    $$


    pylon_debug>


    usw.