Logic Machine Forum
Modbus TCP Controller as Slave - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Modbus TCP Controller as Slave (/showthread.php?tid=3144)



Modbus TCP Controller as Slave - hummelsystemhaus - 04.02.2021

Im testing if i can read via modbus tcp from another Controller in the same Network.
Im using the Modbus Slave script. However I can only write data and not read data and it always says Operation timed out, even tho it actually writes data.

Same thing if i test to read/write with QModbus.
I haven't changed the example script and tested running it every 1/5/15/60 seconds with the same outcome each time.


RE: Modbus TCP Controller as Slave - Daniel - 04.02.2021

It should be with 0 interval. The script works I used it may times.


RE: Modbus TCP Controller as Slave - hummelsystemhaus - 04.02.2021

Thanks so much! Works fine now Big Grin such a simple solution..