194
Number of Reception Bytes (Command, Results Storage Area): The maxi-
mum number of bytes of data to be received is given in the command. The num-
ber of bytes of data received will be stored in the results storage area. Up to
1,982 bytes can be specified.
Reception of 0 bytes indicates that the communications were forcibly cut by the
remote node. Close the socket.
Note If more than the specified number of bytes is received, only the specified amount
will be stored and the remainder will be read when the next data set is received.
Timeout Value (Command): The maximum control time between receiving the
receive request and storing the result. If this set time limit is exceeded, the code
for a timeout error (0080) will be set as the results storage response code. The
value is set in units of 0.1 s. The timeout time is unlimited if the value is set to 0.
Received Data (Results Storage Area): Stores the received data.
Response code
Description
0000
Normal
1100
TCP socket number is out of range.
Number of reception bytes is out of range (i.e., over 1982).
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 UDP socket.
220F
The specified socket is receiving data.
2210
The specified socket is not open.
Response code
Description
0000
Normal
0016
Connection has not been established due to cable trouble,
etc., and the receive request became an error. (EINVAL)
0040
Received by a socket not connected. (ENOTCONN)
0042
Message size was too large to be stored in the buffer.
(EMSGSIZE)
004B
An error occurred in communications with the remote node.
(ECONNRESET)
0080
A timeout error occurred.
0081
Socket was closed while receiving.
11-3-10
TCP SEND REQUEST
Requests that data be sent by a TCP socket.
Command Block
13
27
1,982 bytes max.
Command
code
TCP
socket
number
Results storage
area
Number of
bytes sent
Data sent
Response Block
13
27
Command
code
Response
code
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: ......