Logic Machine Forum
Modbus: Readtest - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Modbus: Readtest (/showthread.php?tid=5174)



Modbus: Readtest - Amelie - 26.12.2023

I have a modus connection with my Goodwe inverter, but I often get the fault: invalid data.

So, I'm looking around what I'm doing wrong. When I perform 10 read tests in a row, I get 9 times a result ( a succes). But once in a while, I get the error: invalid data. (I didn't change anything to the setting.

The only thing I can think of is that I perform the read test to soon after each other, and that the LM or the inverter is still busy. 


 Or, can there be an other cause of this behaviour?


RE: Modbus: Readtest - Erwin van der Zwart - 27.12.2023

I assume you are talking about a IP connection?

If yes it’s probably that the remote device supports a certain number of connections (often 1 or 5) and the connection is closed after a certain timeout and becomes available for a new connection.

In this scenario you should check “Persistent connection” in the device connection settings.