![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247205.webp)
189
Response code
Description
0000
Normal
1100
UDP socket number or number of reception bytes is out of
range.
1101
The memory area code for the results storage area is out of
range.
1103
Non-zero bit address is specified for the results storage area.
2201
The specified socket is opened as a TCP socket.
220F
The specified socket is currently receiving data.
2210
The specified socket is not open.
Response code
Description
0000
Normal
0042
Message size was too large to be stored in the buffer.
(EMSGSIZE)
0080
A timeout error occurred.
0081
The specified socket was closed while receiving data.
11-3-5 UDP SEND REQUEST
Requests that data be sent by a UDP socket.
Command Block
03
27
Command
code
UDP
socket
number
Results storage area
Destination IP
address
Destination
UDP port
number
Number of
bytes sent
1982 bytes max.
Send data
Response Block
03
27
Command
code
Response
code
Results Storage Format
Response
code
Number of
bytes sent
Parameters
UDP Socket Number (Command): Specify the UDP socket number to be
opened as two bytes between 1 and 4.
Results Storage Area (Command): The words 0 to 255 and 256 to 511 of the
memory area, words 0 to 6143 of the data memory, and words 0 to 6143 (each
bank) of the expansion data memory can be used. However, do not designate
the special auxiliary area. Refer to 11-1-4 Memory Area Designations. When a
bank that does not have expansion data memory is designated, the Results
Storage Area Error Flag will turn ON.
Destination IP Address (Command): Specifies in hexadecimal the IP address
of the node to which data is being sent. For broadcasting, set everything to “1” for
the host address.
Destination UDP Port Number (Command): Specifies in hexadecimal 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,982 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.
Response Codes
Results Storage Area
Response Codes
FINS Commands Requesting Socket Services
Section 11-3
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......