EasyManua.ls Logo

Siemens SIMATIC S7 - OUC Instruction Error Codes

Siemens SIMATIC S7
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program instructions
7.3 Communication
S7-200 SMART
228 System Manual, V2.3, 07/2017, A5E03822230-AF
7.3.5.2
OUC instruction error codes
The following table lists the Open User Communication (OUC) error codes:
Error code
Description
T
C
O
N
T
S
E
N
D
T
R
E
C
V
T
D
C
O
N
0
No error
X
X
X
X
1 The data length parameter is greater than the maximum
allowed (1024 bytes).
X X
2
The data buffer is not in I, Q, M, or V memory areas.
X
X
3
The data buffer does not fit in the memory area.
X
X
4
The table parameter does not fit into the memory area.
X
X
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 routine at the
same time.
X X X X
6
A UDP IP address or port error
X
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
was initiated.
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
9
A TCON operation is in progress with this Connection ID.
X
X
X
10 A TDCON operation is in progress with this Connection
ID.
X X X
11 A TSEND instruction is in progress with this Connection
ID.
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
the connect request).
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)
connection.
X

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals