![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Dec 2013
Location: Göteborg
Posts: 104
|
OPC UA Client connection detection
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? |
![]() |
![]() |
#2 |
Supporting Member
![]() ![]() Join Date: Jan 2008
Location: Belgrade
Posts: 413
|
Make SCADA write it's seconds to HMI register. If the mentioned HMI value is not changed after two seconds - SCADA connection is lost.
|
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Jun 2007
Location: Barcelona
Posts: 619
|
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. |
![]() |
![]() |
#4 | |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 2,696
|
Quote:
Downside is that that data isn't usually available within the server itself (unless it tries to connect to itself as a client, lol). |
|
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Jun 2007
Location: Barcelona
Posts: 619
|
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
|
![]() |
![]() |
#6 | |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 2,696
|
Quote:
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. |
|
![]() |
![]() |
#7 |
Member
![]() ![]() Join Date: Dec 2013
Location: Göteborg
Posts: 104
|
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! |
![]() |
![]() |
#8 |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 2,696
|
|
![]() |
![]() |
#9 | |
Member
![]() ![]() Join Date: Jun 2007
Location: Barcelona
Posts: 619
|
Quote:
Sorry, but the one who suggested reading the server diagnostics was me hehe. |
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OPC UA Server backward compatible with OPC DA Client? | harryting | LIVE PLC Questions And Answers | 4 | October 16th, 2018 03:36 AM |
OPC UA With a CM1542 modul ?? | userxyz | LIVE PLC Questions And Answers | 2 | August 20th, 2018 03:48 AM |
FactoryTalk View SE as OPC client with Kepware OPC server | nikhilec2007 | LIVE PLC Questions And Answers | 3 | January 19th, 2015 08:59 AM |
OPC Client in C# or Visual Basic (Alternate Title: OPC SUCKS!!!) | n9xcr | LIVE PLC Questions And Answers | 17 | September 2nd, 2009 09:56 PM |
HELP - Remote OPC Client | glenglen | LIVE PLC Questions And Answers | 2 | April 24th, 2007 07:02 AM |