Siemens SIMATIC S7-1500 System Manual page 163

Drive controller
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Basics of program execution
8.3 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:
● Several asynchronous instruction jobs are called at the same time.
● 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 8-2
Assignment of call to job of the instruction
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 8- 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
162
Parallel processing of the asynchronous instruction WRREC
Asynchronous instructions Call to job assignment
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
System Manual, 11/2019, A5E46600094-AA
SIMATIC Drive Controller

Advertisement

Table of Contents
loading

Table of Contents