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.

MultipleWrites with Subscribed Read

More
12 Aug 2014 16:08 #2154 by support
Is the PLC register also changing based on something in the PLC or inputs/outputs etc., or is it just supposed to hold the value you write into it (like e.g. a setpoint)?

An explicit Write can be made at the same the data are being collected by the server, or in transfer to the client, or inside QuickOPC, or passed to your app. The stream of data that are flowing from the server to the QuickOPC client for subscriptions that are already set up is independent from any explicit OPC operations being called at the same time.

(for record, though not what the question was about, below is a copy of explanation of how it works with explicit Reads and Writes - when no subscriptions are involved) :

With the default settings, on the OPC client-server level, all operation that are requested by the client (QuickOPC) on a specific target OPC server will be serialized. The operations include explicit Reads, Writes, requests to Subscribe and Unsubscribe etc. So if you are referring to explicit Reads and Write, they will be serialized per target OPC server, even if you, in your code, use multiple threads to call them.

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

More
11 Aug 2014 14:38 #2153 by neilcooley
Hi

Is there any way that you can block a Subscribed Read whilst a WriteMultipleTags is happening?

Basically I am seeing numbers fluctuating as I am writing one value and reading back from the PLC register at the same time.


Neil

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

Moderators: support
Time to create page: 0.046 seconds