LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA Client Cant connect to Ignition OPC UA Server

We are running an OPC UA Server in Ignition.  When I try to create a client for this server on a remote PC I get an immediate -356612 error (timeout is set to 5 seconds default).  The server and this client are on  the same net work.  I am trying to do a message mode "None/256 Basic" connection.  The URL and port of the Ignition server are stated correctly (opc.tcp://URL:port).  Can anyone see what the problem is here?

TrapperDoo_0-1681228932073.png

 

0 Kudos
Message 1 of 3
(3,368 Views)

Lots of things can go wrong with OPC UA connectivity.

Some things to check:

- are you using an OPC UA client VI? (not a OPC VI, they are different protocols)

- is the port open on the OPC UA ignition server computer to allow inbound traffic.

- have you tried connecting a 3rd party OPC UA client to your OPC UA ignition server, e.g. you could try kepware.

- FYI some OPC UA servers do not allow None security settings unless it is local, specically on the same computer

 

0 Kudos
Message 2 of 3
(3,257 Views)

I just took a swing at connecting to a Ignition Server(Version: 8.1.14) I have running in a VM.

I used UaExpert OPC UA client (free once you create an account), to connect to ignition.

Something funky is going on there for sure, I could only connect under the following config in Ignition (Security Policies: None). You also need to reset the OPC UA module in the ignition server after you have reconfigured it and saved it. Now, doing this disables all the security features which makes OPC UA a good protocol for industrial applications. I highly recommend developing your system with security features turned on, requiring both encryption and user login. If you have a Ignition license / service agreement with them, I would log a ticket to get this issue rectified. There is some discussion here about it: https://forum.inductiveautomation.com/t/connection-error-from-the-opc-client-with-opc-ua/33488/22

Now back to Labview, once you can get a connection using a third party OPC UA client, which validates its possible, only then would I look at developing code in any language to do the same.

0 Kudos
Message 3 of 3
(3,241 Views)