Mitsubishi Electric MELSEC-Q/L Programming Manual page 343

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

Advertisement

• The timer contact goes ON at the rising edge of the command for the STMR instruction, and after the falling edge is
reached, the timer coil goes OFF at the falling edge of the STMR instruction command. The timer contact is used by the
CPU module system, and cannot be used by the user.
Command for
STMR instruction
S
(Coil)
S
(Contact)
D
+0
D
+1
D
+2
D
+3
Setting value
designated by n
• Measurement of the present value of the timer specified by the STMR instruction is executed regardless of the command
ON/OFF status of the STMR instruction. If the STMR instruction is jumped with the JMP or similar instruction, it will not be
possible to get accurate measurement.
• Measurement unit for the timer designated by (D) is identical to the low speed timer.
• A value between 0 to 32767 can be set for n. No operation if n is other than 0 to 32767.
• The timer designated by (S) cannot be used by the OUT instruction. If the STMR instruction and the OUT instruction use
the same timer number, accurate operation will not be conducted.
Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
4101
The device specified by (D) exceeds the range of the corresponding device.
Set value
Set value
designated by n
designated by n
OFF delay timer
One-shot timer after OFF
One-shot timer after ON
ON delay timer + OFF delay timer
Set value
designated by n
Q00J/
QnH
QnPH
QnPRH
Q00/
Q01
6 BASIC INSTRUCTIONS
6.8 Other Convenient Instructions
6
QnU
LCPU
341

Advertisement

Table of Contents
loading

Table of Contents