![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247203.webp)
187
11-3-3 UDP OPEN REQUEST
Requests processing to open a socket.
Command Block
Command
code
01
27
UDP
socket
number
Results storage area
Local UDP
port number
Response Block
01
27
Command
code
Response
code
Results Storage Format
Results storage
response code
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.
Local UDP Port Number (Command): The UDP port number for communica-
tions with the socket is specified as two bytes (0 cannot be specified). Packets
received at this port are distributed to the socket specified in the UDP socket
number, and send packets are distributed from the UDP socket to this port. The
port number specified as the FINS UDP port number (default value 9600) cannot
be used.
Note Do not designate the port that is being used as the UDP port number for FINS
(default: 9600).
Response code
Description
0000
Normal
1100
UDP socket number is out of range.
Local UDP port number is zero.
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.
220F
Specified socket is already open.
Response code
Description
0000
Normal
003E
Cannot secure the internal buffer. (ENOBUFS)
0049
Duplicate UDP port number. (EADDRINUSE)
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: ......