6 - 118 6 - 118
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
POINTS
(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 type programs.
(4) The device designated by
D
+1 is used by the CPU system, so users should not change
its value.
If users do change this value, the value stored in the device designated by
D
will no longer
be accurate.
(4) No processing is performed when the value specified by "n" is other than 0 to 2.
[Operation Errors]
(1) There are no errors associated with the TTMR instruction.
[Program example]
(1) The following program stores the amount of time that X0 is ON at D0.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com