Modbus registers list

Started by Frenergy, October 26, 2021, 11:31:21 AM

Previous topic - Next topic

Frenergy

I'm trying to get info from my C200 using modbus from within Node Red. I need the data so that my code can decide what to do with the load based on daily solar energy.  The latest register listing I have from Midnite is "MidNite Solar MODBUS Network Spec. Rev C.4 --- Dec 9, 2013" and it doesn't seem to be helping.  I am able to read the register values into Node Red.

For example, it tells me I can get the C200 charge state from the MSB and LSB at register 4120.  (I think this is float, absorb, bulkMPPT, etc).  When I use table 4120-1 and 2 the states I get are not the same as shown on the C200 display.

Any suggestions.

ClassicCrazy

look on the open source topic on forums here.
Graham knows most of those modbus addresses and I think he discussed some recently in one of the topic there.

Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Graham

#2
My Android app uses the MSB of 4120

see https://github.com/ClassicDIY/ClassicMonitor/blob/NoMQTT/app/src/main/java/ca/farrelltonsolar/classic/ModbusTask.java

I read starting from register 4100 for 44 bytes at line 314 then grab the MSB at index 19 (which is register 4120)


Graham
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

LWTP

I am attempting to read Classic 150 ModBus registers using GE iFix 5.9 SCADA software and have a choice of MBE or IGS data readers.
So far, I only get comm errors so I was wondering if the ModBus has to be enabled in the Classic first?

Thank you,
Chris

ClassicCrazy

Quote from: LWTP on January 11, 2022, 12:37:12 PM
I am attempting to read Classic 150 ModBus registers using GE iFix 5.9 SCADA software and have a choice of MBE or IGS data readers.
So far, I only get comm errors so I was wondering if the ModBus has to be enabled in the Classic first?

Thank you,
Chris
Reading it via serial or ip ?
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

LWTP

This would be reading by IP.      GE-iFIX is supposed to read just about anything but sure opens the door for a million different settings which all have to be perfect before data will flow.     

ClassicCrazy

Quote from: LWTP on January 12, 2022, 02:22:45 PM
This would be reading by IP.      GE-iFIX is supposed to read just about anything but sure opens the door for a million different settings which all have to be perfect before data will flow.   
Only one thing can read modbus at a time over IP .
So if you have midnite Local Status App running  you can't read the modbus data with another program.
I use the Classic DIY Raspberry Pi program  that reads the classic modbus data and then converts it into MQTT and you can have as many connections as you want to the MQTT data.
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable