138
Note If the data length in the receive data request is erroneously set smaller than the
actual length of the data, all received data exceeding the specified data length
will be discarded.
10-2 Using Socket Services
With the C200HX/HG/HE, socket services are controlled by FINS commands to
the PC Card Unit. For details regarding FINS commands and responses, refer to
Section 9 FINS Commands.
10-2-1 FINS Commands Used With Socket Services
Socket services are executed by having the CMCR instruction executed in the
C200HX/HG/HE program to issue a FINS command to the PC Card Unit
requesting socket services.
Set the FINS node address as follows: network to 0, node to 0, and Unit to $10.
PC Card Unit
Other node
Transmission processing
FINS command
requesting
socket services
FINS response
to request
10-2-2 Procedure for Using Socket Services
The PC Card Unit has four sockets that can be used for TCP or UDP. Open,
close, send, and receive processes are available for communications using
sockets.
Open
Enables communications on a specified socket. A socket must be opened
before it can be used for socket services. Opening a TCP socket establishes a
connection.
Close
Ends use of the socket. Breaks the connection for a TCP socket.
Send
Sends data from a specified open socket.
Receive
Specifies an open socket and receives data from that socket.
These processes are carried out by using the CMCR instruction to send FINS
commands to the PC Card Unit. The process from sending a request for proces-
sing to completion is shown in the following illustrations.
Using Socket Services
Section 10-2
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: ......