Configuring an M1 CPU with Concept

Reading the Time-of-Day Clock

Overview

This section uses an example to describe how to interpret the time-of-day clock

 

registers.

 

 

 

 

Example

 

 

 

 

If you reserved registers 400100...400107 as your TOD clock registers, set the time

 

bits, and then read the clock at 9:25:30 on Thursday, July 16, 1998, the registers

 

would display the following values:

 

 

 

 

 

 

 

 

Register

Reading

Indication

 

 

 

 

 

 

 

 

400100

0

1 1 0 0 0 0 0 0 0 0 0 0 0 0 0

All clock values have been set;

 

 

 

 

 

clock values are being read

 

 

 

 

 

 

 

 

400101

5

(decimal)

Thursday

 

 

 

 

 

 

 

 

400102

7

(decimal)

July

 

 

 

 

 

 

 

400103

16 (decimal)

16

 

 

 

 

 

 

 

400104

98 (decimal)

1998

 

 

 

 

 

 

 

 

400105

9

(decimal)

9 a.m.

 

 

 

 

 

 

 

40010 6

25 (decimal)

25 minutes

 

 

 

 

 

 

 

40010 7

30 (decimal)

30 seconds

 

 

 

 

 

 

 

 

 

 

 

 

 

870 USE 101 10 V.2

335

Page 335
Image 335
Schneider Electric Processor Adapter manual Reading the Time-of-Day Clock, Registers