beautypg.com

ProSoft Technology MVI56-GEC User Manual

Page 43

background image

MVI56-GEC ♦ ControlLogix Platform

Ladder Logic

Generic ASCII Ethernet Communication Module

User Manual

ProSoft Technology, Inc.

Page 43 of 108

October 8, 2010

The next section of the object defines the parameters of the WATTCP.CFG file.

The following table describes the structure of this object.

Name

Data Type

Description

My_IP

INT[4]

IP address for module

Netmask

INT[4]

Subnet mask for module (that is,

255.255.255.0)

Gateway

INT[4]

IP address for gateway

GNetwork

INT[4]

Network IP address for the gateway

GMask

INT[4]

Subnet mask IP address for gateway


Each member of this object is an IP address specified in four words. Each word

represents a single digit of a dotted IP address. For example, the My_IP member

four words could be set to 192, 168, 0, 100. This corresponds to IP address

192.168.0.100. Care must be taken in assigning the values set for the members.

If the parameters are not set correctly, you may be unable to communicate with

the module. Check with your network administrator if you do not understand or

know the values to enter in this object.
After completely filling in the GECConfig object, use ladder logic to request that

the files be formed. Example ladder logic is provided in this documentation.

3.1.7 GECClientStat

This object stores the status information for a single client in the module. This

data is received from the module in each new input image. The following table

describes the structure of the object.

Name

Data Type

Description

Connected

INT

Connection state

State

INT

Socket state

IP

DINT

IP address of connected server

Port

INT

Service port of connected server

RxCount

INT

Number of receive messages

RxOverflow

INT

Number of times receive buffer overflowed

TxCount

INT

Number of transmit messages

TxOverflow

INT

Number of times the transmit buffer overflowed

Spare

INT

reserved for future use