beautypg.com

HEIDENHAIN IK 5394-3D User Manual

Page 354

background image

Chapter 4 Programming

4-82

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 program 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.

This manual is related to the following products: