Rockwell Automation 2707-NP DTAM Programming Software User Manual

Page 113

Advertising
background image

Chapter 14

Entering DTAM Configuration Data

14–7

PLC-5 Read/Write Time Registers

The DTAM Plus reads and writes the time to the following fixed registers.

Location

Contents

S:18

Year

S:19

Month

S:20

Day

S:21

Hours

S:22

Minutes

S:23

Seconds

SLC Read/Write Time Registers

The time data register is a 16 bit integer format. Time/Date data is stored in
each of the eight sequential registers as shown below. The register locations
are defined by the Time Base Register (see previous page).

Location

Time

Data

1

Seconds

0-59 (Decimal)

2

Minutes

0-59 (Decimal)

3

Hours

0-23

4

Day (Week)

1-7 (Sun - Sat)

5

Day (Month)

1-31

6

Month

1-12

7

Year

1980-2079

8

AM/PM

0 or 1

(Bit Designation)

Note: Synchronization can’t occur if the base register is zero (such as N7:0).

SLC 5/03 Time Synchronization

Do not use S:37 as base register for a clock sync read or write. The
SLC-5/03 locations S:37 through S:44 have a different sequence of data than
DTAM Plus locations 1 through 8 as shown below. For example, set the base
register to N7:10 and then use ladder programming to move each data
location to the time/date status words.

DTAM Plus

SLC-503

Location

Contents

Location

Contents

1

Seconds

S:37

Year

2

Minutes

S:38

Month

3

Hours

S:39

Day

4

Day (Week)

S:40

Hours

5

Day (Month)

S:41

Minutes

6

Month

S:42

Seconds

7

Year

S:43

Not Used

8

AM/PM

S:44

DII File Number

Advertising