DL205 User Manual, 4th Edition, Rev. B
5–189
Chapter 5: Standard RLL Instructions - Interrupt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
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.
Direct
SOFT
INT
O 1
X40
ENI
DISI
X40
END
Y5
SETI
X20
Y10
SETI
X21
IRT
Handheld Programmer Keystrokes
8
I
ORN
R
MLR
T
STR
$
SHFT
8
I
2
C
0
A
ENT
SHFT
8
I
5
F
ENT
STR
$
SHFT
8
I
2
C
ENT
1
B
SHFT
8
I
ENT
1
B
0
A
SHFT
4
E
TMR
N
3
D
ENT
STR
$
ENT
4
E
0
A
SHFT
4
E
TMR
N
8
I
ENT
STRN
SP
ENT
4
E
0
A
SHFT
8
I
TMR
N
MLR
T
1
B
ENT
SHFT
ENT
SHFT
ENT
3
D
8
I
RST
S
8
I
SET
X
SET
X
.
.
.