6 - 87 6 - 87
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.4.5 Block 16-bit data transfers (BMOV, BMOVP)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
Other
S
D
n
[Instruction Symbol] [Execution Condition]
Command
Command
BMOVP
BMOV
n
n
BMOVP
BMOV
S
D
S
D
[Set Data]
Set Data Meaning Data Type
S
Head number of device storing data to be transferred
D
Head number of destination device
n
Number of transfers
(If special direct device (U
\G ) is used: 1 to 6144 (QnACPU))
BIN 16 bits
[Functions]
(1) Transfers in batch 16-bit data n-points from the device designated by
S
to location n-points
from the device designated by
D
.
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
+1
+2
+(n-2)
+(n-1)
n
1234
H
5678
H
7FF0
H
6FFF
H
553F
H
Block
transmission
b0b15 b0b15
S
D
S
S
S
S
D
D
D
D
+1
+2
+(n-2)
+(n-1)
n
(2) Transfers can be accomplished even in cases where there is an overlap between the source
and destination device.
In the case of transmission to the smaller device number, transmission is from
S
; for
transmission to the larger device number, transmission is from
S
+ (n-1).
(3) 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.
n
001110111 110
Y30Y33Y37 Y34Y3B Y38
+1+2
D100 1011
b0b1b2b3b4b15
D101 0011+1
D102
0111+2
n
S
D
S
S
D D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com