7 Applied Instructions
7.15 Real Time Clock Control
580
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Function and operation explanation
1. 16-bit operation
When the cumulative total of ON time duration of
command input exceeds the time of the device
specified by , the device specified by is
turned ON. In +1, the present value of less
than one hour is stored in one-second unit.
: The time until is turned ON is specified in one-hour unit.
: Present value of one-hour unit
+1 : Present value of less than one hour (one-second unit)
: Device of alarm output destination
To be turned ON when the present value exceeds the specified time of .
1) To use the present value data continuously after the PLC power source is turned OFF, please specify the
data register for power failure hold in the device specified by .
When the data register for general purpose is used, the present value data is cleared when the PLC
power source is turned OFF, or when changed from STOP to RUN.
2) Measurement continues even after the alarm output (device specified by ) is turned ON.
3) Measurement stops when the present value of the device specified by reaches the maximum value
of 16-bit figure. When desired to measure continuously, please clear the present values of to
+1.
2. 32-bit operation
[ +1, ] : Time setting until is turned ON
Specify by +1 (upper digit), (lower digit).
[ +1, ] : Present value of one-hour unit
Store in +1 (upper digit), (lower digit).
+2 : Present value of less than one hour (one-second unit)
: Specification of alarm output
To be turned ON when the present value , +1 exceeds the time specified
by .
1) To use the present value data continuously after the PLC power source is turned OFF, please specify the
data register for power failure hold in the device specified by .
When the data register for general purpose is used, the present value data is cleared when the PLC
power source is turned OFF, or when changed from STOP to RUN.
2) Measurement continues even after the alarm output (device specified by ) is turned ON.
3) Measurement stops when the present value of the device specified by reaches the maximum value
of 32-bit figure. When desired to measure continuously, please clear the present values of to
+2.
HOUR
EN ENO
d1
d2
Device of alarm
output destination
Label 2
*1
Command
input
d2
ON time duration of device
specified by
In label 2, the device for storing the present
value of one-hour unit is defined.
*1.
DHOUR
EN ENO
d1
d2
s
Command
input
Label 1
*1
Label 3
*2
Device of alarm
output destination
In label 3, the device for storing the present
value of one-hour unit is defined.
*2.
In label 1, the ON time of the device
specified by is defined.
*1.
d2