beautypg.com

If-goto statement – HEIDENHAIN IK 5293 User Manual

Page 333

background image

Quadra-Chek

®

5000

319

If-Goto Statement

If-Goto statements check the test condition and, if it is true, go to a labeled
line within the program. Use an if-Goto statement to skip ahead in a pro-
gram if the test condition is true.

In this example, if the feature measures greater than 5mm the program goes
to the line labeled ‘Label_1.’

To place an If-Goto statement in a program, click the If-Goto Statement
button in the program toolbar.