Special Function Timer - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Special function timer

STMR
Basic
High
Process
performance
STMR
(S): Timer number (word)
n:
Value to set (BIN 16 bits).
(D): (D)+0: Off delay timer output (bits)
(D)+1: One shot timer output after OFF (bits)
(D)+2: One shot timer output after ON (bits)
(D)+3: ON delay and Off delay timer output (bits)
Setting
Internal device
data
Bit
(S)
n
(D)
*1 Can be used only by timer (T) data
Processing details
• The STMR instruction uses the 4 points from the device designated by (D) to perform four types of timer output.
Item
OFF delay timer output ((D)+0)
One shot timer output after OFF ((D)+1)
One shot timer output after ON ((D)+2)
ON delay timer output ((D)+3)
• The timer coil designated by (S) turns ON at the rising edge and falling edge of the command for the STMR instruction, and
starts measurement of the present value.
• The timer coil measures to the point where the value reaches the set value designated by n, then enters a time up state and goes OFF.
• If the command for the STMR instruction goes OFF before the timer coil reaches the time up state, it will remain ON. Timer measurement is continued at this
time. When the STRM instruction command goes ON once again, the present value will be cleared to 0 and measurement will begin once again.
6 BASIC INSTRUCTIONS
340
6.8 Other Convenient Instructions
Redundant
Universal
LCPU
Command
R, ZR
Word
*1
STMR
J\
U\G
Bit
Word
Description
Goes ON at the rising edge of the command for the STMR instruction, and
after the falling edge of the command, goes OFF when the amount of time
designated by n has passed.
Goes ON at the falling edge of the command for the STMR instruction, and
goes OFF when the amount of time designated by n has passed.
Goes ON at the rising edge of the command for the STMR instruction, and
goes OFF either when the amount of time designated by n has passed, or
when the command for the STMR instruction goes OFF.
Goes ON at the falling edge of the timer coil, and after the falling edge of the
command for the STMR instruction, goes OFF when the amount of time
designated by n has passed.
n
S
D
Zn
Constant
K, H
Others

Advertisement

Table of Contents
loading

Table of Contents