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.

write iot values()

Prev Next

Some integrations must not only read data, but also send setpoints or control commands to a device. The function write iot values() writes values to the specified node IDs of an IoT server.

IMPORTANT: This function writes values directly to the OPC UA server. Before using this in production, check whether the target node controls a running process or a physical device.

Parameters

Parameter

Type

Default value

Description

a

String (alias)

IoT server alias.

b

String (list name)

Name of the list with the node IDs to write. Separate multiple IDs with a comma. Example for a single value: ns=5;s=Int16DataItem.

c

String (list name)

Name of the list with the values to write, in the same order as list b. Example for a single value: 77.

d

Boolean

false

Optional. If true, the function rereads the values from list c after writing. This confirms the write operation.