beautypg.com

ProSoft Technology MVI56-GEC User Manual

Page 42

background image

Ladder Logic

MVI56-GEC ♦ ControlLogix Platform

User Manual

Generic ASCII Ethernet Communication Module

Page 42 of 108

ProSoft Technology, Inc.

October 8, 2010

3.1.6 GECConfig (Configuration Object)

This object is used with the module configuration option from the ladder logic. In

the previous version of the module, the configuration parameters for the module

could only be altered by downloading new files using the Debug/Configuration

port. This feature allows configuration files to be generated from data held in the

processor. When the module receives this new data set from the processor, it

generates the files. The following illustration shows this new object:

Name

Data Type

Description

ModName

SINT[80]

Module name (null terminated)

Password

SINT[20]

Password (null terminated)

Servers

GECServer[5]

5 Servers for module

Wattcp

GECWattcp

Cfg data for wattcp.cfg file


The ModName and Password members of the object must be null-terminated

strings (must end with a value of 0 decimal). If the Password member is not to be

used in the module's configuration file, set the first byte of the member to decimal

0. When the module recognizes the zero-length string, it will not set the password

item in the file. These first two options reside in the [MODULE] section of the

GEC.CFG file.
The array of five objects that follow specify the configuration items in the

[SERVER x] sections of the GEC.CFG file. The following table describes the

structure of this object.

Name

Data Type

Description

Enable

INT

Enable this server (0=No and not 0=Yes)

ServicePort

INT

Service port to listen of with this server

ConnTimeout

INT

Connection timeout

ConnCloseType

INT

Connection close type (0, 1 or 2)

SwapRx

INT

Swap Rx bytes (0=No and not 0=Yes)

SwapTx

INT

Swap Tx bytes (0=No and not 0=Yes)


The parameters in this data area are the same as that described in module

configuration.