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.

Union Complex Data Type

More
05 Sep 2019 07:44 - 05 Sep 2019 07:45 #7706 by support
Replied by support on topic Union Complex Data Type
OPC UA does not use the term "union", but if what you mean is a StructuredType with "switch" fields, as described in OPC UA 1.04 spec Part 5, Annex E: OPC Binary Type Description System, then yes, QuickOPC should be able to decode it.

For more information, see
- www.opclabs.com/products/quickopc/extensions/opc-ua-complex-data
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...omplex%20Data%20Extension.html

Complex data in UA is, well, complex, so I suggest that you test it out with your particular server and cponfiguration first.



Best regards
Last edit: 05 Sep 2019 07:45 by support.

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

More
04 Sep 2019 22:03 - 05 Sep 2019 07:45 #7701 by kriskazmar
Will QuickOPC-UA .NET be able to decode the data for the following array of structures, where the structure contains a union complex data type? The OPC UA server address space will define the Event, Alarm, Valve and Mode structures, and will define the union complex data type per Part 6 of the OPC UA specification.
structure Event
{
     UInt32 SwitchValue;
     union
     {
              structure Alarm;
              structure Valve;
              structure Mode;
      } Union;
     UInt32 EventId;
     DateTime EventDateTime;
};
array Event Events[500];
Last edit: 05 Sep 2019 07:45 by support. Reason: added formatting

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

Moderators: support
Time to create page: 0.042 seconds