Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
21-13
Parameter Declaration Data Type Memory Area Description
ERROR
STATUS
OUTPUT
OUTPUT
BOOL
WORD
I, Q, M, D, L
I, Q, M, D, L
ERROR and STATUS state parameters,
error display:
ERROR=0
STATUS has the value:
0000H: neither warning nor error
<> 0000H: Warning, STATUS
supplies detailed information
ERROR=1
There is an error. STATUS supplies
detailed information on the type of
error.
S7-300:
RD_1
S7-400:
RD_i
(1
i
4)
IN_OUT ANY M, D, T, Z
I, Q, M, D, T, Z
Pointer to the i-th receive data area:
Only the following data types are
permissible: BOOL (not allowed: Bit
field), BYTE, CHAR, WORD, INT,
DWORD, DINT, REAL, DATE, TOD,
TIME, S5TIME, DATE_AND_TIME,
COUNTER, TIMER.
Note:
If the ANY pointer accesses a DB, the
DB must always be specified (for
example: p# DB10.DBX5.0 Byte 10)
Error Information
ERROR
STATUS
(Decimal)
Explanation
0 9 Overrun warning: older received data are overwritten by newer received data.
0 11 Warning: The receive data are now being processed in a priority class having
lower priority.
0 25 Communication has started. The job is being processed.
1 1 Communications problems, for example:
Connection description not loaded (local or remote)
Connection interrupted (for example: cable, CPU off, CP in STOP mode)
Connection to partner not yet established
Additional for S7-300:
-
Maximum number of parallel jobs/instances exceeded
1 4 Errors in the receive area pointers RD_i involving the data length or the data
type.
1 10 Access to the local user memory not possible (for example, access to a deleted
DB)
1 12 When the CFB was called
An instance DB was specified that does not belong to SFB "URCV"
No instance DB was specified, but rather a global DB
No instance DB was found (loading a new instance DB from the PG).