Apollo3zehn / FluentModbus

Lightweight and fast client and server implementation of the Modbus protocol (TCP/RTU).
MIT License
211 stars 72 forks source link

Modbus RTU Server not responding after Client Disconnected #60

Open Alexccw74 opened 2 years ago

Alexccw74 commented 2 years ago

After some series of testing, I realize that Modbus RTU Server (RS485 COM PORT) will not response after the initial connected client disconnected. I have tested with different Modbus POLL program.
The error code from the Read "Block with function 3 is time out". The connection status is "Connected". Is there anything wrong with my setup? image image Hope to get a response soonest.

gitstaska commented 2 years ago

Same problem. Stops when no transmission for longer than timeout period. Temporary solution: ReadTimeout = int.MaxValue

Apollo3zehn commented 2 years ago

Thank you, that is a good hint. I will try to solve it with the next update.