Fins/Tcp Connection Status Read: 2731 - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

FINS Communications

FINS/TCP CONNECTION STATUS READ: 2731

Command Block
Response Block
27 31
Command
Response
code
code
Parameters
Reads the FINS/TCP connection status.
27 31
Command
FINS/TCP
code
connection No.
FINS/TCP
Connection
Local IP address
connection
service
No.
FIFINS/TCP Connection No. (Command, Response)
Command: Specifies, in two bytes, the FINS/TCP connection number (1 to 3)
for which the status is to be read.
Response: Specifies the FINS/TCP connection number (1 to 3) for which the
status was read.
Connection Service (Response)
Specifies the service that is being used for the FINS/TCP connection as a
number.
0003: FINS/TCP server
0004: FINS/TCP client
Local IP Address (Response)
Specifies the IP address for the local node in hexadecimal.
Local TCP Port Number (Response)
Specifies the TCP port number for the local node.
Remote IP Address (Response)
Specifies the IP address for the remote node in hexadecimal.
Remote TCP Port Number (Response)
Specifies the TCP port number for the remote node.
TCP Transitions (Response)
Specifies the TCP connection status using the following numbers.
For details on TCP status changes, refer to Appendix H 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
Local TCP
Remote IP
Remote TCP
port number
address
port number
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.
Section 6-5
TCP transition
185

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents