Chapter 7 Second Development PlatformVP3000
305
API Instruction code Operand Function
15 BMOV P S, D, n Block move
Type
Operand
Bit devices Word devices
16-bit instruction (7 steps)
BMOV
Continuous
execution
type
BMOVP
Pulse
execution
type
32-bit instruction
- - - -
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
D
n
Caution for using operand
Scope of n = 1–512
Description
S: start of source devices
D: start of destination devices
n: number of data to be moved
The contents in n registers starting from the device designated by S is moved to n registers
starting from the device designated by D. If n exceeds the actual number of available source
devices, only the devices that fall within the valid range will be used.
Example
Example 1
When X10 = ON, the contents of four registers of D1–D3 is moved to the four registers of
D20–D23.
Example 2
ssume the bit devices KnX, KnY, and KnM are designated for moving, the number of digits of
S and D has to be the same, that is, their n has to be the same.