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
Click the desired OPC UA Server object.
In the Property panel, in Nodes to publish, click : a configuration of nodes to be published is added.
In the configuration just created, select the desired nodes and the client users to publish them to.
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.
See also
Related concepts
OPC UA communications security
Related procedures
Testing a server project with the UaExpert client
How to use an OPC UA Client object
Use OPC UA certificates and keys
Application examples
Import users from another project
Import translations from another project
Import the user interface from another project and monitor some variables
References