5 Categories & Use of Application Instructions
DVP-PLC Application Manual
5-7
The application instructions for DVP-PLC are represented as API 00 ~ API 246. Every application instruction
has its own mnemonic. For example, the mnemonic of API 12 is MOV. If you are using the ladder diagram editing
software (WPLSoft) to input API 12 into the program, you only have to enter “MOV”. If you are using the handheld
programming panel (HPP) to input API 12 into the program, you will have to enter the API No. “12”.
Different application instructions designate different operands. Take MOV instruction for example:
X0
MOV
K10
D10
Instruction
mnemonic
Operands
MOV instruction is to move the operand designated in
S
to the operand designated in
D
.
S
Source operand: If there are more than 1 source operands, they will be represented as
S
1
,
S
2
, ….
D
Destination operand: If there are more than 1 destination operands, they will be represented as
D
1
,
D
2
, ….
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
,
n
2
, ….
Length of operand (16-bit instruction or 32-bit instruction)
Depending on the contents in the operand, the length of an operand can be 16-bit or 32-bit. Therefore, a
16-bit instruction is for processing 16-bit operands, and 32-bit instruction is for processing 32-bit operands. The
32-bit instruction is indicated by adding a “D” before the 16-bit instruction.
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).
Continuous execution instruction and pulse execution instruction
Continuous execution and pulse execution are the two types of execution for an application instruction. Due to
that the execution time required will be shorter when the instruction is not executer, the pulse execution
instructions are used more to shorten the scan period. Instructions marked with a “P" following the mnemonic are
pulse execution instruction. Some instructions are mostly used as pulse execution type, e.g. INC, DEC, the kind of
displacement instructions.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...