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.

Hold Periods. Server Detach meaning

More
14 Aug 2019 09:53 #7625 by support
IOPCItemIO is only available in newer OPC specs, and not all servers implement it. What's more important, it is not meant for efficient access.

I am not completely sure about EasyDAClient.Dispose, but I think it does not force an immediate disconnect.

Best regards
The following user(s) said Thank You: Andriy

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

More
14 Aug 2019 09:39 #7623 by Andriy
Hello,

Thank you for the explanation. I'm not sure that OPC group needs to be added in order to read OPC items. There is IOPCItemIO interface that provide OPC data in simple way.
One more question. When i call Dispose method on the instance of EasyDAClient class, does it mean that QuickOPC disconnects from OPC server(s) immediately cleaning all resources (items, groups, connections)?

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

More
14 Aug 2019 09:02 #7622 by support
In OPC Classic, in order to read from an item, an OPC group needs to be added, and the OC item added to it, and only the the Read call can be made. The "Hold Periods - Topic Read" being 30 seconds means that (if there is no other use for the item and the group), 30 seconds after the read, QuickOPC will remove the item and remove the group. But it stays connected to the OPC server. If there is no need to stay connected, In your example, QuickOPC will disconnect after additional 10 seconds ("Hold Periods - Server Detach".

The actual hold periods you will observer can be a bit longer in the effect, because there is a periodic "garbage collector" task that takes care of detecting what's no longer in use, so nothing gets removed until this tasks kicks in.

Best regards

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

More
12 Aug 2019 06:40 #7617 by admin
I apologize for delay, it is vacation period. Will reply during the remainder of the week.

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

More
08 Aug 2019 12:29 #7612 by Andriy
Hello,

I can't find explanation of "Hold Periods - Server Detach" property (when and how it is used). Can you provide an example?
Suppose, I read one OPC item once. Next 30 sec the connection to OPC server will be maintained by "Topic Read" property.
Does it mean that connection longlivity is 30sec + 10sec if "Server Detach" property has value 10 sec?

Best regards

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

Moderators: support
Time to create page: 0.082 seconds