Mitsubishi MELSEC-Q/L Programming Manual page 661

Table of Contents

Advertisement

(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 is transferred from
number of device, the data is transferred 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.
• 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 points of data from ZR30000 (source) to
R10 (block No.1 of the destination).
• ZR transfer range
• R transfer range
(10+(1 32768)) to (10+(1 32768)+10000-1)
Therefore, the range 32778 to 39999 overlaps.
ZR0
Z R 3 0 0 0 0
Z R 3 9 9 9 9
(3) When
is a word device and
S
transferred. If K1Y30 has been designated by
transferred.
S
S
S
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.
Error
code
The range of n exceeds that of the corresponding device specified in
4101
or
.
D
The file register is not specified for either
+(n-1).
S
(30000) to (30000+10000-1)
Source of transfer
Overlapped
is a bit device, the number of bits designated by the bit device digit specification will be
D
, the lower four bits of the word device designated by
D
b15
b4
b3
b2
b1
R100
1 0 1 1
+1
R101
0 0 1 1
+2
R102
0 1 1 1
Error details
or
.
S
D
(30000) to (39999)
(32778) to (42777)
Destination of transfer
R0
R 3 2 7 6 7
R 1 0
R 1 0 0 0 9
b0
D
+2
D
+1
Y3B Y38
Y37 Y34
0
1
1 1
0 0 1 1 1 0 1 1
n
n
Q00J/
Q00/
QnH
Q01
S
––
RBMOV, RBMOVP
. For the transmission to the larger
S
Block No. 0
Block No. 1
will be
S
D
Y33
Y30
QnPH QnPRH
QnU
1
2
3
4
4
6
7
8
LCPU
––
659

Advertisement

Table of Contents
loading

Table of Contents