ClassicDIY / ModbusTool

A modbus master and slave test tool with import and export functionality, supports TCP, UDP and RTU.
Apache License 2.0
673 stars 201 forks source link

Modbus slave always returns value 0 #25

Closed IoTThinks closed 1 year ago

IoTThinks commented 1 year ago

Hi team, Thanks for the lovely tool. I suspect there is an issue in Modbus slave. The address 4918 is 0x1336 in the communication log. So this is correct.

I did click Apply button. However, the tool returns 00 00 instead of 12 34. Please help to advice. Thanks a lot. image

IoTThinks commented 1 year ago

I guess the Apply button doesn't save the register value.

bforbenny commented 1 year ago

Hi @IoTThinks, Have you tried start address of "4918"?

IoTThinks commented 1 year ago

Really. Ok let me try later today.

IoTThinks commented 1 year ago

Address 4918 works!!!