Ethernet Units Operation Manual

223
Command/Response Reference Section 11-3
Response Codes
11-3-8 ERROR LOG CLEAR
Clears the number of records stored in the Ethernet Unit error log.
Command Block
Response Block
Response Codes
11-3-9 UDP OPEN REQUEST
Requests processing to open a socket.
Command Block
Response Block
Results Storage
Format
Parameters
UDP Socket Number
(Command)
The UDP socket number to be opened 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.
Local UDP Port Number
(Command)
The UDP port number for communications with the socket is specified as 2
bytes (0 cannot be specified). Packets received at this port are distributed to
Response code Description
0000 Normal
1001 Command too large
1002 Command too small
1103 Beginning record number is out of range
110C The number of read records is 0.
0321
Command
code
0321
Command
code
Response
code
Response code Description
0000 Normal
1001 Command too large
Command
code
0127
UDP
socket
number
Results storage area Local UDP
port number
0127
Command
code
Response
code
Results storage
response code