Jump to content

OPC UA will not reconnect


pascal

Recommended Posts

Hi,

my system : USP-104-X10 with B10

I have 3 PLC's (all same model and firmware (1.33.161)) communicating via OPC UA server with Kepware

Everything is working perfectly.....until I stop my Kepware (to do some upgrading or other stuff)

When I shutdown my Kepware I see following OPC-AU diagnostics differences :

PLC A :

image.thumb.png.8690ce540a7700168ddd88db830b2c3c.png

PLC  B:

image.thumb.png.51a83ac28414c0082356d17e32441e6f.png

 

You see the difference in the current session of current subscription count -> PLC A is 0 and on PLC B it stays on 1....

When I restart my Kepware, I'm able to reconnect on PLC A, but not on B !

My Kepware gives me following error

image.thumb.png.3172e69bbdfe8302c4910ba65c1a3df3.png

(PLC B is GBS UNI BD1)

The PLC B is actually refusing the communication

The only thing is to give a cold boot on the PLC B to restart my communication...

I checked (several times already 😒😒😒) all parameters (on PLC side and on KEPWARE) but all are the same...

any suggestions ?

 

Link to comment
Share on other sites

Hi @pascal,
I can see when you shutdown
Kepware PLC B "Current Session Count" stays on 1. 
If i understand you, no other clients are connected to the PLC, and it should be 0 when Kepware is down. (Like PLC A)
It means the PLC server doesn't recognize the client is down, and when you try to connect again you get refused because of unclean exit.
I tried to simulate with UaExpert client and two OPC-UA server PLC's,  but in my set-up everything works.

To be able to help you more please open a ticket on Unitronics "Help center" at https://support.unitronics.com/index.php the Support team will assist.

Link to comment
Share on other sites

Elad,

with UaExpert, when disconnecting the server, my counters goes from 2 to 1 (because kepware is also connected)...

But ....

today I was trying some more things on my kepware and everything is working fine now.

The thing is, I didn't changed anything. Not on my PLC and not on my Kepware...

(altough I deleted on PLC side some  not used communication protocols ( on CPU, deleted 1 UDP port I didn't used anymore and 1 TCP server with 16 number of connections, also didn't used))

Last friday this hadn't brought me a solution.

When I started checking on monday again, suddenly it worked ???????

strange.....

I still have to check some things with our IT department to know why it works (now).....

I'm not accusing somebody, but most of my communication problems are IT related 😁😁😁(and they never never did something) 

PS

When I had al the trouble (last week) and I disconnected Kepware and my UaExpert, the number of connected clients went from 2 to 1(unclean exit Kepware and clean exit of UAexpert), but after the not clean disconnection of Kepware I couldn't even connect again with UaExpert....

I'll keep you all informed of my situation.....

TO BE CONTINUED....

 

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.