Passive Tcp Open Request - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Command/Response Reference
Parameters
Socket Option (Command)
UDP Socket Number
(Command)
Results Storage Area
(Command)
Response Codes
Results Storage Area Response Codes

7-3-13 PASSIVE TCP OPEN REQUEST

Command Block
Response Block
174
The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
The UDP socket number to be closed 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.
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
1100
UDP socket number 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.
2210
Specified socket is not open.
2211
High traffic at Unit; cannot execute service.
2240
Socket service mode is incorrect; cannot execute service.
(With unit version 1.5 or later, the high-speed socket service
option was enabled and a socket service was used with a
CMND(490) instruction.)
Response code
0000
Normal
Requests processing to open a TCP socket. The socket will wait to be con-
nected to another node.
27 10
Command
Results storage area
code
TCP socket number
Socket option
27 10
Command
Response
code
code
Description
Description
Timeout
Local
Remote IP address
value
TCP port
number
Section 7-3
Remote TCP
port number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents