Programming Qparameters | If-then decisions with Q parameters
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 If
EQU Equal to
NE Not equal to
GT Greater than
LT Less than
GOTO Go to
UNDEFINED Undefined
DEFINED Defined
280
HEIDENHAIN | TNC620 | Klartext Programming User's Manual | 01/2022