Read diagnostic status reply – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 129

Advertising
background image

Chapter 8
Host Commands Using the RS-485 Interface

8–17

Read Diagnostic Status - Seven diagnostic status parameters can be read:

1) Mode/Status

(00)

(1 byte)

2) Extender Type

(EE hex)

(1 byte)

3) Interface Type

(22 hex)

(1 byte)

4) Processor Type

(21 hex)

(1 byte)

5) Series/Revision

(00)

(1 byte)

6) Bulletin Number/Name (ASCII)

(11 bytes)

7) Product Information

(unused)

(8 bytes)

The read diagnostic status reply message has the following organization.
Characters in quotes ‘ ’ are ASCII equivalent characters all other values are
hexadecimal.

READ DIAGNOSTIC STATUS REPLY

00000000

01000110

TRANSACTION WORD

HI Byte

LOW Byte

EE

00

21

22

‘2’

00

‘5’

‘7’

‘-’

‘5’

‘M’

‘D’

0

‘9’

20

20
20

Next eight bytes = 00

The Reply (Byte 0) is a value of 46 (hex).

The Status (Byte 1) is listed in Table 8.D

The Transaction Word (Bytes 2 & 3) are returned the same as sent in the read
command.

The Mode/Status (Byte 4) is unused. A value of 00 (hex) will be returned.

The Extender Type (Byte 5) is unused. A value of EE (hex) will be returned.

The Interface Type (Byte 6) will be returned as a value of 22 (hex).

The Processor Type (Byte 7) will be returned as a value of 21 (hex).

The Series/Revision (Byte 8) indicates the decoder series and revision levels.
The first three most significant bits indicate the series and the five other bits
indicate the revision. A value of 0 (hex) = A, 1 (hex) = B, etc. For
example:

Read Diagnostic Status Reply

Advertising