108
4 CLOCK FUNCTION
4.1 Time Setting
4
CLOCK FUNCTION
The CPU module internally maintains clock data and uses it to manage time for the system functions such as time stamp for
the event history and the data logging function.
4.1
Time Setting
The clock continues operating with the internal battery of the CPU module while the CPU module is powered off or during
power failure longer than the allowable momentary power failure time.
The R00CPU, R01CPU, and R02CPU continue the clock operation for 10 days without a battery in power
failure state.
Clock data
The following table lists the details of clock data in the CPU module.
*1 Data can be read from the S(P).DATERD instruction. (
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard
Functions/Function Blocks))
Changing the clock data
The clock data can be changed in one of the following methods:
• Using the engineering tool
• Using SM/SD
• Using the instruction
• Automatic change using the SNTP server
When the clock data is changed, the following operation is performed:
• The millisecond value is reset to zero. Depending on the millisecond value immediately before the reset, the
second value can be rounded up. Considering that the second value can increase by one second maximum
when the clock data is changed, configure the system.
• Clock setting (Event code: 24000) is logged in the event history.
Using the engineering tool
Choose "Set Clock" from the menu. (
GX Works3 Operating Manual)
• When using the Process CPU (redundant mode), refer to the following as well.
• When using the SIL2 Process CPU, refer to the following as well.
• When using the Safety CPU, refer to the following as well.
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 Week
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
1/1000 seconds
0 to 999
RnCPU RnENCPU
RnSFCPU RnSFCPU
RnPSFCPU RnPSFCPU
RnPCPU
RnPCPU
(Standard)
(Safety)
(Standard)
(Safety)
(Redundant)
(Process)
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......