Ethernet Units Operation Manual

233
Command/Response Reference Section 11-3
page 216 for details about the variable types and addresses that can be spec-
ified.
Number of Reception
Bytes (Command, Results
Storage Area)
The maximum number of bytes of data to be received is given in the com-
mand. The number of bytes of data received will be stored in the results stor-
age area. Up to 1,984 bytes can be specified.
Timeout Value (Command) The maximum control time between receiving the receive request and storing
the result. If this set time limit is exceeded, the code for a timeout error will be
set as the results storage response code. The value is set in units of 0.1 s.
The timeout time is unlimited if the value is set to 0.
Received Data (Results
Storage Area)
Stores the received data.
Response Codes
Results Storage Area Response Codes
Note These errors occur only in large multilayered networks.
Response code Description
0000 Normal
0105 Local IP address setting error
0302 CPU Unit error; execution not possible.
1001 Command too large
1002 Command too small
1100 TCP socket number or number of reception bytes is out of
range.
1101 The variable type for the results storage area is out of range.
1103 Non-zero bit address specified for the results storage area.
220F The specified socket is receiving data.
2210 No connection could be established to the specified socket.
2211 High traffic at Unit; cannot execute service.
Response code Description
0000 Normal
003E Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0042 (See note.) Received ICMP data (EMSGSIZE).
0044 (See note.) Received ICMP data (ENOPROTOOPT).
0045 (See note.) A communication error occurred with the remote node
(ECONNABORTED).
004B A communication error occurred with the remote node
(ECONNRESET).
004E (See note.) Incorrect destination IP address (ENETUNREACH).
No network number in IP router table.
Router incorrectly set.
004F (See note.) Received ICMP data (EHOSTDOWN).
0051 (See note.) Received ICMP data (EHOSTUNREACH).
Router incorrectly set.
0053 A communications error occurred with the remote node
(ETIMEDOUT).
0066 Internal memory cannot be allocated; cannot execute service.
0080 A receive request timeout error occurred.
0081 Socket was closed while receiving.