Mitsubishi Electronics FX3G User Manual

Page of 964
541
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.5 FNC144 – DIS / 4-bit Grouping of Word Data
11
FN
C30
-FN
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
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, D0 is separated into 4 bit units and stored in D10 to D13 when X000 turns ON.
   
D
   
D
X000
FNC144
DISP
D0
D10
K4
END
b15
b4 b3
b0
b2 b1
D10
b15
b12b11
b4 b3
b0
1
0
0
0
1
0
1
0
1
0
0
1
0
0
1
1
1
0
0
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
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
Data storage
area
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
They are set to "0".
D10
D11
D12
D13
b8 b7