364
UNI, UNIP
Function
(1) Links lower 4 bits of 16-bit data n-points from device designated by to 16-bit device designated by .
(2) The bits of the upper (4-n) digits of the device designated by become 0.
(3) The value of n can be designated at between 1 and 4.
(4) If n 0, there will be no processing, and the contents of device will not change.
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 links the lower 4 bits of D0 to D2 when X0 is ON, and stores them at D10.
[Ladder Mode]
[List Mode]
[Operation]
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.
S
D
b0
b3
b7
b4
b11 b8
b12
b15
b4
b15
b0
b3
Ignored
Lin
k
ed data
D
S
S
S
S
+1
+3
+2
D
D
S
Step
Instruction
Device
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
D0
b1
b2
b3
b4
D1
D2
Lin
k
ed data
b15
0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 1
b8
b0
D10
b7
b15