Tcp Send Request - Omron CJ1W-ETN11 Operation Manual

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Command/Response Reference

11-3-16 TCP SEND REQUEST

Command Block
Response Block
Results Storage
Format
Parameters
TCP Socket Number
(Command)
Results Storage Area
(Command)
Number of Bytes Sent
(Command, Results
Storage Area)
Data Sent (Command)
Response Codes
Results Storage Area Response Codes
234
Requests that data be received at a TCP socket.
27
13
Command
TCP
Results storage
code
socket
area
number
27
13
Command
Response
code
code
Response
Number of
code
bytes sent
The TCP socket number to send the 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 216 for details about the variable types and addresses that can be spec-
ified.
The number of bytes in the data sent specified between 1 and 1,984. The
results storage area stores the actual number of bytes sent.
Specifies the data to be sent.
Response code
0000
Normal
0105
Local IP address setting error
0302
CPU Unit error; execution not possible.
1001
Command too large
1002
Command too small
1003
The number of bytes sent does not match the amount of data.
1100
The TCP socket number or number of bytes sent is out of
range.
1101
The variable type for the results storage area is out of range.
1103
Non-zero bit address specified for the results storage area.
220F
The specified socket is sending data.
2210
No connection could be established to the specified socket.
2211
High traffic at Unit; cannot execute service.
Response code
0000
Normal
0020
Connection to the remote socket was broken during transmis-
sion (EPIPE).
Section 11-3
1,984 bytes max.
Number of
Data sent
bytes sent
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents