Mitsubishi Electric MELSEC-Q/L Programming Manual page 310

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Ex.
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  (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 and the data is not correctly transferred.
Source of transfer
ZR0
ZR30000
ZR39999
• When (S) is a word device and (D) is a bit device, the object for the word device will be the number of bits designated by the
bit device digit designation. If K1Y30 has been designated by (D), the lower four bits of the word device designated by (S)
will become the object.
b15
S
D100
S
+1
D101
S
+2
D102
• If bit device has been designated for (S) and (D), then (S) and (D) should always have the same number of digits.
• When using a link direct device and an intelligent function module device for (S) and (D), only either of (S) or (D) can be
used.
• Selection whether to check a device range
Whether to check a device range during execution of the BMOV instruction can be set with SM237 (Device range check inhibit flag). (Only when the conditions
of the subset processing are established)
While SM237 is ON, whether (S) to (S) + (n) -1 and (D) to (D) + (n) - 1 are within the device range or not are not checked.
Precautions
While SM237 is on, do not make the following access.
• The indexing target exceeds the device range.
• The value obtained from "(D) to (D) + (n) - 1" is over the boundaries of the device ranges.
• Accessing the file register with file register not set.
• Accessing the area where the multiple CPU high speed transmission area device is not available (only for the QCPU).
*1 Refer to the DFMOV instruction.
SM237 is available only for the following CPU modules.
• The Universal model QCPU whose serial number (first five digits) is "10012" or later,
• LCPU
6 BASIC INSTRUCTIONS
308
6.4 Data Transfer Instructions
Destination of transfer
Overlapped
b4
b3
b2
b1
b0
1 0 1 1
Y3B
0 0 1 1
0
n
0 1 1 1
R0
Block No. 0
R32767
R10
R10009
Block No. 1
D
D
D
+2
+1
Y38
Y37
Y34
Y33
Y30
1
1 1
0 0 1 1 1 0 1 1
n
*1

Advertisement

Table of Contents
loading

Table of Contents