Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
21-10
A5E00739858-01
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:
SD_1
S7-400:
SD_i
(1
i
4)
IN_OUT ANY M, D, T, Z
I, Q, M, D, T, C
Pointer to the i-th send data area.
Only the following data types are
permissibleBOOL (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 11 Warning:
New job cannot take effect since previous job is not yet completed.
The job is 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
-
Maximum number to parallel jobs/instances exceeded
1 4 Error in the send data area pointers SD_i involving data length or data type.
1 10 Access to the local user memory is not possible (for example, access to a
deleted DB)
1 12 When the SFB was called
An instance DB was specified that does not belong to SFB "USEND"
No instance DB was specified, but rather a global DB.
No instance DB found (loading new instance DB from PG).