8 Applied Instructions (Move and Compare)
8.6 BMOV / Block Move
150
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
BMOV instruction transfers "n" points of data from the device specified by to the device specified by
at one time.
• If the device number range is exceeded, data is transferred within the possible range.
1. Transfer is enabled even if the transfer number range is overlapped.
To prevent overwriting before transfer of source data, data is automatically transferred in the order "1)2)
3)" according to the number overlap status.
2. Extension function (bi-directional transfer function)
By controlling the direction inverse flag M8024
*1
for BMOV instruction, data can be transferred in two
directions in one program.
*1. M8024 is cleared when the PLC mode is changed from RUN to STOP.
BMOV direction inverse
flag
Transfer
direction
,
M8024
*1
:OFF
D5D10
D6D11
D7D12
M8024
*1
:ON
D5D10
D6D11
D7D12
Command input
Transfer source
data
Transfer destination
data
BMOV
EN
s
n
ENO
d
Number of points
transferred
n points
•
•
•
+ n
•
•
•
+ n
+1 +1
s
s
s
d
d
d
1)
2)
3)
D 9
D 10
D 11
D 10
D 11
D 12
3)
2)
1)
D 11
D 12
D 13
D 10
D 11
D 12
X001
D10 D9
BMOV
EN
s
n
ENO
d
K3
X002
D10
BMOV
EN
s
n
ENO
d
K3
D11
X001
BMOV direction
inverse
M8001
BMOV direction
inverse OFF
Normally OFF
during operation
*1
*1
X000
D5
BMOV
EN
s
n
ENO
d
K3
D10
M8024
M8024