Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I have a test application that is running on a server and ingesting data to a SQL server and is working very well but I'm struggling to recover when the ethernet/network connection is interrupted or when the PLC is powered down and then restarted.
What is the best practice to detect and automatically recover in this case without user interaction with the application?

Thank you.

Greg

You must be logged in to vote

Replies: 2 comments

Comment options

I think you just try to connect again until you got the connection your application can start to consume the data again

You must be logged in to vote
0 replies
Comment options

Write PLC "heartbeat" logic that will change address or Teg every minute. In response your app will detect change, if nothing changed in one minute - assume connection lost and require reconnect.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.