5 if-then decisions with q parameters, Function, Unconditional jumps – HEIDENHAIN iTNC 530 (606 42x-02) ISO programming User Manual

Page 283

Advertising
background image

HEIDENHAIN iTNC 530

283

9.5 If-Then Decisions with Q

P

ar

amet

ers

9.5 If-Then Decisions with

Q Parameters

Function

The TNC can make logical If-Then decisions by comparing a
Q parameter with another Q parameter or with a numerical value.
If the condition is fulfilled, the TNC continues the program at the label
that is programmed after the condition (for information on labels, see
"Labeling Subprograms and Program Section Repeats", page 258
). If it
is not fulfilled, the TNC continues with the next block.

To call another program as a subprogram, enter a % program call after
the block with the target label.

Unconditional jumps

An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:

D09 P01 +10 P02 +10 P03 1 *

Advertising