Udp Receive Request - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Command/Response Reference
Results Storage Area Response Codes

7-3-10 UDP RECEIVE REQUEST

Command Block
Response Block
Results Storage Format
Parameters
Socket Option (Command)
UDP Socket Number
(Command)
170
Response code
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
0000
Normal
003E
Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0049
Duplicate UDP port number (EADDRINUSE).
Requests that data be sent from a UDP socket.
27 02
Results storage area
Command
code
UDP socket number
Socket option
27 02
Command
Response
code
code
Response
Source IP address
Source UDP
code
The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
The UDP socket number to receive data specified as 1 byte between 1 and 8.
Description
Description
Number
Timeout
of reception
value
bytes
Received bytes
Number of
Received data
port number
reception
bytes
Section 7-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents