OPCUA.READ
Premium
Reads a value from an OPC UA Server.
Syntax
=OPCUA.READ(Connection, Node, Target)
Arguments
Name | Type | Description |
---|---|---|
Connection | Connection | Connection to use for reading. |
Node | String | Path of the node to read or node id. |
Target | Target | INBOX(), OUTBOX("MsgID") or a cell range where the result will be placed. Make sure the cell range is big enough or not everything is displayed. |
Return
Type | Description |
---|---|
Number or Error | The function OPCUA.READ always returns a unique random request ID, which can be used with requestinfo to check the state of the request, if no error. |
Examples
A | B | |
---|---|---|
1 | ns=2;s=Demo.SimulatopnSpeed |
Formula | Result | Comment |
---|---|---|
| The request ID | This reads the node and places the result into the inbox. |
| The request ID | This reads the name of the app with the id "H1mrblX0X" and places the result into the inbox. |