10.6 If-Then Decisions With Q Parameters; Application; Unconditional Jumps; Abbreviations Used - HEIDENHAIN TNC 640 User Manual

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

10

10.6 If-then decisions with Q parameters

Application

The control 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 control continues the program at the
label that is programmed after the condition.
Further information:
repeats", page 356
If it is not fulfilled, then the control executes the next block.
To call another program as a subprogram, enter a PGM CALL
program call after the block with the label.

Unconditional jumps

An unconditional jump is programmed by entering a conditional
jump whose condition is always true. Example:
FN 9: IF+10 EQU+10 GOTO LBL1

Abbreviations used:

IF
EQU
NE
GT
LT
GOTO
UNDEFINED
DEFINED
386
Programming Q Parameters | If-then decisions with Q parameters
"Labeling subprograms and program section
:
:
:
:
:
:
:
:
If
Equal to
Not equal to
Greater than
Less than
Go to
Undefined
Defined
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents