beautypg.com

Programming – HEIDENHAIN TNC 122 User Manual User Manual

Page 31

background image

5

Programming

TNC 122

31

5

When entering tool movements in a part program you
always program as if the tool is moving and the work-
piece is stationary.

Pre-positioning the tool

Preposition the tool to prevent the possibility of damaging the tool
or workpiece. The best pre-position lies on the extension of the
tool path.

What happens with the completed programs?

The completed program is used to machine the part in the PRO-
GRAM RUN mode of operation. See Chapter 7 for an explanation
of this mode.

Programming

In the PROGRAMMING AND EDITING mode of operation you can
store the individual work steps required for recurring machining
operations, for example in small-lot production.

Programs in the TNC

The part programs stored in the TNC contain the working steps for
machining a part. You can edit, add to and run these programs as
often as you wish.

You can store programs on floppy disk with the HEIDENHAIN
FE 401 floppy disk unit and load them into the TNC again on de-
mand — you don't need to retype them. You can also transfer pro-
grams to a personal computer or printer.

Program storage capacity
The TNC 122 stores up to 20 programs with a maximum of 500 NC
blocks. A single program can contain up to 500 NC blocks.

Programmable functions

Interrupt the program (STOP)

Feed rate F

Miscellaneous function M

Nominal position values

Teach-In: capturing the actual position

Bolt hole circle and linear hole patterns

Program section repeats:
A section of a program only has to be entered once and can
then be run up to 999 times in succession.

Subprograms:
A section of a program only has to be entered once and can
then be run at various places in the program.

Tool and workpiece movement

During workpiece machining, the machine moves an axis by mov-
ing either the tool or the machine table on which the workpiece is
fixed.