Modbus RTU Encapsulation (Modbus over TCP)
Unsolved
General and Desktop
-
Hi,
I've used it so far only serial Modbus RTU, ort TCP Modbus TCP communication.
Now In my device I have port server with connected serial device.Form my qt application I must send Modbus RTU frame to IP addres:PORT (192.168.1.50:4001) ... How do this ?
-
it's not quite clear if your Qt application is supposed to be the master or the client.
Either way, for Slave use:
Qt5:
https://doc.qt.io/qt-5/qmodbusrtuserialslave.html#details
Qt6:
https://doc.qt.io/qt-6/qmodbusrtuserialserver.htmlfor Master:
Qt5
https://doc.qt.io/qt-5/qmodbusrtuserialmaster.html
Qt6:
https://doc.qt.io/qt-6/qmodbusrtuserialclient.html