Basics of program execution
7.5 Asynchronous instructions
S7-1500R/H redundant system
System Manual, 10/2018, A5E41814787-AA
165
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
Table 7- 5
Relationship between REQ, STATUS/RET_VAL, BUSY and DONE during a "running" job.
Seq. no.
of the
call
Type of call REQ
STATUS/RET_VAL
BUSY
DONE
ERROR
1
First call
1
W#16#7001
1
0
0
Error code (e.g.
W#16#80C3 for lack of
resources)
0
0
1
2 to (n - 1) Intermediate
call
Not rele-
vant
W#16#7002
1
0
0
n
Last call
Not rele-
vant
W#16#0000, if no errors
have occurred.
0
1
0
Error code if errors oc-
curred.
0
0
1
Summary of Contents for Simatic S7-1500H
Page 1: ......