Mitsubishi MELSEC-Q/L Programming Manual page 295

Table of Contents

Advertisement

(3) The timer contact goes ON at the leading edge of the command for the STMR instruction, and after the trailing edge is
reached, the timer coil goes OFF at the trailing 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
(4) 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.
(5) Measurement unit for the timer designated by
(6) A value between 0 to 32767 can be set for n.
No operation if n is other than 0 to 32767.
(7) The timer designated by
If the STMR instruction and the OUT instruction use the same timer number, accurate operation will not be conducted.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
code
The device specified by
4101
device.
Set value
designated by n
is identical to the low speed timer.
D
cannot be used by the OUT instruction.
S
Error details
exceeds the range of the corresponding
D
OFF delay timer
One-shot timer after OFF
One-shot timer after ON
ON delay timer + OFF delay timer
Set value
Set value
designated by n
designated by n
Q00J/
Q00/
QnH
QnPH QnPRH
Q01
––
––
––
STMR
QnU
LCPU
––
293
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents