dfnt protocol manual p2

65
Configuring the Gateway DFNT ProLinx Gateway Protocol Manual EtherNet/IP Explicit Messaging Client/Server Page 36 of 124 ProSoft Technology, Inc. July 24, 2013 If the module is configured for the serial DF1 half-duplex protocol, the module can act as a master device routing messages between attached slave devices. This peer-to-peer communication is defined in the DF1 protocol specification. The master polls each DF1 slave device until no more data is available from the device. Response messages from the slaves that have a destination address that do not match the module are routed with a request message header back out onto the network. This facility offers communication between the slave devices for control and data monitoring. This feature is not available if the module is configured for DF1 full-duplex mode (point-to-point). The module supports numerous commands. This permits the module to interface with a wide variety of DF1 protocol devices. This includes PLC2, PLC5, SLC-500 series, MicroLogix and ControlLogix processors. Additionally, other devices supplied by Rockwell Automation that use the DF1 protocol are supported. The format of each command in the list depends on the function being executed. To simplify command construction, the module uses its own set of function codes to associate a command with a DF1 command/function type. The tables below list the functions supported by the module: Basic Command Set Functions Function Code Comman d Function Definition PLC5 SLC500 & MicroLogix Power- monitor II ControlLogix 1 0x00 N/A Protected Write X X 2 0x01 N/A Unprotected Read X X X 3 0x02 N/A Protected Bit Write X X 4 0x05 N/A Unprotected Bit Write X X 5 0x08 N/A Unprotected Write X X X PLC-5 Command Set Functions Function Code Command Function Definition PLC5 SLC500 & MicroLogix Power- monitor II ControlLogix 100 0x0F 0x00 Word Range Write (Binary Address) X X 101 0x0F 0x01 Word Range Read (Binary Address) X X 102 0x0F 0x26 Read-Modify-Write (Binary Address) X X 150 0x0F 0x00 Word Range Write (ASCII Address) X X 151 0x0F 0x01 Word Range Read (ASCII Address) X X 152 0x0F 0x26 Read-Modify-Write (ASCII Address) X X

Upload: eumetallica

Post on 14-Feb-2016

16 views

Category:

Documents


0 download

DESCRIPTION

prolinx p2

TRANSCRIPT

Page 1: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

36

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

If th

e m

odul

e is

con

figur

ed fo

r the

ser

ial D

F1 h

alf-d

uple

x pr

otoc

ol, t

he m

odul

e ca

n ac

t as

a m

aste

r dev

ice

rout

ing

mes

sage

s be

twee

n at

tach

ed s

lave

dev

ices

. Th

is p

eer-t

o-pe

er c

omm

unic

atio

n is

def

ined

in th

e D

F1 p

roto

col s

peci

ficat

ion.

Th

e m

aste

r pol

ls e

ach

DF1

sla

ve d

evic

e un

til n

o m

ore

data

is a

vaila

ble

from

the

devi

ce. R

espo

nse

mes

sage

s fro

m th

e sl

aves

that

hav

e a

dest

inat

ion

addr

ess

that

do

not

mat

ch th

e m

odul

e ar

e ro

uted

with

a re

ques

t mes

sage

hea

der b

ack

out

onto

the

netw

ork.

Thi

s fa

cilit

y of

fers

com

mun

icat

ion

betw

een

the

slav

e de

vice

s fo

r con

trol a

nd d

ata

mon

itorin

g. T

his

feat

ure

is n

ot a

vaila

ble

if th

e m

odul

e is

co

nfig

ured

for D

F1 fu

ll-du

plex

mod

e (p

oint

-to-p

oint

). Th

e m

odul

e su

ppor

ts n

umer

ous

com

man

ds. T

his

perm

its th

e m

odul

e to

inte

rface

w

ith a

wid

e va

riety

of D

F1 p

roto

col d

evic

es. T

his

incl

udes

PLC

2, P

LC5,

SLC

-500

se

ries,

Mic

roLo

gix

and

Con

trolL

ogix

pro

cess

ors.

Add

ition

ally

, oth

er d

evic

es

supp

lied

by R

ockw

ell A

utom

atio

n th

at u

se th

e D

F1 p

roto

col a

re s

uppo

rted.

Th

e fo

rmat

of e

ach

com

man

d in

the

list d

epen

ds o

n th

e fu

nctio

n be

ing

exec

uted

. To

sim

plify

com

man

d co

nstru

ctio

n, th

e m

odul

e us

es it

s ow

n se

t of f

unct

ion

code

s to

ass

ocia

te a

com

man

d w

ith a

DF1

com

man

d/fu

nctio

n ty

pe. T

he ta

bles

bel

ow

list t

he fu

nctio

ns s

uppo

rted

by th

e m

odul

e:

Bas

ic C

omm

and

Set

Fun

ctio

ns

Func

tion

Code

Co

mm

and

Func

tion

Defin

ition

PL

C5

SLC5

00 &

Mi

croL

ogix

Powe

r-m

onito

r II

Cont

rolL

ogix

1 0x

00

N/A

Prote

cted W

rite

X

X

2 0x

01

N/A

Unpr

otecte

d Rea

d X

X

X 3

0x02

N/

A Pr

otecte

d Bit W

rite

X

X

4 0x

05

N/A

Unpr

otecte

d Bit W

rite

X

X

5 0x

08

N/A

Unpr

otecte

d Write

X

X

X P

LC-5

Com

man

d S

et F

unct

ions

Fu

nctio

n Co

de

Com

man

d Fu

nctio

n De

finiti

on

PLC5

SL

C500

&

Micr

oLog

ix Po

wer-

mon

itor I

I Co

ntro

lLog

ix

100

0x0F

0x

00

Wor

d Ran

ge W

rite

(Bina

ry Ad

dres

s) X

X

101

0x0F

0x

01

Wor

d Ran

ge R

ead

(Bina

ry Ad

dres

s) X

X

102

0x0F

0x

26

Read

-Mod

ify-W

rite

(Bina

ry Ad

dres

s) X

X

150

0x0F

0x

00

Wor

d Ran

ge W

rite

(ASC

II Add

ress

) X

X

151

0x0F

0x

01

Wor

d Ran

ge R

ead

(ASC

II Add

ress

) X

X

152

0x0F

0x

26

Read

-Mod

ify-W

rite

(ASC

II Add

ress

) X

X

Page 2: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

37

of 1

24

July

24,

201

3

SLC

-500

Com

man

d S

et F

unct

ions

Fu

nctio

n Co

de

Com

man

d Fu

nctio

n De

finiti

on

PLC5

SL

C500

&

Micr

oLog

ix Po

wer-

mon

itor I

I Co

ntro

lLog

ix

501

0x0F

0x

A1

Prote

cted T

yped

Lo

gical

Read

With

Tw

o Add

ress

Fiel

ds

X

X

502

0x0F

0X

A2

Prote

cted T

yped

Lo

gical

Read

With

Th

ree A

ddre

ss F

ields

X

X X

509

0x0F

0X

A9

Prote

cted T

yped

Lo

gical

Write

With

Tw

o Add

ress

Fiel

ds

X

X

510

0x0F

0X

AA

Prote

cted T

yped

Lo

gical

Write

With

Th

ree A

ddre

ss F

ields

X

X X

511

0x0F

0X

AB

Prote

cted T

yped

Lo

gical

Write

With

Ma

sk (T

hree

Add

ress

Fie

lds)

X

X

Eac

h co

mm

and

list r

ecor

d ha

s th

e sa

me

gene

ral f

orm

at. T

he fi

rst p

art o

f the

re

cord

con

tain

s th

e in

form

atio

n re

latin

g to

the

com

mun

icat

ion

mod

ule

and

the

seco

nd p

art c

onta

ins

info

rmat

ion

requ

ired

to in

terfa

ce to

the

DF1

or E

ther

Net

/IP

slav

e de

vice

.

Page 3: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

38

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

3.3.

2 C

omm

and

Entr

y Fo

rmat

s Th

e fo

rmat

of e

ach

com

man

d in

the

list d

epen

ds o

n th

e fu

nctio

n be

ing

exec

uted

. R

efer

to C

omm

and

Func

tion

Cod

es (p

age

38) f

or a

com

plet

e di

scus

sion

of t

he

com

man

ds s

uppo

rted

by th

e m

odul

e an

d of

the

stru

ctur

e an

d co

nten

t of e

ach

com

man

d.

The

follo

win

g ta

ble

show

s th

e st

ruct

ure

of th

e co

nfig

urat

ion

data

nec

essa

ry fo

r ea

ch o

f the

sup

porte

d co

mm

ands

. Mo

dule

Info

rmat

ion

Data

De

vice I

nfor

mat

ion

Data

Co

lum

n #

1 2

3 4

5 6

7 8

9 10

11

12

Func

tion

Code

En

abl

e Code

Inte

rnal

Addr

ess

Poll

Inte

rval

Tim

e

Coun

t Sw

ap

Code

IP

Ad

dres

s Sl

ot

Num

ber

Func

tio

n Co

de

Func

tion

Para

met

ers

FC 1

Code

Re

gister

Se

cond

s Co

unt

Code

No

de

Slot

1 W

ord

Addr

ess

FC 2

Code

Re

gister

Se

cond

s Co

unt

Code

No

de

2

Wor

d Ad

dres

s

FC 3

Code

Re

gister

Se

cond

s Co

unt

Code

No

de

3

Wor

d Ad

dres

s

FC 4

Code

Re

gister

Se

cond

s Co

unt

Code

No

de

4

Wor

d Ad

dres

s

FC 5

Code

Re

gister

Se

cond

s Co

unt

Code

No

de

5

Wor

d Ad

dres

s

FC 10

0 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

100

File

Numb

er

Elem

ent

Sub-

Elem

ent

FC 10

1 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

101

File

Numb

er

Elem

ent

Sub-

Elem

ent

FC 10

2 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

102

File

Numb

er

Elem

ent

Sub-

Elem

ent

FC 15

0 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

150

File

Strin

g

FC 15

1 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

151

File

Strin

g

FC 15

2 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

152

File

Strin

g

FC 50

1 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

501

File

Type

Fil

e Nu

mbe

r

Elem

ent

FC 50

2 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

502

File

Type

Fil

e Nu

mbe

r

Elem

ent

Sub-

Elem

ent

FC 50

9 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

509

File

Type

Fil

e Nu

mbe

r

Elem

ent

FC 51

0 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

510

File

Type

Fil

e Nu

mbe

r

Elem

ent

Sub-

Elem

ent

Page 4: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

39

of 1

24

July

24,

201

3

Modu

le In

form

atio

n Da

ta

Devic

e Inf

orm

atio

n Da

ta

Colu

mn

# 1

2 3

4 5

6 7

8 9

10

11

12

Func

tion

Code

En

abl

e Code

Inte

rnal

Addr

ess

Poll

Inte

rval

Tim

e

Coun

t Sw

ap

Code

IP

Ad

dres

s Sl

ot

Num

ber

Func

tio

n Co

de

Func

tion

Para

met

ers

FC 51

1 Co

de

Regis

ter

Seco

nds

Coun

t Co

de

Node

511

File

Type

Fil

e Nu

mbe

r

Elem

ent

Sub-

Elem

ent

IP A

ddre

ss =

IP ad

dres

s of p

roce

ssor

to re

ach

Slot

Numb

er =

-1 fo

r PLC

5 & S

LC, p

roce

ssor

slot

numb

er of

Con

trolLo

gix

The

first

par

t of t

he re

cord

is th

e M

odul

e In

form

atio

n, w

hich

rela

tes

to th

e m

odul

e. T

he s

econ

d pa

rt co

ntai

ns in

form

atio

n re

quire

d to

inte

rface

to th

e Se

rver

de

vice

. An

exam

ple

of a

com

man

d lis

t sec

tion

of th

e co

nfig

urat

ion

file

is s

how

n in

th

e fo

llow

ing

illust

ratio

n.

[DFNT Client 0 Commands]

# # The file contains examples for a ControlLogix processor with the N7 file

# configured. This example uses SLC and PLC5 commands.

# # LOCATION :

# DATE : 04/05/2000

# CONFIGURED BY: RAR

# MODIFIED :

# # 1 2 3 4 5 6 7 8 9 10 11 12

# DB Poll Swap Func File File Elm Sub

#Enab Addr Delay Count Code Node IP Address Slot Code Type # # Elm

START

# 1 2000 0 10 0 192.168.0.100 0 501 N 11 0

# 1 2000 0 10 0 192.168.0.100 0 509 N 12 0

# # DB Poll Swap Func File Elm Sub

#Enab Addr Delay Count Code Node IP Address Slot Code # # Elm

END

Page 5: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

40

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

The

follo

win

g ta

ble

desc

ribes

eac

h pa

ram

eter

Pa

ram

eter

Ra

nge

Desc

riptio

n En

able

0, 1,

2 Th

is fie

ld de

fines

whe

ther t

he co

mman

d is t

o be e

xecu

ted an

d und

er w

hat

cond

itions

. Va

lue

Desc

riptio

n 0

The c

omma

nd is

disa

bled a

nd w

ill no

t be e

xecu

ted in

the n

orma

l po

lling s

eque

nce.

1 Th

e com

mand

is ex

ecute

d eac

h sca

n of th

e com

mand

list if

the

Poll I

nterva

l Tim

e is s

et to

zero

. If th

e Poll

Inter

val ti

me is

set, t

he

comm

and i

s exe

cuted

whe

n the

inter

val ti

mer e

xpire

s. 2

The c

omma

nd ex

ecute

s only

if the

inter

nal d

ata as

socia

ted w

ith

the co

mman

d cha

nges

. This

value

is va

lid fo

r write

comm

ands

on

ly.

Inter

nal

Addr

ess

0 to 3

999

This

field

spec

ifies t

he da

tabas

e add

ress

in th

e mod

ule's

inter

nal d

ataba

se to

be

asso

ciated

with

the c

omma

nd. If

the c

omma

nd is

a re

ad fu

nctio

n, the

data

rece

ived i

n the

resp

onse

mes

sage

is pl

aced

at th

e spe

cified

loca

tion.

If the

co

mman

d is w

rite fu

nctio

n, da

ta us

ed in

the c

omma

nd is

sour

ced f

rom

the

spec

ified d

ata ar

ea.

Poll D

elay

0 to 1

000

This

para

meter

spec

ifies t

he m

inimu

m int

erva

l to ex

ecute

conti

nuou

s co

mman

ds (E

nable

code

of 1)

. The

para

meter

is en

tered

in 1/

10th

of a

seco

nd. T

here

fore,

if a va

lue of

100 i

s ente

red f

or a

comm

and,

the co

mman

d ex

ecute

s no m

ore f

requ

ently

than

ever

y 10 s

econ

ds.

Coun

t Co

mman

d dep

ende

nt.

This

para

meter

spec

ifies t

he nu

mber

of re

gister

s or d

igital

point

s to b

e as

socia

ted w

ith th

e com

mand

. See

Com

mand

Fun

ction

Cod

es (p

age 3

8) fo

r inf

orma

tion

Swap

Cod

e 0,

1, 2,

3 Th

is pa

rame

ter de

fines

if the

data

rece

ived f

rom

the S

erve

r is to

be or

dere

d dif

feren

tly th

an th

at re

ceive

d fro

m the

Ser

ver d

evice

. This

para

meter

is he

lpful

when

deali

ng w

ith flo

ating

-poin

t or o

ther m

ulti-r

egist

er va

lues,

as th

ere i

s no

stand

ard m

ethod

of st

orag

e of th

ese d

ata ty

pes i

n Ser

ver d

evice

s. Th

is pa

rame

ter ca

n be s

et to

orde

r the

regis

ter da

ta re

ceive

d in a

n ord

er us

eful b

y oth

er ap

plica

tions

. The

follo

wing

table

defin

es th

e valu

es an

d the

ir ass

ociat

ed

oper

ation

s: Sw

ap C

ode

Desc

riptio

n 0

None

- No

Cha

nge i

s mad

e in t

he by

te or

derin

g (12

34 =

12

34)

1 W

ords

- Th

e wor

ds ar

e swa

pped

(123

4=34

12)

2 W

ords

& B

ytes -

The

wor

ds ar

e swa

pped

then

the b

ytes i

n ea

ch w

ord a

re sw

appe

d (12

34=4

321)

3

Bytes

- Th

e byte

s in e

ach

word

are s

wapp

ed (1

234=

2143

) Th

e wor

ds sh

ould

be sw

appe

d only

whe

n usin

g an e

ven n

umbe

r of w

ords

. No

de IP

Ad

dres

s xx

x.xxx

.xxx.x

xx

The I

P ad

dres

s of th

e dev

ice be

ing ad

dres

sed b

y the

comm

and.

Slot

W

hen a

ddre

ssing

a Co

ntrolL

ogix

proc

esso

r, the

slot

numb

er co

rresp

onds

to

the sl

ot in

the ra

ck co

ntaini

ng th

e con

trolle

r bein

g add

ress

ed. In

the

Contr

olLog

ix pla

tform

, the c

ontro

ller c

an be

plac

ed in

any s

lot an

d the

rack

ma

y con

tain m

ultipl

e pro

cess

ors.

This

para

meter

uniqu

ely se

lects

a con

trolle

r in

the ra

ck.

Use a

value

of -1

whe

n inte

rfacin

g to

an S

LC 5/

05 or

a

PLC5

. The

se de

vices

do no

t hav

e a sl

ot nu

mber

.

Page 6: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

41

of 1

24

July

24,

201

3

Para

met

er

Rang

e De

scrip

tion

Func

tion C

ode

See C

omma

nd

Func

tion C

odes

(pag

e 38

)

Thes

e par

amete

rs sp

ecify

the f

uncti

on to

be ex

ecut

ed by

the c

omma

nd. T

he

Refer

ence

chap

ter in

this

manu

al de

scrib

es th

e mea

ning o

f thes

e valu

es fo

r ea

ch of

the a

vaila

ble su

ppor

ted co

mman

ds. F

ollow

ing is

a co

mplet

e list

of th

e co

mman

d sup

porte

d by t

he C

lient

drive

r. Fu

nctio

n Co

de L

istin

g Ba

sic C

omm

and

Set

1 Pr

otecte

d Write

2

Unpr

otecte

d Rea

d 3

Prote

cted B

it Write

4

Unpr

otecte

d Bit W

rite

5 Un

prote

cted W

rite

PLC-

5 Com

mand

Set

(0x0

F)

10

0 W

ord R

ange

Write

(Bina

ry Ad

dres

s)

101

Wor

d Ran

ge R

ead (

Bina

ry Ad

dres

s)

102

Read

-Mod

ify-W

rite (B

inary

Addr

ess)

15

0 W

ord R

ange

Write

(ASC

II Add

ress

) 15

1 W

ord R

ange

Rea

d (AS

CII A

ddre

ss)

152

Read

-Mod

ify-W

rite (A

SCII A

ddre

ss)

SLC

Comm

and S

et (0

x0F)

501

Prot

Type

d Rea

d with

2 ad

dr fie

lds

502

Prot

Type

d Rea

d with

3 ad

dr fie

lds

509

Prot

Type

d Write

with

2 ad

dr fie

lds

510

Prot

Type

d Write

with

3 ad

dr fie

lds

511

Prot

Type

Write

with

Mas

k 3 ad

dr fie

ld

Func

tion

Para

meter

s Se

e Com

mand

Fu

nctio

n Cod

es (p

age

38)

The n

umbe

r of a

uxilia

ry pa

rame

ters r

equir

ed de

pend

s on t

he fu

nctio

n cod

e se

lected

for t

he co

mman

d.

Page 7: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

42

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

3.4

[DFN

T U

Clie

nt 0

] Th

is s

ectio

n de

fines

the

conf

igur

atio

n fo

r the

unc

onne

cted

mas

ter d

evic

e si

mul

ated

on

netw

ork

port

3.

4.1

Min

imum

Com

man

d D

elay

0

to 6

5535

milli

seco

nds

This

par

amet

er s

peci

fies

the

num

ber o

f milli

seco

nds

to w

ait b

etw

een

the

initi

al

issu

ance

s of

a c

omm

and.

Thi

s pa

ram

eter

can

be

used

to d

elay

all

com

man

ds

sent

to s

erve

rs to

avo

id "f

lood

ing"

com

man

ds o

n th

e ne

twor

k. T

his

para

met

er

does

not

affe

ct re

tries

of a

com

man

d as

they

will

be is

sued

whe

n fa

ilure

is

reco

gniz

ed.

3.4.

2 R

espo

nse

Tim

eout

0

to 6

5535

milli

seco

nds

This

is th

e tim

e in

milli

seco

nds

that

a C

lient

will

wai

t bef

ore

re-tr

ansm

ittin

g a

com

man

d if

no re

spon

se is

rece

ived

from

the

addr

esse

d se

rver

. The

val

ue to

use

de

pend

s on

the

type

of c

omm

unic

atio

n ne

twor

k us

ed, a

nd th

e ex

pect

ed

resp

onse

tim

e of

the

slow

est d

evic

e on

the

netw

ork.

3.

4.3

Ret

ry C

ount

0

to 1

0 Th

is p

aram

eter

spe

cifie

s th

e nu

mbe

r of t

imes

a c

omm

and

will

be re

tried

if it

fails

.

Page 8: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

43

of 1

24

July

24,

201

3 3.

5 [D

FNT

UC

lient

0 C

omm

ands

]

Exam

ple P

LC5 B

inar

y Com

man

d Li

st

Exam

ple P

LC5 A

SCII C

omm

and

List

Ref

er to

Com

man

d Li

st fo

r a d

escr

iptio

n of

com

man

d lis

t syn

tax.

Page 9: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

44

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

3.6

Usi

ng th

e C

omm

onN

et D

ata

Map

Th

e D

ata

Map

sec

tion

allo

ws

you

to c

opy

data

bet

wee

n ar

eas

in th

e m

odul

e's

inte

rnal

dat

abas

e.

You

can

copy

a m

axim

um o

f 100

regi

ster

s pe

r Dat

a M

ap c

omm

and,

and

you

can

co

nfig

ure

a m

axim

um o

f 200

sep

arat

e co

py c

omm

ands

. Yo

u ca

n co

py d

ata

from

the

erro

r or s

tatu

s ta

bles

in u

pper

mem

ory

to in

tern

al

data

base

regi

ster

s in

the

Use

r Dat

a m

emor

y ar

ea.

You

can

rear

rang

e th

e by

te a

nd/o

r wor

d or

der d

urin

g th

e co

py p

roce

ss. F

or

exam

ple,

by

rear

rang

ing

byte

or w

ord

orde

r, yo

u ca

n co

nver

t flo

atin

g-po

int v

alue

s to

the

corr

ect f

orm

at fo

r a d

iffer

ent p

roto

col.

You

can

also

use

the

Dat

a M

ap to

con

dens

e w

idel

y di

sper

sed

data

into

one

co

ntig

uous

dat

a bl

ock,

mak

ing

it ea

sier

to a

cces

s.

Page 10: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

45

of 1

24

July

24,

201

3

3.6.

1 M

ovin

g D

ata

The

follo

win

g illu

stra

tion

show

s an

exa

mpl

e D

ata

Map

. The

Dat

a M

ap a

llow

s yo

u to

mov

e da

ta to

diff

eren

t add

ress

es w

ithin

the

mod

ule

data

base

in o

rder

to c

reat

e si

mpl

er d

ata

requ

ests

and

con

trol.

3.

6.2

From

Add

ress

0

to h

ighe

st S

tatu

s D

ata

addr

ess

This

fiel

d sp

ecifi

es th

e be

ginn

ing

inte

rnal

dat

abas

e re

gist

er a

ddre

ss fo

r the

cop

y op

erat

ion.

Thi

s ad

dres

s ca

n be

any

val

id a

ddre

ss in

the

Use

r Dat

a A

rea

or th

e S

tatu

s D

ata

Are

a of

the

gate

way

. 3.

6.3

To A

ddre

ss

0 to

399

9 Th

is p

aram

eter

spe

cifie

s th

e be

ginn

ing

dest

inat

ion

regi

ster

add

ress

for t

he c

opy

oper

atio

n. T

his

addr

ess

mus

t alw

ays

be w

ithin

the

Use

r Dat

a re

gist

ers

area

. Ta

ke c

are

to s

peci

fy a

des

tinat

ion

addr

ess

that

will

not o

verw

rite

data

that

has

be

en s

tore

d in

mem

ory

by o

ne o

f the

com

mun

icat

ion

prot

ocol

s ru

nnin

g on

the

gate

way

. 3.

6.4

Reg

iste

r Cou

nt

1 to

100

Th

is p

aram

eter

spe

cifie

s th

e nu

mbe

r of r

egis

ters

to c

opy.

3.

6.5

Swap

Cod

e N

O C

HA

NG

E, W

OR

D S

WA

P, W

OR

D A

ND

BYT

E SW

AP,

BYT

E SW

AP

Page 11: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

46

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

You

may

nee

d to

sw

ap th

e or

der o

f the

byt

es in

the

regi

ster

s du

ring

the

copy

pr

oces

s in

ord

er to

cha

nge

the

alig

nmen

t of b

ytes

bet

wee

n di

ssim

ilar p

roto

cols

. Th

is p

aram

eter

is h

elpf

ul w

hen

deal

ing

with

floa

ting-

poin

t or o

ther

mul

ti-re

gist

er

valu

es, a

s th

ere

is n

o st

anda

rd m

etho

d of

sto

rage

of t

hese

dat

a ty

pes

in s

lave

de

vice

s.

The

follo

win

g ta

ble

defin

es th

e va

lues

and

thei

r ass

ocia

ted

oper

atio

ns:

Swap

Cod

e D

escr

iptio

n N

o S

wap

N

o ch

ange

is m

ade

in th

e by

te o

rder

ing

(123

4 =

1234

)

Wor

d S

wap

Th

e w

ords

are

sw

appe

d (1

234=

3412

)

Wor

d an

d B

yte

Sw

ap

The

wor

ds a

re s

wap

ped,

then

the

byte

s in

eac

h w

ord

are

swap

ped

(123

4=43

21)

Byt

es

The

byte

s in

eac

h w

ord

are

swap

ped

(123

4=21

43)

Page 12: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

47

of 1

24

July

24,

201

3

3.6.

6 D

elay

Pre

set

This

par

amet

er s

ets

an in

terv

al fo

r eac

h D

ata

Map

cop

y op

erat

ion.

The

val

ue y

ou

put f

or th

e D

elay

Pre

set i

s no

t a fi

xed

amou

nt o

f tim

e. It

is th

e nu

mbe

r of f

irmw

are

scan

s th

at m

ust t

rans

pire

bet

wee

n co

py o

pera

tions

. Th

e fir

mw

are

scan

cyc

le c

an ta

ke a

var

iabl

e am

ount

of t

ime,

dep

endi

ng o

n th

e le

vel o

f act

ivity

of t

he p

roto

col d

river

s ru

nnin

g on

the

Pro

Linx

gat

eway

and

the

leve

l of a

ctiv

ity o

n th

e ga

tew

ay's

com

mun

icat

ion

ports

. E

ach

firm

war

e sc

an c

an

take

from

1 to

sev

eral

milli

seco

nds

to c

ompl

ete.

The

refo

re, D

ata

Map

cop

y op

erat

ions

can

not b

e ex

pect

ed to

hap

pen

at re

gula

r int

erva

ls.

If m

ultip

le c

opy

oper

atio

ns (s

ever

al ro

ws

in th

e D

ata

map

sec

tion)

hap

pen

too

frequ

ently

or a

ll ha

ppen

in th

e sa

me

upda

te in

terv

al, t

hey

coul

d de

lay

the

proc

ess

scan

of t

he g

atew

ay p

roto

cols

, whi

ch c

ould

resu

lt in

slo

w d

ata

upda

tes

or m

isse

d da

ta o

n co

mm

unic

atio

n po

rts. T

o av

oid

thes

e po

tent

ial p

robl

ems,

you

sho

uld

set

the

Del

ay P

rese

t to

diffe

rent

val

ues

for e

ach

row

in th

e D

ata

Map

sec

tion

and

set

them

to h

ighe

r, ra

ther

than

low

er, n

umbe

rs.

For e

xam

ple,

Del

ay P

rese

t val

ues

belo

w 1

000

coul

d be

gin

to c

ause

a n

otic

eabl

e de

lay

in d

ata

upda

tes

thro

ugh

the

com

mun

icat

ion

ports

. And

you

sho

uld

not s

et

all D

elay

Pre

sets

to th

e sa

me

valu

e. In

stea

d, u

se d

iffer

ent v

alue

s fo

r eac

h ro

w in

th

e D

ata

Map

suc

h as

100

0, 1

001,

and

100

2 or

any

oth

er d

iffer

ent D

elay

Pre

set

valu

es y

ou li

ke. T

his

will

prev

ent t

he c

opie

s fro

m h

appe

ning

con

curre

ntly

and

pr

even

t pos

sibl

e pr

oces

s sc

an d

elay

s.

Page 13: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

48

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

3.7

Ethe

rnet

Por

t Con

figur

atio

n - w

attc

p.cf

g Th

e w

attc

p.cf

g fil

e m

ust b

e se

t up

prop

erly

in o

rder

to u

se a

TC

P/IP

net

wor

k co

nnec

tion.

The

Pro

Linx

Ref

eren

ce G

uide

pro

vide

s de

taile

d in

form

atio

n on

se

tting

up

this

file

, as

wel

l as

how

to lo

ad it

to P

roLi

nx m

odul

es.

Page 14: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Confi

gurin

g the

Gate

way

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

49

of 1

24

July

24,

201

3

3.8

Dow

nloa

ding

the

Proj

ect t

o th

e M

odul

e U

sing

a S

eria

l CO

M p

ort

For t

he m

odul

e to

use

the

setti

ngs

you

conf

igur

ed, y

ou m

ust d

ownl

oad

(cop

y) th

e up

date

d P

roje

ct fi

le fr

om y

our P

C to

the

mod

ule.

1

In th

e tre

e vi

ew in

Pro

Sof

t Con

figur

atio

n B

uild

er, c

lick

once

to s

elec

t the

m

odul

e.

2 O

pen

the

Proj

ect m

enu,

and

then

cho

ose

MO

DU

LE/D

OW

NLO

AD

. The

pro

gram

w

ill sc

an y

our P

C fo

