3. Instruction Set
3-15
Source: if there are more than one source is required, it will be indicated as S1, S2....etc.
Destination: if there are more than one destination is required, it will be indicated as D1,
D2....etc.
If the operand can only be constant K/H or a register, it will be represented as m, m1, m2, n, n1,
n2…etc.
Length of Operand (16-bit or 32-bit instruction)
The length of operand can be divided into two groups: 16-bit and 32-bit for processing data of
different length. A prefix ”D” indicates 32-bit instructions.
16-bit MOV instruction
X0 K10
D10
MOV
When X0 = ON, K10 will be sent to D10.
32-bit DMOV instruction
X1 D10 D20
DMOV
When X1 = ON, the content in (D11, D10) will be
sent to (D21, D20).
Explanation of the format of application instruction
12345
7
8
API

10 P

CMP
Mnemonic Operands Function
Compare
Controllers
ES2/EX2
Program Steps
CMP, CMPP: 7 steps
DCMP, DCMPP: 13steps
Bit Devices Word Devices
XYMSKH
KnX KnY KnM KnS
TD
CEF
Type
OP
D

** ***

*****

*

**
**
**
ES2/EX2
PULSE

D

S
1
S
2
D
S
1
S
2

****

****

6
{
SA2SX2
SA2
SS2 SX2
SS2
ES2/EX2
SA2SX2SS2
ES2/EX2
SA2SX2SS2
ES2/EX2
16-bit
SA2SX2SS2
ES2/EX2
SA2SX2SS2
ES2/EX2
SA2SX2SS2
ES2/EX2
32-bit
SA2SX2SS2
ES2/EX2
SA2SX2SS2
ES2/EX2
SA2SX2SS2
API number for instruction
The core mnemonic code of instruction
A prefix “D” indicates a 32 bit instruction
A suffix “P“ in this box indicates a pulse instruction
Operand format of the instruction
Function of the instruction
Applicable PLC models for this instruction
A symbol “*” is the device can use the index register. For example, device D of operand S1