170
Command/Response Reference Section 7-3
Results Storage Area Response Codes
7-3-10 UDP RECEIVE REQUEST
Requests that data be sent from a UDP socket.
Command Block
Response Block
Results Storage Format
Parameters
Socket Option (Command) The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
UDP Socket Number
(Command)
The UDP socket number to receive data specified as 1 byte between 1 and 8.
1002 Command too small.
1100 UDP socket number is out of range.
Local UDP port number is 0.
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 Specified socket is already open or is being closed.
2211 High traffic at Unit; cannot execute service.
2240 Socket service mode is incorrect; cannot execute service.
(With unit version 1.5 or later, the high-speed socket service
option was enabled and a socket service was used with a
CMND(490) instruction.)
Response code Description
0000 Normal
003E Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0049 Duplicate UDP port number (EADDRINUSE).
Response code Description
Number
of reception
bytes
Timeout
value
Socket option
27 02
Command
code
UDP socket number
Results storage area
Response
code
Command
code
27 02
Source IP addressResponse
code
Source UDP
port number
Number of
reception
bytes
Received data
Received bytes