Mitsubishi Electronics FX3GC ユーザーズマニュアル
261
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.7 FNC 16 – FMOV / Fill Move
1
Introdu
ction
2
Ov
ervi
ew
ew
3
Instruction
Li
st
4
D
evices
in Det
ai
l
5
Specifi
ed the
De
vice
&
C
onst
ant
ant
6
Bef
ore
ore
Pr
og
ra
mmi
ng
ng
7
Bas
ic
ic
Instruction
8
FN
C00-FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
2. 32-bit operation (DFMOV and DFMOVP)
The contents of [
+1,
] are transferred to "n" 32-bit devices starting from [
+1,
].
• The contents will be the same among all of "n" 32-bit devices.
• If the number of points specified by "n" exceeds the device number range, data is transferred within the possible
• If the number of points specified by "n" exceeds the device number range, data is transferred within the possible
range.
• While the command input is OFF, the transfer destination [
+1,
] does not change.
• While the command input is ON, the data of the transfer source [
+1,
] does not change.
• When a constant (K) is specified as the transfer source [
+1,
], it is automatically converted into binary.
Program example
1. When writing specified data to two or more devices
S
S
D
D
D
D
S
S
S
S
X000
FNC 16
DFMOV
n
S
D
+1,
+1,
n
+3, +2
+5, +4
+7, +6
+9, +8
S
D
D
D
D
D
S
D
D
D
D
D
X000
FNC 16
FMOV
K 0
D 0
K 5
n
S
D
K 0
K 0
D 0
K 0
D 1
K 0
D 2
K 0
D 3
K 0
D 4
Before
execution
After
execution
K 3
……
K 0
K 5
K 0
K 65
K 0
K 7
K 0
K100
→
K 0
Values before execution are
shown as examples.
S
D
……
……
……
……
→
→
→
→