Interrupt Example for Interrupt Module
In the following example, when X40 is on, the interrupts will be enabled. When X40 is off
the interrupts will be disabled. When a interrupt signal X1 is received, the CPU will jump to
the interrupt label INT O 1. The application ladder logic in the interrupt routine will be
performed. The CPU will return to the main body of the program after the IRT instruction is
executed.
DirectSOFT
X40
X40
.
.
.
INT
O 1
X20
X21
Chapter 5: Standard RLL Instructions - Interrupt
Handheld Programmer Keystrokes
$
STR
ENI
E
SHFT
SP
STRN
D
SHFT
DISI
E
SHFT
I
SHFT
END
$
SHFT
STR
X
SHFT
SET
$
SHFT
STR
Y5
X
SHFT
SETI
SET
I
SHFT
Y10
SETI
IRT
DL205 User Manual, 4th Edition, Rev. B
E
A
ENT
4
0
N
I
ENT
4
TMR
8
E
A
ENT
4
0
I
S
I
3
8
RST
8
N
D
ENT
4
TMR
3
N
T
8
TMR
MLR
I
C
8
2
I
F
8
5
I
C
8
2
I
B
8
1
R
T
ENT
8
ORN
MLR
1
2
3
4
5
6
ENT
7
8
B
ENT
1
A
ENT
9
0
ENT
10
B
ENT
1
A
ENT
11
0
12
13
14
A
B
C
D
5–189
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?