MVP 2022 Flex727 Posted January 1, 2015 MVP 2022 Report Share Posted January 1, 2015 Did something about the "re-connect" functionality change with Visilogic 9.7? I've been using several iterations of Visilogic over the years and have always been impressed with how the PLCs will immediately reconnect when communications are disrupted (e.g. ethernet cable is pulled and re-inserted, or one of the slave PLCs is powered off then on again). Now that I've upgraded to 9.7.24, the Master PLC no longer seems to attempt to reconnect after a disruption. I do have SB168 SET at power up. System details: Using MODBUS IP over ethernet. 3 V570 PLCs, 1 Master and 2 Slaves All PLCs are running the latest firmware All the networking attributes (timeouts, retries, etc) are set to the default Everything connects immediately upon power up, but if the connection is lost for any reason, no attempt is made to re-connect. I did not see this behavior ever with previous projects running under Visilogic 9.4 using the exact same code for the networking aspect. My code for the Ethernet and socket initialize & connect is the same as shown in the example project that comes with Visilogic. Besides SB168, is there anything specific I should check for? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted January 2, 2015 MVP 2022 Report Share Posted January 2, 2015 Flex, Read all the Help on SI 103..SI 110. These registers control the watchdogs on both sides of the socket connection, depending on whether the Unitronics unit is the master or the slave. I've found a value of 20 works good on the socket you're interested in. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted January 2, 2015 Author MVP 2022 Report Share Posted January 2, 2015 Thanks, Joe. That worked like a champ! I notice that the values are zero by default and are not retained after a power cycle. That seems odd to me. I gave them Power Up values of 10 (for 103-106) and 20 (for 107-110). That seems to work fine. I have never touched those System Integers before so it seems something has changed. I just pulled up an old project that used Visilogic 9.4, loaded up two PLCs, got them connected, and pulled the ethernet cable. When I put the cable back in the PLCs reconnected immediately. I checked the values of SI103-110 and they are all zero. Something has definitely changed between Visilogic 9.4.0 and 9.7.24. 1 Quote Link to comment Share on other sites More sharing options...
Cara Bereck Levy Posted January 4, 2015 Report Share Posted January 4, 2015 I'll check into it--I don't know of any change...but I will check Quote Link to comment Share on other sites More sharing options...
Cara Bereck Levy Posted January 6, 2015 Report Share Posted January 6, 2015 OK--I checked, and there weren't any changes there between those versions. But, if there is any issue producing the unexpected behavior, let us know and we will look into it :-) Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted January 6, 2015 Author MVP 2022 Report Share Posted January 6, 2015 Thanks, Cara. I guess the bottom line is, should the PLC try to automatically re-connect with the SI 103-110 operands set to zero? It appears to me that it did in 9.4.0 and does not with 9.7.24. When I set the operands as Joe suggested, all works well. Also, should the SI 103-110 operands be retained after power cycle if the Power-Up is not set? It appears they are not retained in 9.7.24. Of course, this could be some sort of firmware issue, not Visilogic issue. Regardless, this issue is minor and setting the operands SI 103-110 takes care of the problem for me. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.