OPC UA Any BrowsePath Finder
Finding a variable in an OPC UA Client browser is straightforward. Configuring its RelativePath for OpcUa_any in Automation Studio requires some more effort.
You need to reconstruct the hierarchy using the correct BrowseNames and escape reserved characters. If StartingNode is empty, the path must also include the complete route from Root.
Even a familiar-looking name can require a different representation. For example:
-
Node.1becomesNode&.1. -
Node/1becomesNode&/1. -
The B&R default scope
::becomes&:&:.
For task variables or nested structures, these details quickly add up. A missing path segment, an incorrectly escaped character, or a mismatched namespace index can prevent the configuration from resolving the intended variable.
I built a small Windows utility to simplify that step: connect to the OPC UA server, browse its address space, select the required variable, and copy its complete RelativePath.
Features
-
Expandable server browser that loads nodes as you navigate.
-
Direct variable selection without entering its name.
-
Complete
RelativePathgeneration from Root. -
Copy button for transferring the path into Automation Studio.
-
Mapping of supported OPC UA data types to IEC data types.
-
Anonymous and Username/Password authentication.
-
Configurable security modes and policies.
-
Automatic client application certificate generation.
-
Server certificate approval using SHA-256 fingerprints.
-
Standalone Windows executable—no Python installation required.
How it works
-
Enter the server endpoint and connection settings.
-
Click Connect.
-
Expand the server tree and navigate to your variable.
-
Select the variable to display its IEC data type and complete path.
-
Click Copy and use the result in your
OpcUa_anyconfiguration.
The generated path includes Root and Objects, so StartingNode should be left empty when using this path.
Demo

Download
The source code and Windows release are available on GitHub:
OPC UA Any BrowsePath Finder on GitHub
Current limitations
-
Generated paths retain the server’s namespace indexes. Check that these match your
OpcUa_anynamespace URIs configuration. -
Data type detection currently covers the types listed in the README.
-
Client application certificates are generated automatically; importing an existing certificate and private key is not supported.
-
Certificate-based user authentication is not supported.
-
Server trust uses manually approved fingerprints. Full certificate-chain, hostname, expiration, and revocation validation are not implemented.
Feedback
Feedback, bug reports, and improvement ideas are welcome!
If you try it with another OPC UA server, I’d be interested to hear how it works for your setup. You can reply here or open an issue on GitHub.
