beautypg.com

Passive tcp open request, 3-13 passive tcp open request, Response codes results storage area response codes – Omron CS1W-ETN21 User Manual

Page 197

background image

172

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

Results Storage Area Response Codes

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

Response Block

Results Storage Format

Parameters

Socket Option (Command)

The socket option is specified in one byte.

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.

Response code

Description

0000

Normal

Local

TCP port

number

Timeout

value

Remote IP address

Remote TCP

port number

Command

code

Socket option

TCP socket number

27 10

Results storage area

Response

code

Command

code

27 10

Remote IP address

Remote

port number

Response

code