beautypg.com

Delta DVP-ES2 User Manual

Page 514

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 3 9 8

API Mnemonic

Operands

Function

176

MMOV P

16-bit→32-bit Conversion

Controllers

ES2/EX2 SS2 SA2

SE

SX2

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

*

*

*

MMOV, MMOVP: 5 steps

PULSE 16-bit 32-bit

ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2

Operands:

S: Source device (16-bit) D: Destination device (32-bit)

Explanations:

1. MMOV instruction sends the data in 16-bit device S to 32-bit device D. Sign bit (MSB) of

source device will be copied to every bit in the high byte of D.

Program example:

When X23 = 0N, 16-bit data in D4 will be sent to D6 and D7.

X23

MMOV

D4

D6

0 0 1 1

1

0

0

0

1 1

1

1

0 0 0

b15

b0

0 0

0

0 0 1

1

1

1

D7, D6

1

1

1

1

1

1

1

1

1

b31

b16

1

b0

b15

D4

0

1

1

0

0

1

1

1

1

1

1

1

1

1

" "

0
1

" "

In the example above, b15 in D4 will be sent to b15~b31 of D7/D6, therefore all bits

in b15~b31 will be “negative.”

This manual is related to the following products: