![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/8d/38d56254-54fe-46e3-85ae-d3f5260e1091/38d56254-54fe-46e3-85ae-d3f5260e1091-bg92.png)
FX Series Programmable Controlers Applied Instructions 5
5-20
5.2.6 BMOV (FNC 15)
Operation:
A quantit
of consecutivel
occurrin
data
elements can be copied to a new destination. The
source data is identified as a device head address
(S) and a quantit
of consecutive data elements (n). This is moved to the destination device
(D) for the same number of elements (n).
Points to note:
a) If the quantit
of source devices (n) exceeds the actual number of available source devices,
then onl
those devices which fall in the available ran
e will be used.
b) If the number of source devices exceeds the available space at the destination location,
then onl
the available destination devices will be written to.
c) The BMOV instruction has a built in automatic feature to prevent overwritin
errors from
occurrin
when the source (S - n) and destination (D -n) data ran
es coincide. This is
clearl
identified in the followin
dia
ram:
(Note: The numbered arrows indicate the order in which the BMOV is processed)
d) Usin
file re
isters as the destination devices [D]ma
onl
be performed on FX Main
Processin
Units (MPUs) with a CPU version 3.07 or
reater or on an
FX
2C
or FX
2N(C)
MPU.
Mnemonic Function
Operands
Program steps
SD n
BMOV
FNC 15
(Block move)
Copies a specified
block of multiple
data elements to a
new destination
KnX, KnY,
KnM, KnS,
T,C,D, V, Z
(RAM) File
re
isters,
KnY, KnM,
KnS,
T, C, D, V, Z
(RAM) File
re
isters, see
note d)
K, H
D (FX2C,
FX2N onl
)
Note:
n
≤
512
BMOV,
BMOVP:
7 steps
X0
BMOV D 5 D 7 K 3
[ S ]
[ D ]
n
D 5
D 6
D 7
D 20
D 21
D 22
D 18
D 19
D 20
X0
BMOV D 5 D 7
X1
K 3
BMOV D 20 D 18 K 4
D 23
D 21
D 7
D 8
D 9
1
3
2
1
2
3
4