Block 16-Bit Data Transfer - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Block 16-bit data transfer

BMOV(P)
High
Basic
Process
Redundant Universal
performance
BMOV
BMOVP
(S): Head number of the devices where the data to be transferred is stored (BIN 16 bits)
(D): Head number of the devices of transfer destination (BIN 16 bits)
n:
Number of data to be transferred (BIN 16 bits)
Setting
Internal device
data
Bit
Word
(S)
(D)
n
When BL, S, TR, BL\S, or BL\TR is used, refer to the SFC control instructions in the MELSEC-Q/L/QnA
Programming Manual (SFC).
Processing details
• Transfers in batch 16-bit data of n points from the device designated by (S) to location n points from the device designated
by (D).
b15
B0
S
1234
H
Block
S
+1
5678
H
transfer
S
+2
7FF0
H
n
S
+(n-2)
6FFF
H
S
+(n-1)
553F
H
• 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). However, as shown in the example below, when transferring data from R to ZR, or from ZR
to R, the range to be transferred (source) and the range of destination must not overlap. (QnUDVCPU is excluded.)
Transfer from R to R, or from ZR to ZR can be performed without any problem.
• ZR transfer range ((specified head No. of ZR) to (specified head No. of ZR + the number of transfers -1))
• R transfer range ((specified head No. of R + file register block No.  32768) to (specified head No. of R + file register block No.  32768 + the number of
transfers -1))
LCPU
Command
Command
R, ZR
J\
Bit
Word
b15
B0
D
1234
H
D
+1
5678
H
D
+2
7FF0
H
n
D
+(n-2)
6FFF
H
553F
D
+(n-1)
H
S
D
BMOV
BMOVP
S
D
U\G
Zn
Constant
K, H
6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
n
n
Others
307
6

Advertisement

Table of Contents
loading

Table of Contents