User’s Manual
HEIDENHAIN
Conversational
Programming
TNC 320
NC Software 340 551-01
English (en) 3/2006
Controls on the visual display unit
|
|
˜ |
zda›˜’4•FFm˜d"©p¤› |
|
|
|
|
|
|
˜ |
§a›4^˜*F›§FFm˜h"4^amamV˜p•˜ |
|
|
||
|
|
|
z•pV•"hhamV˜hp=F’ |
|
|
|
˜pO›˜cF©’˜Op•˜’FdF4›amV˜O¤m4›apm’˜am ’4•FFm
˜ §a›4^˜›^F˜’pO›_cF©˜•p§’
Machine operating modes
˜ "m¤"d˜ zF•"›apm ˜ dF4›•pma4˜ "m=§^FFd
˜ p’a›apmamV˜§a›^˜ "m¤"d˜ "›"˜ mz¤›˜| } ˜ •pV•"h˜ ¤m:˜ amVdF˜ dp4c ˜ •pV•"h˜ ¤m:˜ ¤dd˜ F„¤Fm4F
Programming modes
˜ •pV•"hhamV˜"m=˜ =a›amV
˜ F’›˜ ¤m
Program/file management, TNC functions
˜ FdF4›˜p•˜=FdF›F˜z•pV•"h’˜"m=˜OadF’¨›F•m"d˜="›"˜›•"m’OF• ˜ FOamF˜z•pV•"h˜4"dd:˜’FdF4›˜="›¤h˜"m=˜zpam›˜›"*dF’
˜ ˜ ¤m4›apm’
˜ ^p§˜^Fdz˜›F¨›’˜"m=˜add¤’›•"›apm’
˜ a’zd"©˜"dd˜4¤••Fm›˜F••p•˜hF’’"VF’
˜ p4cF›˜4"d4¤d"›p•
Moving the highlight, going directly to blocks, cycles and parameter functions
˜ |
p¦F˜^aV^daV^› |
|
˜
p˜=a•F4›d©˜›p˜*dp4c’:˜4©4dF’˜"m=˜z"•"hF›F•˜O¤m4›apm’•˜zFm˜›^F˜’4•FFm˜cF©*p"•=˜p•˜"˜=•pz_=p§m˜hFm¤
Override control knobs for feed rate/spindle speed
|
100 |
˜ |
100 |
|
|
|
|
50 |
150 |
50 |
150 |
|
F % |
|
S % |
|
0 |
|
0 |
Programming path movements
˜ zz•p"4^—=Fz"•›˜4pm›p¤•
˜ ˜O•FF˜4pm›p¤•˜z•pV•"hhamV
˜ ›•"aV^›˜damF
˜ a•4dF˜4Fm›F•—zpdF˜Op•˜zpd"•˜4pp•=am"›F’ ˜ a•4¤d"•˜"•4˜§a›^˜4Fm›F•
˜ a•4¤d"•˜"•4˜§a›^˜•"=a¤’ |
|
˜ a•4¤d"•˜"•4˜§a›^˜›"mVFm›a"d˜4pmmF4›apm |
|
˜ |
^"hOF•—4p•mF•˜•p¤m=amV |
|
|
Tool functions |
|
˜ |
m›F•˜"m=˜4"dd˜›ppd˜dFmV›^˜"m=˜•"=a¤’ |
Cycles, subprograms and program section repeats |
|
˜ |
FOamF˜"m=˜4"dd˜4©4dF’ |
|
|
˜ |
m›F•˜"m=˜4"dd˜d"*Fd’˜Op•˜’¤*z•pV•"hhamV˜"m=˜ |
|
z•pV•"h˜’F4›apm˜•FzF"›’ |
˜ •pV•"h˜’›pz˜am˜"˜z•pV•"h ˜ FOamF˜›p¤4^˜z•p*F˜4©4dF’
Coordinate axes and numbers: Entering and editing
˜FdF4›˜4pp•=am"›F˜"¨F’˜p•˜
Fm›F•˜›^Fh˜am›p˜›^F˜z•pV•"h. . .
˜ . . . ¤h*F•’
˜ F4ah"d˜zpam›˜—˜ F¦F•’F˜"dVF*•"a4˜’aVm
˜pd"•˜4pp•=am"›F˜amz¤›—˜m4•FhFm›"d˜=ahFm’apm’
˜ ˜z"•"hF›F•˜z•pV•"hhamV— ˜z"•"hF›F•˜’›"›¤’
˜ ’’¤hF˜"4›¤"d˜zp’a›apm˜p•˜¦"d¤F’˜O•ph˜4"d4¤d"›p•
˜ caz˜=a"dpV˜„¤F’›apm’:˜=FdF›F˜§p•=’
˜ pmOa•h˜Fm›•©˜"m=˜•F’¤hF˜=a"dpV
˜ pm4d¤=F˜*dp4c:˜F¨a›˜Fm›•©
˜ dF"•˜m¤hF•a4"d˜Fm›•©˜p•˜4dF"•˜ ˜F••p•˜hF’’"VF
˜ *p•›˜=a"dpV:˜=FdF›F˜z•pV•"h˜’F4›apm
Navigation in dialogs
˜ p˜O¤m4›apm˜"›˜z•F’Fm›
˜ z—=p§m˜pmF˜=a"dpV˜*p¨˜p•˜*¤››pm
This manual describes functions and features provided by TNCs as of the following NC software numbers.
TNC model |
NC software number |
TNC 320 |
340 551-xx |
|
|
The machine tool builder adapts the usable features of the TNC to his machine by setting machine parameters. Some of the functions described in this manual may not be among the features provided by your machine tool.
TNC functions that may not be available on your machine include:
Probing function for the 3-D touch probe
Rigid tapping
Returning to the contour after an interruption
In addition, the TNC 320 also has software options that can be enabled by your machine tool builder.
Software option
1st additional axis for 4 axes and open-loop spindle
2nd additional axis for 5 axes and open-loop spindle
Please contact your machine tool builder to become familiar with the features of your machine.
Many machine manufacturers, as well as HEIDENHAIN, offer programming courses for the TNCs. We recommend these courses as an effective way of improving your programming skill and sharing information and ideas with other TNC users.
The TNC complies with the limits for a Class A device in accordance with the specifications in EN 55022, and is intended for use primarily in industrially-zoned areas.
HEIDENHAIN TNC 320 |
5 |
Contents
|
Introduction |
1 |
|
2 |
|
|
Manual Operation and Setup |
|
|
|
|
|
Positioning with Manual Data Input |
3 |
|
(MDI) |
|
|
Programming: Fundamentals of File |
4 |
|
Management, Programming Aids |
|
|
Programming: Tools |
5 |
|
Programming: Programming Contours |
6 |
|
7 |
|
|
Programming: Miscellaneous Functions |
|
|
8 |
|
|
Programming: Cycles |
|
|
|
|
|
Programming: Subprograms and |
9 |
|
Program Section Repeats |
|
|
Programming: Q Parameters |
10 |
|
Test Run and Program Run |
11 |
|
12 |
|
|
MOD Functions |
|
|
13 |
|
|
Touch Probe Cycles |
|
|
14 |
|
|
Technical Information |
|
|
|
|
|
|
|
|
|
|
HEIDENHAIN TNC 320 |
7 |
|
|
|
|
|
|
|
1 Introduction ..... |
27 |
1.1 The TNC 320 ..... |
28 |
|
|
|
|
|
|
|
|
|
Programming: HEIDENHAIN conversational format ..... |
28 |
|
|
|||||
|
Compatibility |
..... 28 |
|
|
|
|
|
|
|
1.2 |
Visual Display Unit and Operating Panel ..... |
29 |
|
|
|
|
|||
|
Visual display unit |
..... 29 |
|
|
|
|
|
|
|
|
Screen layout ..... |
29 |
|
|
|
|
|
|
|
|
Operating panel ..... |
30 |
|
|
|
|
|
|
|
1.3 |
Modes of Operation ..... |
31 |
|
|
|
|
|
|
|
|
Manual operation and electronic handwheel |
..... 31 |
|
|
|
||||
|
Positioning with Manual Data Input (MDI) ..... |
31 |
|
|
|
||||
|
Programming and editing ..... |
31 |
|
|
|
|
|
||
|
Test Run ..... |
32 |
|
|
|
|
|
|
|
|
Program Run, Full Sequence and Program Run, Single Block ..... |
32 |
|
||||||
1.4 |
Status Displays ..... |
33 |
|
|
|
|
|
|
|
|
“General” status display ..... |
33 |
|
|
|
|
|
||
|
Additional status displays ..... |
34 |
|
|
|
|
|
||
1.5 |
Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels ..... |
37 |
|||||||
|
3-D touch probes ..... |
37 |
|
|
|
|
|
|
|
|
HR electronic handwheels ..... |
37 |
|
|
|
|
|
HEIDENHAIN TNC 320 |
9 |
.....2 Manual Operation and Setup |
39 |
|
|
|
|||||
2.1 |
Switch-On, Switch-Off |
..... |
40 |
|
|
|
|
||
|
Switch-on ..... |
40 |
|
|
|
|
|
|
|
|
Switch-off ..... |
41 |
|
|
|
|
|
|
|
2.2 |
Moving the Machine Axes |
..... 42 |
|
|
|
|
|||
|
Note ..... |
42 |
|
|
|
|
|
|
|
|
To traverse with the machine axis direction buttons: |
..... 42 |
|
||||||
|
Incremental jog positioning ..... |
43 |
|
|
|
||||
|
Traversing with the HR 410 electronic handwheel ..... |
44 |
|
||||||
2.3 |
Spindle Speed S, Feed Rate F and Miscellaneous Functions M ..... |
45 |
|||||||
|
Function |
..... |
45 |
|
|
|
|
|
|
|
Entering values ..... |
45 |
|
|
|
|
|
||
|
Changing the spindle speed and feed rate |
..... 46 |
|
|
|||||
2.4 |
Datum Setting (Without a 3-D Touch Probe) ..... |
47 |
|
|
|||||
|
Note ..... |
47 |
|
|
|
|
|
|
|
|
Preparation ..... |
47 |
|
|
|
|
|
|
|
|
Datum setting with axis keys ..... |
47 |
|
|
|
10
3 Positioning with Manual Data Input (MDI) |
..... 49 |
3.1 Programming and Executing Simple Machining Operations ..... 50 |
|
Positioning with Manual Data Input (MDI) ..... |
50 |
Protecting and erasing programs in $MDI ..... |
52 |
HEIDENHAIN TNC 320 |
11 |
4 Programming: Fundamentals of NC, File Management, Programming Aids ..... |
53 |
4.1 Fundamentals ..... |
54 |
|
|
|
|
|
|
|
|
|
|
Position encoders and reference marks |
..... |
54 |
|
|
|
||||||
Reference system ..... |
|
54 |
|
|
|
|
|
|
|
||
Reference system on milling machines |
..... |
55 |
|
|
|
||||||
Polar coordinates ..... |
|
56 |
|
|
|
|
|
|
|
||
Absolute and incremental workpiece positions ..... |
57 |
|
|
||||||||
Setting the datum ..... |
|
58 |
|
|
|
|
|
|
|
||
4.2 File Management: Fundamentals ..... |
59 |
|
|
|
|
|
|||||
Files ..... |
59 |
|
|
|
|
|
|
|
|
|
|
Screen keypad |
..... 60 |
|
|
|
|
|
|
|
|||
Data backup ..... |
60 |
|
|
|
|
|
|
|
|
|
|
4.3 Working with the File Manager ..... |
61 |
|
|
|
|
|
|||||
Directories ..... |
61 |
|
|
|
|
|
|
|
|
|
|
Paths ..... |
61 |
|
|
|
|
|
|
|
|
|
|
Overview: Functions of the file manager ..... |
62 |
|
|
|
|||||||
Calling the file manager ..... |
63 |
|
|
|
|
|
|
||||
Selecting drives, directories and files ..... |
64 |
|
|
|
|||||||
Creating a new directory |
..... 65 |
|
|
|
|
|
|||||
Copying a single file |
..... 66 |
|
|
|
|
|
|
||||
Copying a directory |
..... |
66 |
|
|
|
|
|
|
|||
Choosing one of the last 10 files selected ..... |
67 |
|
|
|
|||||||
Deleting a file ..... |
67 |
|
|
|
|
|
|
|
|
||
Deleting a directory |
|
..... 67 |
|
|
|
|
|
|
|||
Marking files ..... |
68 |
|
|
|
|
|
|
|
|
|
|
Renaming a file ..... |
69 |
|
|
|
|
|
|
|
|||
File sorting ..... |
69 |
|
|
|
|
|
|
|
|
|
|
Additional functions |
..... |
69 |
|
|
|
|
|
|
|||
Data transfer to or from an external data medium ..... |
70 |
|
|
||||||||
Copying files into another directory ..... |
72 |
|
|
|
|
||||||
The TNC in a network ..... |
73 |
|
|
|
|
|
|
||||
USB devices on the TNC |
..... 74 |
|
|
|
|
|
|||||
4.4 Creating and Writing Programs ..... |
75 |
|
|
|
|
|
|||||
Organization of an NC program in HEIDENHAIN conversational format ..... |
75 |
||||||||||
Defining the blank form – BLK FORM ..... |
75 |
|
|
|
|
||||||
Creating a new part program ..... |
76 |
|
|
|
|
|
|||||
Programming tool movements in conversational format ..... |
78 |
|
|||||||||
Actual position capture ..... |
79 |
|
|
|
|
|
|
||||
Editing a program ..... |
|
80 |
|
|
|
|
|
|
|
||
The TNC search function ..... |
83 |
|
|
|
|
|
|
12
4.5 Interactive Programming Graphics ..... |
85 |
|
|
|
||||
Generating / Not generating graphics during programming: ..... |
85 |
|||||||
Generating a graphic for an existing program ..... |
85 |
|
||||||
Block number display ON/OFF ..... |
86 |
|
|
|
||||
Erasing the graphic |
..... 86 |
|
|
|
|
|
||
Magnifying or reducing a detail ..... |
86 |
|
|
|
||||
4.6 Adding Comments ..... |
|
87 |
|
|
|
|
|
|
Function ..... |
87 |
|
|
|
|
|
|
|
Adding a comment line ..... |
87 |
|
|
|
|
|||
Functions for editing of the comment ..... |
87 |
|
|
|||||
4.7 Integrated Pocket Calculator ..... |
88 |
|
|
|
|
|||
Operation ..... |
88 |
|
|
|
|
|
|
|
4.8 The Error Messages ..... |
|
90 |
|
|
|
|
|
|
Display of errors ..... |
|
90 |
|
|
|
|
|
|
Open the error window. ..... |
90 |
|
|
|
|
|||
Close the error window ..... |
90 |
|
|
|
|
|||
Detailed error messages ..... |
91 |
|
|
|
|
|||
DETAILS soft key ..... |
|
91 |
|
|
|
|
|
|
Clearing errors ..... |
91 |
|
|
|
|
|
||
Error log file ..... |
92 |
|
|
|
|
|
|
|
Keystroke log file ..... |
|
92 |
|
|
|
|
|
|
Informational texts |
..... |
93 |
|
|
|
|
|
|
Saving service files ..... |
93 |
|
|
|
|
|
HEIDENHAIN TNC 320 |
13 |
5 Programming: Tools |
..... 95 |
|
|
|
||
5.1 Entering Tool-Related Data ..... |
96 |
|
|
|||
Feed rate F ..... |
96 |
|
|
|
||
Spindle speed S ..... |
97 |
|
|
|
||
5.2 Tool Data ..... |
98 |
|
|
|
|
|
Requirements for tool compensation ..... |
98 |
|||||
Tool numbers and tool names ..... |
98 |
|
||||
Tool length L ..... |
|
98 |
|
|
|
|
Tool radius R ..... |
|
99 |
|
|
|
Delta values for lengths and radii ..... |
99 |
||
Entering tool data into the program ..... |
99 |
||
Entering tool data in the table |
..... 100 |
||
Pocket table for tool changer ..... |
104 |
|
|
Calling tool data |
..... 106 |
|
|
Tool change ..... |
107 |
|
|
5.3 Tool Compensation |
..... 109 |
|
|
Introduction ..... |
109 |
|
|
Tool length compensation ..... |
109 |
|
|
Tool radius compensation ..... |
110 |
|
14
6 Programming: Programming Contours |
..... 113 |
|
|
|
|
|
|||||||
6.1 Tool Movements |
..... |
114 |
|
|
|
|
|
|
|
|
|
|
|
Path functions ..... |
114 |
|
|
|
|
|
|
|
|
|
|
|
|
FK Free Contour Programming |
..... |
114 |
|
|
|
|
|
|
|
|
|||
Miscellaneous functions M ..... |
114 |
|
|
|
|
|
|
|
|
||||
Subprograms and program section repeats ..... |
114 |
|
|
|
|
|
|||||||
Programming with Q parameters |
..... 114 |
|
|
|
|
|
|
||||||
6.2 Fundamentals of Path Functions ..... |
|
115 |
|
|
|
|
|
|
|
|
|||
Programming tool movements for workpiece machining |
..... 115 |
|
|
|
|
||||||||
6.3 Contour Approach and Departure ..... |
|
119 |
|
|
|
|
|
|
|
|
|||
Overview: Types of paths for contour approach and departure ..... |
119 |
|
|
|
|||||||||
Important positions for approach and departure |
..... 119 |
|
|
|
|
|
|||||||
Approaching on a straight line with tangential connection: APPR LT ..... |
121 |
|
|
||||||||||
Approaching on a straight line perpendicular to the first contour point: APPR LN ..... 121 |
|
||||||||||||
Approaching on a circular path with tangential connection: APPR CT ..... |
122 |
|
|
||||||||||
Approaching on a circular arc with tangential connection from a straight line to the contour: APPR LCT ..... |
122 |
||||||||||||
Departing on a straight line with tangential connection: DEP LT ..... |
123 |
|
|
|
|||||||||
Departing on a straight line perpendicular to the last contour point: DEP LN ..... |
123 |
|
|||||||||||
Departure on a circular path with tangential connection: DEP CT ..... |
124 |
|
|
||||||||||
Departing on a circular arc tangentially connecting the contour and a straight line: DEP LCT ..... 124 |
|
||||||||||||
6.4 Path Contours—Cartesian Coordinates ..... |
125 |
|
|
|
|
|
|
||||||
Overview of path functions ..... |
125 |
|
|
|
|
|
|
|
|
||||
Straight Line L ..... |
125 |
|
|
|
|
|
|
|
|
|
|
|
|
Inserting a Chamfer CHF between Two Straight Lines ..... |
126 |
|
|
|
|
||||||||
Corner Rounding RND ..... |
127 |
|
|
|
|
|
|
|
|
|
|
||
Circle center CC ..... |
128 |
|
|
|
|
|
|
|
|
|
|
||
Circular path C around circle center CC |
..... |
129 |
|
|
|
|
|
|
|||||
Circular path CR with defined radius ..... |
|
129 |
|
|
|
|
|
|
|||||
Circular Path CT with Tangential Connection ..... |
131 |
|
|
|
|
|
|||||||
6.5 Path Contours—Polar Coordinates ..... |
|
136 |
|
|
|
|
|
|
|
|
|||
Overview ..... |
136 |
|
|
|
|
|
|
|
|
|
|
|
|
Polar coordinate origin: Pole CC ..... |
136 |
|
|
|
|
|
|
|
|||||
Straight line LP ..... |
137 |
|
|
|
|
|
|
|
|
|
|
|
|
Circular path CP around pole CC ..... |
137 |
|
|
|
|
|
|
|
|||||
Circular Path CTP with Tangential Connection ..... |
138 |
|
|
|
|
|
|||||||
Helical interpolation ..... |
138 |
|
|
|
|
|
|
|
|
|
|
HEIDENHAIN TNC 320 |
15 |
6.6 Path Contours—FK Free Contour Programming ..... |
143 |
||||
Fundamentals ..... |
|
143 |
|
|
|
Graphics during FK programming ..... |
144 |
|
|||
Initiating the FK dialog ..... |
145 |
|
|
||
Free programming of straight lines ..... |
146 |
|
|||
Free programming of circular arcs ..... |
146 |
|
|||
Input possibilities |
..... 147 |
|
|
|
|
Auxiliary points ..... |
|
150 |
|
|
|
Relative data ..... |
151 |
|
|
|
16
.....7 Programming: Miscellaneous Functions |
159 |
|
|
|
|
|||||
7.1 |
Entering Miscellaneous Functions M and STOP ..... |
160 |
|
|
|
|
||||
|
Fundamentals ..... |
160 |
|
|
|
|
|
|
|
|
7.2 |
Miscellaneous Functions for Program Run Control, Spindle and Coolant |
..... 162 |
|
|||||||
|
Overview ..... |
162 |
|
|
|
|
|
|
|
|
7.3 |
Programming machine-referenced coordinates: M91/M92 ..... |
163 |
|
|
||||||
|
Programming machine-referenced coordinates: M91/M92 |
..... |
163 |
|
|
|||||
7.4 |
Miscellaneous Functions for Contouring Behavior |
..... 165 |
|
|
|
|
||||
|
Machining small contour steps: M97 ..... |
165 |
|
|
|
|
|
|||
|
Machining open contours: M98 |
..... 167 |
|
|
|
|
|
|
||
|
Feed rate for circular arcs: M109/M110/M111 ..... |
167 |
|
|
|
|
||||
|
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 ..... |
168 |
||||||||
|
Superimposing handwheel positioning during program run: M118 ..... |
169 |
|
|||||||
|
Retraction from the contour in the tool-axis direction: M140 ..... |
169 |
|
|
||||||
|
Suppressing touch probe monitoring: M141 ..... |
170 |
|
|
|
|
||||
|
Delete basic rotation: M143 ..... |
171 |
|
|
|
|
|
|
||
|
Automatically retract tool from the contour at an NC stop: M148 ..... |
171 |
|
|||||||
7.5 |
Miscellaneous Functions for Rotary Axes ..... |
172 |
|
|
|
|
|
|||
|
Feed rate in mm/min on rotary axes A, B, C: M116 ..... 172 |
|
|
|
||||||
|
Shorter-path traverse of rotary axes: M126 ..... |
173 |
|
|
|
|
||||
|
Reducing display of a rotary axis to a value less than 360°: M94 ..... |
174 |
|
HEIDENHAIN TNC 320 |
17 |
.....8 Programming: Cycles |
|
175 |
|
|
|
|
|
|
|
|
|
8.1 Working with Cycles ..... |
176 |
|
|
|
|
|
|
|
|
||
Machine-specific cycles ..... |
176 |
|
|
|
|
|
|
|
|||
Defining a cycle using soft keys ..... |
|
177 |
|
|
|
|
|
||||
Defining a cycle using the GOTO function ..... |
|
177 |
|
|
|
||||||
Calling cycles |
..... 179 |
|
|
|
|
|
|
|
|
|
|
8.2 Cycles for Drilling, Tapping and Thread Milling ..... |
|
180 |
|
|
|
||||||
Overview ..... |
180 |
|
|
|
|
|
|
|
|
|
|
DRILLING (Cycle 200) |
..... 182 |
|
|
|
|
|
|
|
|||
REAMING (Cycle 201) |
..... 184 |
|
|
|
|
|
|
|
|||
BORING (Cycle 202) ..... |
|
186 |
|
|
|
|
|
|
|
||
UNIVERSAL DRILLING (Cycle 203) ..... |
188 |
|
|
|
|
|
|||||
BACK BORING (Cycle 204) ..... |
190 |
|
|
|
|
|
|
||||
UNIVERSAL PECKING (Cycle 205) ..... |
192 |
|
|
|
|
|
|||||
BORE MILLING (Cycle 208) |
..... 195 |
|
|
|
|
|
|
||||
TAPPING NEW with floating tap holder (Cycle 206) ..... |
197 |
|
|
||||||||
RIGID TAPPING without a floating tap holder NEW (Cycle 207) |
..... 199 |
|
|||||||||
TAPPING WITH CHIP BREAKING (Cycle 209) |
..... 201 |
|
|
|
|||||||
Fundamentals of thread milling ..... |
203 |
|
|
|
|
|
|||||
THREAD MILLING (Cycle 262) ..... |
205 |
|
|
|
|
|
|||||
THREAD MILLING/COUNTERSINKING (Cycle 263) ..... |
207 |
|
|
||||||||
THREAD DRILLING/MILLING (Cycle 264) ..... |
|
211 |
|
|
|
||||||
HELICAL THREAD DRILLING/MILLING (Cycle 265) ..... |
215 |
|
|
||||||||
OUTSIDE THREAD MILLING (Cycle 267) ..... |
|
219 |
|
|
|
||||||
8.3 Cycles for Milling Pockets, Studs and Slots ..... |
225 |
|
|
|
|||||||
Overview ..... |
225 |
|
|
|
|
|
|
|
|
|
|
POCKET MILLING (Cycle 4) |
..... 226 |
|
|
|
|
|
|
||||
POCKET FINISHING (Cycle 212) ..... |
|
228 |
|
|
|
|
|
||||
STUD FINISHING (Cycle 213) ..... |
230 |
|
|
|
|
|
|||||
CIRCULAR POCKET (Cycle 5) ..... |
232 |
|
|
|
|
|
|||||
CIRCULAR POCKET FINISHING (Cycle 214) |
..... |
234 |
|
|
|
||||||
CIRCULAR STUD FINISHING (Cycle 215) ..... |
|
236 |
|
|
|
||||||
SLOT (oblong hole) with reciprocating plunge-cut (Cycle 210) ..... |
238 |
|
|||||||||
CIRCULAR SLOT (oblong hole) with reciprocating plunge-cut (Cycle 211) ..... |
241 |
||||||||||
8.4 Cycles for Machining Point Patterns ..... |
|
247 |
|
|
|
|
|
||||
Overview ..... |
247 |
|
|
|
|
|
|
|
|
|
|
CIRCULAR PATTERN (Cycle 220) |
..... |
248 |
|
|
|
|
|
||||
LINEAR PATTERN (Cycle 221) ..... |
250 |
|
|
|
|
|
18
8.5 SL Cycles ..... |
254 |
|
|
|
|
|
|
|
Fundamentals ..... |
254 |
|
|
|
|
|
||
Overview of SL Cycles ..... |
256 |
|
|
|
||||
CONTOUR (Cycle 14) ..... |
256 |
|
|
|
|
|||
Overlapping contours ..... |
257 |
|
|
|
|
|||
CONTOUR DATA (Cycle 20) ..... |
|
260 |
|
|
||||
PILOT DRILLING (Cycle 21) ..... |
|
261 |
|
|
||||
ROUGH-OUT (Cycle 22) ..... |
262 |
|
|
|||||
FLOOR FINISHING (Cycle 23) ..... |
|
263 |
|
|
||||
SIDE FINISHING (Cycle 24) ..... |
|
264 |
|
|
||||
8.6 Cycles for Multipass Milling ..... |
268 |
|
|
|||||
Overview ..... |
|
268 |
|
|
|
|
|
|
MULTIPASS MILLING (Cycle 230) ..... |
268 |
|
||||||
RULED SURFACE (Cycle 231) |
..... |
270 |
|
|
||||
FACE MILLING (Cycle 232) ..... |
|
273 |
|
|
||||
8.7 Coordinate Transformation Cycles ..... |
281 |
|
||||||
Overview ..... |
|
281 |
|
|
|
|
|
|
Effect of coordinate transformations ..... |
281 |
|
||||||
DATUM SHIFT (Cycle 7) ..... |
282 |
|
|
|||||
DATUM SHIFT with datum tables (Cycle 7) ..... |
283 |
|||||||
MIRROR IMAGE (Cycle 8) ..... |
286 |
|
|
|||||
ROTATION (Cycle 10) ..... |
288 |
|
|
|
|
|||
SCALING FACTOR (Cycle 11) ..... |
|
289 |
|
|
||||
AXIS-SPECIFIC SCALING (Cycle 26) ..... |
290 |
|
||||||
8.8 Special Cycles |
..... 293 |
|
|
|
|
|
||
DWELL TIME (Cycle 9) ..... |
293 |
|
|
|
||||
PROGRAM CALL (Cycle 12) ..... |
|
294 |
|
|
||||
ORIENTED SPINDLE STOP (Cycle 13) |
..... 295 |
|
HEIDENHAIN TNC 320 |
19 |
9 Programming: Subprograms and Program Section Repeats ..... |
297 |
9.1 |
Labeling Subprograms and Program Section Repeats ..... |
298 |
|||||||
|
Labels |
..... 298 |
|
|
|
|
|
|
|
9.2 |
Subprograms ..... |
299 |
|
|
|
|
|
|
|
|
Operating sequence ..... |
|
299 |
|
|
|
|
||
|
Programming notes ..... |
|
299 |
|
|
|
|
||
|
Programming a subprogram |
..... 299 |
|
|
|||||
|
Calling a subprogram |
..... |
299 |
|
|
|
|||
9.3 |
Program Section Repeats ..... |
300 |
|
|
|
||||
|
Label LBL ..... |
300 |
|
|
|
|
|
|
|
|
Operating sequence ..... |
|
300 |
|
|
|
|
||
|
Programming notes ..... |
|
300 |
|
|
|
|
||
|
Programming a program section repeat |
..... 300 |
|
||||||
|
Calling a program section repeat ..... |
300 |
|
||||||
9.4 |
Separate Program as Subprogram ..... |
301 |
|
|
|||||
|
Operating sequence ..... |
|
301 |
|
|
|
|
||
|
Programming notes ..... |
|
301 |
|
|
|
|
||
|
Calling any program as a subprogram ..... |
302 |
|
||||||
9.5 |
Nesting ..... |
303 |
|
|
|
|
|
|
|
|
Types of nesting ..... |
303 |
|
|
|
|
|||
|
Nesting depth |
..... 303 |
|
|
|
|
|
||
|
Subprogram within a subprogram ..... |
303 |
|
||||||
|
Repeating program section repeats ..... |
304 |
|
||||||
|
Repeating a subprogram ..... |
305 |
|
|
|
20
.....10 Programming: Q Parameters |
313 |
|
|
|
|
|
||||
10.1 |
Principle and Overview ..... |
314 |
|
|
|
|
|
|
||
|
Programming notes ..... |
315 |
|
|
|
|
|
|
||
|
Calling Q parameter functions ..... |
315 |
|
|
|
|
|
|||
10.2 |
Part Families—Q Parameters in Place of Numerical Values |
..... 316 |
|
|||||||
|
Example NC blocks ..... |
316 |
|
|
|
|
|
|
||
|
Example ..... |
316 |
|
|
|
|
|
|
|
|
10.3 |
Describing Contours through Mathematical Operations ..... |
317 |
|
|||||||
|
Function ..... |
317 |
|
|
|
|
|
|
|
|
|
Overview ..... |
317 |
|
|
|
|
|
|
|
|
|
Programming fundamental operations |
..... 318 |
|
|
|
|
||||
10.4 |
Trigonometric Functions ..... |
319 |
|
|
|
|
|
|
||
|
Definitions ..... |
319 |
|
|
|
|
|
|
|
|
|
Programming trigonometric functions ..... |
320 |
|
|
|
|
||||
10.5 |
Calculating Circles ..... |
321 |
|
|
|
|
|
|
||
|
Function ..... |
321 |
|
|
|
|
|
|
|
|
10.6 |
If-Then Decisions with Q Parameters ..... |
322 |
|
|
|
|
||||
|
Function ..... |
322 |
|
|
|
|
|
|
|
|
|
Unconditional jumps ..... |
322 |
|
|
|
|
|
|
||
|
Programming If-Then decisions ..... |
322 |
|
|
|
|
||||
|
Abbreviations used: ..... |
323 |
|
|
|
|
|
|
||
10.7 |
Checking and Changing Q Parameters ..... |
324 |
|
|
|
|
||||
|
Procedure ..... |
324 |
|
|
|
|
|
|
|
|
10.8 |
Additional Functions |
..... |
325 |
|
|
|
|
|
|
|
|
Overview ..... |
325 |
|
|
|
|
|
|
|
|
|
FN14: ERROR: Displaying error messages ..... |
326 |
|
|
|
|||||
|
FN16: F-PRINT: Formatted output of texts or Q parameter values ..... |
328 |
||||||||
|
FN18: SYS-DATUM READ Read system data ..... |
331 |
|
|
||||||
|
FN19: PLC: Transferring values to the PLC ..... |
339 |
|
|
|
|||||
|
FN20: WAIT FOR: NC and PLC synchronization ..... |
340 |
|
|
||||||
|
FN 25: PRESET: Setting a new datum ..... |
342 |
|
|
|
|
||||
|
FN29: PLC: Transferring values to the PLC ..... |
343 |
|
|
|
|||||
|
FN37:EXPORT ..... |
344 |
|
|
|
|
|
|
|
HEIDENHAIN TNC 320 |
21 |
10.9 Accessing Tables with SQL Commands ..... |
345 |
|
|
||||||
Introduction ..... |
|
345 |
|
|
|
|
|
|
|
A Transaction ..... |
|
346 |
|
|
|
|
|
|
|
Programming SQL commands ..... |
348 |
|
|
|
|
||||
Overview of the soft keys |
..... 348 |
|
|
|
|
||||
SQL BIND ..... |
349 |
|
|
|
|
|
|
|
|
SQL SELECT ..... |
|
350 |
|
|
|
|
|
|
|
SQL FETCH ..... |
|
353 |
|
|
|
|
|
|
|
SQL UPDATE ..... |
|
354 |
|
|
|
|
|
|
|
SQL INSERT ..... |
|
354 |
|
|
|
|
|
|
|
SQL COMMIT |
..... |
355 |
|
|
|
|
|
|
|
SQL ROLLBACK ..... |
355 |
|
|
|
|
|
|
||
10.10 Entering Formulas Directly ..... |
356 |
|
|
|
|
||||
Entering formulas ..... |
356 |
|
|
|
|
|
|
||
Rules for formulas ..... |
358 |
|
|
|
|
|
|
||
Programming example ..... |
359 |
|
|
|
|
|
|||
10.11 Preassigned Q Parameters ..... |
360 |
|
|
|
|
||||
Values from the PLC: Q100 to Q107 ..... |
360 |
|
|
|
|||||
Active tool radius: Q108 ..... |
360 |
|
|
|
|
||||
Tool axis: Q109 ..... |
360 |
|
|
|
|
|
|
||
Spindle status: Q110 |
..... 361 |
|
|
|
|
|
|||
Coolant on/off: Q111 |
..... 361 |
|
|
|
|
|
|||
Overlap factor: Q112 |
..... 361 |
|
|
|
|
|
|||
Unit of measurement for dimensions in the program: Q113 ..... |
361 |
||||||||
Tool length: Q114 ..... |
361 |
|
|
|
|
|
|
||
Coordinates after probing during program run |
..... 362 |
|
|||||||
10.12 String Parameters ..... |
363 |
|
|
|
|
|
|
||
Working with string parameters |
..... 363 |
|
|
|
|
||||
Assigning string parameters ..... |
363 |
|
|
|
|
||||
String processing functions ..... |
364 |
|
|
|
|
||||
Concatenation of string parameters ..... 364 |
|
|
|
||||||
Exporting machine parameters ..... |
365 |
|
|
|
|
||||
Converting a numerical value to a string parameter |
..... 365 |
|
|||||||
Converting a string parameter to a numerical value |
..... 365 |
|
|||||||
Reading a substring from a string parameter |
..... 365 |
|
|||||||
Checking a string parameter ..... |
366 |
|
|
|
|
||||
Reading the length of a string parameter |
..... 366 |
|
|
||||||
Reading the alphabetic order ..... |
366 |
|
|
|
|
||||
Reading system strings ..... |
366 |
|
|
|
|
|
22
11.1 |
Graphics ..... |
376 |
|
|
|
|
|
|
Function ..... |
376 |
|
|
|
|
|
|
Overview of display modes ..... |
377 |
|
||||
|
Plan view ..... |
377 |
|
|
|
|
|
|
Projection in 3 planes |
..... |
378 |
|
|
||
|
3-D view ..... |
379 |
|
|
|
|
|
|
Magnifying details ..... |
|
380 |
|
|
|
|
|
Repeating graphic simulation |
..... |
381 |
|
|||
|
Measuring the machining time ..... |
382 |
|
||||
11.2 |
Showing the Workpiece in the Working Space ..... |
383 |
|||||
|
Function ..... |
383 |
|
|
|
|
|
11.3 |
Functions for Program Display ..... |
384 |
|
||||
|
Overview ..... |
384 |
|
|
|
|
|
11.4 |
Test Run ..... |
385 |
|
|
|
|
|
|
Function ..... |
385 |
|
|
|
|
|
11.5 |
Program Run |
..... 387 |
|
|
|
|
|
|
Function ..... |
387 |
|
|
|
|
|
|
Run a part program ..... |
|
387 |
|
|
|
|
|
Interrupting machining |
..... 388 |
|
|
|||
|
Moving the machine axes during an interruption |
..... 388 |
|||||
|
Resuming program run after an interruption ..... |
389 |
|||||
|
Mid-program startup (block scan) |
..... 390 |
|
||||
|
Returning to the contour ..... |
391 |
|
|
|||
11.6 |
Automatic Program Start |
..... 392 |
|
|
|||
|
Function ..... |
392 |
|
|
|
|
|
11.7 |
Optional Block Skip ..... |
393 |
|
|
|
||
|
Function ..... |
393 |
|
|
|
|
|
|
Inserting the “/” character ..... |
393 |
|
||||
|
Erasing the “/” character ..... |
393 |
|
|
|||
11.8 |
Optional Program-Run Interruption ..... |
394 |
|
||||
|
Function ..... |
394 |
|
|
|
|
|
HEIDENHAIN TNC 320 |
23 |
.....12 MOD Functions |
395 |
|
|
|
|
|
||
12.1 |
MOD Functions ..... |
396 |
|
|
|
|
|
|
|
Selecting the MOD functions |
..... 396 |
|
|
||||
|
Changing the settings ..... |
396 |
|
|
|
|||
|
Exiting the MOD functions ..... |
396 |
|
|
|
|||
|
Overview of MOD functions ..... |
397 |
|
|
||||
12.2 |
Software Numbers ..... |
398 |
|
|
|
|
||
|
Function ..... |
398 |
|
|
|
|
|
|
12.3 |
Entering Code Numbers ..... |
399 |
|
|
|
|||
|
Function ..... |
399 |
|
|
|
|
|
|
12.4 |
Machine-Specific User Parameters ..... |
400 |
|
|||||
|
Function ..... |
400 |
|
|
|
|
|
|
12.5 |
Position Display Types ..... |
401 |
|
|
|
|
||
|
Function ..... |
401 |
|
|
|
|
|
|
12.6 |
Unit of Measurement ..... |
402 |
|
|
|
|
||
|
Function ..... |
402 |
|
|
|
|
|
|
12.7 |
Display Operating Times ..... |
403 |
|
|
|
|||
|
Function ..... |
403 |
|
|
|
|
|
|
12.8 |
Setting the Data Interfaces ..... |
404 |
|
|
|
|||
|
Serial interface on the TNC 320 ..... |
404 |
|
|
||||
|
Function ..... |
404 |
|
|
|
|
|
|
|
Setting the RS-232 interface ..... |
404 |
|
|
||||
|
Setting the baud rate (baudRate) ..... |
404 |
|
|||||
|
Set the protocol (protocol) ..... |
404 |
|
|
|
|||
|
Set the data bits (dataBits) ..... |
405 |
|
|
|
|||
|
Parity check (parity) ..... |
405 |
|
|
|
|
||
|
Setting the stop bits (stopBits) ..... |
405 |
|
|
||||
|
Setting the handshake (flowControl) ..... |
405 |
|
|||||
|
Setting the operating mode of the external device (fileSystem) ..... |
406 |
||||||
|
Software for data transfer ..... |
407 |
|
|
|
|||
12.9 |
Ethernet Interface ..... |
409 |
|
|
|
|
||
|
Introduction ..... |
409 |
|
|
|
|
|
|
|
Connection possibilities |
..... 409 |
|
|
|
|||
|
Connecting the control to the network ..... |
410 |
|
24
13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes |
..... |
415 |
||||||||||
13.1 |
Introduction ..... |
416 |
|
|
|
|
|
|
|
|
|
|
|
Overview ..... |
416 |
|
|
|
|
|
|
|
|
|
|
|
Selecting probe cycles ..... |
416 |
|
|
|
|
|
|
|
|
|
|
13.2 |
Calibrating a Touch Trigger Probe |
..... 417 |
|
|
|
|
|
|
|
|||
|
Introduction ..... |
417 |
|
|
|
|
|
|
|
|
|
|
|
Calibrating the effective length ..... |
417 |
|
|
|
|
|
|
|
|||
|
Calibrating the effective radius and compensating center misalignment ..... |
418 |
|
|
||||||||
|
Displaying calibration values ..... |
419 |
|
|
|
|
|
|
|
|
||
13.3 |
Compensating Workpiece Misalignment |
..... 420 |
|
|
|
|
|
|
||||
|
Introduction ..... |
420 |
|
|
|
|
|
|
|
|
|
|
|
Measuring the basic rotation ..... |
420 |
|
|
|
|
|
|
|
|
||
|
Displaying a basic rotation |
..... 421 |
|
|
|
|
|
|
|
|
||
|
To cancel a basic rotation ..... |
421 |
|
|
|
|
|
|
|
|
||
13.4 |
Setting the Datum with a 3-D Touch Probe ..... |
422 |
|
|
|
|
|
|||||
|
Introduction ..... |
422 |
|
|
|
|
|
|
|
|
|
|
|
To set the datum in any axis (see figure at right) |
..... 422 |
|
|
|
|
|
|||||
|
Corner as datum—using points already probed for a basic rotation (see figure at right) |
..... 423 |
||||||||||
|
Circle center as datum ..... |
424 |
|
|
|
|
|
|
|
|
|
|
13.5 |
Measuring Workpieces with a 3-D Touch Probe ..... |
425 |
|
|
|
|
|
|||||
|
Introduction ..... |
425 |
|
|
|
|
|
|
|
|
|
|
|
To find the coordinate of a position on an aligned workpiece: ..... |
425 |
|
|
|
|||||||
|
Finding the coordinates of a corner in the working plane ..... |
425 |
|
|
|
|
||||||
|
To measure workpiece dimensions ..... |
426 |
|
|
|
|
|
|
|
|||
|
To find the angle between the angle reference axis and a side of the workpiece ..... |
427 |
||||||||||
13.6 |
Touch Probe Data Management ..... |
428 |
|
|
|
|
|
|
|
|
||
|
Introduction ..... |
428 |
|
|
|
|
|
|
|
|
|
|
13.7 |
Automatic Workpiece Measurement ..... |
430 |
|
|
|
|
|
|
|
|||
|
Overview ..... |
430 |
|
|
|
|
|
|
|
|
|
|
|
Reference system for measurement results |
..... |
430 |
|
|
|
|
|
||||
|
DATUM PLANE touch probe cycle 0 ..... |
430 |
|
|
|
|
|
|
|
|||
|
DATUM PLANE touch probe cycle 1 ..... |
432 |
|
|
|
|
|
|
|
|||
|
MEASURING (touch probe cycle 3) ..... |
433 |
|
|
|
|
|
|
|
HEIDENHAIN TNC 320 |
25 |
14 Tables and Overviews |
..... 435 |
|
|
|
14.1 |
Pin Layout and Connecting Cable for the Data Interfaces |
..... 436 |
||
|
RS-232-C/V.24 interface for HEIDENHAIN devices ..... |
436 |
||
|
Non-HEIDENHAIN devices ..... |
437 |
|
|
|
Ethernet interface RJ45 socket |
..... 437 |
|
|
14.2 |
Technical Information ..... |
438 |
|
|
14.3 |
Exchanging the Buffer Battery ..... |
443 |
|
26
1
1.1 The TNC 320
1.1 The TNC 320
HEIDENHAIN TNC controls are workshop-oriented contouring controls that enable you to program conventional machining operations right at the machine in an easy-to-use conversational programming language. The TNC 320 is designed for milling and drilling machine tools with up to 4 axes (optionally 5 axes). Instead of the fourth or fifth axis, you can also change the angular position of the spindle under program control.
Keyboard and screen layout are clearly arranged in such a way that the functions are fast and easy to use.
HEIDENHAIN conversational programming is an especially easy method of writing programs. Interactive graphics illustrate the individual machining steps for programming the contour. If a production drawing is not dimensioned for NC, the HEIDENHAIN FK free contour programming does the necessary calculations automatically. Workpiece machining can be graphically simulated either during or before actual machining.
You can also enter and test one program while the control is running another.
The feature content of the TNC 320 is not the same as that of the TNC 4xx series and iTNC 530 controls. Part programs created on the HEIDENHAIN controls TNC 150 B and later can only run on the TNC 320 under a condition. If NC blocks contain invalid elements, the TNC will mark them during download as ERROR blocks.
28 |
1 Introduction |
1.2Visual Display Unit and Operating Panel
The TNC is delivered with a 15-inch TFT color flat-panel display (see figure at top right).
1Header
When the TNC is on, the selected operating modes are shown in the screen header: the machining mode at the left and the programming mode at right. The currently active mode is displayed in the larger box, where the dialog prompts and TNC messages also appear (unless the TNC is showing only graphics).
2Soft keys
In the footer the TNC indicates additional functions in a soft-key row. You can select these functions by pressing the keys immediately below them. The lines immediately above the softkey row indicate the number of soft-key rows that can be called with the black arrow keys to the right and left. The line representing the active soft-key row is highlighted.
3Soft-key selection keys
4Switches the soft-key rows
5Sets the screen layout
6Shift key for switchover between machining and programming modes
7Soft-key selection keys for machine tool builders
8Switches soft-key rows for machine tool builders
You select the screen layout yourself: In the programming mode of operation, for example, you can have the TNC show program blocks in the left window while the right window displays programming graphics. You could also display status information in the right window instead of the graphics, or display only program blocks in one large window. The available screen windows depend on the selected operating mode.
To change the screen layout:
Press the SPLIT SCREEN key: The soft-key row shows the available layout options (see “Modes of Operation”, page 31).
Select the desired screen layout.
1
5 2
31
4
8
7
61
4
HEIDENHAIN TNC 320 |
29 |
1.2 Visual Display Unit and Operating Panel
The TNC 320 is delivered with an integrated keyboard. The figure at right shows the controls and displays of the keyboard:
1 |
|
|
|
|
|
File management |
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
Pocket calculator |
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
MOD function |
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
HELP function |
|
|
|
|
|
|
|
|||||||||||
2 |
|
|
|
|
|
Programming modes |
|
|
|
|
|
|
|
|||||||||||
3 |
|
|
|
|
|
Machine operating modes |
|
|
|
|
|
|
|
|||||||||||
4 |
|
|
|
|
|
Initiation of programming dialog |
|
|
|
|
|
|
|
|||||||||||
5 |
|
|
|
|
|
Arrow keys and GOTO jump command |
|
|
|
|
|
|
|
|||||||||||
6 |
|
|
|
|
|
Numerical input and axis selection |
|
|
|
|
|
|
|
|||||||||||
7 |
|
|
|
|
|
Navigation keys |
|
|
|
|
|
|
|
|||||||||||
The functions of the individual keys are described on the inside front |
|
|
|
|
|
|
|
|||||||||||||||||
cover. |
|
|
|
|
|
|
|
|
|
|||||||||||||||
1 |
41 |
|
|
|
|
|||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Machine panel buttons, e.g. NC START or NC STOP, are |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
described in the manual for your machine tool. |
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
3 |
|
21 |
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
30 |
1 Introduction |