Ouc Instruction Error Codes - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Program instructions
7.3 Communication
7.3.5.2

OUC instruction error codes

The following table lists the Open User Communication (OUC) error codes:
Error code
228
0
No error
1
The data length parameter is greater than the maximum
allowed (1024 bytes).
2
The data buffer is not in I, Q, M, or V memory areas.
3
The data buffer does not fit in the memory area.
4
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
same time.
6
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
was initiated.
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).
9
A TCON operation is in progress with this Connection ID.
10
A TDCON operation is in progress with this Connection
ID.
11
A TSEND instruction is in progress with this Connection
ID.
12
A temporary communication error has occurred. The
connection cannot be started at this time. Try again later.
13
The connection partner refused or actively dropped the
connection (the partner issued a disconnect to this CPU).
14
The connection partner cannot be reached (no answer to
the connect request).
15
The connection aborted due to inconsistencies. Discon-
nect and reconnect to correct the situation.
16
The Connection ID is already in use with a different IP
address, port, or TSAP combination.
17
No connection resource is available. All connections of
the requested type (active/passive) are in use.
18
The local or remote port number is reserved or the port
number is already in use for another server (passive)
connection.
Description
System Manual, V2.3, 07/2017, A5E03822230-AF
T
T
T
T
C
S
R
D
O
E
E
C
N
N
C
O
D
V
N
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents