3. Instruction Set

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.

M1000

BMOV K1M0 K1Y0

K3

M0

 

 

Y0

 

 

 

 

 

M1

 

 

Y1

 

 

 

 

 

 

 

M2

 

 

Y2

 

 

 

 

 

 

 

 

M3

 

 

Y3

 

 

 

 

 

 

 

 

M4

 

 

Y4

 

 

 

 

 

 

 

 

M5

 

 

Y5

n=3

 

 

 

 

 

 

M6

 

 

Y6

 

 

 

 

 

 

 

M7

 

 

Y7

 

 

 

 

 

 

 

 

M8

 

 

Y10

 

 

 

 

 

 

 

 

M9

 

 

Y11

 

 

 

 

 

 

 

 

M10

 

 

Y12

 

 

 

 

 

 

 

 

M11

 

 

Y13

 

 

 

 

 

 

Program example 3:

The BMOV instruction will operate differently, automatically, to prevent errors when S and D coincide.

1.When S > D, the BMOV instruction is processed in the order 123.

X20

 

 

D20

1

D19

 

 

 

BMOV D20

D19

K3

 

 

 

 

2

 

 

 

D21

D20

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

D22

D21

 

 

 

 

 

 

 

3 - 6 9

Page 185
Image 185
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Bmov K1M0 K1Y0