beautypg.com

HEIDENHAIN TNC 426B (280 472) ISO programming User Manual

Page 43

background image

27

HEIDENHAIN TNC 410, TNC 426, TNC 430

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 with G00 and G01 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 G83
PECKING.

%$MDI G71 *
N10 G99 T1 L+0 R+5 *
N20 T1 G17 S2000 *

N30 G00 G40 G90 Z+200 *
N40 X+50 Y+50 M3 *

N50 G01 Z+2 F2000 *
N60 G83

P01 +2
P02 -20
P03 +10
P04 0.5
P05 250 *

N70 G79 *
N80 G00 G40 Z+200 M2 *
N99999 %$MDI G71 *

The straight-line function is described in section 6.4 ”Path Contours
— Cartesian Coordinates,” the G83 PECKING cycle in section 8.3
”Drilling Cycles.”

Define tool: zero tool, radius 5

Call tool: spindle axis Z,

Spindle speed 2000 rpm

Retract tool (rapid traverse)

Move the tool at rapid traverse to a position above the

hole. Spindle on.

Position tool to 5 mm above hole

Define Cycle G83 PECKING:

Setup clearance of the tool above the hole

Total hole depth (Algebraic sign=working direction)

Depth of each infeed before retraction

Dwell time in seconds at the hole bottom

Feed rate for pecking

Call Cycle G83

Retract tool

End of program

3.1 Programming and Executing Simple Machining Operations

Dkap2-3.pm6

29.06.2006, 08:06

27