Mitsubishi Electronics FX3G User Manual

Page of 964
73
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
3 Instruction List
3.3 Applied Instructions ... in Ascending Order of FNC Number
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
Move and Compare
13
SMOV
Shift Move
Section 9.4
14
CML
Complement
Section 9.5
15
BMOV
Block Move
Section 9.6
16
FMOV
Fill Move
Section 9.7
17
XCH
Exchange
Section 9.8
18
BCD
Conversion to Binary 
Coded Decimal
Section 9.9
19
BIN
Conversion to Binary
Section 
9.10
Arithmetic and Logical Operation (+, –, 
×, ÷) 
20
ADD
Addition
Section 
10.1
21
SUB
Subtraction
Section 
10.2
22
MUL
Multiplication
Section 
10.3
23
DIV
Division
Section 
10.4
24
INC
Increment
Section 
10.5
25
DEC
Decrement
Section 
10.6
26
WAND
Logical Word AND
Section 
10.7
27
WOR
Logical Word OR
Section 
10.8
28
WXOR
Logical Exclusive OR
Section 
10.9
29
NEG
Negation
Section 
10.10
Rotation and Shift Operation
30
ROR
Rotation Right
Section 
11.1
31
ROL
Rotation Left
Section 
11.2
32
RCR
Rotation Right with Carry
Section 
11.3
33
RCL
Rotation Left with Carry
Section 
11.4
FNC
No.
Mnemonic
Symbol
Function
FX
3S
FX
3G
FX
3GC
FX
3U
FX
3UC
Applicable PLC
Reference
FX
1S
FX
1N
FX
1NC
FX
2N
FX
2NC
SMOV S
D n
m1 m2
D
S
CML
n
BMOV S D
n
FMOV S D
D2
D1
XCH
D
S
BCD
D
S
BIN
ADD
S2 D
S1
SUB
S2 D
S1
MUL
S2 D
S1
DIV
S2 D
S1
D
INC
D
DEC
D
WAND
S2
S1
D
WOR
S2
S1
D
WXOR
S2
S1
D
NEG
n
D
ROR
n
D
ROL
n
D
RCR
n
D
RCL