Rockwell-automation 1772-LP3 PLC - 2/30 Programmable Controller Progra Manuel d'utilisateur Page 207

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 346
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 206
Jump Instructions and
Subroutine Programming
Chapter 11
116
Figure 11.5
Multiple
JUMPS to LABEL in Subroutine Area and Multiple Return Paths
to Main Program
Main
Program
( JSR )
03
||
| / |||
( JSR )
03
||
||
||
( JSR )
03
||
|| ()
|| ()
|| ()
||LBL ()
03
( RET )
(Subroutine)
Subroutine Area
A
B
C
a
b
c
The Label instruction shown in Figure 11.6 is the target destination for
both the Jump and Jump to Subroutine instructions. Labels are assigned
octal identification numbers from 00-77. The label identification number
must be the same as that of the Jump and/or Jump to Subroutine instruction
with which it is used. A label instruction can be defined only once,
meaning that a label with a given identification number can appear in only
one location. However, a Label instruction can be the target of jumps from
more than one location.
Figure 11.6
LABEL
Format
LBL ()
XX
XX
= Octal Identification Number
||
11.2
Label Instruction
Vue de la page 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 345 346

Commentaires sur ces manuels

Pas de commentaire