Full duplex plc 3 line monitor example, Fullćduplex plcć3 line monitor example, Reply #1 (sometime later) – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 238: Command #2, Reply #2 (sometime later), Command #3, Reply #3 (sometime later)

Advertising
background image

14–6

Line Monitor Examples

Publication 1770Ć6.5.16 - October 1996

In this example three word range reads (CMD 0F, FNC 01) are sent:

from a computer connected to a 1770-KF2 with DH node address
012 (octal)

to the PLC-3 connected to a 1775-KA with DH node address 011
(octal)

This example requires three commands and the corresponding replies
to read 684 bytes of data from the PLC-3 processor. The following
describes the first command and reply fields only. The fields of the
second and third commands and their replies are the same except for
the TNS, PACKET OFFSET, and BCC fields:

Command #1:

DLE STX DST SRC CMD STS TNS

ADDRRESS

SIZE

DLE ETX BCC

Path 1

10

02

09

00

0F

00

02

08

E4

10

03

6C

00

Path 2

DLE

ACK

10

06

Reply #1 (sometime later)

DLE STX DST SRC CMD STS TNS

DATA FROM PLCĆ3

DLE ETX BCC

Path 1

10

02

0A

09

4F

00

02

10

03

9C

00

Path 2

DLE ACK

10

06

0A

<<228 bytes of data>>

FNC
01

OFFSET

00

00

PACKET

TRANS

56

01

TOTAL

2C

00

Command #2

DLE STX DST SRC CMD STS TNS

ADDRRESS

SIZE

DLE ETX BCC

Path 1

10

02

09

00

0F

00

03

08

E4

10

03

F9

00

Path 2

DLE

ACK

10

06

Reply #2 (sometime later)

DLE STX DST SRC CMD STS TNS

DATA FROM PLCĆ3

DLE ETX BCC

Path 1

10

02

0A

09

4F

00

03

10

03

9B

00

Path 2

DLE ACK

10

06

0A

<<228 bytes of data>>

FNC
01

OFFSET

72

00

PACKET

TRANS

56

01

TOTAL

2C

00

Command #3

DLE STX DST SRC CMD STS TNS

ADDRRESS

SIZE

DLE ETX BCC

Path 1

10

02

09

00

0F

00

04

08

E4

10

03

86

00

Path 2

DLE

ACK

10

06

Reply #3 (sometime later)

DLE STX DST SRC CMD STS TNS

DATA FROM PLCĆ3

DLE ETX BCC

Path 1

10

02

0A

09

4F

00

04

10

03

9A

00

Path 2

DLE ACK

10

06

0A

<<228 bytes of data>>

FNC
01

OFFSET

E4

00

PACKET

TRANS

56

01

TOTAL

2C

00

FullĆduplex PLCĆ3 Line

Monitor Example

Advertising