Tcp Receive Request - Omron SYSMAC CS1W-ETN21 Operation Manual

100base-tx ethernet units construction of networks
Hide thumbs Also See for SYSMAC CS1W-ETN21:
Table of Contents

Advertisement

Command/Response Reference

7-3-15 TCP RECEIVE REQUEST

Command Block
Response Block
Results Storage Format
Parameters
Socket Option (Command)
TCP Socket Number
(Command)
Results Storage Area
(Command)
Number of Reception
Bytes (Command, Results
Storage Area)
Timeout Value
(Command)
Received Data (Results
Storage Area)
180
Requests that data be sent from a TCP socket.
27 12
Command
Results storage area
code
TCP socket number
Socket option
27 12
Command
Response
code
code
Received bytes
Response
Number of
Received data
code
reception bytes
The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
The TCP socket number to receive data specified as 1 byte between 1 and 8.
The area in which the results of the command execution are stored. The first
byte specifies the memory area and data type (variable type). The 2nd to 4th
bytes specify the beginning address of the results storage area. Refer to
page 160 for details about the variable types and addresses that can be spec-
ified.
The maximum number of bytes of data to be received is given in the com-
mand. The number of bytes of data received will be stored in the results stor-
age area. Up to 1,984 bytes can be specified.
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 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.
Stores the received data.
Number of
Timeout
reception bytes
value
Section 7-3

Advertisement

Table of Contents
loading

Table of Contents