Fnc143 - Uni / 4-Bit Linking Of Word Data - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
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
FNC 143
UNI
P
2. Set data
Operand type
S
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T
S
D
n
Explanation of function and operation
1. 16-bit operation (UNI/UNIP)
1)
The low-order 4 bits of "n" 16-bit data starting from
Command
input
+0
S
"n"
1
points
2
3
2)
Specify a number 1 to 4 in "n".
In the case of "n = 0", UNI instruction is not executed.
In the case of "1 ≤ n ≤ 3", the high-order {4 × (4-n)} bits of
3)
For example, when "n" is "3", the low-order 4 bits of
high-order 4 bits of
b15
+0
S
+1
+2
Ignored
Series
Mnemonic
16-bit Instruction
7 steps UNI
UNIP
Head device number storing data to be combined
Device number storing combined data
Number of data to be combined (0 to 4, When "n" is "0", UNI instruction is not executed.)
Digit Specification
FNC143
S
UNIP
b15
b4 b3
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Ignored
Combined data
are set to "0".
D
b4 b3
b0
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Combined data
19 Data Operation 2 – FNC140 to FNC149
19.4 FNC143 – UNI / 4-bit Linking of Word Data
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
C D R U \G
V
S
are combined, and stored in
D
n
b0
b15
D
are set to "0".
D
S
to
S
+2 are stored in b0 to b11 of
b15
b12b11
0 0 0 0
D
When "n" is "3", b12
to b15 are set to "0".
Mnemonic
Operation Condition
Data type
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
D
as shown below.
b12b11
b8 b7
b4 b3
D
b8 b7
b4 b3
b0
11
12
13
14
Pointer
15
P
16
17
b0
18
19
, and the
20
531

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents