OPC UA Client
This function block enables communication with OPC UA servers, allowing for data exchange and interaction with different industrial devices.
📥 Inputs
This function block does not have any inputs.
📤 Outputs
Client
This output represents the established OPC UA client connection, allowing you to interact with the connected server.
🕹️ Controls
Username
An optional field to input your username for the OPC UA server.
Password
An optional field to input your password for the OPC UA server.
Address
Enter the server's IP address and port number in the format: xxx.xxx.xxx.xxx:Port. For example, 192.168.1.1:4840
.
View Nodes-IDs
A button that opens a configuration window showing the nodes available in the connected OPC UA server.
Connect
A button that initiates a connection to the specified OPC UA server.
Disconnect
A button that disconnects the client from the currently connected OPC UA server.
🎨 Features
Server Interaction
Establishes a connection with OPC UA servers to facilitate communication with devices in industrial settings.
Dynamic Connection Management
Allows connecting and disconnecting from OPC UA servers based on user input.
Configuration Accessibility
Provides a button to view and manage nodes available on the connected server.
📝 Usage Instructions
Enter Server Address: Fill out the
Address
field with the OPC UA server's IP address and port.Set Credentials (if needed): Optionally enter your
Username
andPassword
for authentication.Connect to Server: Click the
Connect
button to establish a connection to the server.View Nodes: After connecting, click the
View Nodes-IDs
button to inspect available nodes on the server.Disconnect: If needed, click the
Disconnect
button to close the connection to the server.
📊 Evaluation
This function block provides a client instance connected to an OPC UA server. You can utilize this client output to further interact with the server based on your requirements.
🛠️ Troubleshooting
Last updated