OPC UA Write
This function block allows you to send data to an OPC UA server. It facilitates the writing of values to a specified node address on the server, making it useful for communicating control commands or updating parameters.
📥 Inputs
Client The OPC UA client instance that has already been connected to a server.
Node Address The specific address of the node on the OPC UA server where the value needs to be written.
Value The actual value you want to send to the specified node.
📤 Outputs
This function block does not produce any outputs.
🕹️ Controls
Data Type A dropdown menu from which users can select the type of data being written, such as Float, Boolean, UInt16, etc. The type must match the expected data format at the specified node address.
🎨 Features
Data Type Selection Users can specify the data type of the value being sent, ensuring compatibility with the server's expectations.
Simple Communication The block provides a straightforward way to write values to an OPC UA server, facilitating easy data integration and control.
📝 Usage Instructions
Connect OPC UA Client: Connect your pre-configured OPC UA client to the
Clientinput.Specify Node Address: Enter the address of the node you wish to write to in the
Node Addressinput.Input Value: Specify the value you want to send through the
Valueinput.Select Data Type: Use the dropdown to specify the data type of the value you are sending.
Execute: Evaluate the block to send the value to the specified OPC UA node.
📊 Evaluation
Upon evaluation, this block will execute the write operation to the specified node address using the input value and data type defined by the user.
🛠️ Troubleshooting
Last updated
Was this helpful?