beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 237

background image

6 Application Instructions API 00-49

DVP-PLC Application Manual

6-25

Program Example 3:

To avoid coincidence of the device numbers to be moved designated by the two operands and cause confusion,

please be aware of the arrangement on the designated device numbers.

1. When

S

> D, the instruction is processed following the order 1→2→3

X10

BMOV

D20

D19

K3

D19
D20
D21

D20
D21
D22

2

1

3

2.

In EH/EH2/SV, when S < D, the instruction is processed following the order 1→2→3

D11

D13

X11

BMOV

D10

D11

K3

D10
D11
D12

1

3
2

3.

In ESEX/SS/SA/SX/SC, when S < D, avoid the number difference of “1” and the instruction is processed

following the order 3→2→1. If the devices have the number difference of “1”, the contents in D11 ~ D13 will all

be the content in D10.

D11

D13

X11

BMOV

D10

D11

K3

D10
D11
D12

1

3
2