EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Program Structures

HEIDENHAIN TNC 430 PA/M
1135 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
Loading...
7 170 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.13 Program Structures
To design an easily understandable program, divide it into program sequences.
Use labels (LBL) as well as conditional and unconditional jumps. If you use
structured statements, the compiler creates the labels and jump commands.
Remember that using these labels and jump commands reduces the number
of available labels accordingly. You can nest structured instructions in up to 16
levels. It is not possible to share levels.
Example:
The instructions IFT, IFF, WHILET, WHILEF, ENDW, UNTILT and UNTILF
require a valid gating result in the logic accumulator. You conclude the
sequence of gating operations. The instructions ELSE, ENDI and REPEAT
require that all previous operations sequences have been concluded.
Correct program structure Incorrect program structure
IFT IFT
WHILEF WHILEF
ENDW ENDI
ENDI ENDW

Table of Contents

Related product manuals