Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
21-46
A5E00739858-01
In/Out Parameter LOCAL
If the communications partner is an S7 CPU, the in/out parameter LOCAL contains
its current status. The first byte is reserved, the second byte contains an ID for the
status.
Operating Mode Corresponding Identifier
STOP 00H
Warm restart 01H
RUN 02H
Hot restart 03H
HOLD 04H
Cold restart 06H
RUN (H system status: redundant) 09H
LINK-UP 0BH
UPDATE 0CH
Error Information
The following table contains all the error information specific to SFB 23 that can be
output with the parameters ERROR and STATUS.
ERROR
STATUS
(Decimal)
Explanation
0 9 Overrun warning: an older device status has been overwritten by a more recent
device status.
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)
1 4 Error in PHYS, LOG or LOCAL involving the data length or data type.
1 10 Access to a 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 23
No instance DB was specified, but rather a shared DB.
No instance DB found (loading a new instance DB from the PG).
1 18 There is already an instance for SFB 23 "USTATUS" for the connection
identified by ID.
1 19 The remote CPU sends a data faster than it can be accepted in the user
program by the SFB.
1 20
S7-400: Not enough work memory available. If there is still enough total
work memory available, then the solution is to compress the work memory.
H system: a first call of SFB is not possible during an update since the
communication buffer in the work memory is being created. Measures that
change the work memory are not possible during an update.