FX Series Programmable Controlers Applied Instructions 5
5-90
5.7.5 TTMR (FNC 64)
Operation:
The duration of time that the TTMR instruction is
energized, is measured and stored in device D
+1
(as a count of 100ms periods).
The data value of D+1 (in secs), multiplied by the
factor selected by the operand n, is moved in to
register D. The contents of D could be used as the
source data for an indirect timer setting or even as
raw data for manipulation.
When the TTMR instruction is de-energized D
+1 is
automatically reset (D is unchanged).
Mnemonic Function
Operands
Program steps
Dn
TTMR
FNC 64
(Teaching
timer)
Monitors the
duration of a
signal and places
the timed data
into a data register
D
Note:
2 devices 16 bit words
areusedDandD
+1
K, H
)
Note:
n= 0: (D) = (D
+1) × 1
n= 1: (D) = (D
+1) × 10
n= 2: (D) = (D
+1) × 100
TTMR:
5steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X10
D300
[ D ]
K 0
[ n ]
TTMR
D301 D301
X10
Equivalet time data (n duration D+1), is stored in D