r a v

alid

com

por

t (th

is m

ay ta

ke a

few

sec

onds

). W

hen

PC

B h

as fo

und

a va

lid C

OM

por

t, th

e D

ownl

oad

dial

og b

ox w

ill op

en.

3 C

hoos

e th

e C

OM

por

t to

use

from

the

drop

dow

n lis

t, an

d th

en c

lick

the

DO

WN

LOA

D b

utto

n.

The

mod

ule

will

perfo

rm a

pla

tform

che

ck to

read

and

load

its

new

set

tings

. W

hen

the

plat

form

che

ck is

com

plet

e, th

e st

atus

bar

in th

e D

ownl

oad

dial

og

box

will

disp

lay

the

mes

sage

Mod

ule

Run

ning

.

Page 15: Dfnt Protocol Manual p2

Confi

gurin

g the

Gate

way

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

50

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

Page 16: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

51

of 1

24

July

24,

201

3 4

Dia

gnos

tics

and

Trou

bles

hoot

ing

In T

his C

hapt

er

U

sing

Pro

Sof

t Con

figur

atio

n Bu

ilder

(PC

B) f

or D

iagn

ostic

s....

......

......

... 5

2

B

ase

Mod

ule

LED

s ....

......

......

......

......

......

......

......

......

......

......

......

......

.... 5

6

C

lient

Erro

r/Sta

tus

Dat

a....

......

......

......

......

......

......

......

......

......

......

......

... 57

E

ther

Net

/IP C

lient

Com

man

d Li

st E

rror D

ata

......

......

......

......

......

......

.... 6

1

E

rror

Cod

es ..

......

......

......

......

......

......

......

......

......

......

......

......

......

......

..... 6

2

TC

P/IP

Inte

rface

Err

ors

......

......

......

......

......

......

......

......

......

......

......

......

. 66

Ther

e ar

e tw

o w

ays

to tr

oubl

esho

ot P

roLi

nx G

atew

ays:

Usi

ng th

e LE

Ds

loca

ted

on th

e fro

nt o

f the

gat

eway

Usi

ng th

e D

ebug

por

t tha

t pro

vide

s a

view

into

the

gate

way

's in

tern

al

data

base

.

Page 17: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

52

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.1

Usi

ng P

roSo

ft C

onfig

urat

ion

Bui

lder

(PC

B) f

or D

iagn

ostic

s Th

e C

onfig

urat

ion

and

Deb

ug m

enu

for t

his

mod

ule

is a

rran

ged

as a

tree

st

ruct

ure,

with

the

Mai

n m

enu

at th

e to

p of

the

tree,

and

one

or m

ore

subm

enus

fo

r eac

h m

enu

com

man

d. T

he fi

rst m

enu

you

see

whe

n yo

u co

nnec

t to

the

mod

ule

is th

e M

ain

men

u.

Beca

use

this

is a

text

-bas

ed m

enu

syst

em, y

ou e

nter

com

man

ds b

y ty

ping

the

[com

man

d le

tter]

from

you

r com

pute

r key

boar

d in

the

Dia

gnos

tic w

indo

w in

P

roS

oft C

onfig

urat

ion

Bui

lder

(PC

B).

The

mod

ule

does

not

resp

ond

to m

ouse

m

ovem

ents

or c

licks

. The

com

man

d ex

ecut

es a

s so

on a

s yo

u pr

ess

the

[CO

MM

AN

D L

ETTE

R] —

you

do

not n

eed

to p

ress

[EN

TER

]. W

hen

you

type

a

[CO

MM

AN

D L

ETTE

R],

a ne

w s

cree

n w

ill be

dis

play

ed in

you

r ter

min

al a

pplic

atio

n.

4.1.

1 R

equi

red

Har

dwar

e Yo

u ca

n co

nnec

t dire

ctly

from

you

r com

pute

r’s s

eria

l por

t to

the

seria

l por

t on

the

mod

ule

to v

iew

con

figur

atio

n in

form

atio

n, p

erfo

rm m

aint

enan

ce, a

nd s

end

or

rece

ive

conf

igur

atio

n fil

es.

ProS

oft T

echn

olog

y re

com

men

ds th

e fo

llow

ing

min

imum

har

dwar

e to

con

nect

yo

ur c

ompu

ter t

o th

e m

odul

e:

80

486

base

d pr

oces

sor (

Pent

ium

pre

ferr

ed)

1

meg

abyt

e of

mem

ory

A

t lea

st o

ne U

ART

hard

war

e-ba

sed

seria

l com

mun

icat

ions

por

t ava

ilabl

e.

USB

-bas

ed v

irtua

l UAR

T sy

stem

s (U

SB to

ser

ial p

ort a

dapt

ers)

ofte

n do

not

fu

nctio

n re

liabl

y, e

spec

ially

dur

ing

bina

ry fi

le tr

ansf

ers,

suc

h as

whe

n up

load

ing/

dow

nloa

ding

con

figur

atio

n fil

es o

r mod

ule

firm

war

e up

grad

es.

4.1.

2 U

sing

the

Dia

gnos

tic W

indo

w in

Pro

Soft

Con

figur

atio

n B

uild

er

To c

onne

ct to

the

mod

ule’

s C

onfig

urat

ion/

Deb

ug s

eria

l por

t 1

Star

t PC

B, a

nd th

en s

elec

t the

mod

ule

to te

st. C

lick

the

right

mou

se b

utto

n to

op

en a

sho

rtcut

men

u.

Page 18: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

53

of 1

24

July

24,

201

3

2 O

n th

e sh

ortc

ut m

enu,

cho

ose

DIA

GN

OST

ICS.

This

act

ion

open

s th

e D

iagn

ostic

s di

alog

box

. 3

Pre

ss [?

] to

open

the

Mai

n m

enu.

If th

ere

is n

o re

spon

se fr

om th

e m

odul

e, fo

llow

thes

e st

eps:

Page 19: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

54

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

1 C

lick

to c

onfig

ure

the

conn

ectio

n. O

n th

e C

onne

ctio

n S

etup

dia

log

box,

sel

ect

a va

lid c

om p

ort o

r oth

er c

onne

ctio

n ty

pe s

uppo

rted

by th

e m

odul

e.

2 Ve

rify

that

the

null

mod

em c

able

is c

onne

cted

pro

perly

bet

wee

n yo

ur

com

pute

r’s s

eria

l por

t and

the

mod

ule.

A re

gula

r ser

ial c

able

will

not w

ork.

3

On

com

pute

rs w

ith m

ore

than

one

ser

ial p

ort,

verif

y th

at y

our c

omm

unic

atio

n pr

ogra

m is

con

nect

ed to

the

sam

e po

rt th

at is

con

nect

ed to

the

mod

ule.

If

you

are

still

not a

ble

to e

stab

lish

a co

nnec

tion,

con

tact

Pro

Soft

Tech

nolo

gy fo

r as

sist

ance

. 4.

1.3

Nav

igat

ion

All

of th

e su

bmen

us fo

r thi

s m

odul

e co

ntai

n co

mm

ands

to re

disp

lay

the

men

u or

re

turn

to th

e pr

evio

us m

enu.

You

can

alw

ays

retu

rn fr

om a

sub

men

u to

the

next

hi

gher

men

u by

pre

ssin

g [M

] on

your

key

boar

d.

The

orga

niza

tion

of th

e m

enu

stru

ctur

e is

repr

esen

ted

in s

impl

ified

form

in th

e fo

llow

ing

illust

ratio

n:

Th

e re

mai

nder

of t

his

sect

ion

show

s th

e m

enus

ava

ilabl

e fo

r thi

s m

odul

e, a

nd

brie

fly d

iscu

sses

the

com

man

ds a

vaila

ble

to y

ou.

Page 20: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

55

of 1

24

July

24,

201

3

Key

stro

kes

The

keyb

oard

com

man

ds o

n th

ese

men

us a

re u

sual

ly n

ot c

ase

sens

itive

. You

ca

n en

ter m

ost c

omm

ands

in lo

wer

case

or u

pper

case

lette

rs.

The

men

us u

se a

few

spe

cial

cha

ract

ers

(?, -

, +, @

) tha

t mus

t be

ente

red

exac

tly

as s

how

n. S

ome

of th

ese

char

acte

rs w

ill re

quire

you

to u

se th

e SH

IFT,

CTR

L, o

r AL

T ke

ys to

ent

er th

em c

orre

ctly

. For

exa

mpl

e, o

n U

S E

nglis

h ke

yboa

rds,

ent

er

the

? co

mm

and

as S

HIF

T an

d /.

Also

, tak

e ca

re to

dis

tingu

ish

the

diffe

rent

use

s fo

r upp

erca

se le

tter "

eye"

(I),

low

erca

se le

tter "

el" (

L), a

nd th

e nu

mbe

r one

(1).

Lik

ewis

e, u

pper

case

lette

r "oh

" (O

) and

the

num

ber z

ero

(0) a

re n

ot in

terc

hang

eabl

e. A

lthou

gh th

ese

char

acte

rs

look

alik

e on

the

scre

en, t

hey

perfo

rm d

iffer

ent a

ctio

ns o

n th

e m

odul

e an

d m

ay

not b

e us

ed in

terc

hang

eabl

y.

Page 21: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

56

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.2

Bas

e M

odul

e LE

Ds

LED

St

ate

Des

crip

tion

Pow

er

Off

Pow

er is

not

con

nect

ed to

the

pow

er te

rmin

als

or s

ourc

e is

insu

ffici

ent

to p

rope

rly p

ower

the

mod

ule

(min

imum

requ

ired

is 8

00m

A a

t 24

Vdc

) G

reen

Sol

id

Pow

er is

con

nect

ed to

the

pow

er te

rmin

als.

Fa

ult

Off

Nor

mal

ope

ratio

n.

Red

Sol

id

A c

ritic

al e

rror

has

occ

urre

d. P

rogr

am e

xecu

tabl

e ha

s fa

iled

or h

as

been

use

r-ter

min

ated

and

is n

o lo

nger

runn

ing.

Pre

ss R

eset

p/b

or

cycl

e po

wer

to c

lear

err

or. I

f not

, use

the

Deb

ug p

roce

dure

s de

scrib

ed

late

r in

this

man

ual.

Cfg

O

ff N

orm

al o

pera

tion.

A

mbe

r Sol

id

The

unit

is in

con

figur

atio

n m

ode.

The

con

figur

atio

n fil

e is

cur

rent

ly

bein

g do

wnl

oade

d or

, afte

r pow

er-u

p, is

bei

ng re

ad, t

he u

nit i

s im

plem

entin

g th

e co

nfig

urat

ion

valu

es, a

nd in

itial

izin

g th

e ha

rdw

are.

Th

is w

ill o

ccur

dur

ing

pow

er c

ycle

, or a

fter p

ress

ing

the

rese

t but

ton.

It

also

occ

urs

afte

r a c

old/

war

m b

oot c

omm

and

is re

ceiv

ed.

Err

O

ff N

orm

al o

pera

tion.

Fl

ashi

ng

An

erro

r con

ditio

n ha

s be

en d

etec

ted

and

is o

ccur

ring

on o

ne o

f the

ap

plic

atio

n po

rts. C

heck

con

figur

atio

n an

d tro

uble

shoo

t for

co

mm

unic

atio

n er

rors

. S

olid

Red

Th

is e

rror

flag

is c

lear

ed a

t the

sta

rt of

eac

h co

mm

and

atte

mpt

(M

aste

r/Clie

nt) o

r on

each

rece

ipt o

f dat

a (s

lave

/ada

pter

/ser

ver)

; so,

if

this

con

ditio

n ex

ists

, it i

ndic

ates

a la

rge

num

ber o

f erro

rs a

re o

ccur

ring

in th

e ap

plic

atio

n (d

ue to

bad

con

figur

atio

n) o

r on

one

or m

ore

ports

(n

etw

ork

com

mun

icat

ion

failu

res)

. 4.

2.1

Ethe

rnet

LED

Indi

cato

rs

LED

St

ate

Des

crip

tion

Dat

a O

FF

No

activ

ity o

n th

e E

ther

net p

ort.

GR

EE

N F

lash

Th

e E

ther

net p

ort i

s ac

tivel

y tra

nsm

ittin

g or

rece

ivin

g da

ta.

Link

O

FF

No

phys

ical

net

wor

k co

nnec

tion

is d

etec

ted.

No

Eth

erne

t co

mm

unic

atio

n is

pos

sibl

e. C

heck

wiri

ng a

nd c

able

s.

GR

EE

N S

olid

P

hysi

cal n

etw

ork

conn

ectio

n de

tect

ed. T

his

LED

mus

t be

ON

so

lid fo

r Eth

erne

t com

mun

icat

ion

to b

e po

ssib

le.

Page 22: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

57

of 1

24

July

24,

201

3

4.3

Clie

nt E

rror

/Sta

tus

Dat

a Th

e se

cond

and

mos

t tho

roug

h tro

uble

shoo

ting

met

hod

for d

ebug

ging

the

oper

atio

n of

the

DFN

T dr

iver

(and

the

mod

ule

in g

ener

al) i

s th

e po

wer

ful D

ebug

po

rt on

the

mod

ule

whi

ch p

rovi

des

muc

h m

ore

com

plet

e ac

cess

to th

e in

tern

al

oper

atio

n an

d st

atus

of t

he m

odul

e. A

cces

sing

the

Deb

ug c

apab

ilitie

s of

the

mod

ule

is a

ccom

plis

hed

easi

ly b

y co

nnec

ting

a PC

to th

e D

ebug

por

t and

load

ing

a te

rmin

al p

rogr

am s

uch

as P

roS

oft C

onfig

urat

ion

Build

er o

r Hyp

erTe

rmin

al.

The

Clie

nt c

onne

ctio

n Er

ror a

nd S

tatu

s D

ata

area

s ar

e di

scus

sed

in th

is s

ectio

n Th

e er

ror/s

tatu

s da

ta ta

ble

is lo

cate

d in

virt

ual a

ddre

ss a

ssig

ned

by P

roLi

nx. I

f th

e ad

dres

s is

set

to -1

, the

dat

a w

ill no

t be

plac

ed in

the

data

base

. It w

ill on

ly b

e av

aila

ble

thro

ugh

the

Con

figur

atio

n/D

ebug

Por

t. If

a va

lid a

ddre

ss v

alue

is

assi

gned

, the

mod

ule

will

upda

te th

e da

ta a

rea.

Th

e da

ta a

rea

is in

itial

ized

with

zer

os w

hene

ver t

he m

odul

e is

initi

aliz

ed. T

his

occu

rs d

urin

g a

cold

-sta

rt (p

ower

-on)

, res

et (r

eset

pus

h-bu

tton

pres

sed)

or a

w

arm

-boo

t ope

ratio

n (c

omm

ande

d or

load

ing

of n

ew c

onfig

urat

ion)

. No

te: T

he P

roLin

x Ref

eren

ce G

uide

conta

ins de

tailed

infor

matio

n on a

cces

sing t

he co

ntents

of th

e fol

lowing

regis

ters.

4.3.

1 D

FNT

Clie

nt 0

Sta

tus

Inte

rnal

Dat

abas

e A

ddre

ss

Offs

et

Des

crip

tion

7900

0

Num

ber o

f Com

man

d R

eque

sts

7901

