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.

× If you are developing in .NET, but are using the OPC-UA (OPC Unified Architecture), please post in the QuickOPC-UA category instead.

Tag Value Trigger

More
02 Aug 2024 06:47 #12984 by support
Replied by support on topic Tag Value Trigger
Hello.

In your case, you would simply use the subscription mechanism (described in the link you provided), and when the trigger tag value changes to 0, you would then make a read call to retrieve the related value. The subscription does not involve periodic polling.

Best regards

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

More
01 Aug 2024 19:12 #12983 by ChadWilkinson
Hi!

For context:
We have a camera on a production line that is used to validate product codes. This camera reads multiple codes per minute and when the product code is invalid, it changes a PLC tag value to "1" instead of "0" ("1" being invalid and "0" being valid).

Our goal would be to notify the user only when the PLC tag value is "1".

We searched through the documentation and found ways to read the tag value every X amount of time (What we found: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...OPC%20UA%20Data%20Changes.html). Meanwhile, we would need a trigger that only returns the tag value when it has changed. This is because we want to avoid having a constant communication between the application and the top server.

Would it be possible to implement this, and if so, how? Maybe something that needs to be configured directly in the top server?

Thanks!

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

Moderators: support
Time to create page: 0.053 seconds