Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Internal Subscriptions with UA

More
05 Mar 2015 09:17 #2914 by support
Hi, short answer: QuickOPC-UA currently does nothing like QuickOPC "Classic" does in terms of setting up automatic subscriptions that match the Reads. But there are other things going on.

Longer answer:

QuickOPC-UA does not set up subscriptions to monitored items that you Read or Write.

There are, however, 3 other mechanisms that you may notice when analyzing the communication:

1. Shortly upon a connection, there are some Reads made from pre-defined nodes. They appear just once, and are made by the OPC UA .NET stack for us. They are more or less mandated by the OPC UA specs, for things like the server's namespace table - a pure necessity. Cannot be turned off.

2. The OPC UA .NET Stack issues a periodic "keep-alive" Read: I think it is reading the server's Status. Cannot be completely turned off, but the rate can be influenced by some settings that we expose (and is revised by the server itself, too).

3. On each session, we create a single additional subscription with monitored item(s) that also watch things related to server status. This has been added because of OPC compliance requirement. Currently it probably more or less duplicates the functionality under #2, but it is possible that in the future we will add more monitored items to this subscription. The items are all well-known, pre-defined pieces of information within the OPC UA server, they have nothing to do with what the developer actually later subscribes to. And, the default rate is quite slow (I think 15000 milliseconds for the sampling rate, 7500 milliseconds for the publishing rate). We expose settings that allow you to change the rate; you can even set the rate to Infinite in which case the subscription won't be created at all.

I am not aware that any of these mechanisms would be causing issues/problems.

Best regards

Please Log in or Create an account to join the conversation.

More
05 Mar 2015 09:06 #2912 by support
From: C.
Sent: Wednesday, March 04, 2015 11:04 PM
To: Zbynek Zahradnik
Subject: Internal Subscriptions with UA

Zbynek,

Can you refresh my memory on the internal subscriptions for UA (do they exist)? I through that you only did automatic subscriptions for the DA Client internally, but I have seen a lot of stuff going on in a wireshark when doing a simple read to my OPC UA server. I used the UA Demo Application and do a read, and can see 3-4 read requests a create subscription, createmonitoreditems, and more from a single read. Is this expected/intended? [...]

Thanks!

C.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.049 seconds