1

Num

ber o

f Com

man

d R

espo

nses

79

02

2 N

umbe

r of C

omm

and

Err

ors

7903

3

Num

ber o

f Req

uest

s 79

04

4 N

umbe

r of R

espo

nses

79

05

5 N

umbe

r of E

rror

s R

ecei

ved

7906

6

Num

ber o

f Err

ors

Sen

t 79

07

7 C

onfig

urat

ion

Err

or C

ode

7908

8

Cur

rent

Err

or C

ode

7909

9

Last

Erro

r Cod

e

Page 23: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

58

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.3.

2 U

ncon

nect

ed M

sg D

FNT

Clie

nt 0

Sta

tus

Stat

us R

egis

ter

Des

crip

tion

1280

0 C

omm

and

Req

uest

Cou

nt

1280

1 C

omm

and

Res

pons

e C

ount

12

802

Com

man

d E

rror

Cou

nt

1280

3 N

umbe

r of R

eque

st P

acke

ts

1280

4 N

umbe

r of R

espo

nse

Pack

ets

1280

5 E

rror

s S

ent

1280

6 E

rror

s R

ecei

ved

1280

7 C

onfig

urat

ion

Err

or W

ord

1280

8 C

urre

nt E

rror

12

809

Last

Erro

r 12

810

to 1

2909

C

omm

and

List

Err

ors

1291

0 to

129

99

No

Val

id D

ata

4.3.

3 D

FNT

Clie

nt 1

thro

ugh

4 St

atus

D

FNT

Clie

nts

1 th

roug

h 4

have

the

sam

e de

scrip

tion

and

orde

r as

show

n in

the

DFN

T C

lient

0 S

tatu

s Ta

ble.

The

follo

win

g ta

ble

show

s th

e in

tern

al d

atab

ase

addr

esse

s fo

r clie

nts

1 th

roug

h 4:

D

FNT

Clie

nt

Add

ress

Ran

ge

1 81

00 th

roug

h 81

09

2 83

00 th

roug

h 83

09

3 85

00 th

roug

h 85

09

4 87

00 th

roug

h 87

09

Page 24: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

59

of 1

24

July

24,

201

3

4.3.

4 D

FNT

Serv

er 0

In

tern

al D

atab

ase

Add

ress

D

escr

iptio

n

8900

S

ocke

t Siz

e 89

01

Con

nect

ion

Sta

te

8902

S

ocke

t Ope

n C

ount

89

03

Soc

ket E

stab

lishe

d C

ount

89

04

Soc

ket C

lose

Cou

nt

8905

S

ocke

t Rea

d C

ount

89

06

Pro

cess

ed M

essa

ge C

ount

89

07

Soc

ket W

rite

Cou

nt

8908

S

ocke

t Tim

eout

Cou

nt

8909

H

ost s

_typ

e 89

10

Hos

t Por

t 89

11

Hos

t IP

8912

H

ost I

P 89

13

Res

erve

d 89

14

Res

erve

d 89

15

Res

erve

d 4.

3.5

DFN

T Se

rver

s 1

Thro

ugh

4 D

FNT

Ser

vers

1 th

roug

h 4

have

the

sam

e de

scrip

tion

and

orde

r as

show

n in

the

DFN

T S

erve

r 0 S

tatu

s Ta

ble.

The

follo

win

g ta

ble

show

s th

e in

tern

al d

atab

ase

addr

esse

s fo

r ser

vers

1 th

roug

h 4:

D

FNT

Serv

er

Add

ress

Ran

ge

1 89

16 th

roug

h 89

31

2 89

32 th

roug

h 89

47

3 89

48 th

roug

h 89

63

4 89

64 th

roug

h 89

81

The

follo

win

g ta

ble

defin

es th

e va

lues

repr

esen

ted

in th

e C

onne

ctio

n S

tate

pa

ram

eter

: St

ate

Def

initi

on

0 N

o se

ssio

n ex

ists

on

sock

et

1 S

essi

on e

stab

lishe

d bu

t no

conn

ectio

ns

2 S

essi

on e

stab

lishe

d an

d co

nnec

ted

Page 25: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

60

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.3.

6 D

F1 P

ass-

Thro

ugh

Serv

er

Inte

rnal

Dat

abas

e A

ddre

ss

Des

crip

tion

8982

S

ocke

t Siz

e 89

83

Con

nect

ion

Sta

te

8984

S

ocke

t Ope

n C

ount

89

85

Soc

ket E

stab

lishe

d C

ount

89

86

Soc

ket C

lose

Cou

nt

8987

S

ocke

t Rea

d C

ount

89

88

Pro

cess

ed M

essa

ge C

ount

89

89

Soc

ket W

rite

Cou

nt

8990

S

ocke

t Tim

eout

Cou

nt

8991

H

ost s

_typ

e 89

92

Hos

t Por

t 89

93

Hos

t IP

8994

H

ost I

P 89

95

Res

erve

d 89

96

Res

erve

d 89

97

Res

erve

d 89

98

No

Val

id D

ata

8999

N

o V

alid

Dat

a

Ref

er to

Err

or C

odes

to in

terp

ret t

he s

tatu

s/er

ror c

odes

pre

sent

in th

e da

ta a

rea.

Page 26: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

61

of 1

24

July

24,

201

3

4.4

Ethe

rNet

/IP C

lient

Com

man

d Li

st E

rror

Dat

a E

ach

com

man

d in

the

com

man

d lis

t for

eac

h E

ther

Net

/IP c

lient

has

a re

serv

ed

wor

d va

lue

for a

sta

tus/

erro

r cod

e. T

his

erro

r dat

a lis

t can

be

read

usi

ng th

e D

ebug

/Con

fig P

ort a

nd c

an b

e pl

aced

in th

e m

odul

e’s

inte

rnal

dat

abas

e. E

ach

netw

ork

clie

nt h

as it

s ow

n re

gist

er lo

catio

n pa

ram

eter

. Th

e fir

st w

ord

in th

e re

gist

er lo

catio

n de

fined

con

tain

s th

e st

atus

/err

or c

ode

for

the

first

com

man

d in

the

clie

nt’s

com

man

d lis

t. E

ach

succ

essi

ve w

ord

in th

e co

mm

and

erro

r lis

t is

asso

ciat

ed w

ith th

e ne

xt c

omm

and

in th

e lis

t. Th

eref

ore,

the

size

of t

he d

ata

area

is d

epen

dent

upo

n th

e nu

mbe

r of c

omm

ands

def

ined

. The

st

ruct

ure

of th

e da

ta a

rea

is d

ispl

ayed

in th

e fo

llow

ing

tabl

es:

4.4.

1 D

FNT

Clie

nt 0

(Com

man

d Li

st E

rror

Dat

a)

Inte

rnal

Dat

abas

e A

ddre

ss

Offs

et

Des

crip

tion

7910

0

Com

man

d #0

Err

or S

tatu

s 79

11

1 C

omm

and

#1 E

rror

Sta

tus

7912

2

Com

man

d #2

Err

or S

tatu

s 79

13

3 C

omm

and

#3 E

rror

Sta

tus

7914

4

Com

man

d #4

Err

or S

tatu

s

. .

.

.

. .

8007

97

C

omm

and

#97

Err

or S

tatu

s 80

08

98

Com

man

d #9

8 E

rror

Sta

tus

8009

99

C

omm

and

#99

Err

or S

tatu

s 4.

4.2

DFN

T C

lient

1 T

hrou

gh 4

Com

man

d Li

st E

rror

Add

ress

es

DFN

T cl

ient

s 1

thro

ugh

4 ha

ve th

e sa

me

desc

riptio

n an

d or

der a

s sh

own

in th

e D

FNT

Clie

nt 0

Sta

tus

Tabl

e. T

he fo

llow

ing

tabl

e sh

ows

the

inte

rnal

dat

abas

e ad

dres

ses

for c

lient

s 1

thro

ugh

4:

DFN

T C

lient

A

ddre

ss R

ange

1

8100

thro

ugh

8209

2

8310

thro

ugh

8409

3

8510

thro

ugh

8609

4

8710

thro

ugh

8809

Not

e th

at th

e va

lues

in th

e C

omm

and

List

Erro

r Sta

tus

tabl

es a

re in

itial

ized

to

zero

(0) a

t pow

er-u

p, c

old

boot

and

dur

ing

war

m b

oot.

Ref

er to

the

follo

win

g to

pic

cont

aini

ng E

rror

Cod

es to

inte

rpre

t the

sta

tus/

erro

r cod

es p

rese

nt in

the

data

ar

ea.

Page 27: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

62

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.5

Erro

r Cod

es

The

mod

ule

erro

r cod

es a

re li

sted

in th

is s

ectio

n. E

rror

cod

es re

turn

ed fr

om th

e co

mm

and

list p

roce

ss a

re s

tore

d in

the

com

man

d lis

t err

or m

emor

y re

gion

. A

wor

d is

allo

cate

d fo

r eac

h co

mm

and

in th

e m

emor

y ar

ea. T

he e

rror

cod

es a

re

form

atte

d in

the

wor

d as

follo

ws:

The

leas

t-sig

nific

ant b

yte

of th

e w

ord

cont

ains

th

e ex

tend

ed s

tatu

s co

de a

nd th

e m

ost-s

igni

fican

t byt

e co

ntai

ns th

e st

atus

cod

e.

Use

the

erro

r cod

es re

turn

ed fo

r eac

h co

mm

and

in th

e lis

t to

dete

rmin

e th

e su

cces

s or

failu

re o

f the

com

man

d. If

the

com

man

d fa

ils, u

se th

e er

ror c

ode

to

dete

rmin

e th

e ca

use

of fa

ilure

. No

te: T

he M

odule

Spe

cific

erro

r cod

es (n

ot DF

1 com

plian

t) ar

e retu

rned

from

with

in the

mod

ule

and n

ever

retur

ned f

rom

an at

tache

d DF1

slav

e dev

ice. T

hese

are e

rror c

odes

that

are p

art o

f the

DF1 p

rotoc

ol or

are e

xtend

ed co

des u

nique

to th

is mo

dule.

The

stan

dard

DF1

erro

r cod

es ca

n be

found

in th

e DF1

Pro

tocol

and C

omma

nd S

et Re

feren

ce M

anua

l (Pub

licati

on 17

70-6

.5.16

) fro

m Ro

ckwe

ll Auto

matio

n. Th

e mos

t com

mon e

rrors

for th

e DF1

proto

col a

re sh

own i

n the

follo

wing

tab

les:

4.5.

1 Lo

cal S

TS E

rror

Cod

es

Cod

e (In

t) C

ode

(Hex

) D

escr

iptio

n 0

0x00

00

Suc

cess

, no

erro

r 25

6 0x

0100

D

ST

node

is o

ut o

f buf

fer s

pace

51

2 0x

0200

C

anno

t gua

rant

ee d

eliv

ery

(Lin

k La

yer)

76

8 0x

0300

D

uplic

ate

toke

n ho

lder

det

ecte

d 10

24

0x04

00

Loca

l por

t is

disc

onne

cted

12

80

0x05

00

App

licat

ion

laye

r tim

ed o

ut w

aitin

g fo

r res

pons

e 15

36

0x06

00

Dup

licat

e no

de d

etec

ted

1792

0x

0700

S

tatio

n is

offl

ine

2048

0x

0800

H

ardw

are

faul

t

Page 28: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

63

of 1

24

July

24,

201

3

4.5.

2 R

emot

e ST

S Er

ror C

odes

C

ode

(Int)

Cod

e (H

ex)

Des

crip

tion

0 0x

0000

S

ucce

ss, n

o er

ror

4096

0x

1000

Ill

egal

com

man

d or

form

at

8192

0x

2000

H

ost h

as a

pro

blem

and

will

not

com

mun

icat

e 12

288

0x30

00

Rem

ote

node

hos

t is

mis

sing

, dis

conn

ecte

d or

shu

t dow

n 16

384

0x40

00

Hos

t cou

ld n

ot c

ompl

ete

func

tion

due

to h

ardw

are

faul

t 20

480

0x50

00

Add

ress

ing

prob

lem

or m

emor

y pr

otec

t run

gs

2457

6 0x

6000

Fu

nctio

n no

t allo

wed

due

to c

omm

and

prot

ectio

n se

lect

ion

2687

2 0x

7000

P

roce

ssor

is in

Pro

gram

mod

e -3

2768

0x

8000

C

ompa

tibilit

y m

ode

file

mis

sing

or c

omm

unic

atio

n zo

ne p

robl

em

-286

72

0x90

00

Rem

ote

node

can

not b

uffe

r com

man

d -2

4576

0x

A00

0 W

ait A

CK

(177

5-K

A b

uffe

r ful

l) -2

0480

0x

B00

0 R

emot

e no

de p

robl

em d

ue to

dow

nloa

d -1

6384

0x

C00

0 W

ait A

CK

(177

5-K

A b

uffe

r ful

l) -1

2288

0x

D00

0 N

ot u

sed

-819

2 0x

E00

0 N

ot u

sed

0x

F0nn

E

rror

cod

e in

the

EXT

STS

byt

e (n

n co

ntai

ns E

XT e

rror

cod

e)

Page 29: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

64

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.5.

3 Er

rors

Whe

n EX

T ST

S Is

Pre

sent

C

ode

(Int)

Cod

e (H

ex)

Des

crip

tion

-409

6 0x

F000

N

ot u

sed

-409

5 0x

F001

A

fiel

d ha

s an

ille

gal v

alue

-4

094

0xF0

02

Less

leve

ls s

peci

fied

in a

ddre

ss th

an m

inim

um fo

r any

add

ress

-4

093

0xF0

03

Mor

e le

vels

spe

cifie

d in

add

ress

than

sys

tem

sup

ports

-4

092

0xF0

04

Sym

bol n

ot fo

und

-409

1 0x

F005

S

ymbo

l is

of im

prop

er fo

rmat

-4

090

0xF0

06

Add

ress

doe

s no

t poi

nt to

som

ethi

ng u

sabl

e -4

089

0xF0

07

File

is w

rong

siz

e -4

088

0xF0

08

Can

not c

ompl

ete

requ

est

-408

7 0x

F009

D

ata

or fi

le is

too

larg

e -4

086

0xF0

0A

Tran

sact

ion

size

plu

s w

ord

addr

ess

is to

o la

rge

-408

5 0x

F00B

A

cces

s de

nied

, im

prop

er p

rivile

ge

-408

4 0x

F00C

C

ondi

tion

cann

ot b

e ge

nera

ted

- res

ourc

e is

not

ava

ilabl

e -4

083

0xF0

0D

Con

ditio

n al

read

y ex

ists

- re

sour

ce is

alre

ady

avai

labl

e -4

082

0xF0

0E

Com

man

d ca

nnot

be

exec

uted

-4

081

0xF0

0F

His

togr

am o

verfl

ow

-408

0 0x

F010

N

o ac

cess

-4

079

0xF0

11

Illeg

al d

ata

type

-4

078

0xF0

12

Inva

lid p

aram

eter

or i

nval

id d

ata

-407

7 0x

F013

A

ddre

ss re

fere

nce

exis

ts to

del

eted

are

a -4

076

0xF0

14

Com

man

d ex

ecut

ion

failu

re fo

r unk

now

n re

ason

-4

075

0xF0

