![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/8d/38d56254-54fe-46e3-85ae-d3f5260e1091/38d56254-54fe-46e3-85ae-d3f5260e1091-bgc6.png)
FX Series Programmable Controlers Applied Instructions 5
5-72
5.7.5 TTMR (FNC 64)
Operation:
The duration of time that the TTMR instruction is
ener
ized, is measured and stored in device D
+1
(as a count of 100ms periods).
The data value of D
+1
(in secs), multiplied b
the
factor selected b
the operand n, is moved in to
re
ister D. The contents of D could be used as the
source data for an indirect timer settin
or even as
raw data for manipulation.
When the TTMR instruction is de-ener
ized D
+1
is
automaticall
reset (D is unchan
ed).
5.7.6 STMR (FNC 65)
Operation:
The desi
nated timer Swill operate for the duration
n with the operational effect bein
fla
ed b
devices D+0to D+3. Device D+0is an off-dela
timer, D+1is a one shot timer. When D+3is used in
the confi
uration below, D+1and D+2act in a
alternate flashin
sequence.
Mnemonic Function
Operands
Program steps
Dn
TTMR
FNC 64
(Teachin
timer)
Monitors the
duration of a
si
nal and places
the timed data
into a data re
ister
D
Note:
2 devices 16 bit words
are used D and D
+1
K, H
Note:
n= 0: (D) = (D
+1
)
×
1
n= 1: (D) = (D
+1
)
×
10
n= 2: (D) = (D
+1
)
×
100
TTMR:
5 steps
Mnemonic Function
Operands
Program steps
SnD
STMR
FNC 65
(Special
timer)
Provides
dedicated
off-dela
, one
shot and flash
timers
T
Note:
Timers 0 to 199
(100msec
devices)
K, H
Note:
n=
1 to 32,767
Y, M, S
Note:uses 4
consecutive
devices
D+0to D+3
STMR:
7 steps
X10
D300
[ D ]
K 0
[ n ]
TTMR
D301 D301
X10
Equivalet time data (n duration D+1), is stored in D
X0
K 100 M 0
[ S ]
[ D ]
T 10STMR
[ n ]
X0
M0
M1
M2
M3
X0
K 100 M 0T 10STMR
M3
X0
M2
M1(M3)