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.

UA Measurement system option?

More
07 Jan 2023 09:48 #11421 by support
Hello,

OPC UA contains provisions for variables to declare their units of measurements, such as in: reference.opcfoundation.org/v104/Core/docs/Part8/5.6.3/ .
AFAIK there currently isn't a standardized way for the client to specify which units it wants (and enforce the conversions/unit switch).

What you are describing seems to be a vendor-specific to do that, so you won't find it in the OPC specs or QuickOPC documentation. But it appears to be done *through* OPC (as they say "...by writing to an OPC variable..."). So you just need to obtain the relevant information about it from the vendor, and then implement it in your code; the normal QuickOPC features should be sufficient to achieve it.

Regards

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

More
06 Jan 2023 17:14 #11417 by janderscu
I am writing a fairly basic utility using the EasyOPC API to access a OPC UA server here on site to subscribe to a set of channels. All good with that. Now they have asked if I can add an option to my read utility to set an option on the controls server automatically when I connect to change a MeasurementSystem property that selects Metric, US, or Native value to toggle how the values are returned.

From the request:
"The measurement system used by your OPC client is, by default, the one set on the server side, which can be either US or METRIC, but we have the ability to change it when connecting, by writing to an OPC variable called MeasurementSystem the system to use as a text field (so literally US, METRIC or NATIVE, an empty field will use default and return what it is)."

So I've been searching for this option or something related to it in the EasyOPC documentation but cant find it. Can someone offer some insight?

THanks

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

Moderators: support
Time to create page: 0.064 seconds