Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
21-24
A5E00739858-01
Parameter Declaration Data Type Memory Area Description
S7-300:
ADDR_1
S7-400:
ADDR_i
(1
i
4)
IN_OUT ANY M, D
I, Q, M, D, T, C
Pointers to the areas on the partner CPU in
which the data is to be written.
S7-300:
SD_1
S7-400:
SD_i
(1
i
4)
IN_OUT ANY S7-300: M, D
S7-400 I, Q, M,
D, T, C
Pointers to the areas on the local CPU
which contain the data to be sent.
Only the following data types are
permissible:
BOOL (not allowed: Bit field), BYTE, CHAR,
WORD, INT, DWORD, DINT, REAL,
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
The following table contains all the error information specific to SFB/FB 15 that can
be output with the parameters ERROR and STATUS.
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
Additional for S7-300:
-
Maximum number of parallel jobs/instances exceeded
1 2 Negative acknowledgement from the partner device. The function cannot be
executed.
1 4 Errors in the send area pointers SD_i involving the data length or the data type.
1 8 Access error on the partner CPU.
1 10 Access to the local user memory 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 15.
No instance DB was specified, but rather a shared DB.
No instance DB found (loading a new instance DB from the PG).