Jump to content
Sign in to follow this  
stembera

Re-establishing a TCP connection

Recommended Posts

Hello world,

 

is it possible to make Remote Operator to re-establish communication automatically after losing TCP connection?

If negative, is there some workaround (e.g. some VBscript)?

Now, if the connection is lost, only informing text appears on the screen and user has to click "stop communiaction" and "start communication" again to see the display.

 

Many thanks for an idea,

 

Michal.

Share this post


Link to post
Share on other sites

Well, if you change the number of retries to a big number, then it will try and try up until no retries are left.

On the retires, it tries to re-open the socket, so if the other side (PLC) has returned by then, then the connection should be re-established.

 

Another solution is to have the Remote Operator in Listen, and the PLC calls to the PC. However, if the IP of the PC changes, it is not practical.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...