EasyManua.ls Logo

Mitsubishi MELSEC Q Series - Page 457

Mitsubishi MELSEC Q Series
1296 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7-83
NDIS(P),NUNI(P)
1
2
3
4
6
6
7
8
7.5 Data processing instructions
7.5.8 Dissociation or linking of random data (NDIS(P),NUNI(P))
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The number of bits to be dissociated or linked as specified by , or the device use range
specified by or exceeds the final device number of their respective devices.
(Error code: 4101)
• The number of bits for dissociation or linking specified by has not been set within the
range of from 1 to 16 bits. (Error code: 4100)
Program Example
(1) The following program dissociates data of 4, 3, and 6 bits respectively from the lower bits of
D0, and stores them from D10 to D12.
[Ladder Mode] [List Mode]
[Operation]
S2
S1
D
S2
Step
Instruction
Device
0 0 0 0 0 0 0 0 0 0 0 0
1
1
0 0
1 1
0
1
0
1 1
000
1111
00
b4b3 b0
Filled with 0s.
b7b12
b3 b0
D10
0 0 0 0 0 0 0 0 0 0 0 000 1 1
Filled with 0s.
b2 b0
D11
0 0 0 0 0 0 0 0 0 0 1 011 0 0
Filled with 0s.
D12
b5 b0
The data in these
bits is ignored.
6 bits
3 bits
4 bits
b6
D0

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals