EasyManua.ls Logo

Automationdirect.com DL06 - Page 336

Automationdirect.com DL06
533 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-175
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
In the following example, when C7 is on, all the program logic between the GOTO and the
corresponding LBL instruction (designated with the same constant Kaaa value) will be skipped.
The instructions being skipped will not be executed by the CPU.
K aaa
GOTO
KaaaLBLKaaaLBL
DirectSOFT32
Handheld ProgrammerKeystrokes
LBLK
5
C7
K5
GOTO
X1
C2
OUT
X
5
Y2
OUT
STR
$
SHFT
2
C
ENT
7
H
SHFT
6
G
INS T#
O
MLR
T
INS T#
O
5
F
STR
$
OUT
GX
SHFT
2
C
2
C
ENT
SHF
T
ANDS T
L
1
B
ANDS T
L
5
F
ENT
STR
$
OUT
GX
1
B
ENT
ENT
5
F
2
C
ENT
ENT
Operand Data Type DL06 Range
aaa
Constant K 1-FFFF
DS Used
HPP Used
DirectSOFT
Program Control Instructions
Goto Label (GOTO) (LBL)
The Goto / Label skips all instructions between the Goto and the
corresponding LBL instruction. The operand value for the Goto and
the corresponding LBL instruction are the same. The logic between
Goto and LBL instruction is not executed when the Goto instruction
is enabled. Up to 256 Goto instructions and 256 LBL instructions
can be used in the program.