Heidenhain TNC 320 (340 551-02) Manuel d'utilisateur Page 320

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 493
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 319
320 9 Programming: Subprograms and Program Section Repeats
9.3 Program Section Repeats
9.3 Program Section Repeats
Label LBL
The beginning of a program section repeat is marked by the label LBL.
The end of a program section repeat is identified by CALL LBL /REP.
Operating sequence
1 The TNC executes the part program up to the end of the program
section (CALL LBL /REP).
2 Then the program section between the called LBL and the label
call is repeated the number of times entered after REP.
3 The TNC then resumes the part program after the last repetition.
Programming notes
You can repeat a program section up to 65 534 times in succession.
The total number of times the program section is executed is always
one more than the programmed number of repeats.
Programming a program section repeat
8 To mark the beginning, press the LBL SET key and
enter a LABEL NUMBER for the program section you
wish to repeat. If you want to use a label name, press
the ” key to switch to text entry.
8 Enter the program section.
Calling a program section repeat
8 Press the LBL CALL key and enter the label number of
the program section you want to repeat as well as the
number of repeats (with Repeat REP).
0 BEGIN PGM ...
LBL1
CALL LBL 1 REP2
END PGM ...
Vue de la page 319
1 2 ... 315 316 317 318 319 320 321 322 323 324 325 ... 492 493

Commentaires sur ces manuels

Pas de commentaire