Chapter 5: CPU Operation and Memory
61
SR290 to SR297 (W2849 to W2857) Realtime Clock Functions
Sets the time of the built-in clock (RTC) and stores and displays the current time. Data is stored in BCD format.
Bit Control Contents
Address Control display
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
SR289
This year
(4 BCD)
Example: $1998, $2000
SR290
Date: day
×
×
×
×
×
×
×
×
×
SR291
Year: month
×
×
×
×
×
×
×
×
×
×
×
×
SR292
Second: 00
×
×
×
×
×
×
Current
Time
SR293
Time: minute
×
×
×
×
×
×
×
×
×
×
×
×
×
SR294
Date: day
×
×
×
×
×
×
×
×
×
SR295
Year: month
×
×
×
×
×
×
×
×
×
×
×
×
SR296
Second: 00
×
×
×
×
×
×
Set
Time
SR297
Hour: minute
×
×
×
×
×
×
×
×
×
×
×
×
×
: bit = 0;
×
: bit change
Note:
1. Set the range as follows:
•
Year: 00 to 99
•
Month: 01 to 12
•
Date: 01 to 31
•
Day: 01 to 07 (Sun. to Sat.)
•
Hour: 00 to 23
•
Minute: 00 to 59
•
Second: 00 to 59
2. Ladder setting method:
•
For example, current date and time are: Tuesday, August 25, 1998, 18:35:07.
3. When changing the year, month, date, or day, new data is input in W2855 and W2854, then
the F12.14 bit is turned On. The F12.10 bit is kept Off.
Designate year,
date, day
Designate hour
min. sec.
R
R
DLET
D=W2854
S=$98082503
DLET
D=W2856
S=$18350700
F12.13
(OUT)
F12.14
(OUT)
Date indicators are SUN (01),
MON (02), TUE (03), WED (04),
THU (05), FRI (06) and SAT (07)
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...