15

Dat

a co

nver

sion

erro

r -4

074

0xF0

16

Sca

nner

not

abl

e to

com

mun

icat

e w

ith 1

771

rack

ada

pter

-4

073

0xF0

17

Type

mis

mat

ch

-407

2 0x

F018

11

71 m

odul

e re

spon

se w

as n

ot v

alid

-4

071

0xF0

19

Dup

licat

e la

bel

-407

0 0x

F01A

Fi

le is

ope

n; a

noth

er n

ode

owns

it

-406

9 0x

F01B

A

noth

er n

ode

is th

e pr

ogra

m o

wne

r -4

068

0xF0

1C

Res

erve

d -4

067

0xF0

1D

Res

erve

d -4

066

0xF0

1E

Dat

a ta

ble

elem

ent p

rote

ctio

n vi

olat

ion

-406

5 0x

F01F

Te

mpo

rary

inte

rnal

pro

blem

Page 30: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

65

of 1

24

July

24,

201

3

4.5.

4 M

odul

e Sp

ecifi

c Er

ror (

not D

FNT

Com

plia

nt)

Cod

e (In

t) C

ode

(Hex

) D

escr

iptio

n -1

0x

FFFF

C

TS m

odem

con

trol l

ine

not s

et b

efor

e tra

nsm

it -2

0x

FFFE

Ti

meo

ut w

hile

tran

smitt

ing

mes

sage

-1

0 0x

FFF6

Ti

meo

ut w

aitin

g fo

r DLE

-AC

K a

fter r

eque

st

-11

0xFF

F5

Tim

eout

wai

ting

for r

espo

nse

afte

r req

uest

-1

2 0x

FFF4

R

eply

dat

a do

es n

ot m

atch

requ

este

d by

te c

ount

-2

0 0x

FFE

C

DLE

-NA

K re

ceiv

ed a

fter r

eque

st

-21

0xFF

EB

D

LE-N

AK

sen

t afte

r res

pons

e -2

00

0xFF

38

DLE

-NA

K re

ceiv

ed a

fter r

eque

st

Page 31: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

66

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

4.6

TCP/

IP In

terf

ace

Erro

rs

4.6.

1 Ti

meo

ut E

rror

s Er

ror (

Int)

Erro

r (H

ex)

Des

crip

tion

-33

0xFF

DF

Faile

d to

con

nect

to ta

rget

-3

4 0x

FFD

E

Faile

d to

regi

ster

ses

sion

with

targ

et (t

imeo

ut)

-35

0xFF

DD

Fa

iled

forw

ard

open

resp

onse

tim

eout

-3

6 0x

FFD

C

PC

CC

com

man

d re

spon

se ti

meo

ut

-37

0xFF

DB

N

o TC

P/IP

con

nect

ion

erro

r -4

7 0x

FFD

9 A

RP

cou

ld n

ot re

solv

e M

AC

from

IP (b

ad IP

add

ress

, not

par

t of a

ne

twor

k, in

valid

par

amet

er to

AR

P ro

utin

e).

-48

0xFF

D7

Err

or d

urin

g A

RP

ope

ratio

n: th

e re

spon

se to

the

AR

P re

ques

t did

not

ar

rive

to th

e m

odul

e af

ter a

5 s

econ

d tim

eout

.

Note

: Whe

n the

clien

t gets

erro

r -47

or -4

8, it u

ses t

he ad

justab

le AR

P Tim

eout

para

meter

in th

e co

nfigu

ratio

n file

to se

t an a

moun

t of ti

me to

wait

befor

e tryi

ng ag

ain to

conn

ect to

this

non-

exist

ent

serve

r. Th

is fea

ture a

llows

the c

lient

to co

ntinu

e sen

ding c

omma

nds a

nd po

lling o

ther e

xistin

g se

rvers,

whil

e wait

ing fo

r the

non-

exist

ent s

erve

r to a

ppea

r on t

he ne

twor

k. 4.

6.2

Reg

iste

r Ses

sion

Res

pons

e Er

rors

Er

ror (

Int)

Erro

r (H

ex)

Des

crip

tion

-49

0xFF

CF

Inva

lid re

spon

se le

ngth

-5

0 0x

FFC

E

Com

man

d fie

ld in

valid

-5

1 0x

FFC

D

Inva

lid le

ngth

fiel

d pa

ram

eter

-5

2 0x

FFC

C

Sta

tus

erro

r rep

orte

d -5

3 0x

FFC

B

Con

text

fiel

d no

t mat

ched

-5

4 0x

FFC

A

Inva

lid v

ersi

on

4.6.

3 Fo

rwar

d O

pen

Res

pons

e Er

rors

Er

ror (

Int)

Erro

r (H

ex)

Des

crip

tion

-65

0xFF

BF

Mes

sage

Len

gth

rece

ived

not

val

id

-66

0xFF

BE

C

omm

and

code

retu

rned

not

val

id

-67

0xFF

BD

S

essi

on h

andl

e fie

ld in

valid

-6

8 0x

FFB

C

Sta

tus

erro

r rep

orte

d -6

9 0x

FFB

B

Con

text

fiel

d no

t mat

ched

-7

0 0x

FFB

A

CP

F ite

m c

ount

not

cor

rect

-7

1 0x

FFB

9 C

PF

addr

ess

field

erro

r -7

2 0x

FFB

8 C

PF

pack

et ta

g in

valid

-7

3 0x

FFB

7 C

PF

bad

com

man

d co

de

-74

0xFF

B6

CPF

inva

lid IO

I -7

5 0x

FFB

5 C

PF

stat

us e

rror

repo

rted

Page 32: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Diag

nosti

cs an

d Tro

ubles

hooti

ng

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Proto

col M

anua

l

ProS

oft T

echn

olog

y, In

c.

Page

67

of 1

24

July

24,

201

3

4.6.

4 PC

CC

Res

pons

e Er

rors

Er

ror (

Int)

Erro

r (H

ex)

Des

crip

tion

-81

0xFF

AF

Mes

sage

Len

gth

rece

ived

not

val

id

-82

0xFF

AE

C

omm

and

code

retu

rned

not

val

id

-83

0xFF

AD

S

essi

on h

andl

e fie

ld in

valid

-8

4 0x

FFA

C

Sta

tus

erro

r rep

orte

d -8

5 0x

FFA

B

Con

text

fiel

d no

t mat

ched

-8

6 0x

FFA

A

CP

F ite

m c

ount

not

cor

rect

-8

7 0x

FFA

9 C

PF

addr

ess

field

erro

r -8

8 0x

FFA

8 C

PF

pack

et ta

g in

valid

-8

9 0x

FFA

7 C

PF

bad

com

man

d co

de

-90

0xFF

A6

CPF

inva

lid IO

I -9

1 0x

FFA

5 C

PF

stat

us e

rror

repo

rted

-92

0xFF

A4

-9

3 0x

FFA

3 TS

N in

PC

CC

mes

sage

not

mat

ched

-9

4 0x

FFA

2 C

PF

not c

orre

ct m

essa

ge n

umbe

r -9

5 0x

FFA

1 C

PF

inco

rrec

t con

nect

ion

ID v

alue

retu

rned

-9

6 0x

FFA

0 In

corre

ct s

essi

on h

andl

e re

turn

ed

Page 33: Dfnt Protocol Manual p2

Diag

nosti

cs an

d Tro

ubles

hooti

ng

DFNT

♦ P

roLin

x Gate

way

Proto

col M

anua

l Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r

Page

68

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

Page 34: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

69

of 1

24

July

24,

201

3 5

Ref

eren

ce

In T

his C

hapt

er

C

omm

and

Func

tion

Cod

es ...

......

......

......

......

......

......

......

......

......

......

.....

70

G

ener

al C

omm

and

Stru

ctur

e ....

......

......

......

......

......

......

......

......

......

......

. 71

P

LC-5

Pro

cess

or S

peci

fics .

......

......

......

......

......

......

......

......

......

......

......

. 85

S

LC P

roce

ssor

Spe

cific

s ....

......

......

......

......

......

......

......

......

......

......

......

. 87

M

icro

Logi

x P

roce

ssor

Spe

cific

s ....

......

......

......

......

......

......

......

......

......

... 8

8

C

ontro

lLog

ix P

roce

ssor

Spe

cific

s ....

......

......

......

......

......

......

......

......

......

89

R

SLi

nx S

oftw

are .

......

......

......

......

......

......

......

......

......

......

......

......

......

.....

90

R

SV

iew

Sof

twar

e ...

......

......

......

......

......

......

......

......

......

......

......

......

.....

100

C

ontro

lLog

ix (C

LX) P

roce

ssor

......

......

......

......

......

......

......

......

......

......

. 103

P

LC5

Pro

cess

or ..

......

......

......

......

......

......

......

......

......

......

......

......

......

.. 11

1

S

LC 5

/05

Pro

cess

or ..

......

......

......

......

......

......

......

......

......

......

......

......

.. 11

4

D

FNT

Com

man

d En

try F

orm

......

......

......

......

......

......

......

......

......

......

... 1

17

Page 35: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

70

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.1

Com

man

d Fu

nctio

n C

odes

In

the

follo

win

g di

scus

sion

, the

Col

umn

valu

es a

re d

escr

ibed

for t

he s

eria

l DFC

M

Com

man

d lis

t (Se

e N

ode

Add

ress

par

amet

er #

6). I

n th

e D

FNT

mod

ule,

the

Nod

e ad

dres

s ha

s be

en re

plac

ed w

ith tw

o pa

ram

eter

s; th

e IP

Add

ress

and

the

Slot

N

umbe

r, ca

usin

g th

e Fu

nctio

n C

ode

and

Func

tion

Par

amet

ers

to o

ccup

y po

sitio

ns 8

to 1

2 in

stea

d of

7 to

11.

Asi

de fr

om th

is d

iffer

ence

, all

othe

r in

form

atio

n is

cor

rect

.

DFNT

Con

figur

atio

n Fo

rm

Modu

le In

form

atio

n Da

ta

Devic

e Inf

orm

atio

n Da

ta

1 2

3 4

5 6

7 8

9 10

11

12

En

able

Code

Int

erna

l Ad

dres

s Po

ll Int

erva

l Tim

e

Coun

t Sw

ap

Code

IP

Ad

dres

s Sl

ot Nu

mber

Fu

nctio

n Co

de

Func

tion P

aram

eters

DFNT

Com

man

d St

ruct

ure

Modu

le In

form

atio

n Da

ta

Devic

e Inf

orm

atio

n Da

ta

Colu

mn

# 1

2 3

4 5

6 7

8 9

10

11

12

Func

tion

Code

En

able

Code

Int

erna

l Ad

dres

s Po

ll Int

erva

l Tim

e

Coun

t Sw

ap

Code

IP

Ad

dres

s Sl

ot Nu

mber

Fu

nctio

n Co

de

Func

tion P

aram

eters

Page 36: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

71

of 1

24

July

24,

201

3

5.2

Gen

eral

Com

man

d St

ruct

ure

DF

1 Mas

ter P

ort C

omm

and

Stru

ctur

e (Fi

le fo

r eac

h Ma

ster

Po

rt)

Desc

riptio

n

Com

mun

icat

ion

Mod

ule

Info

rmat

ion

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s, 2=

Cond

itiona

l and

999=

Poll.

The

cond

itiona

l type

only

appli

es to

the w

rite fu

nctio

ns.

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the v

irtual

datab

ase r

egist

er to

be

asso

ciated

with

the c

omma

nd.

Poll I

nterva

l Mi

nimum

time i

n ten

ths of

a se

cond

to w

ait be

fore p

olling

with

this

comm

and.

Coun

t Nu

mber

of da

ta va

lues o

r reg

ister

s to b

e con

sider

ed by

the

functi

on.

Swap

Typ

e Cod

e Sw

ap ty

pe co

de fo

r com

mand

: 0=N

one,

1=Sw

ap w

ords

, 2=S

wap

word

s & by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

Dev

ice

Info

rmat

ion

Node

Add

ress

No

de ad

dres

s of u

nit to

be re

ache

d on t

he da

ta hig

hway

. Fu

nctio

n Cod

e Th

is pa

rame

ter de

fines

the m

odule

func

tion c

ode t

o be

asso

ciated

with

the c

omma

nd. E

ach f

uncti

on co

de re

quire

s a se

t of

para

meter

s to c

onstr

uct th

e DF1

mes

sage

. Pa

rame

ters

Up to

four

para

meter

fields

can f

ollow

the f

uncti

on co

de fie

ld to

defin

e the

elem

ent o

r data

regis

ter to

be co

nside

red b

y the

fun

ction

.

Not

e th

at th

e N

ode

Add

ress

fiel

d in

the

seria

l im

plem

enta

tion

has

been

exp

ande

d to

two

field

s: IP

Add

ress

and

Slo

t Num

ber i

n th

e D

FNT

Ethe

rnet

impl

emen

tatio

n.

This

is re

quire

d fo

r net

wor

k su

ppor

t. Th

e IP

Add

ress

spe

cifie

s th

e IP

add

ress

of

the

devi

ce to

reac

h on

the

netw

ork.

The

Slo

t Num

ber h

as s

peci

fic m

eani

ng

dete

rmin

ed b

y th

e pr

oces

sor.

For C

ontro

lLog

ix p

roce

ssor

s, th

e S

lot N

umbe

r is

the

loca

tion

in th

e C

ontro

lLog

ix ra

ck o

f the

pro

cess

or. F

or a

four

-slo

t rac

k, th

is

para

met

er w

ould

hav

e a

valid

rang

e of

0 to

3. F

or th

e PL

C5

and

SLC

fam

ily o

f pr

oces

sors

, the

Slo

t Num

ber p

aram

eter

is a

lway

s se

t to

-1. T

hese

pro

cess

ors

do

not h

ave

a sl

ot n

umbe

r in

the

path

fiel

d as

the

Eth

erne

t int

erfa

ce is

resi

dent

on

the

proc

esso

r. Th

e fo

llow

ing

tabl

es d

efin

e th

e pa

ram

eter

s re

quire

d fo

r eac

h fu

nctio

n.

Page 37: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

72

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

1 Fu

nctio

n C

ode

#1 -

Prot

ecte

d W

rite

(Bas

ic C

omm

and

Set)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t da

ta po

int to

be as

socia

ted w

ith th

e com

mand

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e poll

ing

with

this c

omma

nd.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 1

Prote

cted W

rite F

uncti

on

9

Wor

d Add

ress

W

ord a

ddre

ss w

here

to st

art th

e write

oper

ation

. P1

10

to 12

No

t Use

d Th

ese f

ields

are n

ot us

ed by

the c

omma

nd. V

alues

en

tered

in th

ese c

olumn

s will

be ig

nore

d.

P2 to

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

into

a li

mite

d ar

ea o

f the

sla

ve

devi

ce. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

177

4-P

LC, P

LC-2

, P

LC-3

, PLC

-5 a

nd P

LC-5

/250

. 5.

2.2

Func

tion

Cod

e #2

- U

npro

tect

ed R

ead

(Bas

ic C

omm

and

Set)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d and

1=Co

ntinu

ous.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t da

ta po

int to

be as

socia

ted w

ith th

e com

mand

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 2

Unpr

otecte

d Rea

d Fun

ction

9 W

ord A

ddre

ss

Wor

