Open User Communication Library Instruction Error Codes - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Libraries
9.4 Open user communication library
9.4.3

Open user communication library instruction error codes

The following table lists the Open User Communication (OUC) library (Page 498) instruction
error codes:
Error code
524
0
No error
1
The data length input parameter is greater than the max-
imum 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.
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.
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 by your program using the DISCONNECT instruction.
9
A TCP_CONNECT, ISO_CONNECT, or UDP_CONNECT
instruction is in progress with this Connection ID.
10
A DISCONNECT instruction is in progress with this Con-
nection ID.
11
A TCP_SEND or UDP_SEND 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.
13
The connection partner refused or actively dropped the
connection. The partner issued a disconnect to this CPU.
14
The CPU cannot reach the connection partner. There was
no answer to the connect request.
15
The CPU aborted the connection due to inconsistencies.
Disconnect and reconnect to correct the situation.
16
The Connection ID is already in use with a different IP
address, port, or TSAP combination.
Description
System Manual, V2.3, 07/2017, A5E03822230-AF
C
S
R
D
E
E
I
O
N
C
S
N
D
V
C
N
O
E
N
C
N
T
E
C
T
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