Documentation Index

Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt

Use this file to discover all available pages before exploring further.

read iot values()

Prev Next

To evaluate sensor data or machine states, you need current values from an OPC UA server. The function read iot values() reads the values for the specified node IDs. It writes the results to a list.

Parameters

Parameter

Type

Default value

Description

a

String (alias)

IoT server alias. See IOT (Input agent).

b

String (list name)

Name of the list with the node IDs to read. Separate multiple IDs with a comma.

c

String (list name)

Name of the list the function writes the read values to.

d

Boolean

false

Optional. If true, the function clears list c, before it inserts new values.

Example: List b contains ns=3;i=1001,ns=5;s=Int16DataItem to read two nodes in one call.