Skip to content

Step 10: Using UAExpert to connect to an OPC UA server

Last updated on September 1, 2020

Use an OPC UA client to connect to the server and verify successful application of the UANodeSet.

This Post is part of the OPC UA Information Model Tutorial.

Determine the OPC UA server’s IP address

Determine the IP address of the OPC UA server (i.e. the Debian machine) with ifconfig

sudo ifconfig
[sudo] password for user:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast

The OPC UA client will connect to that IP address in the following steps. Alternatively you can also use opc.tcp://localhost:4840 if the server is running locally, or you can use the corresponding hostname instead of localhost.

Connecting to a server with UAExpert

As a final result, the OPC UA client UAExpert should display the model in the server’s address space like so:

UA Expert is an OPC UA client developed by Unified Automation.

Download (free account required):

Select Custom Discovery and add the IP address of the Debian server.

The new server will be listed at Custom Discovery. Click/Expand it.

Note: You may see a dialog pop-up

Click Yes and move on.

You will now see the server and the different communication modes it supports. Select None – None (no encryption, no authentication) and press OK.

Note: You may be presented with a pop-up dialog regarding Recently Used servers.

Click OK.

You are now connected to the OPC UA server and can browse or monitor its object. UAExpert allows to individually (dis-)connect to multiple servers at the same time.

The top area of the follwoing image shows UAExpert connected to the open62541 server on Debian. At the bottom, you can see the PowerShell SSH session to the Debian server running the OCP UA server ./myServer. The log of pane of UAExpert and the console output of the open62541 server should corelate.

Published inopen62541

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.