Mitsubishi MELSEC-Q/L Programming Manual page 266

Table of Contents

Advertisement

BMOV, BMOVP
Function
(1) Transfers in batch 16-bit data of n points from the device designated by
designated by
.
D
(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
number, transmission is from
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))
Example
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
• R transfer range
Therefore, the range 32778 to 39999 overlaps and the data is not correctly transferred.
Z R 30000
Z R 39999
(3) When
is a word device and
S
the bit device digit designation.
If K1Y30 has been designated by
S
S
S
(4) If bit device has been designated for
(5) When using a link direct device and an intelligent function module device for
used.
264
b15
B0
S
1234
H
S
+1
5678
H
S
+2
7FF0
H
n
S
+(n-2)
6FFF
H
S
+(n-1)
553F
H
+ (n-1).
S
(30000) to (30000+10000-1)
(10+(1 32768)) to (10+(1 32768)+10000-1)
(32778) to (42777)
Source of transfer
ZR0
Overlapped
is a bit device, the object for the word device will be the number of bits designated by
D
, the lower four bits of the word device designated by
D
b15
b4
b3
b2
b1
D100
1 0 1 1
+1
D101
0 0 1 1
+2
D102
0 1 1 1
and
, then
S
D
to location n points from the device
S
b15
D
1234
Block
D
+1
5678
transfer
D
+2
7FF0
D
+(n-2)
6FFF
D
553F
+(n-1)
; for transmission to the larger device
S
(30000) to (39999)
Destination of transfer
b0
D
D
+2
+1
Y3B
Y38
Y37
0
1
1 1
0 0 1 1 1 0 1 1
n
n
and
should always have the same number of digits.
S
D
and
S
B0
H
H
H
n
H
H
R0
Block No. 0
R3 2 7 6 7
R1 0
R1 0 0 0 9
Block No. 1
will become the object.
S
D
Y34
Y33
Y30
, only either of
or
can be
D
S
D

Advertisement

Table of Contents
loading

Table of Contents