Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
6-117
BMOV(P)
1
2
3
4
4
6
7
8
6
.4 Data T
ransfer In
str
uctions
6
.4.6 Block 16-bit data tr
ansfers (BMOV(P))
6.4.6  
Block 16-bit data transfers (BMOV(P))
BMOV(P)
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))
: Head number of the devices where the data to be transferred is stored (BIN 16 bits)
: Head number of the devices of transfer destination (BIN 16 bits)
 n : Number of transfers (when using an intelligent function module device (U
\G
): 1 to 6144 (QnA only)) 
(BIN 16 bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
n
––
Basic
Process
High
performance
Redundant Universal
Command
Command
BMOVP
BMOV
n
n
BMOVP
BMOV
S
D
S
D
S
D
S
D
S
D
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
+1
+2
+(n-1)
+(n-2)
+1
+2
+(n-1)
+(n-2)
n
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
Block 
transfer
B0
b15
B0
b15
S
D
S
S
S
S
D
D
D
D
n
S
S