DT9058 DT90058
Real-Time
Clock
(Clock
/Calendar)
setting and
30 seconds
correction
The Real-Time Clock(Clock/Calendar) is
adjusted as follows.
When setting the Real-Time Clock
(Clock/Calendar) by program
By setting the highest bit of DT9058/DT90058
to 1, the time becomes that written to DT9054
to DT9057/DT90054 to DT90057 by F0 (MV)
instruction. After the time is set,
DT9058/DT90058 is cleared to 0. (Cannot be
performed with any instruction other than F0
(MV) instruction.)
<Example>
Set the time to 12:00:00 on the 5
th
day when
the X0 turns on.
If you changed the values of DT9054 to
DT9057/DT90054 to DT90057 with
programming tool software, the time will be
set when the new values are written.
Therefore, it is unnecessary to write to
DT9058/DT90058.
When the correcting times less than 30
seconds-
By setting the lowest bit of DT9058/DT90058
to 1, the value will be moved up or down and
become exactly 0 seconds. After the
correction is completed, DT9058/DT90058 is
cleared to 0.
<Example>
Correct to 0 seconds with X0 turns on.
At the time of correction, if between 0 and 29
seconds, it will be moved down, and if the
between 30 and 59 seconds, it will be moved
up. In the example above, if the time was 5
minutes 29 seconds, it will become 5 minutes
0 second; and, if the time was 5 minutes 35