Reset diagnostic counters, Read diagnostic status – Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 281

Advertising
background image

16–16

PCCC Host Commands

Publication 2755-833

Each diagnostic counter increments when the event occurs. The
Reset Diagnostic Counters command resets all counter values to zero
(0).

Reset Diagnostic Counters

The Reset Diagnostic Counters (CMD= 06H, FNC= 07) sets all
diagnostic counter values to zero (0). The command and reply
formats look like this:

0

STS= 00H

High Byte

Low Byte

MSB

LSB

1

3

2

4

CMD= 06H

Reset Diagnostic Counters Command

0

STS= 00H

High Byte

Low Byte

MSB

LSB

2

Reset Diagnostic Counters Reply

1

3

FNC=07H

CMD Reply = 46H

TNS

TNS

Read Diagnostic Status

The Read Diagnostic Status command (CMD= 06H, FNC= 03H)
returns seven diagnostic parameters in the reply:

Diagnostic Return Parameters

Parameter

Value

Bytes Size

Mode/Status

00

1 byte

Extended Type

EEH

1 byte

Interface Type

22H

1 byte

Processor Type

21H

1 byte

Series/Revision

22H (Series B, Revision C)

1 byte

Bulletin Number/Product Name

ASCII characters

11 bytes

Product Information

unused

8 bytes

The command and reply format for the Read Diagnostic Status
Command is:

Advertising