Omron CS1W-ETN21 operation manual Passive TCP Open Request, Response code Description 0000 Normal

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 197
Image 197

Command/Response Reference

Section 7-3

Results Storage Area (Command)

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 158 for details about the variable types and addresses that can be spec- ified.

Response Codes

Response code

Description

 

 

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.

 

 

Results Storage Area Response Codes

Response code

Description

 

 

0000

Normal

 

 

7-3-13 PASSIVE TCP OPEN REQUEST

Requests processing to open a TCP socket. The socket will wait to be con- nected to another node.

Command Block

27

10

 

 

 

 

Command

Results storage area

Local

Timeout

Remote IP address Remote TCP

code

TCP socket number

TCP port

value

port number

 

 

number

 

 

Socket option

Response Block

27 10

Command Response

code code

Results Storage Format

Response

Remote IP address

Remote

code

 

port number

Parameters

Socket Option (Command) The socket option is specified in one byte.

172

Page 197
Image 197
Omron CS1W-ETN21 operation manual Passive TCP Open Request, Response code Description 0000 Normal