7.5 Data Processing Instructions
7.5.8 Separation and connection of random data
7-77
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
NDIS
, NUN
I
NDIS, NUNI
Function
NDIS(P)
(1) Separates each bit of data stored in the device number specified for
and the following
devices in blocks whose numbers of bits are specified for
, and stores the data to the
device number specified for
and the following devices.
(2) The number of separated bits specified for
can be specified within a range of 1 to 16 bits.
(3) Bits from the device number specified for
to the device number where 0 is stored are
processed as separated bits.
(4) Do not overlap the device range for data to be separated (
to end range of
) with the
device range which stores the separated data (
to end range of
).
If overlapped, the correct operation result may not be obtained.
(5) Do not specify the same device number for
,
, and
. If the same device is specified
for
,
, and
, the operation does not perform correctly.
s
1
s
2
d
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
6
4
8
3
0
S
pec
i
f
i
cat
i
on
of
the
en
d
of
sett
i
ng
S
pec
i
f
i
cat
i
on
of
the
num
b
er
of
separate
d bi
ts
b0
b5
b0
b7
b0
b5
b0
b3
b0
b7
b0
b9
b0
b2
b0
b5
b6
b15b14b13
b8
b15
b3
b0
b4
b7
b12 b10
b0
b9
8
6
10
s
1
s
2
d
s
2
s
2
s
2
s
2
s
2
s
2
s
2
s
1
s
1
s
2
d
d
d
d
d
d
+1
+1
+2
+3
+4
+5
+6
+7
+1
+2
+6
+5
+4
+3
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+1
s
2
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+2
s
2
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+3
s
2
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+4
s
2
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+5
s
2
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
+6
s
2
+2
s
2
s
2
s
1
s
1
d
d
s
1
s
2
d
s
1
s
2
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: ......