EasyManuals Logo

Delta DVP-20PM User Manual

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #142 background imageLoading...
Page #142 background image
5 Applied Instructions and Basic Usage
API
Applicable model
20PM
09
RPE
End of a nested loop
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
Note: There is no operand.
The instruction does not need to be driven by a contact.
16-bit instruction (1 step)
RPE
Continuity
instruction
32-bit instruction
Flag: None
Explanation
RPT in a program specifies that the RPT-RPE loop in the program must be
executed N times.
N is in the range of K1 to K32,767. If N K1 , N will be regarded as K1.
Users can skip the execution of the RPT-RPE loop in a program by means of
the instruction CJ.
An error will occur if
the instruction RPE is before the instruction RPT.
there is RPT, but there is no RPE.
the number of times RPT is used is not the same as the number of times
RPE is used.
There is only one RPT-RPE loop in a program. If there is more than one
RPT-RPE loop in a program, an error will occur.
Example 1
Part A can be executed three times by means of a RPT-RPE loop.
RPT K3
RPE
A
Example 2
When X0.7 is OFF, the program between RPT and RPE is executed. When
X0.7 is ON, the instruction CJ is executed, the subroutine to which P6 points is
executed, and the program between RPT and RPE is skipped.
X7
M0
M0
P6
MOV
RPT
MOV
D0
D0
K3
K0
INC
RPE
D0
D1
CJ
P6
Y10
X10
DVP-20PM Application Manual
5-22

Table of Contents

Other manuals for Delta DVP-20PM

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-20PM and is the answer not in the manual?

Delta DVP-20PM Specifications

General IconGeneral
BrandDelta
ModelDVP-20PM
CategoryController
LanguageEnglish

Related product manuals