Message operation, Example, Fault entry read full – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 168

Advertising
background image

7–22

Publication 1336 FORCE–5.13 –– September, 1998

Message Operation

The Fault Queue Entry Read Full function specified in the BTW
reads the contents of the fault queue for the input entry number
specified in word 3 of the BTW message. The response returns the
fault text which you can view as ASCII text. The text will have
every two characters in reverse order and return a time stamp,
indicating the day and time the fault occurred. The Clock Time is
returned in the order shown in the header message. You should view
this information as ASCII text.

This field:

Indicates:

Reference

am or pm, where 0 is am and 1 is pm.

Date

The date of the month in ASCII.

Day

The day of the week, where 1 is Sunday and 7 is
Saturday.

Year

The number of the year. 1990 is referenced as 0.
Therefore, the year 1995 would return a value of 5.

Month

The month of the year, where 1 is January and 12
is December.

If an error has occurred, word 2 of the response returns a negative
value.

Example

In this example, Fault Queue Entry #3 was retrieved from the drive.
The BTR response returned the ASCII text Drive Reset Flt, with
each two characters reversed. The Fault Code for this example is 22.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

3

3

29252

3

0

1792

1792

30313 8293 25938 25971 8308 27718

N10:100

7681

3594

8308

22

5893

1282

N10:90

03\00

r D

0

07\00

V i

e

e R

e s

t

l F

N10:100

1E\01 0E\0A

t

00\16

17\05 05\02

These values vary depending on parameters and products.

ASCII Display Values

Fault Entry Read Full

(continued)

Advertising