Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Home Theater Server QnUCPU
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.
5
C
C
loc
k F
unc
tion
unc
tion
6
-
13
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
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.
the error history.
Remark
The Built-in Ethernet port QCPU can set the time in the CPU module automatically by using the time setting function
(SNTP client).
(SNTP client).
QnUCPU User’s Manual (Communication via Built-in Ethernet Port)
(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.
controller is powered off or power failure occurs exceeding the allowable momentary power failure
time.
(3) Clock data
shows the details of clock data, which is used internally in the CPU module.
Table6.4 Clock data details
Data name
Description
Year
Four digits (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