beautypg.com

HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 51

background image

HEIDENHAIN TNC 320

51

3.1 Pr

ogr

a

mming and Ex

ecuting Simple Mac

h

ining Oper

ations

Straight line function L, (see “Straight Line L” on page 125) DRILLING
cycle.(see “DRILLING (Cycle 200)” on page 182)

Example 2: Correcting workpiece misalignment on machines
with rotary tables

Use the 3-D touch probe to rotate the coordinate system. See “Touch
Probe Cycles in the Manual and Electronic Handwheel Operating
Modes,” section “Compensating workpiece misalignment,” in the
Touch Probe Cycles User’s Manual.

Write down the rotation angle and cancel the Basic Rotation.

Select operating mode: Positioning with MDI.

Select the axis of the rotary table, enter the rotation
angle you wrote down previously and set the feed
rate. For example: L C+2.561 F50

Conclude entry.

Press the machine START button: The rotation of the
table corrects the misalignment.

Q206=250

;FEED RATE FOR PLNGNG

Feed rate for pecking

Q202=5

;PLUNGING DEPTH

Depth of each infeed before retraction

Q210=0

;DWELL TIME AT TOP

Dwell time after every retraction in seconds

Q203=-10

;SURFACE COORDINATE

Coordinate of the workpiece surface

Q204=20

;2ND SET-UP CLEARANCE

Set-up clearance of the tool above the hole

Q211=0.2

;DWELL TIME AT DEPTH

Dwell time in seconds at the hole bottom

7 CYCL CALL

Call DRILLING cycle

8 L Z+200 R0 FMAX M2

Retract the tool

9 END PGM $MDI MM

End of program