modbus-tk
modbus-tk copied to clipboard
Modbus RTU slave implementation
I am trying to implement Modbus RTU slave and I have a problem with connecting client to that server.
I did as in an example (rtuslave_example.py), but the client is always returning Timeout Error
.
I am using this client: http://www.modbustools.com/modbus_poll.html It is python 2.7 and TCP slave works fine (also from examples)
Do you have any suggestions on how to connect third party client to your Modbus RTU server? Also, I am using Free Vritual Serial Ports https://freevirtualserialports.com/
I think that you may have a communication error due to something wrong in the serial link : maybe a problem with the cable or the communication settings (parity, baud rate…)
I hope it helps
Le 14 août 2017 à 19:10, Zolik [email protected] a écrit :
I am trying to implement Modbus RTU slave and I have a problem with connecting client to that server. I did as in an example (rtuslave_example.py), but the client is always returning Timeout Error.
I am using this client: http://www.modbustools.com/modbus_poll.html http://www.modbustools.com/modbus_poll.html It is python 2.7 and TCP slave works fine (also from examples)
Do you have any suggestions on how to connect third party client to your Modbus RTU server?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ljean/modbus-tk/issues/87, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQNO9v0k9qJohBvwQWBEVe2WZmaS3S3ks5sYH90gaJpZM4O2pMO.
@zoliknemet : Take a look at #67 -- this may be the cause of your problems. The Modbus RTU master assumes that the slave device will respond within 3.5 byte periods, which is often too strict.