IF_AsyncManager - Start (Method)

Overview

Type:

Method

Available as of:

V1.2.3.0

Versions:

Current version

Task

Assign a function to an asynchronous task.

Description

The method Start is used to outsource the execution of a function (usually time consuming) into a separate task.

NOTE: Before using the method Start, the method Init must have been completed successfully.
NOTE: If you execute time-consuming functions in asynchronous tasks, online changes may be no longer possible because a suitable time slot may not be available within the 10 seconds of the timeout.

Interface

Input

Data type

Description

i_ifAsync

IF_Async

Input for assigning the function block that implements the interface IF_Async and whose method Job() is to be executed asynchronously.

Output

Data type

Description

q_xError

BOOL

If this output is set to TRUE, an error has been detected. For details, refer to q_etResult and q_etResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.

q_sResultMsg

STRING(80)

Provides additional diagnostic and status information as a text message.