Download High Performance Model QCPU(Q Mode)User`s Manual(Function

Transcript
7 FUNCTION
MELSEC-Q
7.5 Clock Function
(1) What is Clock Function?
(a)
The High Performance model QCPU has a clock function in the CPU module.
Because the time data from the clock function can be read by the sequence
program, the time data can be used for time maintenance.
Also, the time data is used for time maintenance for the High Performance
model QCPU system functions such as those for failure history.
The clock operations for the clock function are maintained even when the
PLC power is off or when there is a momentary power failure for more than
the permitted time, using the battery (Q6BAT).
(b)
Clock Data
The time data is the year, month, day, hour, minute, second, and day of the
week data used for the High Performance model QCPU clock element.
There are the following:
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
(2) Writing to and Reading from the Time Data Clock Element
(a)
7-9
The following two methods can be used to write to the time data clock
element.
1) Method to write from GX Developer
The time data is written in the clock element by displaying "Online"
"Set time" window.
7-9