Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-1
Application Instructions Structure
1. Many instructions may be divided into an instruction part and a
device as follows:
Instruction part : Indicates the function.
Device : Indicates the data for use with that instruction.
2. The application instructions structure may be largely classified as
follows with the instruction part and device (s) combined:
Instruction part
Retains the device status and mainly controls the program.
Example: FEND, IRET,…
Instruction part + Source device + Destination device
Operation is performed using the destination data and
operation result is stored to the destination.
Example: MOV, …
Instruction part + Source 1 device + Source 2 device +
Destination 1 device + Destination 2 device
Operation is performed using the source 1 data and source 2
data, and the operation result is stored to the destination.
Example: ZCP, SFTL, RS, …
Others…Combination of the formats above.
Instructions Format
10
D
CMP
S
1
S
2
D
X Y M S K H KnX KnY KnM Kn S T C D E F
S
1
1
2
3 4 5
6
7
8
9
Bit device Word device
Numerical magnitude comparison
Explanations:
1
Operand
2
Indicates 32-bit instruction (D is added to the head of instruction,
example as above: DCMP)
3
Indicates API number
4
Instruction
5
Operand format of the instruction
6
Describes the instruction function
7
Device types
8
Device name
9
Symbol Ϩ are given to devices which can be used for this
operand
Application Instructions Input
The application instructions of DVP-Series PLC are controlled by command
codes API 00 to API 246. Each command code has its own meaning, for
example, API 12 stands for MOV (move data). When using ladder diagram
Editor to input programs, you will need to type in the instruction “ MOV” . If
using the HPP to input the program, we will have to enter the API command
codes. Each application instruction has its unique operand.
X0
MOV K10 D10
S D
Instruction
part
Destination part
Source device
This instruction is to move the value of
S
operand to the
appointed
D
operand.