17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>SA2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

API Mnemonic Operands Function<br />

13 SMOV P<br />

Shift<br />

Move<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

SE <strong>SX2</strong><br />

Type Bit Devices Word devices Program Steps<br />

OP X Y M S K H KnX KnY KnM KnS T C D E F SMOV, SMOVP: 11 step<br />

S * * * * * * * * *<br />

m 1 * *<br />

m 2 * *<br />

D * * * * * * * *<br />

n * *<br />

PULSE 16-bit 32-bit<br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong><br />

SE<br />

SE<br />

SE<br />

Operands:<br />

S: Source device m 1 : Start digit to be moved from source device m 2 : Number of digits to be<br />

moved D: Destination device n: Start digit of the destination device for the moved digits<br />

Explanation:<br />

1. This instruction is able to re-allocate or combine data. When the instruction is executed, m 2<br />

digits of contents starting from digit m 1 (from high digit to low digit) of S will be sent to m 2<br />

digits starting from digit n (from high digit to low digit) of D.<br />

2. M1168 is used for designating SMOV working mode. When M1168 = ON, the instruction is in<br />

BIN mode. When M1168 = OFF, the instruction is in BCD mode.<br />

Points to note:<br />

1. The range of m 1 : 1 – 4<br />

2. The range of m 2 : 1 – m 1<br />

3. The range of n: m 2 – 4<br />

<strong>SX2</strong><br />

3-64

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!