253
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
9.
Move and Compare – FNC 10 to FNC 19
FNC 10 to FNC 19 provide fundamental data processing instructions such as data transfer and data
comparison which are regarded as most important in applied instructions.
FNC No.
Mnemonic
Symbol
Function
Reference
10
CMP
Compare
Section 9.1
11
ZCP
Zone Compare
Section 9.2
12
MOV
Move
Section 9.3
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
CMP
S1 S2 D
ZCP
S2 S D
S1
D
S
MOV
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