The OPC UA viewer widget | How to browse structure variables in the OPC UA widget

Today I wanted to test the widget at a customer site because I’m unable to read the NodeIDs using my OPC client. I added the widget to the visualization, set up the server alias, and transferred the project. It is an AS 4.12 project, and I used the frm 5.24 branch.

Unfortunately, the visualization only shows my local OPC-UA server, not the actual customer server. Am I doing something wrong?

Opc Alias:

Widget Settings:

Result in my Visu:

Based on the namespaces, I can see that the connection is local; I would have expected Siemens namespaces here.

Hi @Christian_Schulte

Do you have anything in the browser console? In the devtools you may have a warning:
“Server alias is empty. Using the default server.”

Unfortunately I don’t have access to it today, I’ll take a look at it tonight! I maybe identify a wrong variable usage in the source code!

Regards,
Florent

Hi Florent, thanks for the feedback!
The client is using a stripped-down browser, so I can’t access the console. It’s all for security reasons.

You see thats not a normal Chrome or Fireforx etc…
Its embedded in the remote tool.

In the PLC Logbook there are no errors!

The client gave me the wrong IP address. It works! Thanks anyway for your efforts!

Oh nice!
I may need to add something on the widget to display that we use the local opcua server as fallback!
I’m glad someone is giving a try in real case!
I would be glad to hear about your feedback!

Hi, I also tried the widget. I would like to know, if it is possible to show also the substructure of a variable. I only see the main variable:

Am I doing something wrong?

Thx and best regards

Waldemar

You must use the properties:

@Florent: Thanks again for your widget; it really helped me out today. I couldn’t establish a connection with my client because the customer had given me the wrong information regarding the NodeIDs. I hadn’t been told about the quotation marks, which is why it wasn’t working. Thanks to the OPC-UA browser, I was able to identify the issue, and my client is now running perfectly!

It’s a real shame that there’s no way to bypass the server alias. This means the project has to be recompiled for every customer if problems arise on-site.

Many thanks!

Hi,
I’ll take a look at it tonight but we should be able to browse structure variables!

Thanks for the feedback! I’m glad it helped you today!
Yeah unfortunately, we can’t change or declare new server alias during runtime :confused:
You maybe can create a product request to your local support team, but I’m not sure it will be valided ^^’

Hi @waldemar.salzsehler

I’ve just checked and it’s my bad, I miss this point, but I’ll make the correction tonight on both version V5.24 and V6!

Thanks for this feedback!

Regards,
Florent

Hi @waldemar.salzsehler @Christian_Schulte
I’ve updated the main and 5.24, so now you can browse structure variable and array variable!
There is no indicator, you have to click on the variable to try browse it!

Hi Florent,
I already tried it earlier, it works now.

I also tried it and it works now. Thanks for the very fast reply.

Best regards Waldemar

By the way, I tested it with V6.8 and it works…

Perfect! It was develop with V6.4 but as long as there is no modification in the OpcUa API in mappView it should work for later versions!

Here is my usecase: I am browsing a variable for my trend. And to get the variable name, it is is very easy to use this widget:

Thanks

To keep discussion organized, I moved the whole communication to new topics.