beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 236

background image

6 Application Instructions API 00-49

DVP-PLC Application Manual

6-24

API Mnemonic

Operands

Function

15

BMOV P

Block Move

Controllers

ES/EX/SS SA/SX/SC EH/SV

Bit Devices

Word Devices

Program Steps

Type

OP

X Y M S K H

KnX

KnY

KnM KnS T C D E F

S

*

*

*

*

*

*

*

D

*

*

*

*

*

*

n

*

*

*

*

*

BMOV, BMOVP: 7 steps

PULSE 16-bit 32-bit

ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV

Operands:

S

: Start of source devices D: Start of destination devices n: Number of data to be moved

Explanations:

1. Range

of

n

: 1 ~ 512

2.

See the specifications of each model for their range of use.

3.

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:

1.

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.

2.

ES/EX/SS do not support the use of KnX, KnY, KnM, KnS and E, F index register modification.

M1000

K1M0

K1Y0

K3

M0
M1

M2
M3

M4
M5

M6
M7

M8
M9

M10

n=3

M11

Y10
Y11

Y12
Y13