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

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

13
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.
13.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 time of the standby system is synchronized with the time of the control system when the redundant system is in backup
mode. The time setting using the time setting function (SNTP client) is available only for the control system.

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)
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
13 CLOCK FUNCTION
185
13.1 Time Setting
13

Advertisement

Table of Contents
loading

Table of Contents