Jump to content

Re-establishing a TCP connection


stembera

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.

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.