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
Block
transfer
B0b15 B0b15
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
001110111 110
Y30Y33Y37 Y34Y3B Y38
+1+2
D100 1011
b0b1b2b3b4b15
D101 0011+1
D102
0111+2
n
S
D
S
S
D D
S
D
S
D
S
D
S
D