367
NDIS, NDISP, NUNI, NUNIP
1
2
3
4
4
6
7
8
7.5 Data processing instructions
7.5.8 NDIS, NDISP, NUNI, NUNIP
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]
(2) The following program links the lower 4 bits of data from D10, the lower 3 bits of data from D11, and the lower 6 bits of
data from D12, and stores at D0.
[Ladder Mode] [List Mode]
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
Step
Instruction
Device