OPC UA Server Discovery
OPC UA Server Discovery
CDP Studio is able to connect and discover running OPC UA (Open Platform Communications Unified Architecture) servers for node information. By using this functionality you can easily add preconfigured OPC-UA-Client into the CDP system.
Starting Discovery
OPC UA discovery is accessible from the resources pane options menu.
- Click on options menu next to resource search and select Discover OPC UA Resources... from the context menu
- Enter ip address or hostname of the OPC UA server to discover
- You can also check Include OPC UA Server information object if you want the discoverer to scan and add every OPC UA server built-in and diagnostic information object called Server into the discovery result
- Press OK to start the discovery
Discovery is then started. OPC UA server is contacted, its application name is fetched and all nodes in the server are browsed. Discovery process result log is displayed in Studio General Messages pane .
Using Discovery Results
After discovery is finished, the discovery result will be available as configuration recipe in Resource tree under section Discovered Resources (OPC UA) . You can browse and inspect the servers and nodes found.
Note: Note that node type and description of the found nodes can also be inspected by hovering the mouse above the node.
If you need to access all the nodes in that were discovered in your OPC UA client, then you can add the recipe to the currently active application by double-clicking the resource (or choosing Add).
If you do not need all the node structure that was discovered, a partial configuration can be added:
- First add only the preconfigured OPC UA client by right-clicking on it choosing Add Without Subelements from the context menu
- Then, select the added OPC UA client in configuration
- All discovered nodes now become "addable" in the resource tree (because they can be added into active OPC-UA-Client node). Browse the node that you are interested in, and add it to configuration as any other resource. You can also add the node without subnodes by right-clicking on it and choosing Add Without Subelements from the context menu.
Note: Discovered variable nodes are configured as OPC UA client readable variables (by setting CDP property Input to false, as Input property is always considered from CDP point of view). If you need to write to some variable node, set Input to true.
Discovered Recipes Lifetime
Discovery results are stored in your computer, in CDP Studio local deployments folder, and persists after you close Studio.
Stored results can be removed by right-clicking on the section Discovered Resources (OPC UA)} and choosing Remove from the context menu.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.