3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-185
API Mnemonic
Operands
Function
64
TTMR
D, n
Alternate Timer
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C D E
F
D
*
n
*
*
TTMR: 5 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:
D
: Device number for storing the ON time of the input
n
: Multiple set-points (
n
=0~2)
Description:
1.
The ON time of the external switch is measured and stored in
D
+1. The units are 100ms
increments.
2.
n
determines the units for
D.
When
n
=0,
D
is in seconds. When
n
=1,
D
is in 100ms
increments.. When
n
=2,
D
is in 10ms increments.
3. Operand
D
occupies 2 consecutive registers.
4.
ELC-PC/PA/PH, ELCM-PH/PA: The TTMR instruction can only be used eight times in a
program.
Program Example 1:
1.
The On duration of X0 is stored in D1 in 100ms increments.
n
is used to specify the units for
the On duration of X0 stored in D0. Then the switch can be used to adjust the set-point value
of a timer, for example.
2.
When X0 = OFF, the contents of D1 will be reset to 0 but the contents of D0 is unchanged.
X0
TTMR
D0
K0
X0
D1
D0
D0
D1
T
T
pushed time (sec)
pushed time (sec)
3.
If the ON duration of X0 is T seconds, the relationship between D0, D1 and
n
are shown as the
table below.
Содержание 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...