Basics of program execution
9.2 Asynchronous instructions
Automation system
System Manual, 01/2023, A5E03461182-AK
211
Difference between synchronous/asynchronous instructions
The figure below shows the difference between the processing of an asynchronous
instruction and a synchronous instruction. In this figure the CPU calls the asynchronous
instruction five times before its execution is complete, e.g. a data record has been completely
transferred.
In the case of a synchronous instruction, this is completely executed with each call.
First call of the asynchronous instruction, start of execution
Intermediate call of the asynchronous instruction, execution continues
Last call of the asynchronous instruction, completion of execution
A job is fully processed by a synchronous instruction with each call.
Duration of a fully processed job
Figure 9-1 Difference between asynchronous and synchronous instructions