8.10 File Register High-Speed Block Transfer
8-49
8
QCPU
INS
T
R
UCTIONS
RBMOV
RBMOV
(2) The transfer is available even if there is an overlap between the source and destination
devices.
For the transmission to the smaller number of device, the data are transferred from
. For
the transmission to the larger number of device, the data are transferred 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.
• ZR transfer range ((specified start number of ZR) to (specified start number of ZR + the
number of transfers -1))
• R transfer range ((specified start number of R + file register block number 32768) to
(specified start number of R + file register block number 32768 + the number of
transfers -1))
Transfer ranges of ZR and R overlap when transferring 10000 points 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 from 32778 to 39999 overlaps.
(3) When
is a word device and
is a bit device, the number of bits specified by the digit
specification for bit devices will be transferred. If K1Y30 has been specified for
, the lower
4 bits of the word device specified for
will be transferred.
O
perat
i
on
E
rror
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The device range of n points from
or
exceeds the corresponding device range.
(Error code: 4101)
• The file register is not specified for either
or
.
(Error code: 4101)
s
s
Example
Source of transfer
Destination of transfer
Overlapped
Block No. 0
Block No. 1
ZR0
R0
R 1 0
R 3 2 7 6 7
R 1 0 0 0 9
Z R 3 0 0 0 0
Z R 3 9 9 9 9
s
d
d
s
n
0 0 1 1 1 0 1 1
1 1
1
0
Y
30
Y
33
Y
37
Y
3
4
Y
3B
Y
38
+
1
+
2
R100
1 0 1 1
b0
b1
b2
b3
b
4
b15
R101
0 0 1 1
+
1
R102
0 1 1 1
+
2
n
s
d
s
s
d
d
s
d
s
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......