Mitsubishi MELSEC-Q/L Programming Manual page 267

Table of Contents

Advertisement

(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
Caution
While SM237 is on, do not make the following access.
• The indexing target exceeds the device range.
• The value obtained from "
• 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.
Error
code
The points specified in n exceed those of the corresponding device
4101
specified in
or
.
S
D
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]
[Operation]
Before execution (source of transfer)
b15
b4
b3
b0
D66
1
1 1 0 1
D67
0
0 0 0 0
D68
1
0 0 1 1
D69
0
1 1 0 1
Ignored
to
+ (n) -1 and
to
S
S
D
D
to
+ (n) - 1" is over the boundaries of the device ranges.
D
D
Error details
[List Mode]
Step
After execution (destination of transfer)
1
1
0
1
Y33 to Y30
0
0
0
0
Y37 to Y34
0
0
1
1
Y3B to Y38
1
1
0
1
Y3F to Y3C
+ (n) - 1 are within the device range or not are not checked.
Q00J/
Q00/
QnH
Q01
Instruction
Device
BMOV, BMOVP
*1
QnPH QnPRH
QnU
LCPU
265
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents