In the following example, when X1 is on, Subroutine K3 will be called. The CPU will jump to
the Subroutine Label K3 and the ladder logic in the subroutine will be executed. The CPU will
return to the main body of the program after the RT instruction is executed.
DirectSOFT 5
Direct SOFT
Handheld Programmer Keystrokes
$
STR
G
SHFT
E
SHFT
S
SHFT
$
SHFT
STR
GX
OUT
$
SHFT
STR
GX
OUT
R
SHFT
32
X1
SBR
K3
X20
X21
B
ENT
1
T
S
6
MLR
RST
N
D
ENT
4
TMR
3
B
R
SHFT
RST
1
ORN
I
C
8
2
F
ENT
5
I
C
8
2
B
A
ENT
1
0
T
ENT
ORN
MLR
DL05 Micro PLC User Manual, 6th Edition, Rev. D
Chapter 5: Standard RLL Instructions
K3
GTS
END
Y5
OUT
Y10
OUT
RT
D
ENT
3
D
ENT
3
A
ENT
0
B
ENT
1
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
A
a
b
B
c
C
D
D
5-105
Need help?
Do you have a question about the DL05 and is the answer not in the manual?