![Mitsubishi Electric FX3G SERIES Programming Manual Download Page 582](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902582.webp)
580
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21.9 FNC169 – HOUR / Hour Meter
2. 32-bit operation
[
+1,
] : Time after which
is set to ON
Specify the high-order side in
+1, and the low-order side in
.
[
+1,
] : Current value in units of hour
The high-order side is stored in
+1, and the low-order side is stored in
.
+2
: Current value less than one hour (unit: second)
: Alarm output destination
It turns ON when the current value [
+1,
] exceeds the time specified in
.
• Specify a latched (battery backed) type data register as
so that the current value data can be continuously
used even after the PLC turns OFF.
If a general data type register is used, the current value data is cleared when the power to the PLC is turned OFF or
when the PLC mode switches from STOP to RUN.
• Even after the alarm output
turns ON, the measurement is continued.
• When the current value [
+1,
] reaches the maximum value of 32-bit data, the measurement is stopped.
For continuing the measurement, clear the current value stored in
to
+2.
Caution
Number of occupied devices
Two (16-bit operation) or three (32-bit operation) devices are occupied by
.
Make sure that these devices are not used in other controls for the machine.
Program example
In the program example shown below, when the accumulated X000 ON time exceeds 300 hours, Y005 turns ON.
The current value less than one hour is stored in D201 in units of second.
: Time after which
is set to ON
Specify a value in units of hour.
: Current value in units of hour
+1
: Current value less than one hour (unit: second)
: Alarm output destination
It turns ON when the current value
exceeds the time specified in
.
(In this example, it turns ON when the current value becomes 300 hours 1 second.)
Command
input
FNC169
DHOUR
S
D
1
D
2
S
S
D
2
S
1
S
1
D
1
D
1
D
1
D
1
D
1
D
2
D
1
D
1
S
D
1
D
2
D
1
D
1
D
1
D
1
D
1
X000
FNC169
HOUR
K300
S
D 200
D
1
Y005
D
2
S
D
2
D
1
D
1
D
2
D
1
S