Siemens SIMATIC ET 200pro Operating Instructions Manual page 53

Hide thumbs Also See for SIMATIC ET 200pro:
Table of Contents

Advertisement

Basics of program execution
6.2 Asynchronous instructions
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 6-2
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 job-identifying input parameters of the instruction. These input parameters must
match in each call during processing of the asynchronous instruction.
Example: A job of the "Create_DB" instruction is identified by input parameters
LOW_LIMIT, UP_LIMIT, COUNT, ATTRIB and SRCBLK.
The following table shows which input parameters you use to identify which instruction.
Table 6- 2
Instruction
DPSYC_FR
D_ACT_DP
DPNRM_DG
WR_DPARM
WR_REC
RD_REC
CREATE_DB
READ_DBL
WRIT_DBL
RD_DPARA
DP_TOPOL
52
Parallel processing of the asynchronous instruction WRREC
Identifying input parameters for asynchronous instructions
Job is identified by
LADDR, GROUP, MODE
LADDR
LADDR
LADDR, RECNUM
LADDR, RECNUM
LADDR, RECNUM
LOW_LIMIT, UP_LIMIT, COUNT, ATTRIB, SRCBLK
SRCBLK, DSTBLK
SRCBLK, DSTBLK
LADDR, RECNUM
DP_ID
CPU 1516pro-2 PN (6ES7516-2PN00-0AB0)
Operating Instructions, 11/2019, A5E35873416-AC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200proCpu 1516pro-26es7516-2pn00-0ab0

Table of Contents