Technical data

Table Of Contents
Generating Block-Related Messages
System Software for S7-300/400 System and Standard Functions - Volume 2/2
24-38
A5E00739858-01
Parameters Declaration Data type Memory Area Description
MODE INPUT INT I, Q, M, D, L, Const. Job identifier
Permissible values
1: Read all system resources
2. Read the system resource that
was occupied with EV_ID = ev_id
when SFC 107-/SFC 108 was called
3: Read the system resources that
were occupied with CMP_ID =
cmp_id when SFC 107-/SFC 108
was called
0: subsequent call
SI_ID INPUT DWORD I, Q, M, D, L, Const. ID for the system resource(s) to be read
Permissible values
0, if MODE=1
Message number ev_id, if MODE=2
ID cmp_id for identification of the
system section, if MODE=3
RET_VAL OUTPUT INT I, Q, M, D, L Return value (error information or job
status)
N_SI OUTPUT INT I, Q, M, D, L number of output system resources with
SYS_INT
SYS_INT OUTPUT ANY D Target area for the fetched system
resources.
Error Information
Error code
(W#16#...):
Explanation
0000 No error occurred.
0001 Not all system resources could be read because the SYS_INT target range you have
selected is too short.
8081 (only with MODE=2 or 3) You have assigned the value 0 to SI_ID.
8082 (only with MODE=1) You have assigned one of 0 different values to SI_ID.
8083 (only with MODE=0) You have assigned SI_ID a value other than at the preceding call
of the SFC with MODE=1 or 3.
8084 You have assigned an illegal value to MODE.
8085 SFC 105 is already being processed in another OB.
8086 Target area SYS_INST too small for a system resource.
8087 Target area SYS_INST does not exist in a DB.
8xyy General error information, see Evaluating Errors with Output Parameter RET_VAL