Справочник Пользователя для Omron CS1W-ETN11

Скачать
Страница из 317
122
Using Socket Services with Socket Service Request Switches
Section 6-2
Note These response codes will be returned only on large, multilevel networks.
TCP Socket Close Request
6-2-3
Socket Service Request Switches
Socket Service Request Switches are manipulated to request socket ser-
vices. These bits are called Socket Service Request Switches, and are turned
ON in the CPU Unit to request socket services through the Ethernet Unit.
The Socket Service Request Switches are allocated in the CPU Bus Unit Area
in the CPU Area starting at the word n+ 19. The value of n can be calculated
from the unit number as follows:
n = 1500 + (25 x unit number)
110C
Request Switch turned ON during other processing.
220F
Specified socket is already processing a send request.
2210
The specified socket is not open.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used for 
another socket.
0020
Connection with remote socket broken during send (EPIPE).
003E
Internal buffer cannot be obtained due to high reception traffic 
(ENOBUFS).
0042 
(See note.)
The remote IP address is a broadcast address and the number of 
bytes to send is greater than 1,472 bytes (EMSGSIZE).
0044 
(See note.)
ICMP data received (ENOPROTOOPT).
0045 
(See note.)
Error in communications with remote node (ECONNABORTED).
004A 
(See note.)
Error in communications with remote node (ECONNREFUSED)
004B 
(See note.)
Error in communications with remote node (ECONNREFUSED)
004E
(See note.)
Remote IP address parameter error (ENETUNREACH).
004F 
(See note.)
ICMP data received (EHOSTDOWN).
0051 
(See note.)
Remote IP address parameter error (EHOSTUNREACH).
0053 
(See note.)
Error in communications with remote node (ETIMEDOUT).
0081
The specified socket was closed during send processing.
Response 
code
Meaning
0000
Normal end
2210
The specified socket is not open.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used for 
another socket.
0302
CPU Unit error; cannot execute.
Response 
code
Meaning