Omron CS1W-ETN21 operation manual Active TCP Open Request, Econnaborted, Econnreset, Tunreach

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 199
Image 199

Command/Response Reference

Section 7-3

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

TCP socket number is out of range.

 

 

 

Local TCP port number is 0.

 

 

 

 

 

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 (connection) is already open or is cur-

 

 

 

rently being opened.

 

 

 

 

 

2211

High traffic at Unit; cannot execute service.

 

 

 

 

Results Storage Area Response Codes

 

 

 

 

 

 

 

Response code

Description

 

 

 

 

 

0000

Normal

 

 

 

 

 

 

003E

Internal buffer cannot be reserved due to high reception load

 

 

 

(ENOBUFS).

 

 

 

 

 

 

0042 (see note)

An error occurred (EMSGSIZE).

 

 

 

 

 

0045

A communication error occurred with the remote node

 

 

 

(ECONNABORTED).

 

 

 

 

 

0049

Duplicated port numbers (EADDRINUSE).

 

 

 

 

 

 

004A (see note)

An error occurred (ECONNREFUSED).

 

 

 

 

 

 

004B (see note)

A communication error occurred with the remote node

 

 

 

(ECONNRESET).

 

 

 

 

 

 

004E (see note)

A parameter error occurred at the remote IP address (ENE-

 

 

 

TUNREACH).

 

 

 

 

 

 

0051 (see note)

A parameter error occurred at the remote IP address (EHOS-

 

 

 

TUNREACH).

 

 

 

 

 

0053

A communication error occurred with the remote node

 

 

 

(ETIMEDOUT). No remote exists.

 

 

 

 

 

0066

Internal memory cannot be allocated; cannot execute service.

 

 

 

 

 

0080

An open request timeout error occurred.

 

 

 

 

 

0081

Socket was closed during opening procedure.

 

 

 

 

 

0082

Connection could not be established with the specified

 

 

 

remote.

 

 

 

 

Note These errors occur only in large multilayered networks.

7-3-14 ACTIVE TCP OPEN REQUEST

Requests processing to open a TCP socket. The socket will be connected to another node.

Command Block

27

11

 

 

 

Command

Results storage area Local TCP

Remote IP

Remote TCP

code

port number

address

port number

 

 

TCP socket number

 

 

 

 

Socket option

 

 

174

Page 199
Image 199
Omron CS1W-ETN21 operation manual Active TCP Open Request, Econnaborted, Econnreset, Tunreach