Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
Hi there.
I'm trying to read some registers (e.g. InvTemperature) of my FOX ESS S2500-G2 Inverter.

The setup is relatively simple:
1) 16-pins COM port of the S2500 is using pins 1 (A+), 2 (B-) and 6 (GND) (conform FOX S2500-G2 Use Manual)
2) Connected via CAT6 wiring pairs to a Waveshare USB to RS485 presented as COM3 on Windows 11
3) Using "mbpoll -a 1 -b 9600 -d 8 -s 1 -P none -m rtu -t 3 -r 28 -c 1 COM3"

Which returns this error:
Read input register failed: timed out
I've tried several different settings like slave ID 247, inter changing PIN1 and 2 and other register numbers. I even measured the voltage of the PINs to exclude wiring faults. Also using different tools like QModMaster gives exact same error.
I extracted the Register information from a Chinese FOX document that I received from FOX Support that I translated to English; so I'm not exactly sure if Input Register 29 of 28 is correct. However, I think I'd receive a return error other than "Timeout" when reading a wrong register?
Anyhow, I can't think of why or where this is going wrong or how to troubleshoot this further…
Anyone with some fresh ideas?

Background info: this is a test setup. Ultimately I want to use HomeAssistant to set an Export Limit register to prevent feed-in charges.
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
Unless Fox have changed it (very recently), the S series does not support modbus inspection of the registers - it may be possible to see the data that is sent to the datalogger on the RS485 lines but that will not be a polled message, it will be a modbus status message transmitted every 90 seconds or so.

There were a couple of projects on github for the T series and from memory I thought the S series could be data harvested that way as well - see here https://github.com/assembly12/Foxess-T- ... -Assistant and here https://github.com/LucasTor/FoxESS-T-series
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
Oh, I see.
I'll ask FOX Support to verify this as they did not specifically mention it in a previous support ticket I raised on this matter.
Anyhow, thanks for your insightfull reaction!
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
No problem, thanks - please let me know what you hear back from Fox support, at some point it seems logical that Fox will provide modbus access on the S & T series much like their bigger siblings
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
The inverter has been upgraded (from 1.22/0.14/0.29 to 1.36/1.00/1.18 (M/S/A)), and communication with Waveshare RS485/ETH is now working fine. For example, using SGTOOL (which I received from support—still in beta and with a Chinese interface), which allows registers to be read and written.
So this software still uses its own “7f7f wrapping” protocol, although the register blocks 50000–52999 (settings/parameters, R/W) can also be read via Modbus (offset +1).
Anyway, I’m back up and running for now :)
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
async - since I don't know how to PM you (doesn't look like this forum will allow me), I'd like to thank you for addressing this issue.

I'm about to install a FoxESS S-Series S3000-G2 inverter myself and was looking for a modbus communication solution locally, since I don't have internet connectivity at that location.

Was wondering about your progress now, did you manage to make it work? Are you willing to maybe get in touch with the devs (there are 26 contributors) at:
https://github.com/nathanmarlor/foxess_modbus
and share your findings, so that they could implement them in their integration?
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
Hello, I managed to get my S2500-G2 'talking', but only using the proprietary FOX protocol, not Modbus. I haven’t got round to integrating it with Home Assistant either. At the time, I contacted FOX Support and they provided me with a protocol specification document and a (beta) tool for reading and writing registers. However, this all only worked after a firmware upgrade. Although FOX Support is very helpful, this documentation is in Chinese and only available under NDA which I had to sign. My advice is to get in touch with FOX Support yourself. Bonne chance!
Re: Reading registers of FOX ESS S2500-G2 Inverter using RS485 Modbus RTU, gives timeout
Hi, thanks for the reply. I don't really have that much time and skills as you.

Bought this inverter (the 3kW model) because it was matching some electrical parameters (current, start voltage .. etc) for my rather small solar array setup. I'm a newbie in the PV field and while I did put a lot of effort in studying these inverters and the way to communicate with them in order to be able to automate things, it turns out I was naive enough to believe that most of them speak modbus or MQTT locally out of the box. Well, some definitely do.

I already decided for a solution with an external WiFi enabled smart meter attached to the AC exit of the inverter, that I will constantly monitor in HA, reading the inverter real output and turn on/off appliances.
Extra costs and extra effort ... for something so trivial that should be enabled by default locally (at least read access to some key parameters).
Post Reply