beautypg.com

Programming if-then decisions, 5 if-then decisions with q p ar amet ers – HEIDENHAIN iTNC 530 (606 42x-02) ISO programming User Manual

Page 284

background image

284

Programming: Q-Parameters

9.5 If-Then Decisions with Q

P

ar

amet

ers

Programming If-Then decisions

Press the JUMP soft key to call the If-Then conditions. The TNC then
displays the following soft keys:

There are 3 possibilities to enter 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

D09

: IF EQUAL, JUMP

Example: D09 P01 +Q1 P02 +Q3 P03 “SPCAN25” *
If the two values or parameters are equal, jump to the
given label.

D10

: IF UNEQUAL, JUMP

Example: D10 P01 +10 P02 -Q5 P03 10 *
If the two values or parameters are unequal, jump to
the given label.

D11

: IF GREATER, JUMP

Example: D11 P01 +Q1 P02 +10 P03 QS5 *
If the first value or parameter is greater than the
second, jump to the given label.

D12

: IF LESS, JUMP

Example: D12 P01 +Q5 P02 +0 P03 “ANYNAME” *
If the first value or parameter is less than the second,
jump to the given label.