9 Application Instructions API 150-199
DVP-PLC Application Manual
9-47
API Mnemonic
Operands
Function
169
D HOUR
Hour Meter
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H
KnX KnY KnM KnS T
C
D
E
F
S
*
*
*
*
*
*
*
*
*
*
*
D
1
*
D
2
*
*
*
HOUR: 7 steps
DHOUR: 13 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S
: Period of time when
D
2
is On (in hour)
D
1
: Current value being measured (in hour)
D
2
: Output device
Explanations:
1. If
S
is used in device F, only 16-bit instruction is applicable.
2.
D
1
will occupy 2 consecutive points.
D
1
+ 1 uses 16-bit register in 16-bit or 32-bit instruction.
3.
See the specifications of each model for their range of use.
4.
HOUR instruction can be used 4 times of SA/SX/SC.
5. Range
of
S
: K1 ~ K32,767 (unit: hour); range of
D
1
: K0 ~ K32,767 (unit: hour).
D
1
+ 1 refers to the current time
that is less than an hour (range: K0 ~K3,599; unit: second).
6.
This instruction times the time and when the time reaches the set time (in hour),
D
2
will be On. This function
allows the user to time the operation of the machine or conduct maintenance works.
7. After
D
2
is On, the timer will resume the timing.
8.
In the 16-bit instruction, when the current time measured reaches the maximum 32,767 hours/3,599 seconds,
the timing will stop. To restart the timing,
D
1
and
D
1
+ 1 have to be reset to “0”.
9.
In the 32-bit instruction, when the current time measured reaches the maximum 2,147,483,647 hours/3,599
seconds, the timing will stop. To restart the timing,
D
1
~
D
1
+ 2 have to be reset to “0”.
10. There is no limitations on the times of using this instruction in the program for EH series MPU; however, only 4
instructions can be executed at the same time.
Program Example 1:
In 16-bit instruction, when X0 = On, Y10 will be On and the timing will start. When the timing reaches 100 hours, Y0
will be On and D0 will record the current time measured (in hour) and D1 will record the current time that is less than
an hour (0 ~ 3,599; unit: second).
HOUR
Y10
K100
Y0
D0
Y10
X0
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...