6
- 18
6.5 Clock Function
6
FUNCTIONS
6.5 Clock Function
(1) Definition of Clock Function
The clock function reads the internal clock data of the CPU module to use it for time
management.
The clock data is used by the CPU module system to perform time management, e.g.
storage of date into the error history.
Remark
The Built-in Ethernet port QCPU can set the time in the module automatically
using the time setting function (SNTP client). (
(2) Clock operation at power OFF and momentary power failure
Clock operation is continued by the internal battery of the CPU module during power
OFF of the PLC or when a power failure longer than the permissible momentary
power failure time occurs.
(3) Clock Data
Clock data is used in the CPU module and includes the data indicated in Table6.5.
Table6.5 Clock data details
Data Name
Contents
Year
Four digits in AD (Countable from 1980 to 2079)
Month
1 to 12
Day
1 to 31(Automatic leap year calculation)
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
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......