6-124
6.4 Data Transfer Instructions
6.4.6 16-bit block data transfer
BMOV
(6) Selecting the execution of the device range check
Whether to disable or enable the device range check at the execution of the BMOV
instruction can be selected by the device range check disable flag (SM237). (Only when the
subset condition is satisfied)
The device range check for the devices
to
(n-1) and
to
(n-1) is not performed
when SM237 is ON.
SM237 can be used for the following CPU modules only.
• Q02UCPU, Q03UDCPU, Q04UDCPU or Q06UDHCPU with a serial number
whose first five digits are '10012' or higher
• Q13UDHCPU, Q26UDHCPU
• QnUDE(H)CPU
O
p
erat
i
on
E
rror
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The device range of n points from
or
exceeds the corresponding device range.
(Error code: 4101)
• The number of transfers exceeds 6144 when using intelligent function module devices.
(QnA module only)
(Error code: 4101)
Program
E
xam
pl
e
(1) In the following program, the lower 4-bit data in the devices from D66 to D69 are transferred
to the devices from Y30 to Y3F in units of 4 points.
[Structured ladder]
[ST]
BMOVP(SM402,D66,4,K1Y30);
[Operation]
s
s
d
d
s
d
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
D
66
Ignored
b
0
b
3
b15
b
4
0 0 0 0
0
D
6
7
0 0
1 1
1
1 1
0
1
0
D
6
8
D
6
9
A
f
ter execution
(destination o
f
trans
f
er)
Be
f
ore execution
(source o
f
trans
f
er)
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......