I happen to be working on this issue myself too and ran into the same issue. Iâve never been able to get 843 to properly read any usable data either. A couple of questions first.
Are you successful in getting other data to pull out? IE: is your Modbus config good?
What device/solar charger are you connecting to? (youâve named it âvictronâ). what Victron product is it?
What type of battery measurement are you trying to take? and how have you defined it within the product mentioned in q1 above?
In my case Iâve got a 75/15 hooked up to the CCGX via USB with their usb cable.
my Modbus config looks like this:
Q1: I am new to using modbus, I donât know how I can test the modbus
Q2: My installation is on a boat. I use a Victron Quattro, a BMV602s and a CCGX
Q3: I want to get the relevant information of the status of the battery in my control panel (hadashboard) in my âcockpitâ. I looked up the parameters in â CCGX-Modbus-TCP-register-list-2.31.xlsxâ
The communicating with the CCGX is over ethernet (LAN).
If all unit-idâs and register-addresses have been checked and re-checked, and still the connection doesnât work, you could try looking at the modbustcp log file on the GX device.
@emence SOC is only available if you have a networked and connected BMV. The 6 series I donât believe has that available by default (BT/Ethernet) Is there a VE.Direct port on it? This is what provides information back to get/calculate SOC.
Also, the quattro⌠that might be using a different register range though than @FXS and I. (700âs) Double check that. The slave 100 register 800 range pulls system stats only. Depends on how itâs connected
I folowed your hint about âadvanced debuggingâ and this is a part of the logfile:
cat /log/dbus-modbustcp/current | tai64nlocal
2019-09-02 18:11:10.232971500 ERROR 2019-09-02T18:11:10.231 "Error processing function code 3, unit id 100, src 192.168.93.7, start address 817, quantity 1 :" "Unit id is available, but start address does not exist"
2019-09-02 18:11:10.266052500 ERROR 2019-09-02T18:11:10.265 Error finding service with device type "solarcharger" at device instance 256
2019-09-02 18:11:10.269226500 ERROR 2019-09-02T18:11:10.268 "Error processing function code 3, unit id 247, src 192.168.93.7, start address 776, quantity 1 :" "Requested device (service) does not exists"
2019-09-02 18:11:10.289978500 ERROR 2019-09-02T18:11:10.289 Error finding service with device type "solarcharger" at device instance 257
2019-09-02 18:11:10.293365500 ERROR 2019-09-02T18:11:10.292 "Error processing function code 3, unit id 246, src 192.168.93.7, start address 777, quantity 1 :" "Requested device (service) does not exists"
2019-09-02 18:11:10.312805500 ERROR 2019-09-02T18:11:10.311 Unkown modbus address: 820
2019-09-02 18:11:10.312805500 ERROR 2019-09-02T18:11:10.311 "Error processing function code 3, unit id 246, src 192.168.93.7, start address 820, quantity 1 :" "Unit id is available, but start address does not exist"
2019-09-02 18:10:38.695617500 ERROR 2019-09-02T18:10:38.694 "Error processing function code 3, unit id 100, src 192.168.93.7, start address 820, quantity 1 :" "Unit id is available, but start address does not exist"
2019-09-02 18:10:38.711975500 ERROR 2019-09-02T18:10:38.710 Unkown modbus address: 850
2019-09-02 18:10:38.711975500 ERROR 2019-09-02T18:10:38.711 "Error processing function code 3, unit id 100, src 192.168.93.7, start address 850, quantity 1 :" "Unit id is available, but start address does not exist"
2019-09-02 18:11:10.229736500 ERROR 2019-09-02T18:11:10.229 Unkown modbus address: 817
2019-09-02 18:11:10.232971500 ERROR 2019-09-02T18:11:10.231 "Error processing function code 3, unit id 100, src 192.168.93.7, start address 817, quantity 1 :" "Unit id is available, but start address does not exist"
If you go into your CCGX and navigate through the BMV device > Device > scroll down > Device Instance. What does it show?
Hereâs what my 75/15 (used to supply power to my off grid Hot Tub) comes up with. Itâs connected to the venus GX via a VE.Direct USB cable, so it shows up as a USB device at address ttyUSB0 or Modbus 239: