Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 888

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• This instruction uses four points from the device specified by (d) to implement four types of timer output.
Setting data
Description
(d)
+0
Off delay timer output:
+1
After-off one-shot timer output
+2
After-on one-shot timer output
+3
On delay + off delay timer output
• The coil of the timer specified by (s) turns on, on the rising and falling edges of the command of the STMR instruction, to
start measurement of the current value.
• The coil of the timer keeps measurement during the time specified by (s2) and turns off when the time is up.
• The coil of the timer is kept on even if the STMR instruction is turned off before time-up. Timer measurement is continued.
When the STMR instruction is turned on again, the coil resets the current value to 0 and restarts measurement.
• The contact of the timer turns on, on the rising edge of the command of the STMR instruction, and turns off on the falling
edge of the command after the coil of the timer falls. Users cannot use the contact of the timer because it is reserved for the
system.
(1)
(s1)
(2)
(3)
(s1)
(d)+0
(d)+1
(d)+2
(d)+3
(1) Command for the STMR instruction
(2) Coil
(3) Contact
(4) Value specified by (s2)
• Measurement of the current value of the timer specified by the STMR instruction is executed regardless of whether the
command of the STMR instruction is on or off. If the STMR instruction is skipped such as by the JMP instruction, normal
measurement is not performed.
• The measurement unit of the timer specified by (d) is the same as that of the low-speed timer.
• A value from 0 to 32767 can be specified in (s2). If a value out of the range is specified, no processing is performed.
• Do not use the OUT instruction for the timer specified by (s1). If the same timer device or timer type label is used for the
STMR and OUT instructions, normal operation is not performed.
7 APPLICATION INSTRUCTIONS
886
7.14 Special Timer Instructions
(4)
(4)
Turns on on the rising edge of the command of the STMR instruction,
and turns off after a lapse of the time specified by (s2) after the falling
edge of the command.
Turns on on the falling edge of the command of the STMR
instruction, and turns off after a lapse of the time specified by (s2).
Turns on on the falling edge of the command of the STMR
instruction, and turns off after a lapse of the time specified by (s2) or
when the command of the instruction turns off.
Turns on on the falling edge of the timer coil, and turns off after a
lapse of the time specified by (s2) after the falling edge of the
command of the STMR instruction.
(4)
(4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents