Omron CS1W-ETN21 Address Information Read, TCP Transitions 4 bytes, Number of Addresses Response

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 221
Image 221

Command/Response Reference

Section 7-3

TCP Transitions (4 bytes)

The TCP connection status is returned as one of the numbers shown in the following table. Refer to Appendix C TCP Status Transitions for a diagram of transitions.

Number

Stage

Status

 

 

 

00 00 00 00

CLOSED

Closed.

 

 

 

00 00 00 01

LISTEN

Waiting for connection.

 

 

 

00 00 00 02

SYN SENT

SYN sent in active status.

 

 

 

00 00 00 03

SYN RECEIVED

SYN received and sent.

 

 

 

00 00 00 04

ESTABLISHED

Already established.

 

 

 

00 00 00 05

CLOSE WAIT

Received FIN, waiting to close.

 

 

 

00 00 00 06

FIN WAIT 1

Completed and FIN sent.

 

 

 

00 00 00 07

CLOSING

Completed and exchanged FIN. Awaiting ACK.

 

 

 

00 00 00 08

LAST ACK

FIN sent and completed. Awaiting ACK.

 

 

 

00 00 00 09

FIN WAIT 2

Close completed and ACK received. Awaiting FIN.

 

 

 

00 00 00 0A

TIME WAIT

After closing, pauses twice the maximum segment

 

 

life (2MSL).

Precautions

All the above values are set to 0 if Ethernet communications functions are stopped due to improper settings in the system setup.

Response Codes

Response code

Description

 

 

0000

Normal

 

 

1001

Command too large

 

 

7-3-28 ADDRESS INFORMATION READ

Reads FINS node addresses and IP addresses

Command Block

27 65

Command code

Response Block

27 65

6 bytes

Command

Response

Number

Address

code

code

of addresses

information

Parameters

Number of Addresses (Response)

The number of pairs of FINS node addresses and IP addresses being returned. The Ethernet Unit is always 0001 (1 decimal).

Address Information

Pairs of FINS node addresses and IP addresses. Each pair requires 6 bytes and has the following configuration.

196

Page 221
Image 221
Omron CS1W-ETN21 Address Information Read, TCP Transitions 4 bytes, Reads Fins node addresses and IP addresses