Справочник Пользователя для Omron CS1W-ETN11
232
Command/Response Reference
Section 11-3
Results Storage Area Response Codes
Note These errors occur only in large multilayered networks.
11-3-15 TCP RECEIVE REQUEST
Requests that data be sent from a TCP socket.
Command Block
Response Block
Results Storage
Format
Format
Parameters
TCP Socket Number
(Command)
(Command)
The TCP socket number to receive data specified as 2 bytes between 1 and 8.
Results Storage Area
(Command)
(Command)
The area in which the results of the command execution are stored. The first
byte specifies the memory area and data type (variable type). The 2nd to 4th
bytes specify the beginning address of the results storage area. Refer to
byte specifies the memory area and data type (variable type). The 2nd to 4th
bytes specify the beginning address of the results storage area. Refer to
Response code
Description
0000
Normal
000D
A parameter error occurred at the remote IP address
(EACCES).
(EACCES).
003E
Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
(ENOBUFS).
0042 (See note.)
An error occurred (EMSGSIZE).
0044
Received ICMP data (ENOPROTOOPT).
0045
Local socket closed (ECONNABORTED).
0049
Duplicated port numbers (EADDRINUSE).
004A
An error occurred (ECONNREFUSED).
Passive remote is not available.
Passive remote is not available.
004B (See note.)
A communication error occurred with the remote node
(ECONNRESET).
(ECONNRESET).
004C
A parameter error occurred at the remote IP address (EAD-
DRNOTAVAIL).
A parameter was specified incorrectly.
An attempt was made to actively open local TCP port.
DRNOTAVAIL).
A parameter was specified incorrectly.
An attempt was made to actively open local TCP port.
004E
A parameter error occurred at the remote IP address
(ENETUNREACH). No network number in IP router table or
incorrect router setting.
(ENETUNREACH). No network number in IP router table or
incorrect router setting.
0051
A parameter error occurred at the remote IP address
(EHOSTUNREACH). Incorrect router setting.
(EHOSTUNREACH). Incorrect router setting.
0053
A communication error occurred with the remote node
(ETIMEDOUT). No remote exists.
(ETIMEDOUT). No remote exists.
0081
Socket was closed during opening procedure.
12
27
Command
code
code
Results storage
area
area
TCP
socket
number
socket
number
Number of
reception
bytes
reception
bytes
Timeout
value
value
12
27
Command
code
code
Response
code
code
Received bytes
Response
code
code
Number of
reception
bytes
reception
bytes
Received data