Mitsubishi MELSEC-Q/L Programming Manual page 269

Table of Contents

Advertisement

(4) Selection whether to check a device range
Whether to check a device range during execution of the FMOV 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
For details of SM237, refer to the User's Manual (Hardware design, Maintenance andInspection) for the CPU module
used.
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 D0 when XA goes ON to Y10 to Y23 in 4-bit units.
[Ladder Mode]
[Operation]
b15
b4
D0
1
1
0 1
1 0 1 1
1 0 0 1
Ignored
(2) The following program outputs the data at X20 through X23 to D100 through D103 when XA goes ON.
[Ladder Mode]
to
+ (n) - 1 is within the device range or not is not checked.
D
D
to
+ (n) - 1" is over the boundaries of the device ranges.
D
D
Error details
[List Mode]
Step
b3
b2 b1
b0
1 0 1 1
1
0
1
1
Y13 to Y10
1
0
1
1
Y17 to Y14
1
0
1
1
Y1B to Y18
Transfer
1
0
1
1
Y1F to Y1C
0
Y23 to Y20
1
1
1
[List Mode]
Step
Q00J/
Q00/
QnH
Q01
Instruction
Device
5 points
Instruction
Device
FMOV, FMOVP
*1
QnPH QnPRH
QnU
LCPU
267
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents