OPC UA Client connection detection

swedeleaner

Member
Join Date
Dec 2013
Location
Göteborg
Posts
143
Ohh hai!
Is there a clever way to detect if there is a UA Client connected in the UA Server.
Using iX Developer 2.40 if its of any help.

The idea was to show in the HMI (UA Server) if the SCADA-computer running Kepware (UA Client) is connected, thus showing that the 4G-link is ok.

So, any ideas?
 
Make SCADA write it's seconds to HMI register. If the mentioned HMI value is not changed after two seconds - SCADA connection is lost.
 
Verified in a United Automation OPC UA Server :

On the OPC UA Server Nodes Tree

On Objects >> Server >> ServerDiagnostics >> ServerDiagnosticsSummary >> CurrentSessionCount there is a Variable that contains the number of active client sessions

The value should be incremented if a new client connects.
 
Verified in a United Automation OPC UA Server :

On the OPC UA Server Nodes Tree

On Objects >> Server >> ServerDiagnostics >> ServerDiagnosticsSummary >> CurrentSessionCount there is a Variable that contains the number of active client sessions

The value should be incremented if a new client connects.


Downside is that that data isn't usually available within the server itself (unless it tries to connect to itself as a client, lol).
 
Downside is that that data isn't usually available within the server itself (unless it tries to connect to itself as a client, lol).

He does not only have an isolated OPC UA server but a HMI that incorporates an OPC UA server, it would make little sense that he could not access his server from the HMI
 
He does not only have an isolated OPC UA server but a HMI that incorporates an OPC UA server, it would make little sense that he could not access his server from the HMI


I've never used that specific product, so I can't say for sure. I just know that the HMIs I've used with built-in OPC UA Servers didn't have that information readily available in existing internal tags, it'd need to connect to itself to get the details.
 
Mk42, spot on. Spoke to Beijer about it and they pointed me to your solution. Adding an additional Client in the HMI and from that Client pull out the connection from the server..

Feels like a silly solution but what to do.

Thanks any way guys!
 
Mk42, spot on. Spoke to Beijer about it and they pointed me to your solution. Adding an additional Client in the HMI and from that Client pull out the connection from the server..

Feels like a silly solution but what to do.

Thanks any way guys!


Sorry, but the one who suggested reading the server diagnostics was me hehe.
 

Similar Topics

I have a Win10 64 bit host for my OPC DA server, which is Indusoft (Studio,Scada.OPC.3). Locally OPC works, Matrikon OPC Explorer. On my Win7...
Replies
5
Views
1,139
Hello, I am trying to connect kepServerEx v5 in parallel with RSLinx Classic lite but kepserver will not connect to the PLC if RSLinx is active...
Replies
4
Views
2,088
Hi! We have an existing RSView32 (project made by others). It is already configured as an OPC server. Is it possible for a CLX5380 or S71500 to...
Replies
2
Views
1,484
Hello everyone ! Is there any PLC module (vendor is irrelevant at this point), that acts as an OPC client and can be used to request data from...
Replies
17
Views
5,649
So we are trying to read 3 meters on our line from a webpage. The 3 meters are on the network going to a PLC which is properly configured to read...
Replies
15
Views
4,564
Back
Top Bottom