beautypg.com

Ip address table write, 3-21 ip address table write, Response codes – Omron CS1W-ETN21 User Manual

Page 209: Command block response block parameters

background image

184

Command/Response Reference

Section 7-3

Remote TCP Port Number
(Response)

Specifies the TCP port number for the remote node.

TCP Transitions
(Response)

Specifies the TCP connection status using the following numbers.

For details on TCP status changes, refer to Appendix C TCP Status Transi-
tions
.

Response Codes

7-3-21 IP ADDRESS TABLE WRITE

Writes the IP address table.

Command Block

Response Block

Parameters

Number of Records
(Command)

The number of records to write is specified in hexadecimal between 0000 and
0020 (0 to 32 decimal) in the command. If this value is set to 0, the IP address
table will be cleared so that no records are registered.

Number

Status

Meaning

00000000

CLOSED

Connection closed.

00000001

LISTEN

Waiting for connection.

00000002

SYN SENT

SYN sent in active status.

00000003

SYN RECEIVED

SYN received and sent.

00000004

ESTABLISHED

Already established.

00000005

CLOSE WAIT

FIN received and waiting for completion.

00000006

FIN WAIT 1

Completed and FIN sent.

00000007

CLOSING

Completed and exchanged FIN. Awaiting ACK.

00000008

LAST ACK

FIN sent and completed. Awaiting ACK.

00000009

FIN WAIT 2

Completed and ACK received. Awaiting FIN.

0000000A

TIME WAIT

After closing, pauses twice the maximum seg-
ment life (2MSL).

Response code

Description

0000

Normal

0105

Node address setting error

Local IP address setting error

0302

CPU Unit error; execution not possible.

1001

Command too large

1002

Command too small

1100

Connection number not set from 1 to 16

Number

of records

IP address
table records

Command

code

27 50

IP address
table records

6 bytes

6 bytes

Command

code

Response

code

27 50