UaExpert
1.4.0.233
|
This section provides an overview of UaExpert’s GUI and gives an introduction to the most commonly used features. If you haven’t used UaExpert before, this is a good place to start.
The following screenshot shows the window layout of UaExpert when first started. The window titles link to a more detailed description.
You can rearrange and resize these windows to your liking and close the windows which you don’t need at the moment. To open a previously closed window, right-click on the toolbar and select the window from the context menu.
The following paragraph explains step-by-step how to connect to an OPC UA Server with UaExpert. It aims at first-time users.
To add a new connection to an OPC UA Server, click on the + button in the toolbar or choose Server → Add… from the menu. A new dialog window will open. Double-click on < Double click to Add Server >.
A new dialog window will open (see screenshot), asking for a Discovery URL. If you have a Discovery Server running, you can enter its URL. But it’s also possible to enter the URL of the UA Server, as each UA Server has to provide a Discovery endpoint. In our example, we enter opc.tcp://localhost:48020, as we want to connect to Unified Automation’s ANSI C Demo Server running on the same computer.
The URL is added to the list, and when expanding the tree, the server and all endpoints it provides are shown (see screenshot).
As we want to connect with the highest security level available, we pick the endpoint Basic256 - Sign & Encrypt and confirm with OK. The Server is now listed in the Project Window (see screenshot). The unplugged connector symbol indicates that the connection is not yet established.
To actually connect to the server, click on the plug connector button in the toolbar or choose Server → Connect from the menu. A new dialog window for validating the Server’s certificate will open (see screenshot). After examining the certificate, choose Trust Server Certificate to permanently add the certificate to UaExpert’s trust list. It is also possible to check the box at Accept the server certificate temporarily for this session and choose Continue to not save the certificate in the trust list, or to choose Cancel to reject the certificate.
After accepting the Server’s certificate, we still get the Error BadSecurityChecksFailed (see Log Window and the red sign on the plug connector in the Project Window, see screenshot), because the Server has to trust the Client’s certificate as well.
How this can be done depends on the server. In the case of Unified Automation’s Demo Server we have to move UaExpert’s certificate from pki/rejected to pki/trusted/certs.
Pressing the plug connector button in the toolbar again shows that we are now able to connect to the Server (see screenshot).
To browse a server’s address space, select the server in the Project Window. A browsable graphical representation of the address space is then shown in the Address Space Window.
To read attributes of a node, select it in the Address Space Window. The node’s attributes are then shown in the Attributes Window.
To subscribe to changes of variable values, select the Data Access View in the Project Window (which is selected by default). Drag and drop the node to monitor from the Address Space Window to the Project Window.
Variables with dynamically changing values can be found in the Demo Server’s address space in the folder Objects → Demo → 001_Dynamic.