Справочник Пользователя для Omron CS1W-ETN11

Скачать
Страница из 317
224
Command/Response Reference
Section 11-3
the socket specified in the UDP socket number, and send packets are distrib-
uted from the UDP socket to this port. The port number specified as the FINS
UDP port number (default value 9600) cannot be used.
Response Codes
Results Storage Area Response Codes
11-3-10 UDP RECEIVE REQUEST
Requests that data be sent from a UDP socket.
Command Block
Response Block
Results Storage 
Format
Parameters
UDP Socket Number 
(Command)
The UDP socket number to receive data 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 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. 
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).
02
27
Command 
code
UDP 
socket 
number
Results storage area
Number of 
reception 
bytes
Timeout 
value
02
27
Command 
code
Response 
code
code
Results 
Source IP 
Source 
Number of 
storage address
UDP 
port 
reception 
response number
bytes
Received data
Received bytes