Basics of program execution
7.5 Asynchronous instructions
S7-1500R/H redundant system
System Manual, 10/2018, A5E41814787-AA
163
Parallel processing of asynchronous instruction jobs
A CPU can process several asynchronous instruction jobs in parallel. The CPU processes
the jobs in parallel under the following conditions:
●
Jobs for an asynchronous instruction are started while other jobs for that instruction are
still running.
●
The maximum number of simultaneously running jobs for the instruction is not exceeded.
The figure below shows the parallel processing of two jobs of the WRREC instruction. The
two instructions are executed simultaneously for a certain duration.
Figure 7-6
Parallel processing of the asynchronous instruction WRREC
Assigning calls of an instruction to a job
To execute an instruction over multiple calls, the CPU must be able to uniquely relate a
subsequent call to a running job of the instruction.
To relate a call to a job, the CPU uses one of the following two mechanisms, depending on
the type of the instruction:
●
Using the instance data block of the instruction (for "SFB" type)
●
Using the input parameters of the instruction that identify the job. These input parameters
must match in each call during processing of the asynchronous instruction.
Example: The instruction "RD_DPARA" is identified by LADDR and RECNUM.
Summary of Contents for Simatic S7-1500H
Page 1: ......