Program instructions
7.3 Communication
S7-200 SMART
228 System Manual, V2.3, 07/2017, A5E03822230-AF
OUC instruction error codes
The following table lists the Open User Communication (OUC) error codes:
1 The data length parameter is greater than the maximum
allowed (1024 bytes).
X X
The data buffer is not in I, Q, M, or V memory areas.
The data buffer does not fit in the memory area.
The table parameter does not fit into the memory area.
5 The connection is locked in another context. You are
attempting to access the same connection in both the
background (the Main) and in an interrupt routine at the
X X X X
A UDP IP address or port error
7 An instance mismatch: The connection is busy with an-
other instance or the input data does not match the data
stored for the requested connection ID when the request
X X X X
8
The Connection ID does not exist because the connection
has never been created, or the connection was terminat-
ed at your request (using the TDCON instruction).
X X X X
A TCON operation is in progress with this Connection ID.
10 A TDCON operation is in progress with this Connection
X X X
11 A TSEND instruction is in progress with this Connection
X X
12 A temporary communication error has occurred. The
connection cannot be started at this time. Try again later.
X X X
13 The connection partner refused or actively dropped the
connection (the partner issued a disconnect to this CPU).
X X X
14 The connection partner cannot be reached (no answer to
X X X
15 The connection aborted due to inconsistencies. Discon-
nect and reconnect to correct the situation.
X X X X
16 The Connection ID is already in use with a different IP
address, port, or TSAP combination.
X
17 No connection resource is available. All connections of
the requested type (active/passive) are in use.
X
18 The local or remote port number is reserved or the port
number is already in use for another server (passive)
X