beautypg.com

Eip configuration – ProSoft Technology PLX31-EIP-SIE User Manual

Page 54

background image

EIP Protocol

PLX3x Series

User Manual

Ethernet and Serial Gateways

Page 54 of 218

ProSoft Technology, Inc.

September 17, 2014

5.2

EIP Configuration

5.2.1 EIP Class 3 Server Connection

The EIP Class 3 Server Connection is used when the gateway is acting as a
server (slave) device responding to message instructions initiated from a Client
(Master) device such as an HMI, DCS, or PLC5.

Configuring EIP Class 3 Server Connections in PCB

The PLX3x Server connection file size is user selectable for 100 or 1000
integers. If a value of 100 is selected valid registers will be from N10:0 to N10:99.
If a value of 1000 is selected valid registers will be from N10:0 to N10:999.

Accessing the Gateway’s Internal Memory

Data Type

Tag Name

Length of Each Element in
CIP Message

Array Range for 4000
Element Database

BOOL

BOOLData[ ]

1

0 to 63999

Bit Array

BITAData[ ]

4

0 to 1999

SINT

SINTData[ ]

1

0 to 7999

INT

INT_Data[ ]

2

0 to 3999

DINT

DINTData[ ]

4

0 to 1999

REAL

REALData[ ]

4

0 to 1999

The following tables define the relationship of the gateway

’s internal database to

the addresses required in the MSG instructions:

MSG Instruction Type - CIP

Database
Address

CIP Integer

CIP Boolean

CIP Bit Array

CIP Byte

CIP DINT

CIP Real

0

Int_data[0]

BoolData[0]

BitAData[0]

SIntData[0]

DIntData[0]

RealData[0]

999

Int_data[999]

BoolData[15984]

SIntData[1998]

1000

Int_data[1000]

BoolData[16000]

BitAData[500]

SIntData[2000]

DIntData[500]

RealData[500]

1999

Int_data[1999]

BoolData[31984]

SIntData[3998]

2000

Int_data[2000]

BoolData[32000]

BitAData[1000]

SIntData[4000]

DIntData[1000] RealData[1000]

2999

Int_data[2999]

BoolData[47984]

SIntData[5998]

3000

Int_data[3000]

BoolData[48000]

BitAData[1500]

SIntData[6000]

DIntData[1500] RealData[1500]

3999

Int_data[3999]

BoolData[63999]

SIntData[9998]