Half duplex line monitor example, Halfćduplex line monitor example, Poll with a dle eot in response – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 234: Master, Slave

Advertising
background image

14–2

Line Monitor Examples

Publication 1770Ć6.5.16 - October 1996

When monitoring half-duplex protocol in two-wire mode, you need
to monitor only one line. The example below shows a message sent
by the master and a reply sent by the slave in response to a poll.
Slave responses are in boldface:

Message from master to slave and slave acknowledgement:

DLE SOH stn DLE STX message DLE ETX CRC DLE ACK

Message sent from slave to master in response to poll and slave

acknowledgement:

DLE ENQ stn BCC DLE STX message DLE ETX CRC DLE ACK

Poll with a DLE EOT in response:

DLE ENQ stn BCC DLE EOT

Use the following CRC example to verify your CRC routine:

CMD

01

STS

00

SRC

07

TNS

4100

DLE

10

DST

11

STX

02

DLE

10

SOH

01

STN

11

ADDR

1200

master:

SIZE

0C

DLE

10

CRC

CF 40

DLE

10

ACK

06

slave:

BCC

EF

DLE

10

ENQ

05

STN

11

master:

TNS

4100

SRC

11

STS

00

CMD

41

DLE

10

STX

02

DST

07

DATA

00 00 00 00 00 00 00 00 00 00 00 00

slave:

DLE

10

ETX

03

CRC

CF 40

ETX

03

ENQ

05

BCC

EF

STN

11

DLE

10

ACK

06

DLE

10

master:

DLE

10

EOT

04

slave:

HalfĆduplex Line Monitor

Example

Advertising