Tcp Send Request - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

FINS Commands Requesting Socket Services
Response Codes
Results Storage Area
Response Codes
11-3-10

TCP SEND REQUEST

Command Block
Response Block
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
0000
1100
1101
1103
2201
220F
2210
Response code
0000
0016
0040
0042
004B
0080
0081
Requests that data be sent by a TCP socket.
27
13
Command
TCP
code
socket
number
27
13
Command
Response
code
code
Description
Normal
TCP socket number is out of range.
Number of reception bytes is out of range (i.e., over 1982).
The memory area code for the results storage area is out of
range.
Non-zero bit address is specified for the results storage area.
The specified socket is opened as a UDP socket.
The specified socket is receiving data.
The specified socket is not open.
Description
Normal
Connection has not been established due to cable trouble,
etc., and the receive request became an error. (EINVAL)
Received by a socket not connected. (ENOTCONN)
Message size was too large to be stored in the buffer.
(EMSGSIZE)
An error occurred in communications with the remote node.
(ECONNRESET)
A timeout error occurred.
Socket was closed while receiving.
Results storage
Number of
area
bytes sent
Section 11-3
1,982 bytes max.
Data sent

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents