265
BMOV, BMOVP
1
2
3
4
6
7
8
6.4
D
ata T
ransfer I
nstr
uctions
6.4.6
B
MOV, BMOVP
(6) Selection whether to check a device range
Whether to check a device range during execution of the BMOV instruction can be selected with the device range check
inhibit flag (SM237) (only when the conditions for subset processing are established).
While SM237 is ON, whether to + (n) -1 and to + (n) - 1 are within the device range or not are not checked.
Caution
While SM237 is on, do not make the following access.
• The indexing target exceeds the device range.
• The value obtained from " to + (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 can be used only for the Universal model QCPU whose first 5 digits of serial number is 10012 or later and LCPU.
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.
Program Example
(1) The following program outputs the lower 4 bits of data at D66 to D69 to Y30 to Y3F in 4-point units.
[Ladder Mode]
[List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
The points specified in n exceed those of the corresponding device
specified in or .
S
S
D
D
D
D
S
D
Step
Instruction
Device
1
Y33 to Y30
1
0
1
0
0
0
0
0
0
1
1
1
1
0
1
Y37 to Y34
Y3B to Y38
Y3F to Y3C
1 1 0 1
1
D66
Ignored
b0
b3
b15
b4
0 0 0 0
0
D67
0 0 1 1
1
1 1 0 1
0
D68
D69
After execution
(
destination of transfer
)
Before execution
(
source of transfer
)