Udp receive request, 3-10 udp receive request – Omron CS1W-ETN21 User Manual
Page 193
![background image](/manuals/203937/193/background.png)
168
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.
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 158 for details about the variable types and addresses that can be spec-
ified.
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.
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 address
Response
code
Source UDP
port number
Number of
reception
bytes
Received data
Received bytes