on-internet
← Community

Modbus TCP (libmodbus) error after reconnection due to network failure

Stack Overflow ·

In an experimental setup, I would like to control a valve manifold with my PC via Modbus TCP. Environment libmodbus Visual Studio Direct connection between PC and valve terminal (no switch in between) What works Establishing the connection and simply controlling the coils works perfectly. What the problem is However, if the network is interrupted during an established connection (e.g. by pulling the communication cable), the following phenomenon occurs in about 20% of cases after the connection is re-established: The coil can no longer be switched on permanently. You can hear it switching on a

Comments

Sign in or sign up to comment and upvote.

No comments yet.