Pilot: NC-Software 286 140-xx
Pilot: NC-Software 286 140-xx
TNC 310
NC-Software
286 140-xx
6/2000
The Pilot Contents
Contents
... is your concise programming guide for the HEIDENHAIN Fundamentals ................................................................... 4
TNC 310 contouring control. For more comprehensive informa-
tion on programming and operating, refer to the TNC User's Contour Approach and Departure ..................................... 1 3
Manual. There you will find complete information on the central Path Functions .................................................................. 1 8
tool file.
Subprograms and Program Section Repeats ................... 25
Certain symbols are used in the Pilot to denote specific types
Working with Cycles ........................................................ 28
of information:
Drilling Cycles ................................................................... 30
Important note Pockets, Studs, and Slots ................................................. 38
Point Patterns ................................................................... 47
Multipass Milling .............................................................. 49
Warning: danger for the user or the machine.
Coordinate Transformation Cycles ................................... 51
The TNC and the machine tool must be prepared by Special Cycles ................................................................... 55
the machine tool builder to perform these functions.
Graphics and Status Displays ........................................... 5 7
Chapter in User's Manual where you will find more
Miscellaneous Functions M ............................................. 5 9
detailed information on the current topic.
3
Fundamentals Files in the TNC File type
Fundamentals
Programs in
Programs/Tables
HEIDENHAIN format .H
Programs and tables are stored in the TNC as files. The file name is
composed of two parts: Tables for
Tools TOOL .T
3546351.H
Fundamentals
See Chapter 1, Introduction in the Users Manual.
5
Mode of operation Options
Fundamentals
Programming graphics
Program at left
Programming graphics right
Program at left
Graphics illustrating input
parameters at right
You cannot change the screen layout in the manual and Program at left, graphic support at right
positioning with MDI modes.
6
Absolute Cartesian Coordinates
Fundamentals
The dimensions are measured from the current datum.
The tool moves to the absolute coordinates.
7
Circle Center and Pole: CC
Fundamentals
The circle center (CC) must be entered to program circular tool move-
ments with the path function C (see page 17). CC is also needed to
define the pole for polar coordinates.
Fundamentals
Dimensions in polar coordinates are referenced to the pole (CC).
A position in the working plane is defined by
Polar coordinate radius PR = Distance of the position from the pole
Polar coordinate angle PA = Angle from the angle reference axis to
the straight line CC PR
Incremental dimensions
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.
9
Tool number
Fundamentals
Tool length
Tool radius R
With a tool presetter you can measure the actual tool length, then
program that length.
Fundamentals
The TNC compensates the length L and radius R of the tool during
machining.
Length compensation
Beginning of effect:
Tool movement in the spindle axis
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 3D Touch Probe
Fundamentals
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
enter the position of the tool center
Basic rotation
14
Approaching Tangentially on an Arc
15
Departing Tangentially on a Straight Line
Contour Approach and Departure
Distance len (length) from PE to PN
Enter a length LEN > 0
16
Departing Tangentially on an Arc
17
Path Functions for Positioning Blocks Path Functions
Path Functions
Before you execute a part program, always pre-position the tool Circular path with
Page 22
to prevent the possibility of damaging the tool or workpiece. known radius
18
Straight Line
Path Functions
Coordinates of the straight line end point
Tool radius compensation RR/RL/R0
Feed rate F
Miscellaneous function M
You must first define the pole (CC) before you can program
polar coordinates.
Program the pole only in Cartesian coordinates!
The pole remains effective until you define a new one.
19
Inserting a Chamfer Between Two Straight Lines
Path Functions
Chamfer side length
Feed rate F for the chamfer
Corner Rounding
The beginning and end of the arc extend tangentially from the previous
and subsequent contour elements.
Path Functions
Coordinates of the circle center CC
21
Circular Path with Known Radius (CR)
Path Functions
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
22
Circular Path CT with Tangential Connection
Path Functions
Coordinates of the arc end point
Radius compensation RR/RL/R0
Feed rate F
Miscellaneous function M
23
Helix (Only in Polar Coordinates)
Path Functions
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
overrun
Start coordinate: Z = Pitch P x (thread revolutions + thread
overrun at start of thread)
Shape of helix
Internal thread Work direction Rotation 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
Subprograms
Repeats
Subprograms and program section repeats enable you to program a
machining sequence once and then run it as often as needed.
It's good practice to place subprograms after the end of the main
program (M2).
S = Jump; R = Return jump
Answer the dialog prompt REP with the NOENT key.
You cannot call LBL0.
Subprograms
1 The calling program 1 runs up to the program call CALL PGM 21.
2 The called program 21 runs through to its end.
3 The calling program 1 resumes.
27
Working with Cycles Drilling
Working with Cycles
1 PECKING Page 30
Certain frequently needed machining sequences are stored in the TNC 200 DRILLING Page 31
as cycles. Coordinate transformations and some special functions are 201 REAMING Page 32
also available as cycles. 202 BORING Page 33
203 UNIVERSAL DRILLING Page 34
In a cycle, positioning data entered in the tool axis are always 204 BACK BORING Page 35
incremental, even without the I key. 2 TAPPING Page 36
The algebraic sign for the cycle parameter DEPTH defines 17 RIGID TAPPING Page 37
the working direction! Pockets, Studs, and Slots
28
Cycles for Coordinate Transformations
Calling a Cycle
The following cycles are effective as soon as they are defined:
Cycles for coordinate transformations
DWELL TIME cycle
The SL cycle CONTOUR GEOMETRY
Point patterns
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) 29
Drilling Cycles
Drilling Cycles
PECKING (1)
CYCL DEF: Select Cycle 1 PECKING
Setup clearance: A
Total hole depth (Distance from the workpiece surface to
the bottom of the hole): B
Pecking depth: C
Dwell time in seconds
Feed rate F
30
DRILLING (200)
Drilling Cycles
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
Surface coordinate: Q203
2nd set-up clearance: Q204
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
Danger of collision! Choose a disengaging direction that
moves the tool away from the wall of the hole.
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.
34
COUNTERBORE BACK (204)
Drilling Cycles
CYCL DEF: Select Cycle 204 COUNTERBORE BACK
Set-up clearance: Q200
Depth of counterbore: Q249
Material thickness: Q250
Tool edge off-center distance: Q251
Tool edge height: Q252
Feed rate for pre-positioning: Q253
Feed rate for counterboring: Q254
Dwell time at counterbore floor: Q255
Workpiece surface coordinate: Q203
2nd set-up clearance: Q204
Disengaging direction (0/1/2/3/4): Q214
Danger of collision! Select the disengaging direction that
gets the tool clear of the counterbore floor!
Use this cycle only with a reverse boring bar!
36
RIGID TAPPING (17)
Drilling Cycles
Machine and TNC must be prepared by the machine tool
builder to perform rigid tapping.
In rigid tapping, the spindle speed is synchronized with the
tool axis feed rate.
37
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.
39
STUD FINISHING (213)
Pockets, Studs, and Slots
CYCL DEF: Select Cycle 213 STUD FINISHING
Set-up clearance: Q200
Depth Distance between workpiece surface and bottom of hole:
Q201
Feed rate for plunging: Q206
Pecking depth: Q202
Feed rate for milling: Q207
Surface coordinate: Q203
2nd set-up clearance: Q204
Center in 1st axis: Q216
Center in 2nd axis: Q217
First side length: Q218
Second side length: Q219
Corner radius: Q220
Allowance in 1st axis: Q221
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.
40
CIRCULAR POCKET MILLING (5)
41
CIRCULAR POCKET FINISHING (214)
Pockets, Studs, and Slots
CYCL DEF: Select Cycle 214 CIRCULAR POCKET FINISHING
Set-up clearance: Q200
Depth Distance between workpiece surface and bottom of hole:
Q201
Feed rate for plunging: Q206
Pecking depth: Q202
Feed rate for milling: Q207
Surface coordinate: Q203
2nd set-up clearance: Q204
Center in 1st axis: Q216
Center in 2nd axis: Q217
Workpiece blank dia.: Q222
Finished part dia.: Q223
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.
42
CIRCULAR STUD FINISHING (215)
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.
43
SLOT MILLING (3)
Pockets, Studs, and Slots
This cycle requires either a center-cut end mill (ISO 1641)
or pilot drilling at the starting point.
The cutter diameter must be smaller than the slot width
and larger than half the slot width.
Pre-position the tool over the center of the slot with tool radius
compensation at R0
CYCL DEF: Select Cycle 3 SLOT MILLING
Safety 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.
45
CIRCULAR SLOT with reciprocating plunge (211)
Pockets, Studs, and Slots
The cutter diameter must be no larger than the width of the
slot, and no smaller than one third!
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.
46
Point Patterns
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
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
The TNC automatically pre-positions the tool in the tool axis and in the
working plane.
47
LINEAR PATTERN (221)
Point Patterns
CYCL DEF: Select Cycle 221 LINEAR PATTERN
Starting pnt 1st axis: Q225
Starting pnt 2nd axis: Q226
Spacing in 1st axis: Q237
Spacing in 2nd axis: Q238
Number of columns: Q242
Number of lines: Q243
Angle of rotation: Q224
Set-up clearance: Q200
Surface coordinate: Q203
2nd set-up clearance: Q204
The TNC automatically pre-positions the tool in the tool axis and in the
working plane.
48
Multipass Milling
Multipass Milling
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.
49
RULED SURFACE (231)
Multipass Milling
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. Be sure to pre-position the tool in such a way
that there is no danger of collision with the workpiece or
fixtures.
50
Cycles for Coordinate Transformation
Transformations
Cycles for coordinate transformation permit contours to be
Shifted Cycle 7 DATUM SHIFT
Mirrored Cycle 8 MIRROR IMAGE
Rotated (in the plane) Cycle 10 ROTATION
Enlarged or reduced Cycle 11 SCALING
Cycles for coordinate transformation are effective upon definition until
they are reset or redefined. The original contour should be defined in a
subprogram. Input values can be both absolute and incremental.
To reset the mirror image, re-enter the cycle definition with NO ENT.
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
Cycles for Coordinate
21 CALL LBL1
52
ROTATION (10)
Transformations
CYCL DEF: Select Cycle 10 ROTATION
Enter the rotation angle:
Input range 360° to +360°
Reference axes for the rotation angle
Working plane Reference axis and 0° direction
X/Y X
Y/Z Y
Z/X Z
53
SCALING (11)
Transformations
11 CALL LBL1
12 CYCL DEF 7.0 DATUM SHIFT
13 CYCL DEF 7.1 X+60
Cycles for Coordinate
54
Special Cycles
Special Cycles
DWELL TIME (9)
The program run is interrupted for the duration of the DWELL TIME.
55
Spindle ORIENTATION
Special Cycles
56
Graphics and Status Displays
Graphic is regenerated
57
Test Graphics
Graphics and Status Displays
In the test run mode the TNC can graphically simulate the machining
process. The following display types are available via soft key:
Plan view
3D view
Status Displays
Select a screen layout showing the status information that
you need.
In the lower part of the screen in the program run modes the TNC
shows information on
tool positions
feed rate
active miscellaneous functions
Functions
M00 Stop program run/Stop spindle/Coolant off M93 In the positioning block: coordinates are
M01 Optional program-stop referenced to the current tool position.
M02 Stop program run/Stop spindle/Coolant off Effective in blocks with R0, R+ and R–
Jump back to block 1/Clear status display M94 Reduce rotary axis display to a value below 360°
(depending on machine parameters) M95 Reserved
M03 Spindle on clockwise M96 Reserved
Miscellaneous
M04 Spindle on counterclockwise M97 Machine small contour steps
M05 Stop spindle M98 Suspend tool path compensation
M06 Tool change/Stop program run M99 Cycle call, effective blockwise
(depending on machine parameters)/Stop spindle
M08 Coolant on
M09 Coolant off
M13 Spindle on clockwise/Coolant on
M14 Spindle on counterclockwise/Coolant on
M30 Same function as M02
M89 Vacant miscellaneous function or Cycle call,
modally effective (depending on machine
parameters)
M90 Constant contour speed at corners
(effective only in lag mode)
M91 Within the positioning block: Coordinates are
referenced to the machine datum
M92 Within the positioning block: The coordinates are
referenced to a position defined by the machine
tool builder
59
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 00
331 959-20 · 5/2000 · pdf · Subject to change without notice