Configure OPC UA Advanced Settings
You can configure advanced OPC UA settings, including connection, authentication, and timeout settings.
To configure OPC UA advanced settings:
-
In Workbench, expand Project Explorer > Data Connectivity > OPC UA, and then double-click OPC UA Network.
-
In an existing OPC UA server entry, click , and then do the following:
Connection Settings Section-
Primary Endpoint - First network URI connection to the OPC UA server. To test the connection to the server, click Test Connection.
-
Secondary Endpoint - (Optional; use for redundant sites) Second network URI connection to the OPC UA server. To test the connection to the server, click Test Connection.
-
Override Thumbprint - (Optional; use when server fails with the default application certificate) Enter the certificate thumbprint that overrides the default application certificate. To browse the available certificates in the Certificate Browser, click .
-
Preferred Endpoint - From the drop-down list, select the preferred endpoint. Defined by the OPC UA server, endpoints define the algorithms that sign and encrypt communication messages.
-
Fallback to - From the drop-down list, select the action when the selected endpoint is not available (Fallback to no security, Fallback to the maximum security available).
-
Disable Domain Check - To allow an OPC server connection when the server domain does not match the server certificate, select this checkbox. Typically, you will disable the domain check when using the server's IP address.
-
Browsing Mode - From the drop-down list, select the point name format returned by the OPC Point Manager during browsing:
-
Always Browse Path - Human-readable and usually hierarchical. When accessing each node, the translation method must be called. This selection may cause server performance issues.
-
Always Node ID - May not be human-readable. The translation method is not required.
-
String Node ID/Browse Path - Typically human-readable, as it only returns Node IDs for string-based ones. The translation method is only required for some points.
-
Authentication Settings Section-
Authentication Mode - From the drop-down list, select the method of authenticating the client in the OPC UA server:
-
Anonymous - No username or password required.
-
Username and Password - Require username and password for authentication.
-
Certificate - Require a certificate thumbprint for authentication.
-
-
Username/Password - Enter the username and password for authentication.
-
Thumbprint - Enter the certificate thumbprint for authentication. To browse the available certificates in the Certificate Browser, click .
Other Settings Section-
Max. Queue Size - Enter the maximum number of updates that the OPC UA server stores for each variable before sending to the client.
-
Enable Subscription - To subscribe to data changes, select the checkbox and then select the subscription style. To poll the OPC UA server periodically, clear the checkbox.
-
Read Attributes - Subscribe to the value, and read the other attributes (data type, access rights).
-
Subscribe Attributes - Subscribe to the value and the attributes (data type, access rights).
-
-
Read Maximum Age - If the cached value is older than this setting, read a new value from the OPC UA server. If the cached value is newer than this setting, return the cached value.
-
Publish Interval - Enter the interval (in milliseconds) that updates are returned via the call/publish method, establishing latency between the client and server.
-
Add a maximum of - Enter the maximum number of points added on scan simultaneously.
Some servers may experience issues when adding too many points at the same time.
-
Browse a maximum of - Enter the maximum number of items returned while browsing, since OPC UA allows you to browse partially.
Smaller volume servers may experience issues providing multiple items at one time.
-
Work Period - Enter the interval (in milliseconds) for how often items are added or removed from the scan.
-
Log OPC UA Compliance Errors - To allow enable an OPC UA compliance test that logs every issue during calling, select this checkbox.
Advanced Timeout Settings Section-
Retry Connection after - Enter the interval (in milliseconds) to attempt to connect to the OPC UA server after a failed connection.
-
Retry Bad Point after - Enter the interval (in milliseconds) to attempt to recreate a previously failed subscription.
-
NodeID Cache Timeout - Enter the interval (in seconds) to cache browse path-to-NodeID translation after retrieving it from the OPC UA server.
-
Keep Alive Timeout - Enter the interval (in milliseconds) to disconnect from the OPC UA server after receiving no updates or keep-alive messages.
-
Max. Concurrent Writes - Enter the maximum number of simultaneous operations to the OPC UA server.
Each operation may write to multiple points.
-
Connection Timeout - Enter the interval (in seconds) that the client should wait for a successful connection to the OPC UA server before considering the server unavailable.
-
Max. Missed Keep Alives - Enter the maximum number of lost keep-alive messages while still considering the OPC UA server online.
-
Write Timeout - Enter the maximum interval (in seconds) for a write operation to finish. If a write operation exceeds this setting, the operation is considered failed.
-
Keep Alive Interval - Enter the interval (in seconds) between Keep Alive checks.
Click OK.
-
-
Click Apply & Close.
See Also: