Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
577
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21.9 FNC169 – HOUR / Hour Meter
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC274
Ex-Device
Inverter Comms
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 of 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