7-449
RBMOV(P)
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.19 High-speed Block Transfer of File Register (RBMOV(P))
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 32778 to 39999 overlaps.
(3) When is a word device and is a bit device, the number of bits designated by the bit
device digit specification will be transferred. If K1Y30 has been designated by , the lower
four bits of the word device designated by will be transferred.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into 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)
Example
Source of transfer Destination of transfer
Overlapped Block No. 0
Block No. 1
ZR0 R0
R10
R32767
R10009
ZR30000
ZR39999
S
D
D
S
n
001110111 110
Y3
0
Y33Y37 Y34Y3B Y38
+1+2
R100 1011
b0b1b2b3b4
b15
R101 0011+1
R102
0111+2
n
S
D
S
S
D D
S
D
S
D