6
-
14
6.5 Clock Function
(1) Definition
This function reads the internal clock data of the CPU module by a sequence program and uses it for time
management.
The clock data is used for time management required for some functions in the system, such as storing date into
the error history.
(2) Clock operation at power off and momentary power failure
Clock operation continues by the internal battery of the CPU module even when the programmable controller is
powered off or power failure occurs exceeding the allowable momentary power failure time.
(3) Clock data
Table6.6 shows the details of clock data, which is used internally in the CPU module.
*1: Storing in SD213 for the first two digits and SD210 for the last two digits of the year.
*2: Use only the expansion clock data read (S(P).DATERD) to read.
MELSEC-Q/L Programming Manual (Common Instruction)
Table6.6 Clock data details
Data name
Description
Year
Four digits
*1
(from 1980 to 2079)
Month
1 to 12
Day
1 to 31 (Automatic leap year detection)
Hour
0 to 23 (24 hours)
Minute
0 to 59
Second
0 to 59
Day of the week
0
Sunday
1
Monday
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
1/1000 seconds
*2
0 to 999
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......