DL205 User Manual, 4th Edition, Rev. B
5–183
Chapter 5: Standard RLL Instructions - Program Control
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
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. If X35 is
on the CPU will return to the main program at the RTC instruction. If X35 is not on,
Y0–Y17 will be reset to off and then the CPU will return to the main body of the program.
Standard RLL
Instructions
DirectSOFT
Handheld Programmer Keystrokes
SBR K3
X1
K3
G
TS
END
Y
5
OUTI
l
l
l
X20
Y10
OUTI
X21
X35
RTC
X35
RSTI
Y0 Y17
STR 1
SHFT G T S
E
SHFT S B R 1
STR SHFT I
X 20
YOUT SHFT I 5
STR SHFT I X 2 1
YOUT SHFT I 1 0
STR SHFT I X35
SHFT R T C
STRN SHFT I
X35
RST SHFT I
Y 0 Y17
SHFT R T
K3
K3
RT
K
10
LD
C0
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
ENT
SHFT
ND
SHFT
l
l
l