6-149
TTMR
1
2
3
4
4
6
7
8
6.8 Other Convenient Instructions
6.8.3 Teaching timer (TTMR)
6.8.3 Teaching timer (TTMR)
TTMR
Function
(1) Measures the time while the execution command is ON in units of seconds, and stores the
multiplied value of the measured time by the multiplier specified by n at the device
designated by .
(2) Clears the device designated by +0 or +1 when the execution command is turned
OFF ON.
(3) The multipliers that can be designated by n are as shown below:
1. Time measurements are conducted when the TTMR instruction is executed.
Using the JMP or similar instruction to jump the TTMR instruction will make it
impossible to get an accurate measurement.
2. Do not change the multiplier designated by n while the TTMR instruction is
being executed. Changing this multiplier will result in an inaccurate value being
returned.
3. The TTMR instruction can also be used in low speed execution type programs.
4. The device designated by +1 is used by the system of the CPU module, so
users should not change its value. If users do change this value, the value
stored in the device designated by will no longer be accurate.
(4) No processing is performed when the value specified by "n" is other than 0 to 2.
: + 0: The device where measurement value is stored (BIN 16 bit)
+ 1: For CPU module system use (BIN 16 bit)
n : Measurement value multiplier (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
n–– ––
n Multiplier
01
110
2 100
Process
High
performance
Universal
Basic
Redundant
Command
TTMR
n
DTTMR
D D
D
D
D
D D
D
D