Asynchronous

You can use the Asynchronous checkbox to specify whether you want to execute the method asynchronously or synchronously at runtime.

Setting Result

Checkbox is not selected

In this case, the method is executed synchronously.

PCo directly triggers the actions linked with the method notification such as execution of the EMP implementation and the destination system call configured there and then waits until these actions are completed. Only then is control returned to the caller of the method. The output parameters of the method are filled with the assigned output variables of the destination system call or of the EMP implementation.

Checkbox is selected

In this case, the method is executed synchronously.

In this case, PCo also triggers execution of the method notification by calling the method, but returns process control directly to the caller of the method. The caller does not then have to wait for the end of method processing. You can also define output parameters for asynchronous methods, but these cannot be supplied from the output variables of the destination system call or the EMP implementation. Instead, PCo returns the initial value of the parameter in each case to the caller.