Note: I had some troubles posting this in the "Modifications" sub-forum, where I believe it should be. It appears I am not allowed to post/move it there. If someone else can move if it indeed belongs there, I'd appreciate it!
I apologize beforehand if I missed a post or wiki containing the answer, I've been searching and reading for 2 days, but haven't come across an answer.
The context / setup:
Talking ModbusTCP with a GX device (could be CerboGX, CCGX, RaspPi, Multiplus-II GX etc), that has a 3 phase setup behind it(could be Multiplus/Quattro, one or two per phase), potentially other things connected such as meters or BMV etc.
The goal:
I want to gather data over ModbusTCP, ideally with the least knownledge of the system itself, other than the IP address of the GX device obviously.
Data like battery SOC/Voltage/Current/Power but also per phase voltage/current and 3phase power/frequency or alarms.
The research:
From documentation I understood that I can talk to the GX unit using unit-ID 100 and using registers 800-882(com.victronenergy.system) I can get some system information regardless of what is behind the GX device. This covers the DC side quite well, but the information on the AC side of things in a 3phase setup is a bit lacking from what I can tell.
The question(s):
What is the best way to get phase specific information from a 3 phase setup over modbusTCP?
Do you need to know all unitIDs and iterate over them querring registers 3-109? Or maybe only one unitID(random/master?) is enough? Can I get that unit ID through ModbusTCP? Or will it always be a certain unitID (i.e. 227 on Cerbo, 228 on Multiplus-II GX, 242 on Venus and 246 on CCGX)
Notes:
1) Judging from https://community.victronenergy.com/questions/180603/modbus-tcp-parallel-system-per-quattro-information.html, parallel inverters will be considered as 1.
2)
Q5: In a parallel or three-phase system, how can I address a single unit?
You cannot interface with them individually if they are configured for parallel-working; or as a three-phase system. Neither is it necessary to address units individually as Modbus-TCP provides system-totals as well as 'per phase' information.
This seems to suggest that next to system totals, there should be per phase information, or is that referring to the power information in .system only?