Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library Needs Automatic Reconnection Mechanism for Low-Latency Modbus Communication Scenarios #51

Open
GxxkX opened this issue Nov 26, 2024 · 1 comment

Comments

@GxxkX
Copy link

GxxkX commented Nov 26, 2024

As stated in the title, when the library is used in scenarios that require low-latency Modbus communication, it is necessary to implement an automatic reconnection mechanism.

@simonvetter
Copy link
Owner

Hi there,

if constant and low latency is what you're after, would using modbus over UDP work ? Granted, the target device needs to support it, but many do.
Since there is no handshake with UDP, opening the client once should be all you need. Set a really low timeout value and fire your requests in a loop.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants