Standard
RLL Instructions
5–99
Standard RLL Instructions
Program Control Instructions
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.
DirectSOFT Display
Handheld Programmer Keystrokes
SBR K3
X1
K3
GTS
END
Y5
OUTI
S
S
S
X20
Y10
OUTI
X21
X35
RTC
X35
RSTI
Y0 Y17
RT
K10
LD
C0
STR
$
SHFT
6
G
MLR
T
RST
S
SHFT
RST
S
1
B
ORN
R
STR
$
SHFT
8
I
2
C
0
A
ENT
OUT
GX
STR
$
SHFT
8
I
3
D
ENT
5
F
OUT
GX
SHFT
ORN
R
MLR
T
ENT
SHFT
4
E
TMR
N
3
D
ENT
1
B
ENT
3
D
ENT
3
D
ENT
5
F
ENT
ENT
1
B
0
A
SHFT
S
S
SHFT
8
I
SHFT
8
I
2
C
STR
$
SHFT
8
I
2
C
ENT
1
B
STRN
SP
RST
S
SHFT
8
I
0
A
1
B
7
H
ENT
SHFT
8
I
3
D
ENT
5
F
SHFT
ORN
R
MLR
T
ENT