call iot function()

Prev Next

Machines and equipment often expose not only values through OPC UA, but also executable methods. The function call iot function() calls such a method on a node. It passes the specified arguments and writes the result to a list.

Parameters

Parameter

Type

Default value

Description

a

String (alias)

–

IoT server alias.

b

String (node ID)

– (optional)

Parent node ID. Leave this field empty if you specify the combined parent and method ID in parameter c. Format: <parent ID>/<method ID>.

c

String (node ID)

–

Node ID of the method to call (function node).

d

String (list name)

–

Name of the list with the arguments for the function call.

e

String (list name)

–

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

f

Boolean

false

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

Example: Separate: parent ID ns=3;i=2001, function ID ns=3;i=2002. Combined: parent ID empty, function ID ns=3;i=2001/ns=3;i=2002.