HeidenHain Pilot CNC PROGRAMMING
HeidenHain Pilot CNC PROGRAMMING
HeidenHain Pilot CNC PROGRAMMING
TNC 426 B
TNC 430
NC Software
280 474-xx
280 475-xx
11/99
The Pilot Contents
... is your concise programming guide for the HEIDENHAIN
Fundamentals ................................................................... 4
TNC 426 and TNC 430 contouring controls. For more compre-
hensive information on programming and operating, refer to
Contour Approach and Departure ..................................... 1 3
the TNC User's Manual. There you will find complete
information on: Path Functions .................................................................. 1 8
FK Free Contour Programming ......................................... 2 5
Q-parameter programming
the central tool file Subprograms and Program Section Repeats .................... 33
3D tool compensation
tool measurement Working with Cycles ......................................................... 36
Drilling Cycles ...................................................................
Contents
39
Certain symbols are used in the Pilot to denote specific types Pockets, Studs, and Slots ................................................. 50
of information:
Point Patterns ................................................................... 59
Important note SL Cycles .......................................................................... 61
Multipass Milling ............................................................... 69
Coordinate Transformation Cycles .................................... 72
Warning: danger for the user or the machine!
Special Cycles ................................................................... 78
The TNC and the machine tool must be prepared by Digitizing 3D Surfaces ....................................................... 8 1
the machine tool builder to perform these functions!
Graphics and Status Displays ........................................... 8 7
Chapter in User's Manual where you will find more
detailed information on the current topic. ISO Programming .............................................................. 9 0
The information in this Pilot applies to TNCs with the following Miscellaneous Functions M ............................................... 9 6
software numbers:
Control NC Software Number
TNC 426, TNC 430 280 474 xx
TNC 426*, TNC 430* 280 475 xx
3
*) Export version
Fundamentals Files in the TNC File type
Programs
Programs / Files
in HEIDENHAIN format .H
in ISO format .I
See Programming, File Management
Tables for
The TNC keeps its programs, tables and texts in files. Tools .T
A file designation consists of two components: Datums
Fundamentals
.D
THREAD2.H Pallets .P
Cutting data .CDT
Positions .PNT
File name File type
Maximum length: see table at right Texts as
16 characters ASCII files .A
4
Choosing the Screen Layout
Fundamentals
Manual operation Positions
Electronic handwheel
Positions at left
Status at right
Positioning with Program
manual data input
Positions at left, status at right
Program at left Program at left, graphics at right
Status at right
Program run, Program
full sequence
Program run, Program at left
single block test run Program structure at right
Program at left
Status at right
Program at left
Graphics at right
Graphics
Continued
5
Mode of operation Screen contents
Programming and editing Program
Program at left
Program structure at right
Program at left
Programming graphics at right
Fundamentals
6
Absolute Cartesian Coordinates
The dimensions are measured from the current datum.
The tool moves to the absolute coordinates.
Fundamentals
Incremental Cartesian Coordinates
The dimensions are measured from the last programmed position of
the tool.
The tool moves by the incremental coordinates.
7
Circle Center and Pole: CC
The circle center (CC) must be entered to program circular tool
movements with the path function C (see page 21). CC is also needed
to define the pole for polar coordinates.
Fundamentals
Incremental dimensions in polar coordinates are measured from the
last programmed position.
Programming polar coordinates
Select the path function
Defining Tools
Tool data
Every tool is designated by a tool number between 1 and 254 or, if you
are using tool tables, by a tool name.
9
Tool number
Tool length L
Tool radius R
Program the tool length as its difference ∆L to the zero tool:
∆L>0: The tool is longer than the zero tool
∆L<0: The tool is shorter than the zero tool
With a tool presetter you can measure the actual tool length, then
Fundamentals
Length compensation
Beginning of effect:
Tool movement in the spindle axis
Fundamentals
End of effect:
Tool exchange or tool with the length L=0
Radius compensation
Beginning of effect:
Tool movement in the working plane with RR or RL
11
Datum Setting without a 3-D Touch Probe
During datum setting you set the TNC display to the coordinates of a
known position on the workpiece:
Insert a zero tool with known radius
Select the manual operation or electronic handwheel mode
Touch the reference surface in the tool axis with the tool and enter
its length
Touch the reference surface in the working plane with the tool and
Fundamentals
Besides the probing functions for workpiece setup on the Manual and
Electronic Handwheel modes, the Program Run modes provide a
series of measuring cycles (see also the User's Manual for Touch
Probe Cycles):
Measuring cycles for measuring and compensating workpiece
misalignment
Measuring cycles for automatic datum setting
Measuring cycles for automatic workpiece measurement with
tolerance checking and automatic tool compensation
12
Contour Approach and Departure
Starting point P S
PS lies outside of the contour and must be approached without radius
compensation.
Contour Approach
Auxiliary point P H
PH lies outside of the contour and is calculated by the TNC.
and Departure
The tool moves from the starting point PS to the auxiliary point
PH at the feed rate last programmed feed rate!
First contour point P A and last contour point P E
The first contour point PA is programmed in the APPR (approach) block.
The last contour point is programmed as usual.
End point P N
PN lies outside of the contour and results from the DEP (departure)
block. PN is automatically approached with R0.
14
Approaching Tangentially on an Arc
Contour Approach
Circle center angle (CCA)
Enter a CCA > 0
Tool radius compensation RR/RL
and Departure
7 L X+40 Y+10 R0 FMAX M3
8 APPR CT X+10 Y+20 CCA 180 R10 RR F100
9 L X+20 Y+35
15
Departing Tangentially on a Straight Line
16
Departing Tangentially on an Arc
Radius R
Enter a radius R > 0
Circle center angle (CCA)
Contour Approach
23 L X+30 Y+35 RR F100
and Departure
24 L Y+20 RR F10
25 DEP CT CCA 180 R+8 F100 M2
17
Path Functions for Positioning Blocks Path functions
straight lines
Before you execute a part program, always pre-position the tool to Circular path with
known radius Page 22
prevent the possibility of damaging the tool or workpiece!
FK Free Contour
Page 25
Programming
18
Straight Line
Coordinates of the straight line end point
Tool radius compensation RR/RL/R0
Feed rate F
Miscellaneous function M
Path Functions
With Cartesian coordinates:
7 L X+10 Y+40 RL F200 M3
8 L IX+20 IY-15
9 L X+60 IY-10
You must first define the pole CC before you can program
polar coordinates!
Program the pole CC only in Cartesian coordinates!
The pole CC remains effective until you define a new one!
19
Inserting a Chamfer Between Two Straight Lines
Chamfer side length
Feed rate F for the chamfer
10 L IX+5 Y+0
Corner Rounding
The beginning and end of the arc extend tangentially from the previous
and subsequent contour elements.
Path Functions
C and CP enable you to program a complete circle in one block.
21
Circular Path with Known Radius (CR)
Coordinates of the arc end point
Radius R
If the central angle ZW > 180, R is negative.
If the central angle ZW < 180, R is positive.
Direction of rotation DR
Path Functions
22
Circular Path CT with Tangential Connection
Coordinates of the arc end point
Radius compensation RR/RL/R0
Feed rate F
Miscellaneous function M
Path Functions
5 L X+0 Y+25 RL F250 M3
6 L X+25 Y+30
7 CT X+45 Y+20
8 L Y+0
23
Helix (Only in Polar Coordinates)
Calculations (upward milling direction)
Path revolutions: n = Thread revolutions + overrun at start and
end of thread
Total height: h = Pitch P x path revolutions n
Incr. coord. angle: IPA = Path revolutions n x 360°
Start angle: PA = Angle at start of thread + angle for
Path Functions
overrun
Start coordinate: Z = Pitch P x (thread revolutions + thread
overrun at start of thread)
Shape of helix
Internal thread Work direction Direction Radius comp.
Right-hand Z+ DR+ RL
Left-hand Z+ DR RR
Right-hand Z DR RR
Left-hand Z DR+ RL
External thread
Right-hand Z+ DR+ RR
Left-hand Z+ DR RL
Right-hand Z DR RL
Left-hand Z DR+ RR
If the end point coordinates are not given in the workpiece drawing
or if the drawing gives dimensions that cannot be entered with the
FK Free Contour
gray path function keys, you can still program the part by using the
Programming
FK Free Contour Programming.
25
Working with the Interactive Graphics
The interactive graphics show the contour as you are programming it.
If the data you enter can apply to more than one solution, the following
soft keys will appear:
FK Free Contour
26
Initiating the FK Dialog
Straight Circular
FK Free Contour
Contour element with tangential connection
Programming
Pole for FK programming
Incremental input
27
Circle Center (CC) in an FC/ FCT block
Auxiliary Points
... P1, P2, P3 on a contour
For straight lines: up to 2 auxiliary points
For circles: up to 3 auxiliary points
Perpendicular distance
FK Free Contour
Programming
Data on a circular path
29
Values Relative to Block N:
Entering Coordinates
30
Values Relative to Block N:
Direction and Distance of the Contour Element
Gradient angle
FK Free Contour
Programming
Distance from a parallel element
17 FL LEN 20 AN+15
18 FL AN+105
19 FL LEN 12.5 PAR 17 DP 12.5
20 FSELECT 2
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
31
Values Relative to Block N:
Circle Center CC
12 FL X+10 Y+10 RL
13 FL ...
14 FL X+18 Y+35
15 FL ...
16 FL ...
17 FC DR- R10 CCA+0 ICCX+20 ICCY-15
RCCX12 RCCY14
32
Subprograms and Program Section
Repeats
Subprograms and program section repeats enable you to program a
machining sequence once and then run it as often as needed.
Subprograms
1 The main program runs up to the subprogram call CALL LBL1.
2 The subprogram labeled with LBL1 runs through to its end LBL0.
3 The main program resumes.
It's good practice to place subprograms after the main program
end (M2).
Answer the dialog prompt REP with the NOENT key! S = Jump; R = Return jump
You cannot call LBL0!
Subprograms
S = Jump; R = Return jump
35
Working with Cycles Drilling Cycles
1 PECKING Page 39
Certain frequently needed machining sequences are stored in the TNC
200 DRILLING Page 40
as cycles. Coordinate transformations and some special functions are 201 REAMING Page 41
also available as cycles.
Working with Cycles
36
SL Cycles
14 CONTOUR GEOMETRY Page 62
20 CONTOUR DATA Page 63
21 PILOT DRILLING Page 64
37
Graphic Support During Cycle Programming
As you create a program, the TNC provides you with graphic illustra-
tions of the input parameters.
Calling a Cycle
Working with Cycles
All other cycles go into effect when they are called through
CYCL CALL: effective for one block
M99: effective for one block
M89: effective until canceled (depends on machine parameter
settings)
38
Drilling Cycles
PECKING (1)
CYCL DEF: Select Cycle 1 PECKING
Set-up clearance: A
Total hole depth (distance from the workpiece surface to the
bottom of the hole): B
Drilling Cycles
Pecking depth: C
Dwell time in seconds
Feed rate F
If the total hole depth is greater than or equal to the pecking depth,
the tool drills the entire hole in one plunge.
39
DRILLING (200)
CYCL DEF: Select Cycle 200 DRILLING
Set-up clearance: Q200
Depth Distance between workpiece surface and bottom
of hole: Q201
Feed rate for plunging: Q206
Pecking depth: Q202
Dwell time at top: Q210
Drilling Cycles
The TNC automatically pre-positions the tool in the tool axis. If the
depth is greater than or equal to the pecking depth, the tool drills to the
depth in one plunge.
Drilling Cycles
Surface coordinate: Q203
2nd set-up clearance: Q204
41
BORING (202)
The machine and TNC must be prepared for the BORING cycle
by the machine tool builder!
This cycle requires a position-controlled spindle!
42
UNIVERSAL DRILLING (203)
CYCL DEF: Select Cycle 203 UNIVERSAL DRILLING
Set-up clearance: Q200
Depth Distance between workpiece surface and bottom
of hole: Q201
Feed rate for plunging: Q206
Pecking depth: Q202
Dwell time at top: Q210
Drilling Cycles
Surface coordinate: Q203
2nd set-up clearance: Q204
Decrement after each pecking depth: Q212
Nr of breaks Number of chip breaks before retraction: Q213
Min. pecking depth if a decrement has been entered: Q205
Dwell time at depth: Q211
Retraction feed rate: Q208
Retract dist. for chip breaking: Q256
The TNC automatically pre-positions the tool in the tool axis. If the
depth is greater than or equal to the pecking depth, the tool drills to the
depth in one plunge.
43
COUNTERBORE BACK (204)
The machine and TNC must be prepared for the
COUNTERBORE BACK cycle by the machine tool builder!
This cycle requires a position-controlled spindle!
44
UNIVERSAL PECKING (205)
CYCL DEF: Select Cycle 205 UNIVERSAL PECKING
Set-up clearance: Q200
Depth: Distance between workpiece surface
and bottom of hole: Q201
Feed rate for plunging: Q206
Pecking depth: Q202
Workpiece surface coordinate: Q203
Drilling Cycles
2nd set-up clearance: Q204
Decrement after each pecking depth: Q212
Minimum pecking depth if decrement value entered: Q205
Upper advanced stop distance: Q258
Lower advanced stop distance: Q259
Infeed depth for chip breaking: Q257
Retract dist. for chip breaking: Q256
Dwell time at bottom: Q211
45
BORE MILLING (208)
Preposition at the center of the hole with R0
CYCL DEF: Select Cycle 208 BORE MILLING
Set-up clearance: Q200
Depth: Distance between workpiece surface
and bottom of hole: Q201
Feed rate for plunging: Q206
Infeed per helix: Q334
Drilling Cycles
46
TAPPING (2) with Floating Tap Holder
Insert the floating tap holder
CYCL DEF: Select cycle 2 TAPPING
Set-up clearance: A
Total hole depth (thread length = distance between the
workpiece surface and the end of the thread): B
Dwell time in seconds (a value between 0 and 0.5 seconds)
Feed rate F = Spindle speed S x thread pitch P
Drilling Cycles
For tapping right-hand threads, actuate the spindle with M3,
for left-hand threads use M4!
47
TAPPING NEW (206) with Floating Tap Holder
Insert the floating tap holder
CYCL DEF: Select Cycle 206 TAPPING NEW
Set-up clearance: Q200
Depth: thread length = distance between the
workpiece surface and the end of the thread: Q201
Feed rate F = spindle speed S x thread pitch P: Q206
Dwell time at bottom (enter a value between 0 and 0.5 seconds):
Drilling Cycles
Q211
Workpiece surface coordinate: Q203
2nd set-up clearance: Q204
For tapping right-hand threads, actuate the spindle with M3, for
left-hand threads use M4!
Drilling Cycles
Q203
surface and end of thread: Q201
Pitch: Q239 Q201
The algebraic sign detemines the direction of the thread:
Righ-hand thread: +
Left-hand thread:
Workpiece surface coordinate: Q203
2nd set-up clearance: Q204 X
49
Pockets, Studs, and Slots
Pockets, Studs, and Slots
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. If the depth is greater than or equal to the pecking
depth, the tool drills to the depth in one plunge.
51
STUD FINISHING (213)
CYCL DEF: Select Cycle 213 STUD FINISHING
Pockets, Studs, and Slots
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. If the depth is greater than or equal to the pecking
depth, the tool drills to the depth in one plunge.
52
CIRCULAR POCKET MILLING (5)
This cycle requires either a center-cut end mill (ISO 1641) or
The tool must be pre-positioned over the center of the slot with tool
radius compensation R0
CYCL DEF: Select cycle 5
Set-up clearance: A
Milling depth (depth of the pocket): B
Pecking depth: C
Feed rate for pecking
Circle radius R (radius of the pocket)
Feed rate
Rotation clockwise: DR
Climb milling with M3: DR+
Up-cut milling with M3: DR
17 CYCL DEF 5.0 CIRCULAR POCKET
18 CYCL DEF 5.1 SET UP 2
19 CYCL DEF 5.2 DEPTH -12
20 CYCL DEF 5.3 PECKG 6 F80
21 CYCL DEF 5.4 RADIUS 35
22 CYCL DEF 5.5 F100 DR+
23 L Z+100 R0 FMAX M6
24 L X+60 Y+50 FMAX M3
25 L Z+2 FMAX M99
53
CIRCULAR POCKET FINISHING (214)
CYCL DEF: Select Cycle 214 CIRCULAR POCKET FINISHING
Pockets, Studs, and Slots
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. If the depth is greater than or equal to the pecking
depth, the tool drills to the depth in one plunge.
54
CIRCULAR STUD FINISHING (215)
CYCL DEF: Select Cycle 215 CIRCULAR STUD FINISHING
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. If the depth is greater than or equal to the pecking
depth, the tool drills to the depth in one plunge.
55
SLOT MILLING (3)
This cycle requires either a center-cut end mill (ISO 1641)
Pockets, Studs, and Slots
The tool must be pre-positioned over the midpoint of the slot and
offset by the tool radius with tool radius compensation at R0
CYCL DEF: Select cycle 3 SLOT MILLING
Set-up clearance: A
Milling depth (depth of the slot): B
Pecking depth: C
Feed rate for pecking (traverse velocity for plunging)
First side length ? (length of the slot): D
The algebraic sign determines the first cutting direction
Second side length ? (width of the slot): E
Feed rate (for milling)
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. During roughing the tool plunges obliquely into the
metal in a back-and-forth motion between the ends of the slot. Pilot
drilling is therefore unnecessary.
57
CIRCULAR SLOT with reciprocating plunge (211)
The cutter diameter must be no larger than the width of the
Pockets, Studs, and Slots
The TNC automatically pre-positions the tool in the tool axis and in the
working plane. During roughing the tool plunges obliquely into the
metal in a back-and-forth helical motion between the ends of the slot.
Pilot drilling is therefore unnecessary.
58
Point Patterns
CIRCULAR PATTERN (220)
CYCL DEF: Select Cycle 220 CIRCULAR PATTERN
Center in 1st axis: Q216
Center in 2nd axis: Q217
Angle of rotation: Q244
Point Patterns
Starting angle: Q245
Stopping angle: Q246
Stepping angle: Q247
Nr of repetitions: Q241
Set-up clearance: Q200
Surface coordinate: Q203
2nd set-up clearance: Q204
Move to clearance height: Q301
The TNC automatically pre-positions the tool in the tool axis and in the
working plane.
59
LINEAR PATTERN (221)
CYCL DEF: Select Cycle 221 LINEAR PATTERN
Startng pnt 1st axis: Q225
Startng pnt 2nd axis: Q226
Spacing in 1st axis: Q237
Spacing in 2nd axis: Q238
Number of columns: Q242
Number of lines: Q243
Point Patterns
The TNC automatically pre-positions the tool in the tool axis and in the
working plane.
60
SL Cycles
General Information
SL cycles are useful when you wish to machine a contour consisting of
several subcontours (up to 12 islands or pockets).
SL Cycles
island it is an outside contour!
Tool approach and departure as well as infeed in the
tool axis cannot be programmed in SL cycles!
Each contour listed in Cycle 14 CONTOUR GEOMETRY
must be a closed contour!
There is a limit to the amount of memory an SL cycle can
occupy! A maximum of 128 straight line blocks, for example,
can be programmed in an SL cycle.
61
CONTOUR GEOMETRY (14)
In Cycle 14 CONTOUR GEOMETRY you list the subprograms that you
wish to superimpose to make a complete closed contour.
CYCL DEF: Select Cycle 14 CONTOUR GEOMETRY
Label nubers for contour: List the LABEL numbers of the
subprograms that you wish to superimpose to make a complete
closed contour.
Cycle 14 CONTOUR GEOMETRY is effective immediately
upon definition!
SL Cycles
62
CONTOUR DATA (20)
Cycle 20 CONTOUR DATA defines the machining information for
cycles 21 to 24.
SL Cycles
Finishing allowance for the walls of the pocket or island
Allowance for floor Q4:
Finishing allowance for the pocket floor
Workpiece surface coordinates Q5:
Coordinate of the workpiece surface referenced to the current
datum; absolute
Set-up clearance Q6:
Distance from the tool to the workpiece surface; incremental
Clearance height Q7:
Height at which the tool cannot collide with the workpiece;
absolute
Rounding radius Q8:
Rounding radius of the tool at inside corners
Direction of rotation Q9:
Clockwise Q9 = 1
Counter clockwise Q9 = +1
63
PILOT DRILLING (21)
ROUGH-OUT (22)
The tool moves parallel to the contour at every pecking depth.
64
FLOOR FINISHING (23)
During finishing, the surface is machined parallel to the contour and to
the depth previously entered under ALLOWANCE FOR FLOOR.
SL Cycles
SIDE FINISHING (24)
Finishing the individual contour elements
CYCL DEF: Select Cycle 24 SIDE FINISHING
Direction of rotation? Clockwise = 1 Q9:
Clockwise Q9 = 1
Counterclockwise Q9 = +1
Pecking depth Q10; incremental
Feed rate for pecking Q11
Feed rate for milling Q12
Finishing allowance for side Q14: Allowance for finishing
in several passes
The sum of Q14 + finishing mill radius must be smaller than
the sums Q3 (Cycle 20) + roughing tool radius!
Call Cycle 22 ROUGH-OUT before calling Cycle 24! 65
CONTOUR TRAIN (25)
This cycle is for entering data for machining an open contour that has
been defined in a contour subprogam.
66
CYLINDER SURFACE (27)
This cycle requires a center-cut end mill (ISO 1641)!
SL Cycles
Milling depth Q1
Finishing allowance for side Q3: Enter the finishing allowance
(Either Q3>0 or Q3<0)
Set-up clearance ? Q6: Distance from the tool to the workpiece
Plunging depth Q10
The unrolled contour
Feed rate for plunging Q11
Feed rate for milling Q12
Cylinder radius Q16: Radius of the cylinder
Dimension type? Deg=0 mm/inch=1 Q17: You can enter
coordinates in the subprogram in degrees or millimeters
Milling depth Q1
Finishing allowance for side Q3: Enter the finishing allowance
(Q3>0 or Q3<0)
Set-up clearance Q6: Distance from the tool to the workpiece
surface
Plunging depth Q10 The unrolled contour
Feed rate for plunging Q11
Feed rate for milling Q12
Cylinder radius Q16: Radius of the cylinder
Dimension type? Deg=0 mm/inch=1 Q17: Coordinates in the
subprogram in degrees or millimeters
Slot width Q20
Multipass Milling
CYCL DEF: Select Cycle 30 RUN DIGITIZED DATA
A
pgm name for digitized data
MIN. point range
C
MAX. point range X
Set-up clearance: A
Pecking depth: C
Feed rate for pecking: D
Feed rate: B
Miscellaneous function M
69
MULTIPASS MILLING (230)
From the current position, the TNC positions the tool
automatically at the starting point of the first machining
operation, first in the working plane and then in the tool axis.
Pre-position the tool in such a way that there is no danger
of collision with the workpiece or fixtures.
Multipass Milling
70
RULED SURFACE (231)
Starting from the initial position, the TNC positions the tool at
the starting point (point 1), first in the working plane and then
in the tool axis.
Multipass Milling
Starting point in 1st axis: Q225
Starting point in 2nd axis: Q226
Starting point in 3rd axis: Q227
2nd point in 1st axis: Q228
2nd point in 2nd axis: Q229
2nd point in 3rd axis: Q230
3rd point in 1st axis: Q231
3rd point in 2nd axis: Q232
3rd point in 3rd axis: Q233
4th point in 1st axis: Q234
4th point in 2nd axis: Q235
4th point in 3rd axis: Q236
Number of cuts: Q240
Feed rate for milling: Q207
71
Cycles for Coordinate Transformation
Cycles for coordinate transformation permit contours to be
Cycles for Coordinate
Transformations
15 CALL LBL1
16 CYCL DEF 7.0 DATUM SHIFT
17 CYCL DEF 7.1 X+60
18 CYCL DEF 7.2 Y+40
19 CYCL DEF 8.0 MIRROR IMAGE
20 CYCL DEF 8.1 Y
21 CALL LBL1
73
Rotation (10)
12 CALL LBL1
13 CYCL DEF 7.0 DATUM SHIFT
14 CYCL DEF 7.1 X+60
15 CYCL DEF 7.2 Y+40
16 CYCL DEF 10.0 ROTATION
17 CYCL DEF 10.1 ROT+35
18 CALL LBL1
74
WORKING PLANE (19)
Cycle 19 WORKING PLANE supports machining operations with a
swivel head and/or tilting table.
Transformations
angle
CYCL DEF: Select Cycle 19 WORKING PLANE
Enter the tilt angle of the corresponding axis or angle in space
If required, enter the feed rate of the rotary axes during automatic
positioning
If required, enter the setup-clearance
Activate compensation: move all the axes
Program the contour as if the plane were not tilted
75
SCALING (11)
11 CALL LBL1
12 CYCL DEF 7.0 DATUM SHIFT
13 CYCL DEF 7.1 X+60
14 CYCL DEF 7.2 Y+40
15 CYCL DEF 11.0 SCALING
16 CYCL DEF 11.1 SCL 0.75
17 CALL LBL1
76
AXIS-SPECIFIC SCALING (26)
Transformations
To cancel the AXIS-SPEC. SCALING, re-enter the cycle definition
assigning the factor 1 to the affected axes.
25 CALL LBL1
26 CYCL DEF 26.0 AXIS-SPEC. SCALING
27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+20
28 CALL LBL1
77
Special Cycles
DWELL TIME (9)
The program run is interrupted for the duration of the DWELL TIME.
78
Spindle ORIENTATION
Special-Cycles
The machine and TNC must be prepared for spindle
ORIENTATION by the machine tool builder!
79
TOLERANCE (32)
The machine and the TNC must be specially prepared for fast
contour milling by the machine tool builder!
T
Cycle 32 TOLERANCE is effective as soon as it is defined in the Z
part program!
80
Digitizing 3D Surfaces
The machine and TNC must be prepared for digitizing by the
machine tool builder!
The TNC features the following cycles for digitizing with a measuring
touch probe:
Fix the scanning range: TCH PROBE 5 RANGE
TCH PROBE 15 RANGE
Digitize in reciprocating lines: TCH PROBE 16 MEANDER
Digitize level by level: TCH PROBE 17 CONTOUR LINES
Digitizing
Digitize in unidirectional lines: TCH PROBE 18 LINE
The digitizing cycles can be programmed only in plain language dialog.
They can be programmed for the main axes X, Y and Z as well as for
the rotary axes A, B and C.
81
Digitizing Cycle RANGE (5)
82
Digitizing Cycle RANGE (15)
Digitizing
axis
MAX point TCH PROBE axis: The maximum point in the
touch probe axis
Clearance height: Height at which the stylus cannot collide
with the model surface: ZS
83
Digitizing Cycle MEANDER (16)
Cycle 16 MEANDER is for digitizing a 3D contour in a series of
back-and-forth line movements.
The line spacing and max. probe point interval cannot exceed
20 mm!
Set a line direction that is as perpendicular as possible
to steep surfaces!
Digitizing
Starting probe axis and direction: Coordinate axis and direction in
which the probe begins scanning the model
Feed rate F: Maximum digitizing feed rate
Min. feed rate: Feed rate for scanning the first line
Feed rate reduction at edges: Distance at which the TNC begins to
reduce the scanning feed rate before steep edges P: PP. INT = Probe point interval
Min. line spacing: Minimum height moved to start the next L: L. SPAC = Line spacing
line at slightly inclined surfaces
Line spacing and direction: Maximum height moved to start the
next contour line
Max. probe point interval
Tolerance value: The TNC suppresses the storage of probe points
whose distance from a straight line defined by the last two stored
points is less than the tolerance value.
The line spacing and max. probe point interval cannot exceed
20 mm!
10 TCH PROBE 17.0 CONTOUR LINES
11 TCH PROBE 17.1 TIME: 200 X+50 Y+0
12 TCH PROBE 17.2 ORDER Y+/X+
13 TCH PROBE 17.3 F1000 FMIN 400 MIN.L.SPAC:0.2
L.SPAC:0.5 PP.INT:0.5 TOL:0.1 DIST 0.5 85
Digitizing Cycle LINE (18)
Cycle 18 LINE is for digitizing a 3D surface in lines in one direction.
It was developed mainly for digitizing with rotary axes.
Define Cycle 5 RANGE or 15 RANGE
TOUCH PROBE: Select Cycle 18 LINE
Line direction: Coordinate axis of the digitizing lines.
Scanning angle: Direction of touch probe traverse relative to
the axis entered in line direction
Height for feed rate reduction: Coordinate in the tool axis at which
at the start of each line the TNC switches from rapid traverse to
Digitizing
Status Displays
you create a new part program.
Graphics and
Create a new program or, if you are already in a program, press the
soft key BLK FORM
Spindle axis
MIN and MAX point
87
Test Graphics and Program Run Graphics
In the test run and program run modes the TNC can graphically simulate
the machining process. The following display types are available via soft
key:
Status Displays
Graphics and
Plan view
3D view
88
Status Displays
Select the PGM+STATUS or POSITION+STATUS screen
layout!
In the program run modes a window in the lower part of the screen
shows information on
Tool position
Status Displays
Feed rate
Graphics and
Active M functions
Program information
Tool positions
Tool data
Coordinate transformations
Tool measurement
89
ISO Programming Drilling Cycles
G83 Pecking
Programming Tool Movements with Cartesian
Coordinates G200 Drilling
G201 Reaming
G00 Linear motion in rapid traverse
G202 Boring
ISO Programming
90 *) Effective blockwise
Pockets, Studs and Slots SL Cycles, Group II
G75 Rectangular pocket milling, clockwise machining G37 List of contour subprograms
direction G120 Contour data
G76 Rectangular pocket milling, counterclockwise G121 Pilot drilling
machining direction G122 Rough-out
ISO Programming
G212 Pocket milling G123 Floor finishing
G213 Stud milling G124 Side finishing
G77 Circular pocket milling, clockwise machining G125 Contour train
direction
G127 Cylinder surface
G78 Circular pocket milling, counterclockwise
G128 Cylinder surface slot milling
machining direction
G214 Circular pocket finishing
Multipass milling
G215 Circular stud finishing
G74 Slot milling G60 Run digitized data
G210 Slot milling with reciprocating plunge G 2 3 0 Multipass milling
G211 Circular slot G 2 3 1 Ruled surface
92 *) Effective blockwise
Defining the Working Plane Dimensional Data
G17 X / Y working plane, tool axis Z G90 Absolute dimensions
G18 Z /X working plane, tool axis Y G91 Incremental (chain) dimensions
G19 Y/ Z working plane, tool axis X
G20 Fourth axis is tool axis Unit of Measure (at Beginning of Program)
ISO Programming
G70 Inches
Chamfer, Rounding, Approach/Departure G71 Millimeters
G24* Chamfer with side length R
G25* Corner rounding with radius R Blank Form Definition for Graphics
G26* Tangential contour approach on an arc with radius R G30 Setting the working plane, MIN point coordinates
G27* Tangential contour departure on an arc with radius R G31 Dimensional data (with G90, G91),
coordinates of the MAX point
Tool Definition
G99* Tool definition in the program with length L and Other G functions
radius R G29 Define last nominal position value as pole
G38 Stopping the program run
Tool Radius Compensation G51* Calling the next tool (only with central tool file)
G40 No radius compensation G98* Setting a label number
G41 Radius compensation to the left of the contour
G42 Radius compensation to the right of the contour
G43 Paraxial radius compensation: the path is
lengthened
G44 Paraxial radius compensation: the path is
shortened
*) Effective blockwise 93
Q Parameter Functions
D00 Assign a value directly
D01 Calculate and assign the sum of two values
D02 Calculate and assign the difference of two values
D03 Calculate and assign the product of two values
ISO Programming
94
Addresses
% Program beginning R Polar coordinate radius with G10/G11/G12/
A Swivelling axis around X G13/G15/G16/
B Swivelling axis around Y R Circle radius with G02/G03/G05
C Rotary axis around Z R Corner radius with G25/G26/G27
ISO Programming
D Define Q-parameter functions R Chamfer length with G24
E Tolerance for rounding arc with M112 R Tool radius with G99
F Feed rate in mm/min in positioning blocks S Spindle speed in rpm
F Dwell time in seconds with G04 S Angle for spindle orientation with G36
F Scaling factor with G72 T Tool number with G99
G G functions (see list of G functions) T Tool call
H Polar coordinate angle T Call next tool with G51
H Angle of rotation with G73 U Parallel axis to X
I X coordinate of the circle center or pole V Parallel axis to Y
J Y coordinate of the circle center or pole W Parallel axis to Z
K Z coordinate of the circle center or pole X X axis
L Label number with G98 Y Y axis
L Jump to a label number Z Z axis
L Tool length with G99 * Character for end of block
M Miscellaneous function
N Block number
P Cycle parameter for fixed cycles
P Value or Q parameter with Q parameter
definitions
Q Variable Q parameter
95
Miscellaneous Functions M
Functions
M00 Stop program run/Stop spindle/Coolant off M94 Reduce rotary axis display to a value below 360°
M02 Stop program run/Stop spindle/Coolant off M95 Reserved
Jump back to block 1/Clear status display M96 Reserved
(depending on machine parameters) M97 Machine small contour steps
M03 Spindle on clockwise M98 Suspend tool path compensation
M04 Spindle on counterclockwise
Miscellaneous
96
M 1 1 6 Feed rate for rotary axes in mm/min
M 1 1 7 Reset M116
Functions
M 1 1 8 1 ) Superimpose handwheel positioning during
program run
M 1 2 0 1 ) LOOK AHEAD: Calculate the radius-compensated
tool path ahead of time
M 1 2 6 Permit zero crossover on 360° rotary axes
Miscellaneous
M 1 2 7 Reset M126
M 1 2 8 Retain position of tool tip when positioning tilting
axes (TCPM)2)
M 1 2 9 Reset M128
M 1 3 0 1 ) Within the positioning block: points are
referenced to the non-tilted coordinate system
M 1 3 4 Exact stop when positioning with rotary axes
M 1 3 5 Reset M134
M 1 3 6 Feed rate F in microns per spindle revolution
M 1 3 7 Feed rate F in millimeters per minute
M 1 3 8 Selection of tilted axes for M114, M128 and the
tilted working plane cycle
M 2 0 0 1 ) Miscellaneous function for laser cutting machines
....
1)
Only with conversational programming
2)
TCPM: Tool Center Point Management 97
DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 5
83301 Traunreut, Germany
{ +49 (86 69) 31-0
| +49 (86 69) 50 61
E-Mail: info@heidenhain.de
Technical support | +49 (86 69) 31-10 00
E-Mail: service@heidenhain.de
Measuring systems { +49 (86 69) 31-31 04
E-Mail: service.ms-support@heidenhain.de
TNC support { +49 (86 69) 31-31 01
E-Mail: service.nc-support@heidenhain.de
NC programming { +49 (86 69) 31-31 03
E-Mail: service.nc-pgm@heidenhain.de
PLC programming { +49 (86 69) 31-31 02
E-Mail: service.plc@heidenhain.de
Lathe controls { +49 (7 11) 95 28 03-0
E-Mail: service.hsf@heidenhain.de
www.heidenhain.de
Ve 02
322 441-22 · SW14 · 11/99 · pdf · Subject to change without notice