Description
Product description
The CODESYS OPC UA Client can be used to connect to any OPC UA server and exchange data with them. The client provides an API to connect to an OPC UA server and execute the different types of OPC UA requests.
The OPC UA Client API supports the following services:
Discoveries:
- GetEndpoints
- FindServers
- FindServersOnNetwork
Session:
- CreateSession
- ActivateSession
- DeleteSession
View:
- Browse
- BrowserNext
- RegisterNodes
- UnregisterNodes
- TranslateBrowsePathsToNodeIds
Attributes:
- Read
- Write
Subscriptions:
- CreateSubscription
- ModifySubscription
- SetPublishing
- Publish
- DeleteSubscription
MonitoredItems:
The client is able to handle both types of monitored elements (events and sampling). The only difference in handling is the callbacks that are called for both types.
- CreateMonitoredItems
- DeleteMonitoredItems
- ModifyMonitoredItems
- SetMonitoringMode
Security: The OPC UA client uses the existing security-relevant runtime system interfaces to handle the encryption algorithms and certificates. The client registers itself in the certificate store to facilitate the configuration of the client certificates.
SecurityProfiles:
- None
- Basic256Sha256 (Sign, Sign_and_Encrypt)
- Aes128_Sha256_RsaOaep
- Aes256_Sha256_RsaPss
User token policy:
- Anonymous
- Username
An example of using the API is available in the CODESYS Store: ‘OPC UA Client Example’.
Additionally, it is possible to connect the OPC UA client to an OPC UA server within the CODESYS IDE via the “Data Source Manager” object. OPC UA servers can be added online or offline.
Online: The client connects to the server via the IP address and detects the existing variables and types. The user can select the objects to be searched.
Offline: Using a description file, the client reads the variables and types from the information model. A connection to the server is not required.
See also [CODESYS Online Help]( https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_obj_data_source_communication_opc_ua_server.html ).
Requirements
Programming system | CODESYS Development System V3.5.17.0 or higher |
Runtime system | CODESYS Control V3.5.17.0 or higher |
Supported platforms/devices | CODESYS Soft PLC Systems
Note: Use the “Device Reader” tool to determine the functions supported by the controller (free part of the CODESYS Development System). |
Additional requirements | – |
restrictions | – |
Licensing | Single device license: The license can be used on the controller on which the CODESYS runtime system is installed.
The license is activated on a software-based license container (soft container) that is permanently linked to the controller. Alternatively, the license can be stored on a CODESYS key (USB dongle). The license can be used on another controller by replugging the CODESYS key. Note: Without a license, the software runs in demo mode for two hours. After that, a manual restart is required. |
Required accessories | Optional: CODESYS Key |