Last updated on April 10, 2022
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
sudo ifconfig [sudo] password for user: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.17.79.121 netmask 255.255.255.240 broadcast 172.17.79.127 [...]
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): https://www.unified-automation.com/downloads/opc-ua-clients.html
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
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
Note: You may be presented with a pop-up dialog regarding Recently Used servers.
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.