Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 94

Advertising
background image

4–52

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

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 PMR 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

N7:10

2

3

4

5

6

7

8

9

PLC MSG
Write File

Data Format

0

0000

7

2816

0000

2566

1283

N7:10

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

S\.1S

Hr\Min Date\Day Yr\Mth

N7:90

PLC MSG
Read File

0

0

2816

ASCII Display Values

Real Time Clock Data Write

(continued)

Advertising