Programming If-Then Decisions - HEIDENHAIN TNC 620 User Manual

Cnc
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

Programming Q Parameters | If-then decisions with Q parameters

Programming if-then decisions

Possibilities for jump inputs
The following inputs are possible for the condition IF:
Numbers
Texts
Q, QL, QR
QS (string parameter)
You have three possibilities for entering the jump address GOTO:
LBL NAME
LBL NUMBER
QS
Press the JUMP soft key to call the if-then conditions. The control
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 specified parameter is undefined, then a
jump is made to the specified label
FN 9: IF DEFINED, JUMP
e. g., FN 9: IF +Q1 IS DEFINED GOTO LBL
"UPCAN25"
If the specified parameter is defined, then a jump
is made 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 QS5
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
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
10
377

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents