Using this package to communicate with a Victron Cerbo GX device.
I am able to read all values I want, so this part is great!
Writing values works fine as long as I don't try to write a negative value - ie int16.
Can you share some info on how I can write a negative value via modbus?
This is what I use today and what works for uint16 values
client.writeSingleRegister(2706, power)
Hi,
Using this package to communicate with a Victron Cerbo GX device. I am able to read all values I want, so this part is great! Writing values works fine as long as I don't try to write a negative value - ie int16. Can you share some info on how I can write a negative value via modbus? This is what I use today and what works for uint16 values
client.writeSingleRegister(2706, power)