Fins/tcp connection status read, 3-20 fins/tcp connection status read, Command block response block parameters – Omron CS1W-ETN21 User Manual

Page 208

Advertising
background image

183

Command/Response Reference

Section 7-3

Response Codes

7-3-20 FINS/TCP CONNECTION STATUS READ

Reads the FINS/TCP connection status.

Command Block

Response Block

Parameters

FIFINS/TCP Connection
No. (Command,
Response)

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.

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.

Response code

Description

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

Remote IP address set to 0

Remote TCP port number set to 0

2230

Connection already established with specified remote node

2231

Specified connection number not set as FINS/TCP client in
Unit Setup

2232

Remote node change processing for specified connection
number aborted because change request received during pro-
cessing

27 31

FINS/TCP
connection No.

Command

code

Connection
service

TCP transition

27 31

Command

code

Local TCP

port number

Remote IP

address

Remote TCP

port number

Response

code

Local IP address

FINS/TCP
connection
No.

Advertising