A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: binkino on January 27, 2017, 10:48:23 AM

Title: Getting detailled datas from Classic
Post by: binkino on January 27, 2017, 10:48:23 AM
Hi ;)

Is it possible to get more detailled datas from my Classics?

I can 'export' in the LocalApp in DATA/OFFLINE/ ->export
but here I only find
Date kWh Time Float Time (h:m) High Power (kW) High Temp (C) Vin Vbatt

I use AUX1 to switch a relays in my 48 volt system that dis/connects the inverter from power line at 47 Volts as low volt and 54 volts at high volt, it is about when it is okay to go to offgrid.

Is it possible to get datas of the battery voltages from the moment the AUX was switched?
Need the lowest volt of the day

(hope it is clear what I want, the language barrier again...)



Thanks ;)



oh there is something I am wondering in temperatures:
54,8
54,8
57
52,9
52,1
55
53
53,6
54,6
54,4
55,9
48,9
56,1
51,6
54,5

This can not be true ;)
Looks like it is twice the correct value? Or some battery voltage?


Have attached the exports from both classics in one xls to this post


Title: Re: Getting detailled datas from Classic
Post by: TomW on January 27, 2017, 11:34:23 AM
I used to read all the register values from The Classic's serial port but it takes a bit of geekery to do it. The Classic needs to be set to push it onto the serial bus (USB).

So I think the answer is yes, but you need some skills.

As far as those temp values you might try reseating the temperature probe connector into The Classic? If it has a poor connection it will skew the values.

Just off the top f my head.

Tom

Title: Re: Getting detailled datas from Classic
Post by: binkino on January 27, 2017, 01:09:32 PM
okey ... mh... will try to find out how to to and try it ;)

the sensor is correct installed, in the App I see correct temperatures
actually 21,3° C
Title: Re: Getting detailled datas from Classic
Post by: Resthome on January 27, 2017, 01:40:46 PM
If the LA is connected to the Classic it can get all this data (see Excel sheet) at 2 sec intervals. Select all options to chart and export from Live Data.

Title: Re: Getting detailled datas from Classic
Post by: binkino on January 27, 2017, 02:24:10 PM
thanks

but can only get live datas, can not go back in calendar



just played a bit with USB.
installed updater to get the driver,
check for COM port,
oben hyperterminal, getting some data values
Open LA and find the option like here
http://kb1uas.com/mnsforum/index.php?topic=1751.msg15828#msg15828
change to modbus - but I am not sure what kind of datas I get here
Shows me ... register numbers?


I have other skills I am good in, hehe


have also Linux machine, if it would be more easy

Title: Re: Getting detailled datas from Classic
Post by: Resthome on January 27, 2017, 02:55:48 PM
As long as the LA recorded the Live data you can go back on days it was recorded. The only data that is saved by date in the Classic is what you got with Offline data.
Title: Re: Getting detailled datas from Classic
Post by: TomW on January 27, 2017, 06:02:38 PM
My notes on Registers:

Quote
tomw@Cubie:/HD/PI$ cat registers
4101 R UNIT_ID PCB revision = [4101]MSB The PCB revision is a value
               Unit Type = [4101]LSB between 0 and 255 indicating the
                                    hardware revision of the PC
                                   board.
                                  The Unit Type is an integer
                                 value indicating the voltage
                                category of the Classic See
                               Table 4101-1.
4102 R UNIT_SW_DATE_RO Year = [4102] Software Build date.
4103 Month = [4103]MSB
     Day = [4103]LSB
4104
4105
4106
4107
4108
RESERVED (Do NOT Write)
R
UNIT_MAC_AddressI
4109
4110
[4108]MSB : [4108]LSB :
[4107]MSB : [4107]LSB :
[4106]MSB : [4106]LSB
The unit’s Ethernet MAC
address.
RESERVED (Do NOT Write)
4111 R UNIT_Device_ID ([4112] << 16) + [4111] The device ID of the unit.
4112
4113 R StatusRoll ([4113]>>12)Count + Various 12 bit values changes
                  ([4113]& 0x0fff) Value once per second. Hi 4 bit count
4114 R RestartTimerms [4114] Mili Seconds Time after which the Classic can
                                         wake up. (countdown)
4115 R dispavgVbatt ([4115] /10) Volts Average Battery Voltage (1 sec)
4116 R dispavgVpv ([4116] /10) Volts Average PV terminal input
                                    Voltage (1 second average)
4117 R IbattDisplayS ([4117] /10) Amps Average Battery Current (1 sec)
4118 R kW--Hours ([4118] /10) kWatt-Hours Average Energy to the Battery
                                         This is reset once per day
4119 R Watts [4119] Watts Average Power to the Battery
4120 R ComboChargeStage Charge Stage = [4120]MSB See Table 4120-1 for battery
                        State = [4120]LSB charge state. See Table 4120-2
4121 R PvInputCurrent ([4121] /10) Amps Average PV terminal input
                                       Current. (1 second average)
4122 R VocLastMeasured ([4122] /10) Volts Last measured open-circuit
                                         Voltage at the PV terminal input.

Hope it helps.

There was a document with this info. This is just a reference text file I had in my archive.

ROSSW started a project with source code to read the registers. It worked over a local LAN no serial port needed.


I can't find much of that stuff in my multi terabyte storage archive here.  :o

Tom