Ip Address Table Write - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Command/Response Reference
Parameters
FIFINS/TCP Connection
No. (Command,
Response)
Connection Service
(Response)
Local IP Address
(Response)
Local TCP Port Number
(Response)
Remote IP Address
(Response)
Remote TCP Port Number
(Response)
TCP Transitions
(Response)
Response Codes

7-3-21 IP ADDRESS TABLE WRITE

Command: Specifies, in two bytes, the FINS/TCP connection number (1 to
16) for which the status is to be read.
Response: Specifies the FINS/TCP connection number (1 to 16) for which the
status was read.
Specifies the service that is being used for the FINS/TCP connection as a
number.
0003: FINS/TCP server
0004: FINS/TCP client
Specifies the IP address for the local node in hexadecimal.
Specifies the TCP port number for the local node.
Specifies the IP address for the remote node in hexadecimal.
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
00000000
CLOSED
00000001
LISTEN
00000002
SYN SENT
00000003
SYN RECEIVED
00000004
ESTABLISHED
00000005
CLOSE WAIT
00000006
FIN WAIT 1
00000007
CLOSING
00000008
LAST ACK
00000009
FIN WAIT 2
0000000A
TIME WAIT
Response code
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
Writes the IP address table.
Meaning
Connection closed.
Waiting for connection.
SYN sent in active status.
SYN received and sent.
Already established.
FIN received and waiting for completion.
Completed and FIN sent.
Completed and exchanged FIN. Awaiting ACK.
FIN sent and completed. Awaiting ACK.
Completed and ACK received. Awaiting FIN.
After closing, pauses twice the maximum seg-
ment life (2MSL).
Description
Section 7-3
187

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents