Subprograms and program section repeats, Programming with q parameters – HEIDENHAIN TNC 640 (34059x-05) User Manual

Page 207

Advertising
background image

Tool movements

6.1

6

TNC 640 | User's Manual
HEIDENHAIN Conversational Programming | 1/2015

207

Subprograms and program section repeats

If a machining sequence occurs several times in a program, you
can save time and reduce the chance of programming errors by
entering the sequence once and then defining it as a subprogram
or program section repeat. If you wish to execute a specific
program section only under certain conditions, you also define this
machining sequence as a subprogram. In addition, you can have a
part program call a separate program for execution.

Programming with subprograms and program section repeats:
see "Programming: Subprograms and program section repeats",
page 279.

Programming with Q parameters

Instead of programming numerical values in a part program, you
enter markers called Q parameters. You assign the values to the Q
parameters separately with the Q parameter functions. You can use
the Q parameters for programming mathematical functions that
control program execution or describe a contour.

In addition, parametric programming enables you to measure with
the 3-D touch probe during program run.

Programming with Q parameters: see " Programming: Q
Parameters", page 297
.

Advertising