Omron CS1W-ETN21 FINS/TCP Connection Status Read, 2232, Reads the FINS/TCP connection status

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 208
Image 208

 

Command/Response Reference

Section 7-3

Response Codes

 

 

 

 

 

 

 

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

 

 

 

 

7-3-20 FINS/TCP CONNECTION STATUS READ

Reads the FINS/TCP connection status.

Command Block

27

31

 

Command

FINS/TCP

code

connection No.

Response Block

27

31

 

 

 

 

 

 

 

 

Command

Response

FINS/TCP

Connection

Local IP address

Local TCP

Remote IP

Remote TCP

TCP transition

code

code

connection

service

 

port number

address

port number

 

 

 

 

No.

 

 

 

 

 

 

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

Specifies the service that is being used for the FINS/TCP connection as a

(Response)

number.

 

0003: FINS/TCP server

 

0004: FINS/TCP client

Local IP Address

Specifies the IP address for the local node in hexadecimal.

(Response)

 

Local TCP Port Number

Specifies the TCP port number for the local node.

(Response)

 

Remote IP Address

Specifies the IP address for the remote node in hexadecimal.

(Response)

 

183

Page 208
Image 208
Omron CS1W-ETN21 operation manual FINS/TCP Connection Status Read, 2232, Reads the FINS/TCP connection status