beautypg.com

3 gecclientconnection, 4 gecclientflags, 5 geclientset – ProSoft Technology MVI56-GEC User Manual

Page 41

background image

MVI56-GEC ♦ ControlLogix Platform

Ladder Logic

Generic ASCII Ethernet Communication Module

User Manual

ProSoft Technology, Inc.

Page 41 of 108

October 8, 2010

3.1.3 GECClientConnection

Name

Data Type

Description

Client

INT

Index of client (range of 10 to 14) 10=first

client

Spare1

INT

Reserved for future use

ServerIP

INT[4]

IP address of server for connection

ServicePort

INT

Service port on server to utilize

SwapRx

INT

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

SwapTx

INT

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

Spare2

INT

Reserved for future use

3.1.4 GECClientFlags

Name

Data Type

Description

Connect

BOOL

Connects this client to a server

CloseConnection

BOOL

Close the connection with the connected

server

WriteData

BOOL

Writes data to the module

3.1.5 GEClientSet

Name

Data Type

Description

ConnectionSetup

GECClientConnection

This data structure is copied to the module for

a connection request

ReadData

SINT[4000]

Read Data from Buffer from Remote Server to

GEC Client

ReadDataCount

INT

Number of bytes to be read from MVI to CLX

ReadTotalCount

INT

Total number of bytes in read msg

WriteData

SINT[4000]

Write Data Buffer from GEC Client to Remote

Server

WriteDataCount

INT

Number of Bytes to be transferred to Remote

Server

WriteTotalCount

INT

Total number of bytes in write msg

Flags

GECClientFlags

Util

GECClientUtil