Address information read, 3-28 address information read, Precautions – Omron CS1W-ETN21 User Manual

Page 221: Response codes, Command block response block parameters

Advertising
background image

196

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.

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

7-3-28 ADDRESS INFORMATION READ

Reads FINS node addresses and IP addresses

Command Block

Response Block

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.

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).

Response code

Description

0000

Normal

1001

Command too large

27 65

Command

code

27 65

Number

of addresses

Address

information

Response

code

Command

code

6 bytes

Advertising