532
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.4 FNC143 – UNI / 4-bit Linking of Word Data
Related instruction
Errors
An operation error occurs in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When to +n are outside the specified device range (error code: K6706)
• When "n" is outside the range from "0 to 4" (error code: K6706)
Program example
In the program below, the low-order 4 bits of D0 to D2 are combined and stored in D10 when X000 turns ON.
Instruction Description
DIS (FNC144) Separates 16-bit data in 4-bit units.
S
S
b15 b4 b3 b0
D0
D1
D2
D10
b15
b12b11 b4 b3 b0
Combined data
10001010100100001000000000000000
1010000000000000
1001000000000000
Because "n" is "K3",
they are set to "0".
X000
FNC143
UNIP
D0 D10 K3
END