OPC UA Server Tags / Troubleshooting

Hello,

I am struggling to set up the OPC server in ignition. Ultimately I want to be able to create a perspective application than writes to a tag on the ignition OPC server that a client, in this case an AMR robot, can read.

I have already tested the functionaility with an OMRON NX controller that has an OPCUA server, but I want to be able to use ignition stirctly.

Ultimatley I have two questions:

  1. How does one set up a tag that is hosted on the local ignition OPC UA server?
  2. How do I setup a connection through UA Expert.

I have been trying to get UA Expert to connect to the server but keep getting the following error

Thanks in advance for your help.

Cheers,
David

What endpoint URL are you using? Where are you connecting from?

That's not usually an error, just a warning as you step through the connection process that often means you are using a different IP address than one of the ones the server is configured with.

Kevin,

You got me sorted on another thread, I am now able to connect from UA expect. I had to set it up through custom discovery. Would you be able to explain to me why I have to go through this custom discovery option? I am quite new to OPC UA so forgive my ignorance.

I am now really trying to understand how to create tags in a project that are hosted on the server that I can read from a client. I have been trying to do so using the quick client browser, creating them in my tag browser through the designer. I suspect I am doing something wrong.

Cheers,
David

It's pretty complicated and has to do with Ignition's secure by default configuration, which uses separate endpoints for discovery and sessions.

The discovery endpoint (at /discovery) allows unsecured connections and only implements the discovery services.

The session endpoint only allows secured connections.

Many clients have a two step connection process that assumes the endpoints will be the same and that unsecured discovery will be allowed. "Custom Discovery" is how you work around this in UaExpert.

Some clients can't deal with this at all and you end up having to enable the "None" security policy. Ignition 8.3 fixes this mess while still only allowing secure connections by default.

Tags created this way are only exposed to clients if you have the "Exposed Tags" feature enabled in the Ignition OPC UA server settings. By default, only configured devices and associated tags show up in the server. Make sure you restart the Ignition Gateway after making changes in the server settings page.

Kevin,

Understood. Thanks for explaining.

I never would have thought I would have had this sorted so quickly after making a post.

I really appreciate your prompt help! Have a wonderful day.

Cheers,
David

1 Like