beautypg.com

Positioning with manual data input (mdi) – HEIDENHAIN TNC 128 (77184x-01) User Manual

Page 312

background image

312

Positioning with manual data input

12.1 Pr

ogr

amming and ex

ecuting simple mac

h

ining oper

ations

12.1 Programming and executing

simple machining operations

The Positioning with Manual Data Input mode of operation is
particularly convenient for simple machining operations or to pre-
position the tool. You can write the a short program in HEIDENHAIN
conversational programming and execute it immediately. You can also
call TNC cycles. The program is stored in the file $MDI. In the
Positioning with MDI mode of operation, the additional status displays
can also be activated.

Positioning with manual data input (MDI)

Select the Positioning with MDI mode of operation.
Program the file $MDI as you wish

Start the program run: Press the machine START key

Example 1

A hole with a depth of 20 mm is to be drilled into a single workpiece.
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines.

First you preposition the tool with straight-line blocks to the hole
center coordinates at a setup clearance of 5 mm above the workpiece
surface. Then drill the hole with Cycle 200 DRILLING.

Limitation

The following functions are not available in the MDI mode:

FK free contour programming

Program section repeats

Subprogramming

Path compensation

The programming graphics

Program call PGM CALL

The program-run graphics

Y

X

Z

50

50

0 BEGIN PGM $MDI MM

1 TOOL CALL 1 Z S2000

Call the tool: tool axis Z,

spindle speed 2000 rpm

2

Z+200 R0 FMAX

Retract the tool (F MAX = rapid traverse)

3

X+50 R0 FMAX

Move the tool at F MAX to a position above the hole