OPC UA server¶
Applications
This object publishes the selected nodes of the project information model to the selected users, for the OPC UA client. It also publishes all the child nodes and all the parent nodes of the selected nodes.
The object supports the connection with multiple clients through a single endpoint.
Note
the use of an OPC UA Server object requires the use of a license token. Activating the possibility to connect with multiple clients (Multiple connections property) uses three tokens.
Configuring the object
Set the nodes to publish
Click the desired OPC UA Server object.
In the Property panel, in Nodes to publish, click : a configuration of nodes to publish 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.
Safety configurations
Based on the values of the two Minimum message security mode and Minimum security policy properties, the valid security configurations are the following, in order of increasing security:
Minimum security policy |
Minimum message security mode |
---|---|
None |
None |
Basic256Sha256 |
Signature |
Basic256Sha256 |
Signature and cryptography |
Aes128_Sha256_RsaOaep |
Signature |
Aes128_Sha256_RsaOaep |
Signature and cryptography |
Aes256_Sha256_RsaPss |
Signature |
Aes256_Sha256_RsaPss |
Signature and cryptography |
If one of the two properties has the value None and the other does not, the server does not generate an error at the start and does not display the None-None configuration.
Properties¶
Name |
BrowseName |
DataType |
Description |
---|---|---|---|
Endpoint URL | EndpointURL |
Communications protocol and network address of the endpoint on the server. |
|
Sampling interval | SamplingInterval |
Time interval between successive readings of the field variables by the server. |
|
Multiple connection | AllowMultipleConnection |
Enables the possibility to communicate with multiple OPC UA clients at the same time (requires three license tokens). |
|
Minimum message security mode | MinimumMessageSecurityMode |
Minimum security level for messages exchanged between client and server. None = the messages can be unsigned and unencrypted; Signature = the messages must be signed or signed and encrypted; Signature and encryption = the messages must be signed and encrypted. |
|
Minimum security policy | MinimumSecurityPolicy |
Minimum security level for messages exchanged between client and server. None = the client does not require any specific security policy; Basic256Sha256 = this policy or more secure; Aes128_Sha256_RsaOaep = this policy or more secure; Aes256_Sha256_RsaPss = this policy. |
|
Server certificate file | ServerCertificateFile |
Server public certificate file, according to standard X509v3 and with .der extension. It must be found in the QApplication/ProjectFiles/PKI/Own/Server/ folder. If specified, the private key must also be specified. If not specified, it is automatically generated at runtime in the QApplication/ApplicationFiles/PKI/Own/Server folder. |
|
Server private key file | ServerPrivateKeyFile |
Server private key file, with ASCII Base64 encoding and .pem extension. It must be found in the QApplication/ProjectFiles/PKI/Own/Server/ folder. If specified, the certificate must also be specified. If not specified, it is automatically generated at runtime in the QApplication/ApplicationFiles/PKI/Own/Server folder. |
|
Product URI | ProductURI |
URI that globally identifies the software |
|
Product name | ProductName |
Name of the software |
|
Manufacturer name | ManufacturerName |
Name of the software manufacturer |
|
Nodes to publish | NodesToPublish |
Collection of NodesToPublishConfigurationEntry |
Configuration of the nodes to be published and the users to publish them to. |
See also
Concetti correlati
Procedure correlate
Esempi applicativi
Import translations from another project
Import the user interface from another project and monitor some variables