367
NDIS, NDISP, NUNI, NUNIP
1
2
3
4
4
6
7
8
7.5
D
ata pr
ocessin
g instru
ctions
7.5.8
NDIS, ND
ISP, NUNI, N
UNIP
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 0 0 0 1 1 1 1 0 0
b4b3
b0
Filled with 0s.
b7
b12
b3
b0
D10
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
Filled with 0s.
b2 b0
D11
0 0 0 0 0 0 0 0 0 0 1 0 1 1 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