Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 191

Advertising
background image

7–45

Publication 1336 FORCE–5.13 –– September, 1998

This field:

Indicates:

Seconds

The seconds and tenths of milliseconds.

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 occurs in the block transfer, a value of -29952 is returned
in word 2 of the BTR response.

Example

In this example, the clock was read with a value of 2816 in word 2 of
the BTW. The BTR response indicated a successful read with a
value of 2816 in word 2.

Word 4 indicated a changing value for seconds.

The Hour value 0E indicates hour 14 of a 24 hour clock, or 2 pm.
The minute value 0A indicates 10, or 12:10 pm.

The Date of 17 in ASCII is the 23

rd

and the 5

th

day of the month,

or Thursday.

The Year 05 is 1995.

The Month of 02 is February.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

0

0

7681

3

0

2816

2816

3594

5893

1282

N10:90

0E\01 0E\0A 17\05 05\02

S\.1S

Hr\Min Date\Day Yr\Mth

ASCII Display Values

Real Time Clock Data Read

(continued)

Advertising