516
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.4 FNC143 – UNI / 4-bit Linking of Word Data
19.4
FNC143 – UNI / 4-bit Linking of Word Data
Outline
This instruction combines the low-order 4 bits of consecutive 16-bit data.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (UNI/UNIP)
1) The low-order 4 bits of "n" 16-bit data starting from
are combined, and stored in
as shown
below.
2) Specify a number 1 to 4 in "n".
In the case of "n = 0", UNI instruction is not executed.
Operand type
Description
Data type
Head device number storing data to be combined
16-bit binary
Head device number storing combined data
n
Number of data to be combined (0 to 4) (When "n" is "0", UNI instruction is not
executed.)
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3 3 3 3
3
3 3 3 3
3
n
3 3
3 3
P
FNC 143
UNI
−
−
Mnemonic
Operation Condition
16-bit Instruction
7 steps
UNI
UNIP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
S
D
S
D
S
D
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Command
input
FNC143
UNIP
S
D
n
b15
b4 b3
b0
S
+0
1
2
Ignored
D
"n"
points
3
Combined data
b15
b12b11
b8 b7
b4 b3
b0