Results Storage Area Response Codes - Omron CS1W-ETN01 Operation Manuals

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

Results Storage Area Response Codes

Main code
Sub-
code
22: Status error
0F
(operating mode
disagreement)
10
11
23: Environment
05
error (no such
Unit)
07
Network Relay Errors
Bit
First word
Bit
Second word
Bit
Third word

10-7 Results Storage Area Response Codes

Response
UNIX error
code
message
0003
ESRCH
0006
ENXIO
0009
EBADF
000D
EACCES
186
Probable cause
The same socket service is already in
progress at the specified socket number.
The specified socket is not open.
The internal buffers are full because there
is too much traffic at the local node,
preventing data from being sent.
IP address conversion failed.
IP address conversion is set for automatic
conversion only.
For network relay errors using SEND(090) or RECV(098), check the path of the
command using the routing tables and the nature of the error using the response
code to eliminate the cause of the error.
For network relay errors using CMND(490), the location of the relay error is re-
corded in the second through third words of the response, as shown below.
1st byte
15 14 13 12
11
10
0
Command code
15 14 13 12
11
10
Main response code (MRES)
1: Relay Error Flag
15 14 13 12
11
10
Error network address
The response codes stored in the Results Storage Area can be used to trouble-
shoot 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 Storage 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 in-
volved 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 re-
mote IP address for active TCP
open)
Use the socket status flag in PC memory to be
sure that socket service has finished before
starting services again.
Open the socket. For TCP sockets, be sure to
wait until connection is made.
Correct the user application to reduce traffic at
the Ethernet Unit.
Check the IP address and subnet mask in the
System Setup and be sure that settings are
correct.
Check the mode settings in the System Setup.
This error will be generated for the READ IP
ADDRESS command only.
2nd byte
9
8
7
6
5
4
3
9
8
7
6
5
4
3
Sub response code (SRES)
1: PC Non-fatal Error Flag
1: PC Fatal Error Flag
9
8
7
6
5
4
3
Error node number
Close the local socket and try reopening it.
Check the IP address of the remote node and
try to reconnect.
Section
Remedy
2
1
0
0
0
2
1
0
2
1
0
Probable remedy
10-7

Advertisement

Table of Contents
loading

Table of Contents