EasyManuals Logo
Home>Allen-Bradley>Controller>PLC-2/30

Allen-Bradley PLC-2/30 User Manual

Allen-Bradley PLC-2/30
348 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #206 background imageLoading...
Page #206 background image
Jump Instructions and
Subroutine Programming
Chapter 11
114
Table 11.A
Jump/Subroutine
Programming
Key Symbol Instruction Name 1770T3 Display Description
SBR
T.END
SUBROUTINE AREA SUBROUTINE AREA Establishes the boundary between Main Program and
Subroutine Area. Subroutine Area is not scanned unless
directed to do so by a JSR instruction.
LBL
-(JMP)-
LABEL XX
-LBL-
This condition instruction is the target destination for JMP
and JSR instructions.
XX - twodigit octal identification number, 0007.
LBL
-(JMP)-
JUMP XX
-(JMP)-
When rung is TRUE, processor jumps forward to the
referenced LABEL in Main Program.
XX - twodigit octal identification number. Same as LBL
with which it is used.
-(RET)-
-(JSR)-
JUMP TO SUBROUTINE XX
-(JSR)-
When rung is TRUE, Processor jumps to referenced
LABEL in Subroutine Area.
XX - twodigit octal identification number. Same as LBL
with which it is used.
-(RET)-
-(JSR)-
RETURN -(RET)- No identification number. Can be used unconditionally.
Returns Processor to instruction immediately following the
JSR that initiated the jump to subroutine.
Figure 11.3
Multiple
JUMPS to LABEL in User Program
Main
Program
( JMP )
01
||
()LBL
01
||
| / |||
( JMP )
01
||
||
||
( JMP )
01
| / |
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley PLC-2/30 and is the answer not in the manual?

Allen-Bradley PLC-2/30 Specifications

General IconGeneral
BrandAllen-Bradley
ModelPLC-2/30
CategoryController
LanguageEnglish

Related product manuals