Omron CS1W-ETN21 IP Address Table Write, Remote TCP Port Number Response TCP Transitions Response

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 209
Image 209

Command/Response Reference

Section 7-3

Remote TCP Port Number (Response)

TCP Transitions (Response)

Response Codes

Specifies the TCP port number for the remote node.

Specifies the TCP connection status using the following numbers.

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

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

 

 

7-3-21 IP ADDRESS TABLE WRITE

Writes the IP address table.

Command Block

27 50

 

6 bytes

Command

Number

IP address

code

of records

table records

6 bytes

IP address table records

Response Block

27 50

Parameters

Number of Records (Command)

Command Response

code code

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.

184

Page 209
Image 209
Omron CS1W-ETN21 IP Address Table Write, Remote TCP Port Number Response TCP Transitions Response, Number Status Meaning