264
BMOV, BMOVP
Function
(1) Transfers in batch 16-bit data of n points from the device designated by to location n points from the device
designated by .
(2) Transfers can be accomplished even in cases where there is an overlap between the source and destination device.
In the case of transmission to the smaller device number, transmission is from ; for transmission to the larger device
number, transmission is from + (n-1).
However, as shown in the example below, when transferring data from R to ZR, or from ZR to R, the range to be
transferred (source) and the range of destination must not overlap.
Transfer from R to R, or from ZR to ZR can be performed without any problem.
• ZR transfer range ((specified head No. of ZR) to (specified head No. of ZR + the number of transfers -1))
• R transfer range ((specified head No. of R + file register block No. 32768) to (specified head No. of R + file register
block No. 32768 + the number of transfers -1))
Transfer ranges of ZR and R overlap when transferring 10000 blocks of data from ZR30000 (source) to R10 (block No.1
of the destination).
• ZR transfer range
(30000) to (30000+10000-1) (30000) to (39999)
• R transfer range
(10+(1 32768)) to (10+(1 32768)+10000-1)
(32778) to (42777)
Therefore, the range 32778 to 39999 overlaps and the data is not correctly transferred.
(3) When is a word device and is a bit device, the object for the word device will be the number of bits designated by
the bit device digit designation.
If K1Y30 has been designated by , the lower four bits of the word device designated by will become the object.
(4) If bit device has been designated for and , then and should always have the same number of digits.
(5) When using a link direct device and an intelligent function module device for and , only either of or can be
used.
S
D
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
+1
+2
+
(
n-2
)
+
(
n-1
)
+1
+2
+
(
n-2
)
+
(
n-1
)
n
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
Bloc
k
transfer
B0
b15
B0
b15
S
D
S
S
S
S
D
D
D
D
n
S
S
Example
ZR0
R0
R10
R32767
R10009
ZR30000
ZR39999
Source of transfer
Destination of transfer
Overlapped
Block No. 0
Block No. 1
S
D
D
S
n
0 0 1 1 1 0 1 1
1 1
1
0
Y30
Y33
Y37
Y34
Y3B
Y38
+1
+2
D100
1 0 1 1
b0
b1
b2
b3
b4
b15
D101
0 0 1 1
+1
D102
0 1 1 1
+2
n
S
D
S
S
D
D
S
D
S
D
S
D
S
D