363
UNI, UNIP
1
2
3
4
4
6
7
8
7.5
D
ata pr
ocessin
g instru
ctions
7.5.7
UNI, U
N
IP
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.
Program Example
(1) The following program dissociates the 16-bit data from D0 into 4-bit groups, and stores from D10 to D13 when X0 is ON.
[Ladder Mode]
[List Mode]
[Operation]
: Head number of the devices where data to be linked is stored (BIN 16 bits)
: Head number of the devices where the linked data will be stored (BIN 16 bits)
n
: Number of links (1 to 4), 0: No processing (BIN 16 bits)
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4100
The value of n is other than 0 to 4.
4101
The range n-points from exceeds the range of the corresponding
device.
UNI, UNIP
4-bit linking of 16-bit data
7.5.7
UNI, UNIP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
n
––
D
Step
Instruction
Device
b15
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
b0
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
D10
b1
b2
b3
b4
D11
D12
Storage area
b15
1 1 0 0 1 0 0 1 0 1 0 1 0 0 0 1
b8
D0
b7
b12 b11
b4 b3
b0
0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0
D13
Filled with 0s.
Basic
Process
High
performance
Redundant Universal
LCPU
n
n
UNI
UNIP
D
D
Command
Command
U
NIP
U
NI
S
S
S
D
S
D