Replies: 2 comments
-
I've already tried some approach, such as:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
链接时候的握手信号不行嘛? plc和plc直接加个心跳信号 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First, I'd like to extend my gratitude for creating and maintaining this library. It's a fantastic tool, and I've been using it for about six weeks.
However, I've encountered a challenge that I hope to get some guidance on. Specifically, I'm looking for effective strategies to monitor the connection state of a PLC. In my application, it's crucial to be immediately aware if the PLC loses its connection.
Is there a built-in method or recommended approach to watch for connection state changes? Ideally, I would like to subscribe to connection events or set up a callback function that triggers when the PLC disconnects.
Thank you in advance for your assistance. Any suggestions or examples would be greatly appreciated!
Best regards,
Christ
Beta Was this translation helpful? Give feedback.
All reactions