User manual

47
Real-time clock registers SR289 to SR297
(W2849 to W2857)
Sets the time of the built-in clock (RTC) and stores and displays the
present time. Data is stored in BCD format.
(
: bit = 0 ; ×: bit change)
* Usable for NX70-CPU70p2 module only
In SR289, the year can be read in a 4-digit BCD.
Ex) $1998=1998, $2000=2000
SR289 to SR297 for clock functions are shown in BCD, so it is convenient to confirm in HEX.
Set the range as follows:
Year: 00 to 99, Month: 01 to 12, Day: 01 to 31, Day of Week: 01 to 07 (Sun. to Sat.)
Hour: 00 to 23, Minute: 00 to 59, Second: 00 to 59
1. Ladder setting method:
For example, current date and time are: Tuesday, March 21, 1996, 18:35:07
2. When changing the year, month, date, or day, new data is input in SR295, SR294, then the F12.14 bit is turned
On. The F12.10 bit is kept Off.
3. When changing the hour, minute, and second, new data is input in SR297, SR296, then the F12.14 bit is turned
on. If the new data is not set correctly, the F12.10 bit turns on.
4. The display date and set value are expressed in BCD so it is convenient to input as hex ($).
5. The year, month, and day are automatically changed.
Classification
Address
Bit address
Adjustment/
indication
Details
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Current
time
SR289
Year
(4-digit BCD)
SR290 Date: day
○○
××××××
○○○○○
×× ×
SR291 Year: month
×××××××
○○○
×××× ×
SR292 Second: 00
○○
××××××
○○○○○○○
SR293 Hour: minute
○○
××××××
○○○○○○○
Time
setting
SR294 Date: day
○○
××××××
○○○○○
×× ×
SR295 Year: month
×××××××
○○○
×××× ×
SR296 Second: 00
○○
××××××
○○○○○○○
SR297 Hour: minute
○○
××××××
○○○○○○○
NOTE
Designate year, month,
day
Designate hour, minute, second
Date indicators are
Sun (01), Mon (02), Tue (03),
Wed (04), Thu (05), Fri (06),
and Sat (07)