< 8. Appendix>
8-8
TI 34M6A82-01E
2nd Edition : Nov. 1, 2002-00
Utility
Table Utility
Type Utility
No. Name
Value
Description
Z049
(write-
enabled)
Year (last 2 digits)
This register stores year data in the
BCD format.
For example, the year 1999, is stored
as $0099 and the year 2000 is stored
as $0000.
Z050
(write-
enabled)
Month
This register stores month data in the
BCD format.
For example, January is stored as
$0001
Z051
(write-
enabled)
Day
This register stores day data in the
BCD format.
For example, the 28
th
is stored as
$0028.
Z052
(write-
enabled)
Hour
This register stores hour data in the
BCD format.
For example, 10 o’clock is stored as
$0010.
Z053
(write-
enabled)
Minute
This register stores minute data in the
BCD format.
For example, 15 minutes is stored as
$0015.
Z054
(write-
enabled)
Second
This register stores second data in the
BCD format.
For example, 30 seconds is stored as
$0030.
Z055
Clock data
Day of the week
($0-$6)
This register stores day-of-the-week
data in BCD format.
For example, Wednesday is stored as
$0003.
Z056*
Constant scan time
Constant scan time
value
Stores value in units of 0.1 ms.
For example, 10ms is stored as 100.
Z057*
Constant scan time
Constant scan time
value
Stores value in units of 1 ms.
For example, 10ms is stored as 10.
Z058*
Scan time monitoring
time
Scan time
monitoring time
value
Stores value in units of 1 ms.
For example, 200ms is stored as 200.
*:
For F3SP28, F3SP38, F3SP53, F3SP58, and F3SP59 only
- For the F3SPS
-
S CPU modules, you can set the clock using the Set Date
(DATE), Set Time (TIME), Set Date String (SDATE), or Set Time String (STIME)
instruction.
- For the F3SPS
-
N/-
H CPU modules, use the following procedure set the
clock.
1. Write to Z049-Z054 (Use the MOV P instruction. Using BMOV/BSET instruction
will cause an instruction error).
2. Turn on M172 within the same scan as step (1) (DIFU instruction, etc.).
3. Turn off M172 in the next scan following step (2).
Stop writing to Z049-Z054 in the next scan following step (2).
If there is an error in the setting data, the clock data is unchanged and the original value
is restored.
- The precision of the clock data is as follows.
Maximum day deviation
±
8s (Actual value
±
2s)
However, when the power is turned off/on, the maximum day deviation is set again
to –1.2/+2 s.
You can enter a correction value using the programming tool.
By entering an appropriate correction value, a correction is performed during power
off/on, which cancels the deviation.