beautypg.com

ProSoft Technology MVI69-GEC User Manual

Page 34

background image

Contents

MVI69-GEC ♦ CompactLogix or MicroLogix Platform

User Manual

Page 34 of 86

ProSoft Technology, Inc.

February 18, 2014

The parameter will be set to a value of 3 when the connection is being closed. This
operation can be initiated from either the client using the Client control word in the output
image or by the server.

The state member of the object can have one of the following values:

State Value

Definition

-1

Client is waiting for a connection request.

0

The client is waiting to establish the connection with the server.

1

The client has established a connection with the server and can send and
receive data.

1000

The client has initiated a close operation on the connection.

1001

The client is waiting for the close on the connection to complete.

1002

The client is issuing an abort (reset) on the connection. The socket is forced
closed.

3000

The client is issuing the ARP command request and waiting for the response.

3001

The client has received the ARP response and has opened the socket.

This member reports the current state of the client socket state machine in the module. It is
preferred to use the Connected member of the object in the ladder logic instead of this
member for control.

The next two members of the object are set by the ladder logic and correspond to the IP
address of the server connected to the client and the service port in the server used for the
connection.

The last four members of the object are statistics representing the transmit and receive
activity of the client socket.

3.1.5 GECBackplane (Backplane Object)

The GECBackplane object stores all the variables required for the data transfer operation
between the module and the controller. The LastRead data member is used as the
handshaking byte to indicate the arrival of new data from the module. The following table
describes the structure of the object.

Name

Data Type

Description

LastRead

INT

Sequence number of last block read

LastWriteCount

SINT[2]

Last number of bytes written

CurBlock

INT

Sequence number for current block

SourceIndex

INT

Current server or client in read block

RxLen

INT

Length of message received

TxServer

INT

Server number for current transmit

TxCount

INT

Number of bytes processed from last tx
message