308
6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
Transfer ranges of ZR and R overlap when transferring 10000 blocks of data from ZR30000 (source) to R10 (block No.1 of the
destination).
Therefore, the range 32778 to 39999 overlaps and the data is not correctly transferred.
• 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.
• 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
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.
*1
• 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
• ZR transfer range (30000) to (30000+10000-1) (30000) to (39999)
• R transfer range (10+(132768)) to (10+(132768)+10000-1) (32778) to (42777)
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.
ZR0 R0
R10
R32767
R10009
ZR30000
ZR39999
Source of transfer Destination of transfer
Overlapped
Block No. 0
Block No. 1
n
001110111 110
Y30Y33Y37 Y34Y3B Y38
+1+2
D100 1011
b0b1b2b3b4b15
D101 0011+1
D102
0111+2
n
S
D
S
S
D D