2-24
2.5 Application Instructions
2.5.5 Data processing instructions
2.5.5
Data processing instructions
Table 2.22 Data processing instructions
Category
Instruction name
Argument
Processing details
Executing
condition
Page
Data search
SER
, ,
n,
DSER
, ,
n,
Bit check
SUM
,
DSUM
,
Decode
DECO
, n,
Encode
ENCO
, n,
7-segment
decode
SEG
,
Separation
and
connection
DIS
, n,
• Separates 16-bit data specified for in
units of 4 bits and stores the result to
lower 4 bits n points from (n
4).
UNI
, n,
• Connects lower 4-bit data n points from
the device specified for and stores
the result to the device specified for
(n
4).
NDIS
, ,
• Separates the data in and the
following devices into bits specified by
the devices from , and stores the
result to and the following devices.
NUNI
, ,
• Connects the data in and the
following devices per bits specified by
the devices from , and stores the
result to and the following devices.
WTOB
, n,
• Separates 16-bit data specified for in
units of 8 bits for n points of devices and
stores the result in order from the device
specified for .
BTOW
, n,
• Connects lower 8 bits of 16-bit data for n
points from the device specified for
to 16 bits and stores the result
sequentially to the devices starting from
the one specified for .
s
1
s
2
d
: Matc
h
num
b
er
: Num
b
er o
f
matc
h
es
n
s
1
s
2
( +
1
)
d
d
s
1
s
2
d
: Matc
h
num
b
er
: Num
b
er o
f
matc
h
es
3
2
b
its
n
s
1
s
2
( +
1
)
d
d
s
d
b
0
b15
: Num
b
er o
f
1
s
d
s
s
d
: Num
b
er o
f
1
s
d
s
( +
1
)
s
s
d
Decode
Decode
f
rom 8 to
256
n
2
n
b
its
d
s
s
d
Encode
n
2
b
its
n
Decode
f
rom
256
to 8
d
s
s
d
b
3 to
b
0
7SEG
s
d
s
d
s
d
s
d
s
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
d
s
d
s
d
s
d
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: ......