DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Explanation of the format of application instruction
1
2
3
4
5
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
X
Y
M
S
K
H
KnX
KnY
KnM
KnS
T
D
C
E
F
Type
OP
D
* * * * *
* ****
*
* *
* *
* *
ES2/E X2
PULSE
D
S
1
S
2
D
S
1
S
2
*
* *
*
*
* *
*
6
{
SA2
SX2
SA2
SS2 SX2
SS2
ES2/E X2
SA2
SX2SS2
ES2/E X2
SA2
SX2SS2
ES2/E X2
16-bit
SA2
SX2SS2
ES2/E X2
SA2
SX2SS2
ES2/E X2
SA2
SX2SS2
ES2/E X2
32-bit
SA2
SX2SS2
ES2/E X2
SA2
SX2SS2
ES2/E X2
SA2
SX2SS2
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
supports index E and F.
A symbol “*” is given to device which can be used for this operand
Steps occupied by the 16-bit/32-bit/pulse instruction
Applicable PLC models for 16-bit/32-bit/pulse execution instruction.
Continuous execution vs. Pulse execution
1. There are two execution types for instructions: continuous execution instruction and pulse
instruction. Program scan time is shorter when instructions are not executed. Therefore,
using the pulse execution instruction can reduce the scan time of the program.
2. The ‘pulse’ function allows the associated instruction to be activated on the rising edge of the
drive contact. The instruction is driven ON for the duration of one program scan.
3. In addition, while the control input remains ON, the associate instruction will not be executed
for the second time. To re-execute the instruction the control input must be turned from OFF
to ON again.