9
9.6
If-then decisions with Q parameters
Application
In if-then decisions, the control compares a Q parameter with
another Q parameter or a numerical value. If the condition is fulfilled,
then the control continues the NC program at the label that is
programmed after the condition.
Before creating your NC program, compare the if-then
decisions with the subprogram and program section
repeat programming techniques.
You can thereby avoid possible misunderstandings and
programming errors.
Further information: "Labeling subprograms and
program section repeats", Page 244
If the condition is not fulfilled, the control continues with the next
NC block.
If you want to call an NC program, then program a program call with
PGM CALL after the label.
Abbreviations used
IF
EQU
NE
GT
LT
GOTO
UNDEFINED
DEFINED
280
Programming Q parameters | If-then decisions with Q parameters
If
Equal to
Not equal to
Greater than
Less than
Go to
Undefined
Defined
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022