Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Modbus communication with Epever solar charge controller over RS485


GrupoSolar Oct 13, 2023 01:56 PM

Hi,
I have a CR1000 on which I am trying to read data from a solar charge controller Tracer 3210AN from Epever. The solar charge controller uses a RS485 output that I connected to Com1 on the CR1000.
The Epever solar charger talks over Modbus RTU. The communication parameters are:
- The default controller ID number is "1";
- Serial communication parameters: baud rate 115200, data bits 8, stop bits 1, no data flow control;
- Register address uses hexadecimal format, the base address offset is 0x00.
- All 32 bit length data uses two 16 bit registers to represent (L and H respectively)

Basically, I am trying to use the ModbusMaster() function to try retrieve values from the Epever. I do not manage.

For example, on the Epever documentation they specify that to retrieve the Battery Voltage

I have tried the following:

ModbusMaster(ModbusResult,COM1,115200,1,4,Modbus(),1,1,3,100,2)

Maybe the starting Modbus Register/Coil I wrong,but I don't know which it could be the right one

Could anyone help please? Thank you!

Thanks
Tamara


JDavis Oct 13, 2023 10:38 PM

CR1000 does not have RS485 serial drivers built in. A RS485 to RS232 adapter is necessary.


smile Oct 17, 2023 03:55 AM

https://www.campbellsci.co.uk/forum?forum=1&l=thread&tid=17084

we're talking about it here too. I can send the EPEVER manual for the protocol, for anyone who knows something about it. Thank you


sopifim836 Apr 19, 2024 10:57 PM

This post is under review.

Log in or register to post/reply in the forum.