d add

ress

whe

re to

star

t the r

ead o

pera

tion.

P1

10

to 12

No

t Use

d Th

ese f

ields

are n

ot us

ed by

the c

omma

nd. V

alues

en

tered

in th

ese c

olumn

s will

be ig

nore

d.

P2 to

P4

This

func

tion

read

s on

e or

mor

e w

ords

of d

ata

from

the

PLC

mem

ory.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: 1

774-

PLC

, PLC

-2, P

LC-3

, PLC

-5,

SLC

500

, SLC

5/0

3, S

LC 5

/04

and

Mic

roLo

gix

1000

.

Page 38: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

73

of 1

24

July

24,

201

3

5.2.

3 Fu

nctio

n C

ode

#3 -

Prot

ecte

d B

it W

rite

(Bas

ic C

omm

and

Set)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s for

the

data

to be

asso

ciated

with

the c

omma

nd. T

he ad

dres

s de

fined

repr

esen

ts a r

egist

er ad

dres

s and

not a

bit

addr

ess.

This

functi

on w

ill up

date

one o

r mor

e wor

ds of

da

ta as

defin

ed by

the c

ount

para

meter

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: A

lway

s zer

o (0)

.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 3

Pr

otecte

d Bit W

rite F

uncti

on

9

Wor

d Add

ress

W

ord a

ddre

ss w

here

to st

art th

e write

oper

ation

. P1

10

to 12

No

t Use

d Th

ese f

ields

are n

ot us

ed by

the c

omma

nd. V

alues

en

tered

in th

ese c

olumn

s will

be ig

nore

d.

P2 to

P4

This

func

tion

sets

or r

eset

s in

divi

dual

bits

with

in a

lim

ited

area

of t

he P

LC d

ata

tabl

e. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

177

4-P

LC, P

LC-2

, P

LC-3

, PLC

-5 a

nd P

LC-5

/250

. 5.

2.4

Func

tion

Cod

e #4

- U

npro

tect

ed B

it W

rite

(Bas

ic C

omm

and

Set)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s for

the

data

to be

asso

ciated

with

the c

omma

nd. T

he ad

dres

s de

fined

repr

esen

ts a r

egist

er ad

dres

s and

not a

bit

addr

ess.

This

functi

on w

ill up

date

one o

r mor

e wor

ds of

da

ta as

defin

ed by

the c

ount

para

meter

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: A

lway

s zer

o (0)

.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 4

Un

prote

cted B

it Write

Fun

ction

9 W

ord A

ddre

ss

Wor

d add

ress

whe

re to

star

t the w

rite op

erati

on.

P1

10 to

12

Not U

sed

Thes

e fiel

ds ar

e not

used

by th

e com

mand

. Valu

es

enter

ed in

thes

e colu

mns w

ill be

igno

red.

P2

to P

4

Page 39: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

74

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

This

func

tion

sets

or r

eset

s in

divi

dual

bits

with

in a

lim

ited

area

of t

he P

LC d

ata

tabl

e. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

177

4-P

LC, P

LC-2

, P

LC-3

and

PLC

-5.

5.2.

5 Fu

nctio

n C

ode

#5 -

Unp

rote

cted

Writ

e (B

asic

Com

man

d Se

t) Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled,

1=Co

ntinu

ous a

nd 2=

Cond

itiona

l.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the f

irst

data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 5

Unpr

otecte

d Write

Fun

ction

9 W

ord A

ddre

ss

Wor

d add

ress

whe

re to

star

t the w

rite op

erati

on.

P1

10 to

12

Not U

sed

Thes

e fiel

ds ar

e not

used

by th

e com

mand

. Valu

es

enter

ed in

thes

e colu

mns w

ill be

igno

red.

P2

to P

4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to th

e PL

C m

emor

y. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

177

4-P

LC, P

LC-2

, PLC

-3, P

LC-5

, SLC

50

0, S

LC 5

/03,

SLC

5/0

4 an

d M

icro

Logi

x 10

00.

Page 40: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

75

of 1

24

July

24,

201

3

5.2.

6 Fu

nctio

n C

ode

#100

- W

ord

Ran

ge W

rite

(PLC

-5 C

omm

and)

(B

inar

y A

ddre

ss)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t da

ta po

int to

be as

socia

ted w

ith th

e com

mand

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 10

0 W

ord R

ange

Write

Com

mand

.

9 Fil

e Num

ber

PLC-

5 file

numb

er to

be as

socia

ted w

ith th

e com

mand

. If a

value

of -1

is en

tered

for t

he pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he co

mman

d, an

d the

defau

lt file

will

be

used

.

P1

10

Elem

ent N

umbe

r Th

e par

amete

r defi

nes t

he el

emen

t in th

e file

whe

re

write

oper

ation

will

start.

If a v

alue o

f -1 i

s ente

red f

or

the pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he

comm

and,

and t

he de

fault e

lemen

t will

be us

ed.

P2

11

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

Refer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b- el

emen

t cod

es. If

the v

alue i

s set

to -1

, the

defau

lt sub

-elem

ent n

umbe

r will

be us

ed.

P3

12

Not U

sed

This

field

is no

t use

d by t

he co

mman

d. Va

lues e

ntere

d in

this c

olumn

will

be ig

nore

d.

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: P

LC-5

.

Page 41: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

76

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

7 Fu

nctio

n C

ode

#101

- W

ord

Ran

ge R

ead

(PLC

-5 C

omm

and)

(B

inar

y A

ddre

ss)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d and

1=Co

ntinu

ous.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t da

ta po

int to

be as

socia

ted w

ith th

e com

mand

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 10

1 W

ord R

ange

Write

Com

mand

.

9 Fil

e Num

ber

PLC-

5 file

numb

er to

be as

socia

ted w

ith th

e com

mand

. If a

value

of -1

is en

tered

for t

he pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he co

mman

d, an

d the

defau

lt file

will

be

used

.

P1

10

Elem

ent N

umbe

r Th

e par

amete

r defi

nes t

he el

emen

t in th

e file

whe

re

write

oper

ation

will

start.

If a v

alue o

f -1 i

s ente

red f

or

the pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he

comm

and,

and t

he de

fault e

lemen

t will

be us

ed.

P2

11

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

Refer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b- el

emen

t cod

es. If

the v

alue i

s set

to -1

, the

defau

lt sub

-elem

ent n

umbe

r will

be us

ed.

P3

12

Not U

sed

This

field

is no

t use

d by t

he co

mman

d. Va

lues e

ntere

d in

this c

olumn

will

be ig

nore

d. P4

This

func

tion

read

s on

e or

mor

e w

ords

of d

ata

from

a P

LC d

ata

tabl

e. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

PLC

-5.

Page 42: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

77

of 1

24

July

24,

201

3

5.2.

8 Fu

nctio

n C

ode

#102

- R

ead-

Mod

ify-W

rite

(PLC

-5 C

omm

and)

(B

inar

y A

ddre

ss)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s for

the

data

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um nu

mber

of se

cond

s to w

ait be

fore p

olling

with

thi

s com

mand

.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: A

lway

s zer

o (0)

.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 10

2 Re

ad-M

odify

-Write

Com

mand

.

9 Fil

e Num

ber

PLC-

5 file

numb

er to

be as

socia

ted w

ith th

e com

mand

. If a

value

of -1

is en

tered

for t

he pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he co

mman

d, an

d the

defau

lt file

will

be

used

.

P1

10

Elem

ent N

umbe

r Th

e par

amete

r defi

nes t

he el

emen

t in th

e file

whe

re

write

oper

ation

will

start.

If a v

alue o

f -1 i

s ente

red f

or

the pa

rame

ter, th

e fiel

d will

not b

e use

d in t

he

comm

and,

and t

he de

fault e

lemen

t will

be us

ed.

P2

11

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

Refer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b-ele

ment

code

s. If t

he va

lue is

set to

-1, th

e de

fault s

ub-e

lemen

t num

ber w

ill be

used

.

P3

12

Not U

sed

This

field

is no

t use

d by t

he co

mman

d. Va

lues e

ntere

d in

this c

olumn

will

be ig

nore

d.

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: P

LC-5

. The

com

man

d co

nstru

cted

co

ntai

ns a

n A

ND

mas

k an

d an

OR

mas

k. V

alue

s in

the

AND

mas

k ha

ve th

e fo

llow

ing

defin

ition

s: 0

=Res

et a

nd 1

=Lea

ve th

e Sa

me.

Val

ues

in th

e O

R m

ask

have

the

follo

win

g de

finiti

ons:

0=L

eave

the

Sam

e an

d 1=

Set

. The

mod

ule

is

resp

onsi

ble

for s

ettin

g th

e m

ask

valu

es to

cor

rect

ly c

onst

ruct

the

mes

sage

from

th

e vi

rtual

dat

abas

e va

lues

.

Page 43: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

78

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

9 Fu

nctio

n C

ode

#150

- W

ord

Ran

ge W

rite

(PLC

-5 C

omm

and)

(A

SCII

Add

ress

) Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled,

1=Co

ntinu

ous a

nd 2=

Cond

itiona

l.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the f

irst

data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 15

0 W

ord R

ange

Write

Com

mand

.

9 Fil

e Strin

g PL

C-5 a

ddre

ss as

spec

ified a

s an A

SCII s

tring.

For

exam

ple, N

10:30

0. P1

10 to

12

Not U

sed

Thes

e fiel

ds ar

e not

used

by th

e com

mand

. Valu

es

enter

ed in

thes

e colu

mns w

ill be

igno

red.

P2

to P

4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: P

LC-5

. 5.

2.10

Fun

ctio

n C

ode

#151

- W

ord

Ran

ge R

ead

(PLC

-5 C

omm

and)

(A

SCII

Add

ress

) Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled a

nd 1=

Conti

nuou

s.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the f

irst

data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befo

re

pollin

g with

this

comm

and.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 15

1 W

ord R

ange

Rea

d Com

mand

.

9 Fil

e Strin

g PL

C-5 a

ddre

ss as

spec

ified a

s an A

SCII s

tring.

For

exam

ple, N

10:30

0. P1

10 to

12

Not U

sed

Thes

e fiel

ds ar

e not

used

by th

e com

mand

. Valu

es

enter

ed in

thes

e colu

mns w

ill be

igno

red.

P2

to P

4

This

func

tion

read

s on

e or

mor

e w

ords

of d

ata

from

a P

LC d

ata

tabl

e. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

PLC

-5.

Page 44: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

79

of 1

24

July

24,

201

3

5.2.

11 F

unct

ion

Cod

e #1

52 -

Rea

d-M

odify

-Writ

e (P

LC-5

Com

man

d)

(ASC

II A

ddre

ss)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s for

the

data

to be

asso

ciated

with

the c

omma

nd. T

he fir

st da

tabas

e reg

ister

is us

ed as

the A

ND m

ask f

or th

e co

mman

d, an

d the

seco

nd is

used

for t

he O

R ma

sk.

Value

s in t

he A

ND m

ask h

ave t

he fo

llowi

ng de

finitio

ns:

0=Re

set a

nd 1=

Leav

e the

Sam

e. Va

lues i

n the

OR

mask

have

the f

ollow

ing de

finitio

ns: 0

=Lea

ve th

e Sam

e an

d 1=S

et.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4

Coun

t Nu

mber

of da

ta wo

rd va

lues t

o be c

onsid

ered

by th

e fun

ction

.

5

Swap

Typ

e Cod

e Sw

ap ty

pe co

de fo

r com

mand

: Alw

ays z

ero (

0).

6

Node

Add

ress

Ad

dres

s of u

nit to

reac

h on t

he da

ta hig

hway

.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 15

2 Re

ad-M

odify

-Write

Com

mand

.

9 Fil

e Strin

g PL

C-5 a

ddre

ss as

spec

ified a

s an A

SCII s

tring.

For

exam

ple, N

10:30

0. P1

10 to

12

Not U

sed

Thes

e fiel

ds ar

e not

used

by th

e com

mand

. Valu

es

enter

ed in

thes

e colu

mns w

ill be

igno

red.

P2

to P

4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: P

LC-5

. The

com

man

d co

nstru

cted

co

ntai

ns a

n A

ND

mas

k an

d an

OR

mas

k. V

alue

s in

the

AND

mas

k ha

ve th

e fo

llow

ing

defin

ition

s: 0

=Res

et a

nd 1

=Lea

ve th

e Sa

me.

Val

ues

in th

e O

R m

ask

have

the

follo

win

g de

finiti

ons:

0=L

eave

the

Sam

e an

d 1=

Set

. The

mod

ule

is

resp

onsi

ble

for s

ettin

g th

e m

ask

valu

es to

cor

rect

ly c

onst

ruct

the

mes

sage

from

th

e vi

rtual

dat

abas

e va

lues

.

Page 45: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

80

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

12 F

unct

ion

Cod

e #5

01 -

Prot

ecte

d Ty

ped

Logi

cal R

ead

(Tw

o A

ddre

ss F

ield

s)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d and

1=Co

ntinu

ous.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t da

ta po

int to

be as

socia

ted w

ith th

e com

mand

.

3 Po

ll Inte

rval

Minim

um nu

mber

of se

cond

s to w

ait be

fore p

olling

with

thi

s com

mand

.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 50

1 Lo

gical

Read

Com

mand

9 Fil

e Typ

e SL

C file

type

lette

r as u

sed i

n file

name

strin

g. Va

lid

value

s for

the s

ystem

are N

, S, F

, A, …

. P1

10

File N

umbe

r SL

C file

numb

er to

be as

socia

ted w

ith th

e com

mand

. P2

11

El

emen

t Num

ber

The p

aram

eter d

efine

s the

elem

ent in

the f

ile w

here

wr

ite op

erati

on w

ill sta

rt.

P3

12

Not U

sed

This

field

is no

t use

d by t

he co

mman

d. Va

lues e

ntere

d in

this c

olumn

will

be ig

nore

d.

P4

This

func

tion

read

s on

e or

mor

e w

ords

of d

ata

from

a P

LC d

ata

tabl

e.

Page 46: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

81

of 1

24

July

24,

201

3

5.2.

13 F

unct

ion

Cod

e #5

02 -

Prot

ecte

d Ty

ped

Logi

cal R

ead

(Thr

ee

Add

ress

Fie

lds)

Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled a

nd 1=

Conti

nuou

s.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the f

irst

data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um nu

mber

of se

cond

s to w

ait be

fore p

olling

with

thi

s com

mand

.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 50

2 Lo

gical

Read

Com

mand

9 Fil

e Typ

e SL

C file

type

lette

r as u

sed i

n file

name

strin

g. Va

lid

value

s for

the s

ystem

are N

, S, F

, A, …

. P1

10

File N

umbe

r SL

C file

numb

er to

be as

socia

ted w

ith th

e com

mand

. P2

11

El

emen

t Num

ber

The p

aram

eter d

efine

s the

elem

ent in

the f

ile w

here

wr

ite op

erati

on w

ill sta

rt.

P3

12

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

R efer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b-ele

ment

code

s.

P4

This

func

tion

read

s on

e or

mor

e w

ords

of d

ata

from

a P

LC d

ata

tabl

e. T

his

func

tion

shou

ld w

ork

on th

e fo

llow

ing

devi

ces:

SLC

500

, SLC

5/0

3 an

d S

LC 5

/04.

