Libraries
9.4 Open user communication library
S7-200 SMART
524 System Manual, V2.3, 07/2017, A5E03822230-AF
Open user communication library instruction error codes
The following table lists the Open User Communication (OUC) library (Page 498) instruction
error codes:
1 The data length input parameter is greater than the max-
imum allowed (1024 bytes).
X X
The data buffer is not in I, Q, M, or V memory areas.
3 The data buffer does not fit in the memory area. X X
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 program organ-
izational unit (POU) at the same time.
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 by your program using the DISCONNECT instruction.
X X X X
9 A TCP_CONNECT, ISO_CONNECT, or UDP_CONNECT
instruction is in progress with this Connection ID.
X X X
10 A DISCONNECT instruction is in progress with this Con-
X X X
11 A TCP_SEND or UDP_SEND instruction is in progress
X X
12 A temporary communication error has occurred. The
connection cannot be started at this time. Try again.
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 CPU cannot reach the connection partner. There was
no answer to the connect request.
X X X
15 The CPU aborted the connection due to inconsistencies.
Disconnect 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