beautypg.com

Bmov – Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual

Page 103

background image

Appendix D Use of Application Instructions|DOP-EXIO Series

D-22

Revision March, 2008, Doc. Name: 2007PDD23000014

Mnemonic

Operands Function

BMOV

D

S

D

n

Block Move

Bit Devices

Word Devices

X Y M S K H

KnX

KnY

KnM KnS

T

C

D

E

F

S

D

n

y

Note:

1. Range of n: 1 ~ 512

16-bit instruction (7 Steps)

BMOV

Continuous
execution

32-bit instruction

- - - -

y

Flags: None

Operands:

S

: Start of source devices

D

: Start of destination devices

n

: Number of data to be moved

Explanations:
The contents in n registers starting from the device designated by S will be 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.

Program Example 1:
When X10 = On, the contents in registers D0 ~ D3 will be moved to the 4 registers D20 ~ D23.

X10

D20

K4

D0

D1

D2
D3

D20

D21

D22
D23

n=4

Program Example 2:
Assume the bit devices KnX, KnY, KnM and KnS are designated for moving, the number of digits of S
and D has to be the same, i.e. their n has to be the same.