Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
576
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.9 FNC169 – HOUR / Hour Meter
Outline
This instruction measures the ON time of the input contact in units of hour.
1. Instruction format
2. Set data
3. Applicable devices
S1: D.b is available only in FX3U and FX3UC PLCs. However, index modifiers (V and Z) are not available.
S2: This function is supported only in FX
3U/FX3UC PLCs.
Explanation of function and operation
1. 16-bit operation
When the accumulated ON time of the command input
exceeds the time stored in , is set to ON.
The current value less than one hour is stored in +1
(unit: 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 .
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 type data 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 reaches the maximum value of 16-bit data, the measurement is stopped.
For continuing the measurement, clear the current value stored in and +1.
Operand type Description Data type
Time after which is set to ON (unit: hour)
16- or 32-bit binary
Current value (unit: hour) (latched (battery backed) type data register latched (battery
backed))
16- or 32-bit binary
Head device number to which alarm is output Bit
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
33333333S2 33 3 33
33 3
33 3 S1 3
FNC 169
HOUR
Mnemonic Operation Condition
16-bit Instruction
7 steps HOUR
Mnemonic Operation Condition
Continuous
Operation
32-bit Instruction
D
13 steps DHOUR
Continuous
Operation
S
1
S
D
2
S
1
D
1
D
2
S
1
S
S
1
D
1
S
2
D
2
Command
input
FNC169
HOUR
S
D
1
D
2
S
D
2
D
1
S
D
2
D
1
D
1
D
2
D
1
S
D
1
D
2
D
1
D
1
D
1