beautypg.com

ProSoft Technology 5204-DFNT-PDPMV1 User Manual

Page 21

background image

DFNT ♦ ProLinx Gateway

Functional Overview

EtherNet/IP Explicit Messaging Client/Server

Protocol Manual

ProSoft Technology, Inc.

Page 21 of 124

July 24, 2013

MSG Instruction Type

Database Address

PLC2

PLC5 or SLC

ControlLogix

PCCC

CIP Integer

0

0

N10:0

N10:0

Int_data[0]

999

999

N19:99

N19:99

Int_data[999]

1000

1000

N20:0

N20:0

Int_data[1000]

1999

1999

N29:99

N29:99

Int_data[1999]

2000

2000

N30:0

N30:0

Int_data[2000]

2999

2999

N39:99

N39:99

Int_data[2999]

3000

3000

N40:0

N40:0

Int_data[3000]

3999

4000

N49:99

N49:99

Int_data[3999]

MSG Instruction Type

Database
Address

CIP Boolean

ControlLogix

CIP Bit Array

CIP Byte

CIP Double
Int

CIP Real

0

BoolData[0]

BitAData[0]

SIntData[0]

DIntData[0]

RealData[0]

999

BoolData[15984]

SIntData[1998]

1000

BoolData[16000]

BitAData[500]

SIntData[2000] DIntData[500]

RealData[500]

1999

BoolData[31984]

SIntData[3998]

2000

BoolData[32000]

BitAData[1000] SIntData[4000] DIntData[1000] RealData[1000]

2999

BoolData[47984]

SIntData[5998]

3000

BoolData[48000]

BitAData[1500] SIntData[6000] DIntData[1500] RealData[1500]

3999

BoolData[63999]

SIntData[9998]

When using PLC5 or SLC commands, access to the database is through
simulated "N" files. For example, to access database element 3012, use the file
address of N40:12. When using CIP Data Table Read or Write commands, use
the various data[ ] tag arrays described in the following table. For example, use
int_data[3012] to access database register 3012 as an integer value.

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