3 Basic Instructions
DVP-PLC Application Manual
3-16
Program Example:
Ladder diagram:
Instruction code:
Operation:
LD
X0
Loading in A contact of X0
CJ
P10
From instruction CJ to P10
:
P10
Pointer P10
LD
X1
Loading in A contact of X1
X0
Y1
CJ
P10
X1
P10
OUT Y1
Driving
Y1
coil
Mnemonic Function Program
steps
I
Interruption program marker (I)
1
Controllers
ES
EX
SS
SA
SX
SC
EH
SV
Operand
I00
□
, I10
□
, I20
□
, I30
□
, I40
□
, I50
□
, I6
□□
, I7
□□
, I8
□□
I010, I020, I030, I040, I050, I060, I110, I120, I130, I140, I150, I160, I170, I180
Explanations:
A interruption program has to start with a interruption pointer (I
□□□
) and ends with API 03 IRET. I instruction has to
be used with API 03 IRET, API 04 EI, and API 05 DI. See Chapter 2.9 for pointers of all DVP series PLCs.
Program Example:
Ladder diagram:
Instruction code: Operation:
EI Enabling
interruption
LD
X1
Loading A contact of X1
OUT Y1 Driving
Y1
coil
:
DI
Disabling
interruption
:
FEND
Main program ends
I001
Interruption pointer
LD
X2
Loading in A contact of X2
OUT Y2 Driving
Y2
coil
:
Y1
EI
X1
I 001
DI
FEND
Y2
X2
IRET
Allowable range
for interruption
Interruption
subroutine
Pointer of
interruption
program
IRET
Interruption
return
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...