217
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
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