Mitsubishi MELSEC Q Series Programming Manual page 355

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.8.3
Teaching timer (TTMR)
TTMR
TTMR
Setting
Data
D
n
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
OFF ON.
(3) The multipliers that can be designated by n are as shown below:
(4) No processing is performed when the value specified by "n" is other than 0 to 2.
Command
:
+ 0: The device where measurement value is stored (BIN 16 bit)
D
D
+ 1: For CPU module system use (BIN 16 bit)
D
n : Measurement value multiplier (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
––
––
.
D
+0 or
D
n
Multiplier
0
1
1
10
2
100
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
users should not change its value. If users do change this value, the value
stored in the device designated by
High
Basic
performance
TTMR
J
\
U
\G
Bit
Word
––
+1 when the execution command is turned
D
+1 is used by the system of the CPU module, so
D
will no longer be accurate.
D
TTMR
Process
Redundant
Universal
LCPU
n
D
Constants
Zn
Other
K, H
––
––
6-153
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents