Hello to you all.
I came across this site yesterday by accident, but a good one! Maybe I can be of help, with the Zantrex XanBus protocol.
I have three MPPT60-150 charge controllers and two Conext ComBox. Well as luck would have it, one failed during the night...So I started to think about getting back onto my version of an interface.
A couple of years ago, I did just that. Built a CANBus monitor using a PIC18 processor with a monochrome 3x5 display. I was able to monitor the traffic and to display the results onto the screen.
Built an other CANBUS monitor to allow me to send commands and receive packets via CAN to USB interface to function in a windows environment. Just wrote a simple program using Visual Studio 6. (VB) . I do have the PGN's and would like to pick up on this once again. As far as I'm concerned, it is time that WE the community, engineers and hobbyist, (I'm both) reverse engineer this darn XanBus protocol and make it public... Enough is enough.
My current setup consist of just using the Conex Combox as a bridge/slave (MODBUS rs485) to extrapolate the data in real time and display it on an 3x5 monochrome LCD. Processor is a pic18f4685.
It displays the battery voltage, temperature, input voltages, current, etc and also the load to the battery and other equipment.. Also power in whrs, kwhrs, mwhrs, daily, monthly, yearly, and total.
My second monitor device is a modified laptop dual core processor running winxp64 or vista 64. The device communicates with the Combox being a TCP/MODBUS bridge slave, displaying the data on screen, IN COLOR lol!
So in response to the primary post "Any interest in XanBus protocol?" here I am, and lets get to it!!!
I do like the charge controllers, as they do work very well, but the Combox MODBUS protocol, doesn't allow or provide more data and control the the SCC, that is available on its TI 32-bit processor. Fact is, all past data and faults are save in FLASH, but are not available. The combox does the data login when you plug the units together....etc.
By the way, Microchip also has for sale a couple of CANBUS tools and monitors. The schematics and firmware/software are available for free and download. I did just that, built my own boards, using their stuff as a base. Thought you'd like to know this. And besides, they will ship FREE samples!!! You've got to love that, and Microchip!!!
I should also mention that I've been off-grid for over 8 years. Located on a 100 acres in the middle of a forest. apx 9kw of solar panels, two sets of Panasonic MSE Modular AGM batteries,
(48 - 2v batteries 7.5 tons) 48volt system. Using believe it or not, APC Smart UPS for power conversion. CHEEP and reliable!! 3000w and 5000w units, so 120v and 208 and 240 single phase.
Sure is nice to have all this power to run an air-conditioner and hot water !!
I will help those that request tips and tricks or info...Pictures and other stuff is available...
Cheers
Dale
We've been off grid about as long as you it seems
Our system . . .
Schneider:
2x Conext SW inverters - Which have a problem running in parallel - trying to figure out why.
Conext Combox
Conext MPPT-60-150 Charge controller
Xantrex XW SCP
Morningstar TS-MPPT-60 Charge controller
And several Trace C40 / C60 controllers - Of which only one is used now.
~6kW peak worth of panels. Most of the power is from newer 220W panels, but we do have around 1.5kW worth of ~30 year old ARCO 30-40W panels ( freebies ).
Also a couple Southwest windpower Airx turbines that hardly see any duty - don't need them.
No AC here but we do run washer / dryer, fridge, and 2 freezers off the system. As well as a water pump, several computers, lights etc as well. Our "mains" is 240V single phase true sine. Lots of pictures here too, I keep them on google +.
</waggling>
So . . . we have most of the PGNs reversed. My buddy did most of that within reason. I helped answer some questions, but the reversing he did is slightly off in many cases. So I have to trial and error, using packed struct's / unions to confirm everything. Well more correctly, this is for read PGNs, write PGNs - right now I have no interest in. But figure I could read through the *cough* 30k lines of javascript *cough* from the Conext combox, and figure those out. But again, I just want to remotely log, and graph data - for now.
Anyway, I'm using Linux with socketCAN on a beaglebone black + logic supply CANcape. The data rate on the CANBus is 250k, and for one PGN I'm pulling in 2 samples per inverter a second. Picture here:
https://picasaweb.google.com/106867156582775247949/August212015?authuser=0&authkey=Gv1sRgCLSm_OuD8N3I3QE&feat=directlinkA picture may "say" a thousand words. But a video is really necessary to show how "fast" this really is. On the bottom where it says "CONNECTED 4" 4 is how many PGN's a second the web app is sampling. 2 per inverter. this is, as fast as it gets. e.g. How fast the actual data is coming off the CANBus.
Anyway, yes, It is my goal to make the PGN information public. Still, I need to double check, and confirm what we have reversed so far. With that said, I'm only interested in a small portion of the data personally. AC statistics, DC statistics. Plus perhaps stuff like battery temp and what not. Not at all interested in making changes remotely via my app. Perhaps in the future.
Happy to discuss the protocol
EDIT:
Ah forgot to mention our battery bank is 12 Rolls S-1380 batteries. So roughly 1050ah @24v nominal. Not as much as I'd like, but it does the job remarkably well.