beautypg.com

Delta DVP-ES2 User Manual

Page 180

background image

D V P - E S 2 / S A 2 / S S 2 / S A2 / S X 2 / S E 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 - 6 4

API Mnemonic

Operands

Function

13

SMOV P

Shift
Move

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

*

*

*

*

*

*

*

*

*

m

1

*

*

m

2

*

*

D

*

*

*

*

*

*

*

*

n

*

*

SMOV, SMOVP: 11 step

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 m

1

: Start digit to be moved from source device m

2

: Number of digits to be

moved D: Destination device n: Start digit of the destination device for the moved digits

Explanation:

1.

This instruction is able to re-allocate or combine data.

When the instruction is executed, m

2

digits of contents starting from digit m

1

(from high digit to low digit) of S will be sent to m

2

digits starting from digit n (from high digit to low digit) of D.

2.

M1168 is used for designating SMOV working mode. When M1168 = ON, the instruction is in

BIN mode. When M1168 = OFF, the instruction is in BCD mode.

Points to note:

1.

The range of m

1

: 1 – 4

2.

The range of m

2

: 1 – m

1

3.

The range of n: m

2

– 4

This manual is related to the following products: