Results Storage Area Response Codes - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

Results Storage Area Response Codes

10-7 Results Storage Area Response Codes

Response
UNIX error
code
message
0003
ESRCH
0006
ENXIO
0009
EBADF
000D
EACCES
000E
EFAULT
0011
EEXIST
0016
EINVAL
0018
EMFILE
0020
EPIPE
003C
EPROTONO-
SUPPORT
003D
EPROTOTYPE
003E
ENOBUFS
003F
EISCONN
0040
ENOTCONN
0041
EALREADY
0042
EMSGSIZE
210
The response codes stored in the Results Storage Area can be used to trou-
bleshoot socket service problems. Refer to 6-2 Using Socket Services with
Socket Service Request Switches or 6-3 Using Socket Services with
CMND(490) for the location of the response codes stored in the Results Stor-
age Area.
The UNIX socket service error messages corresponding to the response
codes are given in the following table. Refer to the documentation for the
devices involved when communicating between an Ethernet Unit and other
devices.
Description
No such process
No such device or address
Bad file number (incorrect socket
specification)
Permission denied
(Broadcast address specified for
remote IP address for active TCP
open)
Bad address (copy failed between
kernel and user area)
File exists
Invalid argument (socket library
argument error)
Too many open files (More than 32
sockets)
Broken pipe (remote node closed
socket)
Protocol not supported (protocol
other than UDP, TCP, or RAW speci-
fied)
Protocol wrong type for socket
No buffer space available
Socket is already connected (con-
nection attempted to open socket)
Socket is not connected (send
attempted to closed socket)
Operation already in progress (con-
nection attempted to existing non-
block connection)
Message too long
Probable remedy
Close the local socket and try reopening it.
Check the IP address of the remote node and
try to reconnect.
Close the local socket and try reopening it.
Close the local socket.
Close the local socket and try reopening it.
There is too much load (traffic) on the Ethernet
Unit. Check your user applications.
Close the local socket and try reopening it.
Check the length of send data.
UDP or TCP:
1 to 1,982 bytes
UDP broadcasts: 1 to 1,472 bytes
Section 10-7

Advertisement

Table of Contents
loading

Table of Contents