Clock Function - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

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
The clock data is used for time management required for some functions in the system, such as storing date into
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).
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.
(3) Clock data
shows the details of clock data, which is used internally in the CPU module.
Table6.4
Data name
Minute
Second
Day of the week
.
Table6.4 Clock data details
Year
Month
Day
Hour
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
1
2
3
4
5
6
CHAPTER6 FUNCTIONS
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
6 - 13
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents