Skip to content

On Command#

Screenshot showing a command interface.

This task receives the input arguments of an OPC UA method call. To be used together with the CommandResult task.

Screenshot showing a command parameter interface.

Warning

This task is currently deprecated and will be removed in future versions.

Inputs#

None.

Outputs#

Name Data Type Values Description
Id Object Uniquely identifies the OnCommand request
Activate any Yes Emits a true value whenever a new request is received (to active other tasks)

Settings#

On the General Tab, you have the usual settings and the following settings:

Name Data Type Default Description
Automation Command AutomationCommand The command to send

Screenshot showing a UI with general parameter link options.

On the Parameters Tab, you have entries for each of the parameters of the command:

Screenshot showing a table with columns labeled "Name", "Data Type", and "Default" under the heading "On Command Settings Parameters".

Behavior#

Select a command (corresponding to a OPC UA method) to subscribe and the task outputs will be generated based on the respective input arguments.

Every time the driver sends a message with the subscribed topic, the task parses the message contents and emits the values in the respective outputs.

Remarks#

None.