7-78
7.5 Data Processing Instructions
7.5.8 Separation and connection of random data
NDIS, NUNI
NUNI(P)
(1) Connects 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 them to the device
number specified for
and the following devices.
(2) The number of connected bits specified for
can be within a range of from 1 to 16 bits.
(3) Processing will be performed on the number of bits to be connected from the device number
specified for
to the device number storing 0.
(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.
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The number of separated or connected bits specified for
, or the device use range
specified for
or
exceeds the final device number of their respective devices.
(Error code: 4101)
• The number of separated or connected bits specified for
is not set within the range
from 1 to 16 bits.
(Error code: 4100)
s
1
s
2
d
s
1
s
2
d
s
2
s
2
s
2
s
2
s
2
s
2
s
2
s
1
s
1
d
b0
b5
b0
b7
b0
b5
b0
b5
b6
b15b14b13
b8
b15
b3
b0
b4
b7
b12
b0
b10
b0
b4
b0
b7
b0
b9
b0
b2
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
connecte
d bi
ts
8
6
10
s
1
s
1
s
1
d
s
1
+1
+1
+2
+2
+3
+3
+4
+4
+5
+5
+6
+6
+7
N
um
b
er
of
bi
ts
spec
i
f
i
e
d
for
s
2
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
s
2
s
2
s
1
s
1
d
d
s
1
s
2
d
s
1
s
2
d
s
2
s
1
d
s
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: ......