14 gecserverstat (server status object), 15 gecserverutil – ProSoft Technology MVI56-GEC User Manual
Page 47

MVI56-GEC ♦ ControlLogix Platform
Ladder Logic
Generic ASCII Ethernet Communication Module
User Manual
ProSoft Technology, Inc.
Page 47 of 108
October 8, 2010
3.1.14 GECServerStat (Server Status Object)
The GECServerStat object stores the status information related to each server
on the module. All messages are counted for both receive and transmit
operations. The object also contains the CfgErrword (page 48) member. The
following table describes the structure of this object.
Name
Data Type
Description
Enabled
INT
Flag to indicate if server is enabled
(1=Yes,0=No)
State
INT
Current state of server
IP
INT[2]
IP address of host connected to server
Port
INT
TCP port for host connected to server
Open
INT
Number of times server performed an open
Est
INT
Number of times connection established
Close
INT
Number of times socket closed
Rx
INT
Number of messages received
RxOverflow
INT
Number of receive buffer overflows
Tx
INT
Number of messages transmitted
TxOverflow
INT
Number of transmit buffer overflows
Timeout
INT
Number of socket timeout conditions
CfgErrword
INT
Configuration error word value for server
3.1.15 GECServerUtil
Name
Data Type
Description
ReadingBlocks
BOOL
Flags the current msg as a multi-block msg
(>200 bytes)
ReadIndex
INT
Word offset for Read Blocks
WritingBlocks
BOOL
Flags the current msg as a multi-block msg
(>400 bytes)
WriteIndex
INT
Word Offset for Write Blocks
WriteData
BOOL
Writing the Data
WriteCount
INT
WriteCount (used by logic)
LastWriteCount
INT
Last Block Write Count (bytes)