Appendix D How to Use PLC Function
VFD-E Series
Revision August 2006, 01EE, SW--PW V1.03/CTL V2.03 D-43
Program Example:
MOV command is used in 16-bit command to move data.
1. When X0=Off, the content of D10 remain unchanged. If X0=On, the data of K10 is moved
to D10 data register.
2. When X1=Off, the content of D10 remain unchanged. If X1=On, the data of T0 is moved
to D10 data register.
API Mnemonic Operands Function
15 BMOV P S, D, n Block Move
Bit Devices Word devices Program Steps
Type
OP
X Y M K H KnX KnY KnM T C D
S * * * * * *
D * * * * *
n * * * * *
BMOV, BMOVP: 7 steps
Operands:
S: Source D: Destination n: Number of data to move
Explanations:
1. The usage range of operand n=1~ 512
2. Refer to specification for usage range.
3. This command is used to move an assigned block of multiple data to a new destination.
Move the contents of the n register, with this n register obtained from counting the
registers within the S -assigned numbers, to the n register within the D -assigned number.
If the n -assigned points exceed the usage range of this device, only those that are within
the enabled range will be moved.
Program Example 1:
When X10=On, move the contents of the four registers D0~D3 to their corresponding registers
D20~D23.
X10
D20 K4
D0
D1
D2
D3
D20
D21
D22
D23
n=4
Program Example 2:
If move the specified bit device, KnX, KnY, KnM, the digit numbers of S and D should be the same
and this also means the number of n should be the same.