Chapter 4 Clock Function; Time Setting; Clock Data; Changing The Clock Data - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

4
CLOCK FUNCTION
RnPCPU
RnCPU RnENCPU
(Process)
• When using the Process CPU (redundant mode), refer to the following as well.
Page 435 FUNCTIONS
• When using the SIL2 Process CPU, refer to the following as well.
Page 605 FUNCTIONS
• When using the Safety CPU, refer to the following as well.
Page 535 FUNCTIONS
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.
Data name
Year
Month
Day
Hour
Minute
Second
Day of Week
*1
1/1000 seconds
*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)
4 CLOCK FUNCTION
108
4.1 Time Setting
RnPCPU
RnPSFCPU RnPSFCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(Standard)
Description
Four digits (from 1980 to 2079)
1 to 12
1 to 31 (Automatic leap year detection)
0 to 23 (24 hours)
0 to 59
0 to 59
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
0 to 999
(Safety)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents