OPC UA Client
The OPC UA Client source processes data from an OPC UA server. The OPC UA Client source can poll the server at regular intervals, returning the latest data from all specified nodes. Or it can subscribe to specific nodes and receive messages from the server each time a change related to a specified node occurs. For information about supported versions, see Supported systems and versions.
The source can also browse all available nodes to provide the node details that you need to configure the source.
When you configure the OPC UA Client source, you specify connection information and optional security information, such as user name and password, TLS properties, client private key alias, and security policy.
You configure tag information, and you select the processing mode for the source and specify the NodeIds for the nodes you want to use. You can use one of several different methods to provide the NodeIds.
You can also configure encoding limits, such as the maximum chunk or message size.
When a flow stops, the OPC UA Client source notes where it stops reading. When the flow starts again, the source continues processing from where it stopped by default. You can reset the offset to process all requested data.
Processing mode
- Polling
- The source polls the OPC UA server at regular user-defined intervals, returning the current status of every specified node.
- Subscribe
- The source subscribes to the specified nodes. The OPC UA server sends an update each time a change occurs with one of the specified nodes. When node changes occur, the server sends each change to the source separately.
- Browse nodes
- Browse nodes mode is a tool to aid flow development. In browse nodes mode, the source connects to the OPC UA server to retrieve all available node details, such as the node identifier and namespace index.
Providing NodeIds
- Manual
- Manually enter the NodeId information. Use this method when you have a specific set and low volume of nodes that you want to use. You can use simple or bulk edit mode.
- File
- Provide a file of NodeId information. Use this method when you have a relatively static set of nodes that you want to use. You can update the file as needed, but will need to restart the flow to capture the latest nodes.
- Browse Nodes
- Specify a root NodeId, allowing the source to browse for all available nodes under the root node. Use this method when you want to process data from a dynamic set of nodes that are under a single root node.
Security
You can choose to connect to the OPC UA server anonymously or you can choose to authenticate with a user name and password. To authenticate with a user name and password, select the Use Username and Password check box on the OPC UA tab and then enter the user name and password on the Security tab.
- Basic128Rsa15
- Basic 256
- Basic256Sha256
- None
When using a security policy, you must configure the associated TLS properties. When necessary, you can specify a private key alias.
Configuring an OPC UA Client source
About this task
Configure an OPC UA Client source to process data from an OPC UA server.