beautypg.com

Active tcp open request, 3-14 active tcp open request, Command block – Omron CS1W-ETN21 User Manual

Page 199

background image

174

Command/Response Reference

Section 7-3

Response Codes

Results Storage Area Response Codes

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

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.

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.

Local TCP

port number

Results storage area

Remote IP

address

Remote TCP

port number

Command

code

Socket option

TCP socket number

27 11