2.4 Basic instructions
2.4.8 Other convenient instructions
2-19
2
INSTRU
CTION
TABLES
2.4.8
Other convenient instructions
Table 2.17 Other convenient instructions
Category
Instruction name
Argument
Processing details
Executing
condition
Page
Up/down
counter
UDCNT1
, n,
UDCNT2
, n,
Teaching
timer
TTMR
n,
Special
function timer
STMR
, n,
• The 4 points from the bit device
specified for perform the following
operations depending on the ON/OFF
status of input condition of the STMR
instruction:
+0: Off-delay timer output
+1: One-shot timer output after Off
+2: One-shot timer output after On
+3: On-delay + Off-delay timer output
Shortest
direction
control
ROTC
, n1, n2,
• Rotates the rotary table divided into n1,
from the stop position to the position
specified for ( +1) in the shortest path.
Ramp signal
RAMP
n1, n2, n3,
,
• Changes the data of the device
specified for from n1 to n2 in n3
scans.
Pulse density SPD
, n,
• Counts the pulse inputs of the device
specified for for the time specified by
n and stores the result to the device
specified for .
Pulse output
PLSY
n1, n2,
Pulse width
modulation
PWM
n1, n2,
Matrix input
MTR
, n,
,
• Sequentially captures the data of 16
points multiplied by n columns from the
device specified for , and stores the
captured data to and the following
devices.
s
d
+1
Up
Do
w
n
Up
+
0
Current
Cn
va
l
ue
Cn
contact
p
o
i
nt
1 2
3
4
6
7
6 5
3
2 1
0
-1 -2 -
3
-2 -1
0
0
4
5
s
s
s
d
Current
Cn
va
l
ue
Cn
contact
p
o
i
nt
1
2
4
5
4
3
1
0
-1
0
3
2
+1
+
0
s
s
d
(
Ti
me
t
h
at
TT
MR
i
s
O
N
) n
n
=
0
:1
,
n
=1:1
0,
n
=2:1
00
d
s
d
d
d
d
d
d
s
d
s
d
1
d
2
d
1
s
d
s
d
d
(n
1
)
Hz
Out
p
ut
n
2
t
i
mes
d
d
n
1
n
2
d
s
d
1
d
2
s
d
2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......