25.10.2023, 06:46
Lua Modbus library has receive() function that returns a single Modbus data package. Then you will have to parse the response manually to get actual data out of it.
Universal Modbus slave example has some code that you can reuse: https://forum.logicmachine.net/showthread.php?tid=4288
Universal Modbus slave example has some code that you can reuse: https://forum.logicmachine.net/showthread.php?tid=4288