Mitsubishi Electronics FX3G User Manual

Page of 964
531
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
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
19. Data Operation 2 – FNC140 to FNC149
FNC140 to FNC149 provide instructions for executing complicated processing for fundamental applied instructions
and for executing special processing.
FNC No.
Mnemonic
Symbol
Function
Reference
140
WSUM
Sum of Word Data
Section 19.1
141
WTOB
WORD to BYTE
Section 19.2
142
BTOW
BYTE to WORD
Section 19.3
143
UNI
4-bit Linking of Word Data
Section 19.4
144
DIS
4-bit Grouping of Word Data
Section 19.5
145
146
147
SWAP
Byte Swap
Section 19.6
148
149
SORT2
Sort Tabulated Data 2
Section 19.7
WSUM
n
D
S
WTOB
n
D
S
BTOW
n
D
S
UNI
n
D
S
DIS
n
D
S
S
SWAP
SORT2
n
m2
m1
S
D