beautypg.com

HEIDENHAIN iTNC 530 (340 422) User Manual

Page 79

background image

HEIDENHAIN iTNC 530

79

3.1 Pr

ogr

amming and Ex

ecuting Simple Mac

h

ining Oper

ations

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

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.

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