Page 47: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

82

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

14 F

unct

ion

Cod

e #5

09 -

Prot

ecte

d Ty

ped

Logi

cal W

rite

(Tw

o A

ddre

ss F

ield

s)

Colu

mn

Para

met

er

Desc

riptio

n Pa

ram

eter

1

Enab

le/Ty

pe W

ord

0=Di

sable

d, 1=

Conti

nuou

s and

2=Co

nditio

nal.

2

Virtu

al Da

tabas

e Add

ress

Th

is pa

rame

ter de

fines

the d

ataba

se ad

dres

s of th

e firs

t data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wo

rds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n ea

ch w

ord.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 50

9 Lo

gical

Write

Com

mand

9 Fil

e Typ

e SL

C file

type

lette

r as u

sed i

n file

name

strin

g. Va

lid

value

s for

the s

ystem

are N

, S, F

, A, …

. P1

10

File N

umbe

r SL

C file

numb

er to

be as

socia

ted w

ith th

e com

mand

. P2

11

El

emen

t Num

ber

The p

aram

eter d

efine

s the

elem

ent in

the f

ile w

here

wr

ite op

erati

on w

ill sta

rt.

P3

12

Not U

sed

This

field

is no

t use

d by t

he co

mman

d. Va

lues e

ntere

d in

this c

olumn

will

be ig

nore

d.

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Page 48: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

83

of 1

24

July

24,

201

3

5.2.

15 F

unct

ion

Cod

e #5

10 -

Prot

ecte

d Ty

ped

Logi

cal W

rite

(Thr

ee

Add

ress

Fie

lds)

Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled,

1=Co

ntinu

ous a

nd 2=

Cond

itiona

l.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the f

irst

data

point

to be

asso

ciated

with

the c

omma

nd.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: 0

=Non

e, 1=

Swap

wor

ds,

2=Sw

ap w

ords

& by

tes an

d 3=s

wap b

ytes i

n eac

h wor

d.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 51

0 Lo

gical

Write

Com

mand

9 Fil

e Typ

e SL

C file

type

lette

r as u

sed i

n file

name

strin

g. Va

lid

value

s for

the s

ystem

are N

, S, F

, A, …

. P1

10

File N

umbe

r SL

C file

numb

er to

be as

socia

ted w

ith th

e com

mand

. P2

11

El

emen

t Num

ber

The p

aram

eter d

efine

s the

elem

ent in

the f

ile w

here

wr

ite op

erati

on w

ill sta

rt.

P3

12

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

Refer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b-ele

ment

code

s.

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

to a

PLC

dat

a ta

ble.

Thi

s fu

nctio

n sh

ould

wor

k on

the

follo

win

g de

vice

s: S

LC 5

00, S

LC 5

/03

and

SLC

5/0

4.

Page 49: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

84

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.2.

16 F

unct

ion

Cod

e #5

11 -

Prot

ecte

d Ty

ped

Logi

cal W

rite

with

Mas

k (T

hree

Add

ress

Fie

lds)

Co

lum

n Pa

ram

eter

De

scrip

tion

Para

met

er

1 En

able/

Type

Wor

d 0=

Disa

bled,

1=Co

ntinu

ous a

nd 2=

Cond

itiona

l.

2 Vi

rtual

Datab

ase A

ddre

ss

This

para

meter

defin

es th

e data

base

addr

ess o

f the

data

to be

asso

ciated

with

the c

omma

nd. T

he fir

st wo

rd of

data

conta

ins th

e bit m

ask a

nd th

e sec

ond

word

conta

ins th

e data

.

3 Po

ll Inte

rval

Minim

um tim

e in t

enths

of a

seco

nd to

wait

befor

e po

lling w

ith th

is co

mman

d.

4 Co

unt

Numb

er of

data

word

value

s to b

e con

sider

ed by

the

functi

on.

5 Sw

ap T

ype C

ode

Swap

type

code

for c

omma

nd: A

lway

s zer

o (0)

.

6 No

de A

ddre

ss

Addr

ess o

f unit

to re

ach o

n the

data

highw

ay.

7

Slot

Numb

er

Proc

esso

r slot

numb

er in

Con

trol/C

ompa

ctLog

ix ra

ck.

Use -

1 for

PLC

5 & S

LC pr

oces

sors.

8 Fu

nctio

n Cod

e = 51

1 Lo

gical

Write

with

mas

k

9 Fil

e Typ

e SL

C file

type

lette

r as u

sed i

n file

name

strin

g. Va

lid

value

s for

the s

ystem

are N

, S, F

, A, …

. P1

10

File N

umbe

r SL

C file

numb

er to

be as

socia

ted w

ith th

e com

mand

. P2

11

El

emen

t Num

ber

The p

aram

eter d

efine

s the

elem

ent in

the f

ile w

here

wr

ite op

erati

on w

ill sta

rt.

P3

12

Sub-

Elem

ent N

umbe

r Th

is pa

rame

ter de

fines

the s

ub-e

lemen

t for t

he

comm

and.

Refer

to th

e AB

docu

menta

tion f

or a

list o

f va

lid su

b-ele

ment

code

s.

P4

This

func

tion

writ

es o

ne o

r mor

e w

ords

of d

ata

from

a P

LC d

ata

tabl

e co

ntro

lling

indi

vidu

al b

its in

the

tabl

e. T

he b

it m

ask

used

for t

he c

omm

and

is 0

xFFF

F. T

his

prov

ides

dire

ct m

anip

ulat

ion

of th

e da

ta in

the

devi

ce w

ith th

e in

tern

al d

ata

of th

e m

odul

e. T

he fu

nctio

n re

quire

s th

at a

ll da

ta a

ssoc

iate

d w

ith th

e co

mm

and

use

the

sam

e m

ask.

Page 50: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

85

of 1

24

July

24,

201

3

5.3

PLC

-5 P

roce

ssor

Spe

cific

s Th

is s

ectio

n co

ntai

ns in

form

atio

n sp

ecifi

c to

the

PLC

-5 p

roce

ssor

with

rela

tion

to

the

DF1

com

man

d se

t. Th

e co

mm

ands

spe

cific

to th

e P

LC-5

pro

cess

or c

onta

in a

su

b-el

emen

t cod

e fie

ld. T

his

field

sel

ects

a s

ub-e

lem

ent f

ield

in a

com

plex

dat

a ta

ble.

For

exa

mpl

e, to

obt

ain

the

curre

nt a

ccum

ulat

ed v

alue

for a

cou

nter

or

timer

, the

sub

-ele

men

t fie

ld s

houl

d be

set

to 2

. The

tabl

es b

elow

sho

w th

e su

b-el

emen

t cod

es fo

r PLC

-5 c

ompl

ex d

ata

tabl

es.

5.3.

1 PL

C-5

Sub

-Ele

men

t Cod

es

Tim

er /

Cou

nter

C

ode

Des

crip

tion

0 C

ontro

l 1

Pre

set

2 A

ccum

ulat

ed

Con

trol

Cod

e D

escr

iptio

n 0

Con

trol

1 Le

ngth

2

Pos

ition

P

D*

Cod

e D

escr

iptio

n 0

Con

trol

2 S

P

4 K

p 6

Ki

8 K

d 26

P

V

*All

PD

val

ues

are

float

ing

poin

t val

ues,

so

they

are

two

wor

ds lo

ng.

BT

Cod

e D

escr

iptio

n 0

Con

trol

1 R

LEN

2

DLE

N

3 D

ata

file

# 4

Ele

men

t #

5 R

ack/

Grp

/Slo

t

Page 51: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

86

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

MG

C

ode

Des

crip

tion

0 C

ontro

l 1

Err

or

2 R

LEN

3

DLE

N

Page 52: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

87

of 1

24

July

24,

201

3

5.4

SLC

Pro

cess

or S

peci

fics

This

sec

tion

cont

ains

info

rmat

ion

spec

ific

to th

e S

LC p

roce

ssor

bas

ed fa

mily

w

hen

used

with

the

DF1

com

man

d se

t. Th

e S

LC p

roce

ssor

com

man

ds s

uppo

rt a

file

type

fiel

d en

tere

d as

a s

ingl

e ch

arac

ter t

o de

note

the

data

tabl

e to

inte

rface

w

ith in

the

com

man

d. T

he fo

llow

ing

tabl

e de

fines

the

rela

tions

hip

of th

e fil

e ty

pes

acce

pted

by

the

mod

ule

and

the

SLC

file

type

s:

5.4.

1 SL

C F

ile T

ypes

Fi

le T

ype

Des

crip

tion

S

Sta

tus

B

Bit

T Ti

mer

C

C

ount

er

R

Con

trol

N

Inte

ger

F Fl

oatin

g-po

int

Z S

tring

A

A

SC

II

The

File

Typ

e C

omm

and

Cod

e is

the

ASC

II ch

arac

ter c

ode

valu

e of

the

File

Typ

e le

tter.

This

is th

e va

lue

to e

nter

into

the

"File

Typ

e" p

aram

eter

of t

he D

F1

Com

man

d co

nfig

urat

ions

in th

e da

ta ta

bles

in th

e la

dder

logi

c.

Addi

tiona

lly, t

he S

LC s

peci

fic fu

nctio

ns (5

02, 5

10 a

nd 5

11) s

uppo

rt a

sub-

elem

ent f

ield

. Thi

s fie

ld s

elec

ts a

sub

-ele

men

t fie

ld in

a c

ompl

ex d

ata

tabl

e. F

or

exam

ple,

to o

btai

n th

e cu

rren

t acc

umul

ated

val

ue fo

r a c

ount

er o

r tim

er, t

he s

ub-

elem

ent f

ield

sho

uld

be s

et to

2.

Page 53: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

88

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.5

Mic

roLo

gix

Proc

esso

r Spe

cific

s Th

is s

ectio

n co

ntai

ns in

form

atio

n sp

ecifi

c to

the

Mic

roLo

gix

proc

esso

r bas

ed

fam

ily w

hen

used

with

the

DF1

com

man

d se

t. Th

e M

icro

Logi

x pr

oces

sor

com

man

ds s

uppo

rt a

file

type

fiel

d en

tere

d as

a s

ingl

e ch

arac

ter t

o de

note

the

data

tabl

e to

inte

rface

with

in th

e co

mm

and.

Thi

s fie

ld is

the

sam

e as

that

use

d fo

r a S

LC p

roce

ssor

. The

follo

win

g ta

ble

defin

es th

e re

latio

nshi

p of

the

file

type

s ac

cept

ed b

y th

e m

odul

e an

d th

e S

LC fi

le ty

pes:

5.

5.1

SLC

File

Typ

es

File

Typ

e D

escr

iptio

n S

S

tatu

s B

B

it T

Tim

er

C

Cou

nter

R

C

ontro

l N

In

tege

r F

Floa

ting-

poin

t Z

Stri

ng

A

AS

CII

The

File

Typ

e C

omm

and

Cod

e is

the

ASC

II ch

arac

ter c

ode

valu

e of

the

File

Typ

e le

tter.

This

is th

e va

lue

to e

nter

into

the

"File

Typ

e" p

aram

eter

of t

he D

F1

Com

man

d co

nfig

urat

ions

in th

e da

ta ta

bles

in th

e la

dder

logi

c.

Addi

tiona

lly, t

he S

LC s

peci

fic fu

nctio

ns (5

02, 5

10 a

nd 5

11) s

uppo

rt a

sub-

elem

ent f

ield

. Thi

s fie

ld s

elec

ts a

sub

-ele

men

t fie

ld in

a c

ompl

ex d

ata

tabl

e. F

or

exam

ple,

to o

btai

n th

e cu

rren

t acc

umul

ated

val

ue fo

r a c

ount

er o

r tim

er, t

he s

ub-

elem

ent f

ield

sho

uld

be s

et to

2.

Page 54: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

89

of 1

24

July

24,

201

3

5.6

Con

trol

Logi

x Pr

oces

sor S

peci

fics

This

sec

tion

cont

ains

info

rmat

ion

spec

ific

to th

e C

ontro

lLog

ix p

roce

ssor

whe

n us

ed w

ith th

e D

F1 c

omm

and

set.

The

curre

nt im

plem

enta

tion

of th

e D

F1

com

man

d se

t doe

s no

t use

func

tions

that

can

dire

ctly

inte

rface

with

the

Con

trolL

ogix

Tag

Dat

abas

e. In

ord

er to

inte

rface

with

this

dat

abas

e, th

e ta

ble-

map

ping

feat

ure

prov

ided

by

RS

Logi

x 50

00 m

ust b

e us

ed. T

he s

oftw

are

perm

its

the

assi

gnm

ent o

f Con

trolL

ogix

Tag

Arr

ays

to v

irtua

l PLC

5 d

ata

tabl

es. T

he

Pro

Soft

mod

ule

usin

g th

e P

LC 5

com

man

d se

t def

ined

in th

is d

ocum

ent c

an th

en

reac

h th

is c

ontro

ller d

ata.

Page 55: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

90

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.7

RSL

inx

Softw

are

RS

Linx

is u

sed

by m

any

pers

onal

com

pute

r-ba

sed

appl

icat

ions

to in

terfa

ce w

ith

Roc

kwel

l Aut

omat

ion

prod

ucts

. For

exa

mpl

e, R

SV

iew

requ

ires

the

use

of R

SLin

x fo

r com

mun

icat

ion

to re

mot

e no

des

on a

net

wor

k. T

he fo

llow

ing

proc

edur

e is

re

com

men

ded

for a

cces

sing

the

DFN

T da

taba

se u

sing

RS

Linx

ver

sion

2.5

4, o

r hi

gher

. 1

Sta

rt R

SLi

nx s

oftw

are.

2

Ope

n th

e C

OM

MU

NIC

ATI

ON

S m

enu,

and

then

sel

ect C

ON

FIG

UR

E D

RIV

ERS.

Thi

s ac

tion

open

s th

e C

ON

FIG

UR

E D

RIV

ERS

dial

og b

ox.

3 C

lick

the

arro

w to

the

right

of t

he A

vaila

ble

Driv

er T

ypes

fiel

d, a

nd th

en s

elec

t ET

HER

NET

/IP D

RIV

ER fr

om th

e dr

opdo

wn

list.

Page 56: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

91

of 1

24

July

24,

201

3

4 C

lick

the

ADD

/NEW

but

ton,

and

then

clic

k O

K in

the

ADD

NEW

RSL

INX

DR

IVER

di

alog

box

.

5 In

the

CO

NFI

GU

RE

DR

IVER

dia

log

box,

mak

e su

re th

e B

row

se L

ocal

Sub

net

item

is s

elec

ted.

6 M

ake

sure

the

BR

OW

SE L

OC

AL

SUB

NET

item

is s

elec

ted.

RSL

inx

softw

are

will

brow

se y

our l

ocal

sub

net a

nd re

triev

e th

e IP

add

ress

.

Page 57: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

92

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

7 C

lick

OK

to s

ave

your

set

tings

and

dis

mis

s th

e C

ON

FIG

UR

E D

RIV

ER d

ialo

g bo

x. T

he n

ew d

river

will

appe

ar in

the

list o

f con

figur

ed d

river

s.

8 C

lose

RS

Linx

sof

twar

e.

Page 58: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

93

of 1

24

July

24,

201

3

5.7.

1 D

DE

Con

nect

