Siemens Simatic S7-1500/ET 200MP System Manual page 186

Automation system
Hide thumbs Also See for Simatic S7-1500/ET 200MP:
Table of Contents

Advertisement

Summary
The table below provides you with an overview of the relationships described above. It
shows in particular the possible values of the output parameters if execution of the
instruction is not complete after a call.
Note
You must evaluate the relevant output parameters in your program after each call
Relationship between REQ, STATUS/RET_VAL, BUSY and DONE during a "running" job.
Seq. no.
Type of call
of the
call
1
First call
2 to (n - 1) Intermediate
call
n
Last call
Use of resources
Asynchronous instructions use resources in the CPU during their execution. The resources
are limited depending on the type of CPU and instruction. The CPU can simultaneously
process only a maximum number of asynchronous instruction jobs. The resources are
available again after a job has been processed successfully or with errors.
Example: For the RDREC instruction, an S7-1500 CPU can process up to 20 jobs in parallel.
If the maximum number of simultaneously running jobs for an instruction is exceeded, the
instruction returns error code 80C3 (lack of resources) in the STATUS block parameter. The
CPU stops execution of the job until a resource becomes free again.
Note
Lower-level asynchronous instructions
Some asynchronous instructions use one or more lower-level asynchronous instructions for
their processing. This dependence is shown in the tables below.
Please note that with multiple lower-level instructions, only one lower-level resource is
typically allocated at a time.
Automation system
System Manual, 12/2017, A5E03461182-AE
REQ
STATUS/RET_VAL
1
W#16#7001
Error code (e.g.
W#16#80C3 for lack of
resources)
Not rele-
W#16#7002
vant
Not rele-
W#16#0000, if no errors
vant
have occurred.
Error code if errors oc-
curred.
Basics of program execution
8.3 Asynchronous instructions
BUSY
DONE
1
0
0
0
1
0
0
1
0
0
ERROR
0
1
0
0
1
185

Advertisement

Table of Contents
loading

Table of Contents