Skip to content

Command Result#

image88

This task returns the result of an OPC UA method call. To be used together with the OnCommand task.

command_result_parameters

Inputs#

Name Data Type Values Description
Id Object Unique identifier of the request (from the OnCommand task) to which the results relate
Success Boolean Result of the method execution
Error Error Used to report an error in the method execution

Outputs#

None.

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
Expiration Time Integer Expiration time for the command (in milliseconds)

command_result_settings

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

command_result_settings_results

Behavior#

Select a command (corresponding to a OPC UA method) to reply to and the task inputs will be generated based on the respective output arguments.

The task will send a reply to the driver with the input values once it receives either a success or an error value.

Values received in the inputs are stored by execution context.

Remarks#

None.