beautypg.com

Programming if-then decisions – HEIDENHAIN TNC 620 (81760x-02) User Manual

Page 304

background image

Programming: Q parameters

9.6

If-then decisions with Q parameters

9

304

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 2/2015

Programming if-then decisions

Press the JUMP soft key to call the if-then conditions. The TNC

then displays the following soft keys:

Soft key

Function

FN 9: IF EQUAL, JUMP
e. g.

FN 9: IF +Q1 EQU +Q3 GOTO LBL

“UPCAN25“

If both values or parameters are equal, jump to

specified label
FN 9: IF UNDEFINED, JUMP
e. g.

FN 9: IF +Q1 IS UNDEFINED GOTO LBL

“UPCAN25“

If the given parameter is undefined, jump to the

specified label
FN 9: IF DEFINED, JUMP
e. g.

FN 9: IF +Q1 IS DEFINED GOTO LBL

“UPCAN25“

If the given parameter is defined, jump to the

specified label
FN 10: IF UNEQUAL, JUMP
e. g.

FN 10: IF +10 NE –Q5 GOTO LBL 10

If both values or parameters are unequal, jump

to specified label
FN 11: IF GREATER, JUMP
g. g.

FN 11: IF+Q1 GT+10 GOTO LBL 5

If the first value or parameter is greater than the

second value or parameter, jump to specified

label
FN 12: IF LESS, JUMP
e. g.

FN 12: IF+Q5 LT+0 GOTO LBL

“ANYNAME“

If the first value or parameter is smaller than the

second value or parameter, jump to specified

label