beautypg.com

Programming if-then decisions, Abbreviations used, See "programming – HEIDENHAIN iTNC 530 (60642x-04) User Manual

Page 329: Programming if-then decisions abbreviations used, 6 if-then decisions with q par a met e rs

background image

HEIDENHAIN iTNC 530

329

9.6 If-then decisions with Q par

a

met

e

rs

Programming if-then decisions

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

displays the following soft keys:

Abbreviations used:

There are three possibilities for entering the jump address:

Label number, selectable via LBL NUMBER soft key

Label number, selectable via LBL NAME soft key

String number, selectable via QS soft key

Function

Soft key

FN 9

: IF EQUAL, JUMP

Example: FN 9: IF +Q1 EQU +Q3 GOTO LBL “SPCAN25“

If the two values or parameters are equal, jump to the

given label

FN 10

: IF UNEQUAL, JUMP

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

If the two values or parameters are not equal, jump to

the given label.

FN 11

: IF GREATER, JUMP

Example: FN 11: IF+Q1 GT+10 GOTO LBL QS5

If the first value or parameter is greater than the

second, jump to the given label.

FN 12

: IF LESS, JUMP

Example: FN 12: IF+Q5 LT+0 GOTO LBL “ANYNAME“

If the first value or parameter is less than the second,

jump to the given label.

IF

:

If

EQU

:

Equal to

NE

:

Not equal

GT

:

Greater than

LT

:

Less than

GOTO

:

Go to