Ethernet Units Operation Manual

226
Command/Response Reference Section 11-3
Command Block
Response Block
Results Storage
Format
Parameters
UDP Socket Number
(Command)
The UDP socket number to send the data specified as 2 bytes between 1 and
8.
Results Storage Area
(Command)
The area in which the result of the command execution is 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 specified.
Destination IP Address
(Command)
The IP address of the node to which data is being sent.
Destination UDP Port
Number (Command)
The UDP port number of the node to which data is being sent.
Number of Bytes Sent
(Command, Results
Storage Area)
The number of bytes in the data sent by this command. Up to 1,984 bytes can
be specified, or up to 1,472 bytes can be specified if the broadcast address is
specified as the send destination. The results storage area stores the actual
number of bytes sent.
Send Data (Command) Specifies the data sent to the remote node.
Response Codes
0327
Command
code
UDP
socket
number
Results storage area Destination IP
address
Destination
UDP port
number
Number of
bytes sent
1984 bytes max.
Send data
0327
Command
code
Response
code
Response
code
Number of
bytes sent
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
1003 The number of bytes sent does not match the sent data
length.
1100 UDP socket number or number of bytes sent is out of range.
The destination IP address is 0.
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 currently sending.
2210 The specified socket is not open.
2211 High traffic at Unit; cannot execute service.