Block Transfers (Bmov : 16-Bit Unit) - Mitsubishi Electric Q Series Programming Manual

Motion controller
Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

6 MOTION PROGRAMS FOR POSITIONING CONTROL

6.16.26 Block transfers (BMOV : 16-bit unit)

Code
Function
Block transfers (16-bit unit)
B O
M
Format
[Explanation]
[Program Example]
BMOV
V
D S n
;
(1) The contents for n words from device specified with (S) are batch-transferred to
the n words from device specified with (D). (Transferred with a word [16-bit] unit.)
(2) Data can be transferred if the word devices of the transfer source and destination
overlap. Data are transferred from devices, starting with the one at (S), for
transfer of data from devices of larger numbers to those of smaller numbers, or
starting with the one at (S)+(n-1) for transfer of data from devices of smaller
numbers to those of larger numbers.
(3) When the H+32-bit hexadecimal constant for (D) or (S) is specified, it is meant to
specify the absolute address of the Motion CPU. The absolute address specifies
the even number.
When the absolute address is specified, the content of the address is understood.
When a wrong operation is executed, operation which crashes the system, and is
abnormal might be executed.
(4) An operation error will occur if :
(a) (S) to (S)+(n-1) is outside the device range.
(b) (D) to (D)+(n-1) is outside the device range.
(c) (n) is 0 or a negative number.
(d) The absolute address is outside the range of the RAM.
(1) Program which batch-transfers a contents for 5 words from D0 to all data for 5
words from #@10.
BMOV #@10 #D0
#@10
12
#@11
34
#@12
56
#@13
78
#@14
90
The data of n words from the specified device are batch-transferred to
the specified transfer destination. (16-bit unit)
Batch transfer
(16-bit unit)
6 - 170
Number of transmission words
(Constant or indirect setting (1 to 65535))
First devices of transfer source data or absolute
address.
First devices of transfer destination data or
absolute address.
When (n) specifies word device
D0
12
D1
34
D2
56
D3
78
D4
90

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173hcpuQ172hcpu

Table of Contents