ion

This

sec

tion

disc

usse

s se

tting

up

a D

DE

con

nect

ion

to th

e m

odul

e in

ord

er to

tra

nsfe

r dat

a be

twee

n th

e m

odul

e an

d a

DD

E c

ompl

iant

app

licat

ion.

Ea

ch D

DE

conn

ectio

n re

quire

s th

ree

basi

c el

emen

ts: A

pplic

atio

n, T

opic

and

Ite

m. T

hese

thre

e pr

oper

ties

of a

DD

E li

nk d

efin

e th

e pr

ogra

m p

rovi

ding

the

conn

ectio

n, th

e to

pic

to c

onne

ct to

and

the

item

in th

e to

pic

that

you

wis

h to

in

terfa

ce. A

ll th

ree

are

requ

ired

for a

con

nect

ion.

For

this

dis

cuss

ion,

the

App

licat

ion

will

alw

ays

be R

SLi

nx. T

he T

opic

is d

efin

ed in

the

RS

Linx

OEM

re

leas

e so

ftwar

e an

d th

e Ite

m is

def

ined

in th

e D

DE

clie

nt a

pplic

atio

n w

here

the

data

is re

quire

d. T

he li

nk b

etw

een

the

DD

E se

rver

and

the

DD

E cl

ient

can

be

esta

blis

hed

afte

r the

se p

aram

eter

s ar

e de

fined

. The

follo

win

g illu

stra

tion

show

s th

e re

latio

nshi

p of

thes

e el

emen

ts a

nd th

e fa

cilit

ies

used

in th

e D

DE

link

.

1 Th

e D

DE

Clie

nt a

pplic

atio

n sp

ecifi

es th

e D

DE

link

by s

peci

fyin

g th

e AP

PLIC

ATIO

N, T

OPI

C, a

nd IT

EM e

lem

ents

. For

exa

mpl

e, in

Exc

el, e

nter

=R

SLIN

X|C

IP_S

ampl

e! 'R

eadD

ata[

0]' i

nto

a ce

ll.

2 R

SLin

x is

the

DD

E Se

rver

: APP

LIC

ATIO

N =

RSL

INX.

An

d

RSL

inx

defin

es th

e TO

PIC

. Th

is is

the

com

mun

icat

ion

link

to th

e D

FNT

mod

ule.

In th

is e

xam

ple,

a D

DE

TO

PIC

is c

alle

d "C

IP_S

ampl

e" fo

r the

com

mun

icat

ion

link

to th

e D

FNT

mod

ule.

3

The

DFN

T m

odul

e is

use

d to

ser

ve d

ata

to R

SLin

x us

ing

the

Ethe

rNet

/IP

driv

er w

ith e

xplic

it m

essa

ging

. Dat

abas

e is

acc

esse

d us

ing

tag

nam

es (e

.g.

Rea

dDat

a[0]

).

Page 59: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

94

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

As

disc

usse

d in

the

prev

ious

sec

tion,

RS

Linx

mus

t be

used

to d

efin

e th

e To

pic

elem

ent f

or th

e D

DE

link

def

initi

on. T

his

is a

ccom

plis

hed

usin

g th

e fo

llow

ing

proc

edur

e. It

is a

ssum

ed th

at th

e m

odul

e ca

n be

see

n in

the

RSL

inx

softw

are.

R

efer

to th

e R

SLin

x se

ctio

n of

this

man

ual t

o se

t up

this

con

nect

ion.

To

defin

e a

new

Top

ic, s

elec

t the

TO

PIC

CO

NFI

GU

RA

TIO

N o

ptio

n on

the

DD

E/O

PC m

enu

from

th

e R

SLin

x M

ain

Men

u. T

his

caus

es th

e fo

llow

ing

dial

og b

ox to

app

ear:

Page 60: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

95

of 1

24

July

24,

201

3

Clic

k th

e N

EW b

utto

n to

add

a n

ew T

opic

to th

e TO

PIC

LIS

T. T

his

disp

lays

a

defa

ult n

ame.

Edi

t the

Top

ic n

ame

for t

he li

nk to

be

form

ed. T

his

nam

e sh

ould

re

flect

the

unit

or lo

catio

n to

whi

ch th

e co

nnec

tion

is b

eing

mad

e. D

o no

t pre

ss

the

Ente

r key

. Ins

tead

, dou

ble-

clic

k th

e m

ouse

on

the

DFN

T de

vice

you

wan

t to

conn

ect t

o th

e en

tere

d To

pic

nam

e. T

he d

ialo

g sh

ould

now

app

ear a

s fo

llow

s:

Now

sel

ect t

he D

ATA

CO

LLEC

TIO

N ta

b on

the

dial

og b

ox. F

ill in

the

form

to d

efin

e th

e ch

arac

teris

tics

of th

e D

DE

link

. The

follo

win

g sc

reen

sho

ws

an e

xam

ple:

Page 61: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

96

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

You

mus

t set

the

PRO

CES

SOR

TYP

E to

Log

ix50

00. R

efer

to th

e R

SLi

nx o

n-lin

e he

lp fo

r a d

iscu

ssio

n of

eac

h of

the

para

met

ers

on th

e fo

rm. N

ext s

elec

t the

A D

VAN

CED

CO

MM

UN

ICA

TIO

N ta

b on

the

dial

og b

ox. T

he fo

llow

ing

is d

ispl

ayed

af

ter s

elec

ting

the

tab.

The

CO

MM

UN

ICA

TIO

N D

RIV

ER s

houl

d be

set

to th

e ET

HIP

driv

er. M

ake

sure

the

LOC

AL

optio

n is

sel

ecte

d in

the

LOC

AL

OR

REM

OTE

AD

DR

ESSI

NG

sec

tion

of th

e di

alog

box

. You

sho

uld

not h

ave

to a

lter a

ny d

ata

on th

is ta

b, a

s R

SLi

nx k

now

s th

e co

mm

unic

atio

n pa

th. N

ow c

lick

the

A PPL

Y bu

tton

to im

plem

ent t

he o

ptio

ns

and

to e

stab

lish

the

topi

c.

You

are

now

read

y to

use

the

DD

E li

nk in

a D

DE

clie

nt a

pplic

atio

n. T

he fo

llow

ing

exam

ple

show

s ho

w to

def

ine

a D

DE

link

in a

n E

xcel

Spr

eads

heet

. It i

s al

so

poss

ible

to d

efin

e a

DD

E li

nk in

a V

isua

l Bas

ic p

rogr

am. A

ny o

ther

Win

dow

s D

DE

cl

ient

app

licat

ion

coul

d be

use

d in

clud

ing

Sof

tLog

ix a

nd R

SSql

. D

efin

ing

a D

DE

link

in E

xcel

Th

is is

the

sim

ples

t DD

E lin

k to

def

ine

and

shou

ld b

e us

ed to

mak

e su

re th

e To

pic

is d

efin

ed c

orre

ctly

bef

ore

usin

g m

ore

adva

nced

app

licat

ions

. Bef

ore

atte

mpt

ing

to m

ake

the

link,

ver

ify th

at R

SLin

x is

runn

ing

and

that

the

DFN

T m

odul

e is

see

n. T

o m

ake

a D

DE

link

in E

xcel

, ent

er th

e ap

plic

atio

n, to

pic

and

item

ele

men

ts a

s a

form

ula

into

a c

ell.

The

form

at fo

r the

form

ula

is a

s fo

llow

s:

=APPLICATION|TOPIC!ITEM

The

"|" c

hara

cter

(pip

ing

sym

bol)

sepa

rate

s th

e ap

plic

atio

n an

d to

pic

field

s an

d th

e "!"

(exc

lam

atio

n sy

mbo

l) se

para

tes

the

topi

c an

d ite

m fi

elds

. For

our

exa

mpl

e to

pic

of P

roLi

nx1,

the

entry

into

the

cell

is:

=RSLinx|CIP_Sample!'RealData[500]'

Page 62: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

97

of 1

24

July

24,

201

3

This

cau

ses

the

curre

nt v

alue

at t

he d

atab

ase

doub

le-w

ord

offs

et 5

00 (s

tarti

ng a

t w

ord

addr

ess

1000

) in

the

DFN

T m

odul

e to

be

disp

laye

d in

the

cell

as a

floa

ting-

poin

t val

ue. T

his

valu

e up

date

s at

the

frequ

ency

def

ined

in th

e To

pic

conf

igur

atio

n in

RSL

inx.

You

can

now

pla

ce a

ny d

atab

ase

poin

t in

the

DFN

T m

odul

e us

ing

the

sam

e pr

oced

ure

in y

our w

ork

shee

t. N

ote

that

the

tag

arra

y na

me

is u

sed

for t

he it

em p

rope

rty a

nd m

ust b

e en

clos

ed w

ithin

the

quot

e m

arks

. Th

is is

bec

ause

the

tag

arra

y na

me

item

refe

renc

e lo

oks

like

an E

xcel

wor

k sh

eet

refe

renc

e. If

you

do

not i

nclu

de th

e qu

otes

, a fo

rmul

a er

ror o

ccur

s. Y

ou c

an

sele

ct a

ny o

f the

def

ined

tag

arra

y na

mes

def

ined

in th

e m

odul

e on

you

r sp

read

shee

t. W

hen

the

item

s ar

e us

ed fo

r the

topi

c, R

SLin

x di

spla

ys th

e fo

llow

ing

afte

r se

lect

ing

the

Act

ive

Topi

c/Ite

ms

com

man

d on

the

DD

E/O

PC m

enu

optio

n:

Any

DD

E co

mpl

iant

pro

gram

can

be

used

in th

e sa

me

man

ner.

For m

axim

um

utilit

y V

isua

l Bas

ic a

pplic

atio

ns c

an b

e us

ed to

inte

rface

with

mod

ule’

s da

taba

se

usin

g D

DE

conn

ectiv

ity.

5.7.

2 O

PC C

onne

ctio

n Th

is s

ectio

n di

scus

ses

setti

ng u

p an

OP

C c

onne

ctio

n to

the

mod

ule

in o

rder

to

trans

fer d

ata

betw

een

the

mod

ule

and

an O

PC c

ompl

iant

clie

nt. F

ollo

w th

e in

stru

ctio

ns fo

r set

ting

up th

e D

DE

conn

ectio

n ou

tline

d in

the

prev

ious

sec

tion.

Th

is w

ill de

fine

the

conn

ectio

n re

quire

d by

the

OPC

ser

ver.

RSL

inx

will

now

be

conf

igur

ed to

inte

rface

with

an

OP

C c

lient

app

licat

ion.

Th

e ex

ampl

e us

ed in

this

sec

tion

uses

the

OPC

test

clie

nt (o

pcte

st.e

xe) a

vaila

ble

from

Roc

kwel

l Aut

omat

ion.

Firs

t sta

rt th

e ap

plic

atio

n an

d se

lect

the

Con

nect

optio

n fro

m th

e Se

rver

Men

u. In

the

dial

og b

ox s

how

n, s

elec

t the

RS

Linx

OP

C

serv

er. N

ext a

dd a

gro

up u

sing

the

Gro

up m

enu

optio

n an

d fil

l in

the

Gro

up

Nam

e us

ing

any

nam

e th

at is

mea

ning

ful f

or th

e po

ints

to b

e m

onito

red

and

cont

rolle

d. T

he fo

llow

ing

dial

og d

ispl

ays

an e

xam

ple:

Page 63: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

98

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

Nex

t, ad

d ite

ms

to th

e cl

ient

. The

follo

win

g sh

ows

an e

xam

ple

dial

og u

sed

to a

dd

a flo

atin

g-po

int d

ata

item

:

It is

impo

rtant

to s

et th

e A

cces

s P

ath

valu

e to

the

Topi

c na

me

assi

gned

in

RSL

inx

and

to s

et th

e Ite

m N

ame

to a

val

id c

ontro

ller t

ag in

the

DFN

T m

odul

e.

The

Dat

atyp

e pa

ram

eter

mus

t be

set t

o m

atch

that

of t

he c

ontro

ller t

ag. I

n th

e ex

ampl

e sh

own,

the

VT_R

4 da

ta ty

pe is

sel

ecte

d fo

r the

floa

ting-

poin

t tag

. The

Va

lidat

e bu

tton

can

be u

sed

to v

erify

that

the

poin

t is

valid

in th

e O

PC s

erve

r. Af

ter c

onfig

urin

g th

e ne

w d

ata

item

, clic

k O

K to

add

the

poin

t. Th

e fo

llow

ing

illust

ratio

n sh

ows

the

new

item

and

eve

nt w

indo

ws.

Page 64: Dfnt Protocol Manual p2

DFNT

♦ P

roLin

x Gate

way

Refer

ence

Et

herN

et/IP

Exp

licit M

essa

ging C

lient/

Serve

r Pr

otoco

l Man

ual

ProS

oft T

echn

olog

y, In

c.

Page

99

of 1

24

July

24,

201

3

You

have

now

con

nect

ed a

n O

PC c

lient

to d

ata

in th

e D

FNT

mod

ule.

In o

rder

to

chan

ge th

e va

lue

for t

he it

em, s

elec

t the

Syn

c W

rite

optio

n fro

m th

e Ite

m m

enu

and

ente

r a n

ew v

alue

as

show

n in

the

follo

win

g di

alog

box

:

Clic

k O

K to

tran

sfer

the

new

val

ue to

the

mod

ule.

The

follo

win

g illu

stra

tion

show

s th

e up

date

d ite

m d

ata

win

dow

.

Page 65: Dfnt Protocol Manual p2

Refer

ence

DF

NT ♦

Pro

Linx G

atewa

y Pr

otoco

l Man

ual

Ethe

rNet/

IP E

xplic

it Mes

sagin

g Clie

nt/Se

rver

Page

100

of 1

24

ProS

oft T

echn

olog

y, In

c.

Ju

ly 2

4, 2

013

5.8

RSV

iew

Sof

twar

e R

SV

iew

is a

clie

nt a

pplic

atio

n fo

r bui

ldin

g us

er in

terfa

ces

to c

ontro

l sys

tem

s. T

his

tool

requ

ires

RSL

inx

to b

e lo

aded

and

ope

ratio

nal (

refe

r to

the

RSL

inx

sect

ion

of

this

doc

umen

t). In

ord

er to

inte

rface

RSV

iew

to a

DFN

T m

odul

e, th

e fo

llow

ing

step

s ar

e re

quire

d:

Firs

t sel

ect t

he C

HA

NN

EL o

ptio

n fro

m th

e ED

IT M

OD

E ta

b as

sho

wn

in th

e fo

llow

ing

win

dow

.

Afte

r sel

ectin

g th

e op

tion,

the

follo

win

g di

alog

box

is d

ispl

ayed

:

Sele

ct th

e N

ETW

OR

K T

YPE

and

PRIM

AR

Y C

OM

MU

NIC

ATI

ON

DR

IVER

for t

he c

hann

el

to b

e as

soci

ated

with

the

DFN

T m

odul

e. T

he N

ETW

OR

K T

YPE

shou

ld b

e TC

P/IP

an

d th

e PR

IMA

RY

CO

MM

UN

ICA

TIO

N D

RIV

ER n

ame

shou

ld m

atch

that

set

up

in

RSL

inx.

Clic

k O

K to

sav

e th

e in

form

atio

n.