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.

3. Instruction Set<br />

Source: if there are more than one source is required, it will be indicated as S 1 , S 2. ...etc.<br />

Destination: if there are more than one destination is required, it will be indicated as D 1 ,<br />

D 2. ...etc.<br />

If the operand can only be constant K/H or a register, it will be represented as m, m 1 , m 2 , n, n 1 ,<br />

n 2 …etc.<br />

Length of Operand (16-bit or 32-bit instruction)<br />

The length of operand can be divided into two groups: 16-bit and 32-bit for processing data of<br />

different length. A prefix ”D” indicates 32-bit instructions.<br />

16-bit MOV instruction<br />

X0<br />

MOV<br />

K10<br />

D10<br />

When X0 = ON, K10 will be sent to D10.<br />

32-bit DMOV instruction<br />

X1<br />

DMOV<br />

D10<br />

D20<br />

When X1 = ON, the content in (D11, D10) will be<br />

sent to (D21, D20).<br />

Explanation of the format of application instruction<br />

1 2 3 4 5<br />

API Mnemonic Operands Function<br />

10 D CMP P S 1 S 2 D<br />

Compare<br />

Controllers<br />

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

6{<br />

OP<br />

D<br />

Type<br />

S 1<br />

S 2<br />

Bit Device s<br />

8<br />

Word Devices<br />

X Y M S K H KnX KnY KnM KnS T C D E F<br />

* *<br />

*<br />

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

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

Program Steps<br />

CM P, C MPP: 7 steps<br />

DCMP, DCMPP: 13steps<br />

PULSE<br />

16 -b it<br />

32 -b it<br />

<strong>ES2</strong>/<strong>EX2</strong><br />

<strong>SS2</strong><br />

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

<strong>ES2</strong>/<strong>EX2</strong><br />

<strong>SS2</strong><br />

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

<strong>ES2</strong>/<strong>EX2</strong><br />

<strong>SS2</strong><br />

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

7<br />

API number for instruction<br />

The core mnemonic code of instruction<br />

A prefix “D” indicates a 32 bit instruction<br />

A suffix “P“ in this box indicates a pulse instruction<br />

Operand format of the instruction<br />

Function of the instruction<br />

Applicable PLC models for this instruction<br />

A symbol “*” is the device can use the index register. For example, device D of operand S1<br />

3-15

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

Saved successfully!

Ooh no, something went wrong!