Zum Hauptinhalt springen

Read current OPC-UA node values

POST 

/opc-ua/nodes/values

Reads the current values of the given node ids from the OPC-UA client. Each node is read at the server it is registered on, so the ids may span several servers.

A node whose value could not be used - the server reports a bad status, or its server could not be reached - is omitted from the answer rather than returned with a null value, so it cannot be mistaken for a node that has no value. An uncertain status is not a failure: such a value is returned.

Note that an OPC-UA node id is only unique per server. If one of the given ids exists on more than one server of the tenant, the request cannot say which one is meant and is refused with 409 rather than answered from either.

Request

Responses

The values that could be read - one entry per node, in no guaranteed order. The list may be shorter than the request: a node whose value the server refused or whose server could not be reached is left out, which is what tells it apart from a node that simply carries no value. An empty list therefore means "nothing readable right now", not "unknown nodes".