Use the OPC UA Server objectΒΆ

Create a server

In the Project panel, right-click the OPC US folder, then click New > OPC-UA Server.

To know the properties of the object, refer to the Reference section of this manual.

Set the nodes to be published

  1. Click the desired OPC UA Server object.

  2. In the Property panel, in Nodes to publish, click image1: a configuration of nodes to be published is added.

  3. In the configuration just created, select the desired nodes and the client users to publish them to.

  4. Repeat the two previous steps for each desired configuration of nodes and users.

Set public certificate and private key

See Set up server and client public certificates and private keys.

Windows: set the firewall for OPC UA server applications

When an application that includes an OPC UA server is run in Windows, the port specified in the Endpoint URL Server property of the object must be opened. In this case, a window opens in Windows that requests the configuration of a firewall rule, unless there are rules set in advance.

Note

the rule is created with the name qruntime.