Positioning with manual data input (mdi) – HEIDENHAIN TNC 426 (280 476) User Manual
Page 57

30
3 Positioning with Manual Data Input (MDI)
3.1 Pr
ogr
amming and Ex
ecuting Simple Mac
hining Oper
ations
3.1 Programming and Executing
Simple Machining Operations
The operating mode Positioning with Manual Data Input is particularly
convenient for simple machining operations or pre-positioning of the
tool. It enables you to write a short program in HEIDENHAIN
conversational programming or in ISO format, and execute it
immediately. You can also call TNC cycles. The program is stored in
the file $MDI. In the operating mode Positioning with MDI, 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.
To start program run, press the machine START
button.
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 pre-position the tool in L blocks (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 1 PECKING.
Limitation
FK free contour programming, programming graphics and
program run graphics cannot be used. The $MDI file must
not contain a program call (PGM CALL ).
Y
X
Z
50
50
0 BEGIN PGM $MDI MM
1 TOOL DEF 1 L+0 R+5
Define tool: zero tool, radius 5
2 TOOL CALL 1 Z S2000
Call tool: tool axis Z
Spindle speed 2000 rpm
3 L Z+200 R0 F MAX
Retract tool (F MAX = rapid traverse)
4 L X+50 Y+50 R0 F MAX M3
Move the tool at F MAX to a position above the hole.
Spindle on
5 L Z+5 F2000
Position tool to 5 mm above hole.
6 CYCL DEF 1.0 PECKING
Define PECKING cycle: