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

Page 193

Advertising
background image

7–47

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, a real–time clock data value of Friday, February 10,
1995 12:00 am was written to the drive. Word 2 defines the request
with a value of 2817.

Word 4 defines 0 seconds.

Word 5 defines 12:00.

Word 6 defines the sixth day (Friday) with a date of the tenth.

Word 7 defines 1995 and the second month (February).

1

0

N10:10

2

3

4

5

6

7

8

9

BTW
Data File

Data Format

0

0000

7

2816

0000

2566

1283

N10:10

00\01 00\00 0A\06 05\02

S\.1S

Hr\Min Date\Day Yr\Mth

N10:90

BTR
Data File

0

0

2816

ASCII Display Values

Real Time Clock Data Write

(continued)

Advertising