Address Information Read - Omron SYSMAC CS1W-ETN21 Operation Manual

100base-tx ethernet units construction of networks
Hide thumbs Also See for SYSMAC CS1W-ETN21:
Table of Contents

Advertisement

Command/Response Reference
Precautions
Response Codes

7-3-28 ADDRESS INFORMATION READ

Command Block
Response Block
Remote IP Address (4 bytes)
The remote IP address allocated to the socket.
Remote Port Number (4 bytes)
The remote port number allocated to the socket.
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
00 00 00 00
CLOSED
00 00 00 01
LISTEN
00 00 00 02
SYN SENT
00 00 00 03
SYN RECEIVED SYN received and sent.
00 00 00 04
ESTABLISHED
00 00 00 05
CLOSE WAIT
00 00 00 06
FIN WAIT 1
00 00 00 07
CLOSING
00 00 00 08
LAST ACK
00 00 00 09
FIN WAIT 2
00 00 00 0A TIME WAIT
All the above values are set to 0 if Ethernet communications functions are
stopped due to improper settings in the system setup.
Response code
0000
Normal
1001
Command too large
Reads FINS node addresses and IP addresses
27 65
Command
code
27 65
Command
Response
Number
code
code
of addresses
Closed.
Waiting for connection.
SYN sent in active status.
Already established.
Received FIN, waiting to close.
Completed and FIN sent.
Completed and exchanged FIN. Awaiting ACK.
FIN sent and completed. Awaiting ACK.
Close completed and ACK received. Awaiting FIN.
After closing, pauses twice the maximum segment
life (2MSL).
Description
6 bytes
Address
information
Section 7-3
Status
199

Advertisement

Table of Contents
loading

Table of Contents