3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F or m o r e i nf o r m a t i o n v i s i t : www. e a t o n. c o m
3-417
API Mnemonic
Operands
Function
169
D HOUR
S, D
1
, D
2
Hour Meter
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
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
S
: Hours set-point value
D
1
: Current time (occupies 2 continuous addresses)
D
2
: Output
address
Description:
1.
D
2
turns ON when the current accumulated time equals
S
(in hours), and the range is
K1~K32,767.
D
1
range is K0~K32,767.
D
1
+1 is the current time in seconds. Its range is
K0~K3,599.
2.
This instruction is used to measure the number of hours a process is running. This can be
used for example, to measure the time a machine is running to plan for scheduled
maintenance.
3.
After the output
D
2
is ON, the timer will keep on timing.
4.
When the 16-bit timer counts to its max. value (32,767 hours and 3,599 seconds), it will stop.
When the 32-bit timer counts to its max. value (2,147,483,647 hours and 3,599 seconds), it will
stop.
5.
This Instruction can be used four times in the program.
Program Example :
For 16-bit instruction: When X0=ON, Y20 = ON, timing starts. When the time reaches 100 hours, Y0
= ON and D0 will record the current time (units are hours for D0 and, D1 will contain the number of
seconds that have elapsed (range is 0~3599 seconds).
HOUR
Y20
K100
Y0
D0
Y20
X0
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...