Omron CS1W-ETN11 Network Card User Manual


 
227
Command/Response Reference Section 11-3
Results Storage Area Response Codes
11-3-12 UDP CLOSE REQUEST
Requests processing to close a socket.
Command Block
Response Block
Results Storage
Format
Parameters
UDP Socket Number
(Command)
The UDP socket number to be closed specified as 2 bytes between 1 and 8.
Results Storage Area
(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
page 216 for details about the variable types and addresses that can be spec-
ified.
Response Codes
Response code Description
0000 Normal
003E Internal buffer cannot be reserved due to high reception load
(ENOBUFS).
0042 The send destination IP address is a broadcast address and
the number of bytes sent exceeds 1,472. (EMSGSIZE)
004C Incorrect network number.
Incorrect destination IP address (EADDRNOTAVAIL).
004E Incorrect destination IP address (ENETUNREACH).
No network number in IP router table.
Router incorrectly set.
0051 Router incorrectly specified.
Incorrect destination IP address (EHOSTUNREACH).
0427
Command
code
UDP
socket
number
Results storage area
0427
Command
code
Response
code
Response
code
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 UDP socket number 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.