User’s ManualISO ProgrammingTNC 320NC Software340 551-05340 554-05English (en)11/2011
10 Changed Functions of Software 340 55x-04Changed Functions of Software 340 55x-04 In Cycle 22 you can now define a tool name also for the coarse
100 Programming: Fundamentals, File Management3.4 Working with the File ManagerDeleting a directoryU Move the highlight to the directory you want to
HEIDENHAIN TNC 320 1013.4 Working with the File ManagerMarking filesSome functions, such as copying or erasing files, can not only be used for individ
102 Programming: Fundamentals, File Management3.4 Working with the File ManagerRenaming a fileU Move the highlight to the file you wish to renameU Se
HEIDENHAIN TNC 320 1033.4 Working with the File ManagerAdditional functionsProtecting a file / Canceling file protectionU Move the highlight to the fi
104 Programming: Fundamentals, File Management3.4 Working with the File ManagerData transfer to or from an external data mediumCall the file managerS
HEIDENHAIN TNC 320 1053.4 Working with the File ManagerIf you wish to copy from the external data medium to the TNC, move the highlight in the right w
106 Programming: Fundamentals, File Management3.4 Working with the File ManagerThe TNC in a networkIf the TNC is connected to a network, the director
HEIDENHAIN TNC 320 1073.4 Working with the File ManagerUSB devices on the TNCBacking up data from or loading onto the TNC is especially easy with USB
108 Programming: Fundamentals, File Management3.4 Working with the File Manager
Programming: Programming Aids
HEIDENHAIN TNC 320 11 New Functions of Software 340 55x-05New Functions of Software 340 55x-05 The M101 function was introduced (see "Automatic
110 Programming: Programming Aids4.1 Screen Keyboard4.1 Screen KeyboardYou can enter letters and special characters with the screen keypad or (if ava
HEIDENHAIN TNC 320 1114.2 Adding Comments4.2 Adding CommentsApplicationYou can add comments to a part program to explain program steps or make general
112 Programming: Programming Aids4.2 Adding CommentsFunctions for editing of the commentFunction Soft keyJump to beginning of comment.Jump to end of
HEIDENHAIN TNC 320 1134.3 Structuring Programs4.3 Structuring ProgramsDefinition and applicationsThis TNC function enables you to comment part program
114 Programming: Programming Aids4.4 Integrated Pocket Calculator4.4 Integrated Pocket CalculatorOperationThe TNC features an integrated pocket calcu
HEIDENHAIN TNC 320 1154.4 Integrated Pocket CalculatorTo transfer the calculated value into the programU Use the arrow keys to select the word into wh
116 Programming: Programming Aids4.5 Programming Graphics4.5 Programming GraphicsGenerating / not generating graphics during programmingWhile you are
HEIDENHAIN TNC 320 1174.5 Programming GraphicsBlock number display ON/OFFU Shift the soft-key row: see figureU To show block numbers: Set the SHOW OMI
118 Programming: Programming Aids4.6 Error Messages4.6 Error MessagesDisplay of errorsThe TNC generates error messages when it detects problems such
HEIDENHAIN TNC 320 1194.6 Error MessagesDetailed error messagesThe TNC displays possible causes of the error and suggestions for solving the problem:U
12 Changed Functions of Software 340 55x-05
120 Programming: Programming Aids4.6 Error MessagesClearing errorsClearing errors outside of the error window:U To clear the error/message in the hea
HEIDENHAIN TNC 320 1214.6 Error MessagesKeystroke logThe TNC stores keystrokes and important events (e.g. system startup) in a keystroke log. The capa
122 Programming: Programming Aids4.6 Error MessagesInformational textsAfter a faulty operation, such as pressing a key without function or entering a
HEIDENHAIN TNC 320 1234.7 Context-Sensitive Help System4.7 Context-Sensitive Help SystemApplicationThe TNCguide context-sensitive help system includes
124 Programming: Programming Aids4.7 Context-Sensitive Help SystemWorking with the TNCguideCalling the TNCguideThere are several ways to start the TN
HEIDENHAIN TNC 320 1254.7 Context-Sensitive Help SystemNavigating in the TNCguideIt’s easiest to use the mouse to navigate in the TNCguide. A table of
126 Programming: Programming Aids4.7 Context-Sensitive Help SystemSelect the page last shownPage forward if you have used the “select page last shown
HEIDENHAIN TNC 320 1274.7 Context-Sensitive Help SystemSubject indexThe most important subjects in the Manual are listed in the subject index (Index t
128 Programming: Programming Aids4.7 Context-Sensitive Help SystemDownloading current help filesYou’ll find the help files for your TNC software on t
Programming: Tools
HEIDENHAIN TNC 320 13ContentsFirst Steps with the TNC 3201Introduction2Programming: Fundamentals, File Management3Programming: Programming Aids4Progra
130 Programming: Tools5.1 Entering Tool-Related Data5.1 Entering Tool-Related DataFeed rate FThe feed rate F is the speed (in millimeters per minute
HEIDENHAIN TNC 320 1315.1 Entering Tool-Related DataSpindle speed SThe spindle speed S is entered in revolutions per minute (rpm) in a T block. Instea
132 Programming: Tools5.2 Tool Data5.2 Tool DataRequirements for tool compensationYou usually program the coordinates of path contours as they are di
HEIDENHAIN TNC 320 1335.2 Tool DataDelta values for lengths and radiiDelta values are offsets in the length and radius of a tool.A positive delta valu
134 Programming: Tools5.2 Tool DataEntering tool data in the tableYou can define and store up to 9999 tools and their tool data in a tool table. Also
HEIDENHAIN TNC 320 1355.2 Tool DataTIME1 Maximum tool life in minutes. This function can vary depending on the individual machine tool. Your machine m
136 Programming: Tools5.2 Tool DataTool table: Tool data required for automatic tool measurementFor a description of the cycles for automatic tool me
HEIDENHAIN TNC 320 1375.2 Tool DataEditing tool tablesThe tool table that is active during execution of the part program is designated TOOL.T and must
138 Programming: Tools5.2 Tool DataTo open any other tool tableU Select the Programming and Editing mode of operationU Call the file managerU Press t
HEIDENHAIN TNC 320 1395.2 Tool DataLeaving the tool tableU Call the file manager and select a file of a different type, such as a part programSort the
140 Programming: Tools5.2 Tool DataImporting tool tablesIf you read a tool table from an iTNC 530 and import it into an TNC 320, you have to adapt it
HEIDENHAIN TNC 320 1415.2 Tool DataPocket table for tool changerFor automatic tool changing you need the pocket table TOOL_P.TCH. The TNC can manage s
142 Programming: Tools5.2 Tool DataSelecting a pocket table in the Programming and Editing mode of operationU Call the file managerU Press the SHOW A
HEIDENHAIN TNC 320 1435.2 Tool DataEditing functions for pocket tables Soft keySelect beginning of tableSelect end of tableSelect previous page in tab
144 Programming: Tools5.2 Tool DataCalling tool dataA TOOL CALL block in the part program is defined with the following data:U Select the tool call f
HEIDENHAIN TNC 320 1455.2 Tool DataExample: Tool callCall tool number 5 in the tool axis Z with a spindle speed of 2500 rpm and a feed rate of 350 mm/
146 Programming: Tools5.2 Tool DataAutomatic tool change if the tool life expires: M101When the specified tool life has expired, the TNC can automati
HEIDENHAIN TNC 320 1475.2 Tool DataDepending on the NC program, the machining time can increase as a result of the tool life verification and calculat
148 Programming: Tools5.2 Tool DataTool usage testIn order to run a tool usage test, the complete plain-language program must have been simulated in
HEIDENHAIN TNC 320 1495.2 Tool DataThere are two ways to run a tool usage test for a pallet file: The highlight is on a pallet entry in the pallet fi
HEIDENHAIN TNC 320 151.1 Overview ... 341.2 Machine Switch-On ... 35Acknowledge the power interruption and move to the reference points ... 351.
150 Programming: Tools5.3 Tool compensation5.3 Tool compensationIntroductionThe TNC adjusts the spindle path in the spindle axis by the compensation
HEIDENHAIN TNC 320 1515.3 Tool compensationTool radius compensationThe NC block for programming a tool movement contains: G41 or G42 for radius compe
152 Programming: Tools5.3 Tool compensationContouring with radius compensation: G42 and G41The tool center moves along the contour at a distance equa
HEIDENHAIN TNC 320 1535.3 Tool compensationRadius compensation: Machining corners Outside corners:If you program radius compensation, the TNC moves t
154 Programming: Tools5.3 Tool compensation
Programming: Programming Contours
156 Programming: Programming Contours6.1 Tool Movements6.1 Tool MovementsPath functionsA workpiece contour is usually composed of several contour ele
HEIDENHAIN TNC 320 1576.2 Fundamentals of Path Functions6.2 Fundamentals of Path FunctionsProgramming tool movements for workpiece machiningYou create
158 Programming: Programming Contours6.2 Fundamentals of Path FunctionsCircles and circular arcsThe TNC moves two axes simultaneously on a circular p
HEIDENHAIN TNC 320 1596.3 Contour Approach and Departure6.3 Contour Approach and DepartureStarting point and end pointThe tool approaches the first co
162.1 The TNC 320 ... 54Programming: HEIDENHAIN conversational and ISO formats ... 54Compatibility ... 542.2 Visual Display Unit and Keyboard ..
160 Programming: Programming Contours6.3 Contour Approach and DepartureEnd pointThe end point should be selected so that it is: Approachable without
HEIDENHAIN TNC 320 1616.3 Contour Approach and DepartureTangential approach and departureWith G26 (figure at center right), you can program a tangenti
162 Programming: Programming Contours6.3 Contour Approach and DepartureExample NC blocksN50 G00 G40 G90 X-30 Y+50 *Starting pointN60 G01 G41 X+0 Y+50
HEIDENHAIN TNC 320 1636.4 Path Contours—Cartesian Coordinates6.4 Path Contours—Cartesian CoordinatesOverview of path functionsProgramming path functio
164 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesStraight line at rapid traverse G00Straight line with feed rate G01 FThe
HEIDENHAIN TNC 320 1656.4 Path Contours—Cartesian CoordinatesInserting a chamfer between two straight linesThe chamfer enables you to cut off corners
166 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCorner rounding G25The G25 function is used for rounding off corners.The
HEIDENHAIN TNC 320 1676.4 Path Contours—Cartesian CoordinatesCircle center I, JYou can define a circle center for circles that you have programmed wit
168 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCircular path C around circle center CCBefore programming a circular arc,
HEIDENHAIN TNC 320 1696.4 Path Contours—Cartesian CoordinatesCircular path G02/G03/G05 with defined radiusThe tool moves on a circular path with the r
HEIDENHAIN TNC 320 173.1 Fundamentals ... 74Position encoders and reference marks ... 74Reference system ... 74Reference system on milling machi
170 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCentral angle CCA and arc radius RThe starting and end points on the cont
HEIDENHAIN TNC 320 1716.4 Path Contours—Cartesian CoordinatesCircular path G06 with tangential connectionThe tool moves on an arc that starts tangenti
172 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesExample: Linear movements and chamfers with Cartesian coordinates%LINEAR
HEIDENHAIN TNC 320 1736.4 Path Contours—Cartesian CoordinatesExample: Circular movements with Cartesian coordinates%CIRCULAR G71 *N10 G30 G17 X+0 Y+0
174 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesN160 G01 X+5 *Move to last contour point 1N170 G27 R5 F500 *Depart the co
HEIDENHAIN TNC 320 1756.4 Path Contours—Cartesian CoordinatesExample: Full circle with Cartesian coordinates%C-CC G71 *N10 G30 G17 X+0 Y+0 Z-20 *Defin
176 Programming: Programming Contours6.5 Path Contours—Polar Coordinates6.5 Path Contours—Polar CoordinatesOverviewWith polar coordinates you can def
HEIDENHAIN TNC 320 1776.5 Path Contours—Polar CoordinatesZero point for polar coordinates: pole I, JYou can define the pole CC anywhere in the part pr
178 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesCircular path G12/G13/G15 around pole I, JThe polar coordinate radius R is al
HEIDENHAIN TNC 320 1796.5 Path Contours—Polar CoordinatesCircular path G16 with tangential connectionThe tool moves on a circular path, starting tange
184.1 Screen Keyboard ... 110Enter the text with the screen keyboard ... 1104.2 Adding Comments ... 111Application ... 111Entering a comment i
180 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesHelical interpolationA helix is a combination of a circular movement in a mai
HEIDENHAIN TNC 320 1816.5 Path Contours—Polar CoordinatesProgramming a helixU Polar coordinates angle: Enter the total angle of tool traverse along th
182 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesExample: Linear movement with polar coordinates%LINEARPO G71 *N10 G30 G17 X+0
HEIDENHAIN TNC 320 1836.5 Path Contours—Polar CoordinatesExample: Helix%HELIX G71 *N10 G30 G17 X+0 Y+0 Z-20 *Definition of workpiece blankN20 G31 G90
184 Programming: Programming Contours6.5 Path Contours—Polar Coordinates
HEIDENHAIN TNC 320 185Programming: Subprograms and Program Section Repeats
186 Programming: Subprograms and Program Section Repeats7.1 Labeling Subprograms and Program Section Repeats7.1 Labeling Subprograms and Program Sect
HEIDENHAIN TNC 320 1877.2 Subprograms7.2 SubprogramsOperating sequence1 The TNC executes the part program up to the block in which a subprogram is cal
188 Programming: Subprograms and Program Section Repeats7.3 Program Section Repeats7.3 Program Section RepeatsLabel G98The beginning of a program sec
HEIDENHAIN TNC 320 1897.4 Separate Program as Subprogram7.4 Separate Program as SubprogramOperating sequence1 The TNC executes the part program up to
HEIDENHAIN TNC 320 195.1 Entering Tool-Related Data ... 130Feed rate F ... 130Spindle speed S ... 1315.2 Tool Data ... 132Requirements for too
190 Programming: Subprograms and Program Section Repeats7.4 Separate Program as SubprogramCalling any program as a subprogramU To select the function
HEIDENHAIN TNC 320 1917.5 Nesting7. 5 N e s t i n gTypes of nesting Subprograms within a subprogram Program section repeats within a program section
192 Programming: Subprograms and Program Section Repeats7.5 NestingSubprogram within a subprogramExample NC blocksProgram execution1 Main program SUB
HEIDENHAIN TNC 320 1937.5 NestingRepeating program section repeatsExample NC blocksProgram execution1 Main program REPS is executed up to block 272 Pr
194 Programming: Subprograms and Program Section Repeats7.5 NestingRepeating a subprogramExample NC blocksProgram execution1 Main program SUBPGREP is
HEIDENHAIN TNC 320 1957.6 Programming Examples7.6 Programming ExamplesExample: Milling a contour in several infeedsProgram sequence Pre-position the
196 Programming: Subprograms and Program Section Repeats7.6 Programming ExamplesN80 G98 L1 *Set label for program section repeatN90 G91 Z-4 *Infeed d
HEIDENHAIN TNC 320 1977.6 Programming ExamplesExample: Groups of holesProgram sequence Approach the groups of holes in the main program Call the gro
198 Programming: Subprograms and Program Section Repeats7.6 Programming ExamplesN60 X+15 Y+10 M3 *Move to starting point for group 1N70 L1,0 *Call th
HEIDENHAIN TNC 320 1997.6 Programming ExamplesExample: Group of holes with several toolsProgram sequence Program the fixed cycles in the main program
Controls of the TNCKeys on visual display unitMachine operating modesProgramming modesProgram/file management, TNC functionsNavigation keysPotentiomet
206.1 Tool Movements ... 156Path functions ... 156Miscellaneous functions M ... 156Subprograms and program section repeats ... 156Programming
200 Programming: Subprograms and Program Section Repeats7.6 Programming ExamplesN70 G00 Z+250 M6 *Tool changeN80 T2 G17 S4000 *Call tool: drillN90 D0
Programming: Q Parameters
202 Programming: Q Parameters8.1 Principle and Overview8.1 Principle and OverviewYou can program entire families of parts in a single part program. Y
HEIDENHAIN TNC 320 2038.1 Principle and OverviewQS parameters (the S stands for string) are also available on the TNC and enable you to process texts.
204 Programming: Q Parameters8.1 Principle and OverviewCalling Q-parameter functionsWhen you are writing a part program, press the “Q” key (in the nu
HEIDENHAIN TNC 320 2058.2 Part Families—Q Parameters in Place of Numerical Values8.2 Part Families—Q Parameters in Place of Numerical ValuesFunctionTh
206 Programming: Q Parameters8.3 Describing Contours through Mathematical Operations8.3 Describing Contours through Mathematical OperationsFunctionTh
HEIDENHAIN TNC 320 2078.3 Describing Contours through Mathematical OperationsProgramming fundamental operationsExample:Call the Q parameter functions
208 Programming: Q Parameters8.4 Trigonometric Functions8.4 Trigonometric FunctionsDefinitionsSine, cosine and tangent are terms designating the rati
HEIDENHAIN TNC 320 2098.4 Trigonometric FunctionsProgramming trigonometric functionsPress the ANGLE FUNCTION soft key to call the trigonometric functi
HEIDENHAIN TNC 320 217.1 Labeling Subprograms and Program Section Repeats ... 186Labels ... 1867.2 Subprograms ... 187Operating sequence ... 1
210 Programming: Q Parameters8.5 If-Then Decisions with Q Parameters8.5 If-Then Decisions with Q ParametersFunctionThe TNC can make logical If-Then d
HEIDENHAIN TNC 320 2118.6 Checking and Changing Q Parameters8.6 Checking and Changing Q ParametersProcedureYou can check Q parameters when writing, te
212 Programming: Q Parameters8.7 Additional Functions8.7 Additional FunctionsOverviewPress the DIVERSE FUNCTION soft key to call the additional funct
HEIDENHAIN TNC 320 2138.7 Additional FunctionsD14: ERROR: Displaying error messagesWith the function D14 you can call messages under program control.
214 Programming: Q Parameters8.7 Additional Functions1018 Plane wrongly defined1019 Wrong axis programmed1020 Wrong rpm1021 Radius comp. undefined102
HEIDENHAIN TNC 320 2158.7 Additional Functions1042 Traverse direction not defined1043 No datum table active1044 Position error: center in axis 11045 P
216 Programming: Q Parameters8.7 Additional Functions1071 Missing calibration data1072 Tolerance exceeded1073 Block scan active1074 ORIENTATION not p
HEIDENHAIN TNC 320 2178.7 Additional Functions1100 Kinematic access not possible1101 Meas. pos. not in traverse range1102 Preset compensation not poss
218 Programming: Q Parameters8.7 Additional FunctionsD18: Read system dataWith the D18 function you can read system data and store them in Q paramete
HEIDENHAIN TNC 320 2198.7 Additional Functions4 - Feed rate for pecking in active fixed cycle5 - 1st side length for rectangular pocket cycle6 - 2nd s
228.1 Principle and Overview ... 202Programming notes ... 203Calling Q-parameter functions ... 2048.2 Part Families—Q Parameters in Place of Num
220 Programming: Q Parameters8.7 Additional Functions12 Tool no. PLC status13 Tool no. Maximum tooth length LCUTS14 Tool no. Maximum plunge angle ANG
HEIDENHAIN TNC 320 2218.7 Additional Functions3 - Spindle speed S4 - Tool length oversize DL5 - Tool radius oversize DR6 - Automatic TOOL CALL 0 = yes
222 Programming: Q Parameters8.7 Additional Functions+64: U axis mirrored+128: V axis mirrored+256: W axis mirroredCombinations = sum of individual a
HEIDENHAIN TNC 320 2238.7 Additional FunctionsNominal position in the REF system, 2401 1 X axis2 Y axis3 Z axis4 A axis5 B axis6 C axis7 U axis8 V axi
224 Programming: Q Parameters8.7 Additional Functions56 1 Maximum measuring range2 Setup clearance57 1 Line in the touch-probe tableTT tool touch pro
HEIDENHAIN TNC 320 2258.7 Additional FunctionsBasic transformation, 507 Line 1 to 6(X, Y, Z, SPA, SPB, SPC)Read the basic transformation of a presetAx
226 Programming: Q Parameters8.7 Additional FunctionsExample: Assign the value of the active scaling factor for the Zaxis to Q2523 - PLC value24 - To
HEIDENHAIN TNC 320 2278.7 Additional FunctionsD19 PLC: Transfer values to the PLCThe D19 function transfers up to two numerical values or Q parameters
228 Programming: Q Parameters8.7 Additional FunctionsIn addition, the D20 function is available. WAIT FOR SYNC is used whenever you read, for example
HEIDENHAIN TNC 320 2298.7 Additional FunctionsD37 EXPORTYou need the D37 function if you want to create your own cycles and integrate them in the TNC.
HEIDENHAIN TNC 320 238.10 String Parameters ... 245String processing functions ... 245Assigning string parameters ... 246Chain-linking string p
230 Programming: Q Parameters8.8 Accessing Tables with SQL Commands8.8 Accessing Tables with SQL CommandsIntroductionAccessing of tables is programme
HEIDENHAIN TNC 320 2318.8 Accessing Tables with SQL CommandsA TransactionIn principle, a transaction consists of the following actions: Address the t
232 Programming: Q Parameters8.8 Accessing Tables with SQL CommandsResult setThe selected rows are numbered in ascending order within the result set,
HEIDENHAIN TNC 320 2338.8 Accessing Tables with SQL CommandsProgramming SQL commandsProgram SQL commands in the Programming mode:U Call the SQL functi
234 Programming: Q Parameters8.8 Accessing Tables with SQL CommandsSQL BINDSQL BIND binds a Q parameter to a table column. The SQL commands "Fet
HEIDENHAIN TNC 320 2358.8 Accessing Tables with SQL CommandsSQL SELECTSQL SELECT selects table rows and transfers them to the result set. The SQL serv
236 Programming: Q Parameters8.8 Accessing Tables with SQL CommandsU Parameter no. for result: Q parameter for the handle. The SQL server returns the
HEIDENHAIN TNC 320 2378.8 Accessing Tables with SQL CommandsCondition ProgrammingEqual to ===Not equal to !=<>Less than <Less than or equal t
238 Programming: Q Parameters8.8 Accessing Tables with SQL CommandsSQL FETCHSQL FETCH reads the row addressed with INDEX from the result set, and pla
HEIDENHAIN TNC 320 2398.8 Accessing Tables with SQL CommandsSQL UPDATESQL UPDATE transfers the data prepared in the Q parameters into the row of the r
249.1 Entering Miscellaneous Functions M and STOP ... 270Fundamentals ... 2709.2 Miscellaneous Functions for Program Run Control, Spindle and Cool
240 Programming: Q Parameters8.8 Accessing Tables with SQL CommandsSQL COMMITSQL COMMIT transfers all rows in the result set back to the table. A loc
HEIDENHAIN TNC 320 2418.9 Entering Formulas Directly8.9 Entering Formulas DirectlyEntering formulasYou can enter mathematical formulas that include se
242 Programming: Q Parameters8.9 Entering Formulas DirectlyArc tangentInverse of the tangent. Determines the angle from the ratio of the opposite sid
HEIDENHAIN TNC 320 2438.9 Entering Formulas DirectlyRules for formulasMathematical formulas are programmed according to the following rules:Higher-lev
244 Programming: Q Parameters8.9 Entering Formulas DirectlyProgramming exampleCalculate an angle with the arc tangent from the opposite side (Q12) an
HEIDENHAIN TNC 320 2458.10 String Parameters8.10 String ParametersString processing functionsYou can use the QS parameters to create variable charact
246 Programming: Q Parameters8.10 String ParametersAssigning string parametersYou have to assign a string variable before you use it. Use the DECLARE
HEIDENHAIN TNC 320 2478.10 String ParametersChain-linking string parametersWith the concatenation operator (string parameter || string parameter) you
248 Programming: Q Parameters8.10 String ParametersConverting a numerical value to a string parameter With the TOCHAR function, the TNC converts a nu
HEIDENHAIN TNC 320 2498.10 String ParametersCopying a substring from a string parameter With the SUBSTR function you can copy a definable range from a
HEIDENHAIN TNC 320 2510.1 Overview of Special Functions ... 288Main menu for SPEC FCT special functions ... 288Program defaults menu ... 289Func
250 Programming: Q Parameters8.10 String ParametersConverting a string parameter to a numerical value The TONUMB function converts a string parameter
HEIDENHAIN TNC 320 2518.10 String ParametersChecking a string parameter With the INSTR function you can check whether a string parameter is contained
252 Programming: Q Parameters8.10 String ParametersFinding the length of a string parameterThe STRLEN function returns the length of the text saved i
HEIDENHAIN TNC 320 2538.10 String ParametersComparing alphabetic priorityWith the STRCOMP function you can compare string parameters for alphabetic pr
254 Programming: Q Parameters8.10 String ParametersReading machine parametersUse the CFGREAD function to read out TNC machine parameters as numerical
HEIDENHAIN TNC 320 2558.10 String ParametersReading a string of a machine parameterIn order to store the content of a machine parameter as a string in
256 Programming: Q Parameters8.10 String ParametersReading a numerical value of a machine parameterIn order to store the value of a machine parameter
HEIDENHAIN TNC 320 2578.11 Preassigned Q Parameters8.11 Preassigned Q ParametersThe Q parameters Q100 to Q199 are assigned values by the TNC. The fol
258 Programming: Q Parameters8.11 Preassigned Q ParametersTool axis: Q109The value of Q109 depends on the current tool axis:Spindle status: Q110The v
HEIDENHAIN TNC 320 2598.11 Preassigned Q ParametersUnit of measurement for dimensions in the program: Q113During nesting with PGM CALL, the value of t
2611.1 Functions for Multiple Axis Machining ... 29811.2 The PLANE Function: Tilting the Working Plane (Software Option 1) ... 299Introduction ...
260 Programming: Q Parameters8.11 Preassigned Q ParametersDeviation between actual value and nominal value during automatic tool measurement with the
HEIDENHAIN TNC 320 2618.11 Preassigned Q ParametersMeasurement results from touch probe cycles (see also User’s Manual for Touch Probe Cycles)Measured
262 Programming: Q Parameters8.11 Preassigned Q ParametersWorkpiece status Parameter valueGood Q180Rework Q181Scrap Q182Measured deviation with Cycle
HEIDENHAIN TNC 320 2638.12 Programming Examples8.12 Programming ExamplesExample: EllipseProgram sequence The contour of the ellipse is approximated b
264 Programming: Q Parameters8.12 Programming ExamplesN180 G00 Z+250 M2 *Retract in the tool axis, end programN190 G98 L10 *Subprogram 10: Machining
HEIDENHAIN TNC 320 2658.12 Programming ExamplesExample: Concave cylinder machined with spherical cutterProgram sequence This program functions only w
266 Programming: Q Parameters8.12 Programming ExamplesN200 G00 G40 Z+250 M2 *Retract in the tool axis, end programN210 G98 L10 *Subprogram 10: Machin
HEIDENHAIN TNC 320 2678.12 Programming ExamplesExample: Convex sphere machined with end millProgram sequence This program requires an end mill. The
268 Programming: Q Parameters8.12 Programming ExamplesN170 L10.0 *Call machining operationN180 D00 Q10 P01 +0 *Reset allowanceN190 D00 Q18 P01 +5 *An
Programming: Miscellaneous Functions
HEIDENHAIN TNC 320 2712.1 Switch-On, Switch-Off ... 326Switch-on ... 326Switch-off ... 32812.2 Moving the Machine Axes ... 329Note ... 329Mo
270 Programming: Miscellaneous Functions9.1 Entering Miscellaneous Functions M and STOP9.1 Entering Miscellaneous Functions M and STOPFundamentalsWit
HEIDENHAIN TNC 320 2719.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant9.2 Miscellaneous Functions for Program Run Control, Spi
272 Programming: Miscellaneous Functions9.3 Miscellaneous Functions for Coordinate Data9.3 Miscellaneous Functions for Coordinate DataProgramming mac
HEIDENHAIN TNC 320 2739.3 Miscellaneous Functions for Coordinate DataBehavior with M92—Additional machine datumIf you want the coordinates in a positi
274 Programming: Miscellaneous Functions9.3 Miscellaneous Functions for Coordinate DataMoving to positions in a non-tilted coordinate system with a t
HEIDENHAIN TNC 320 2759.4 Miscellaneous Functions for Contouring Behavior9.4 Miscellaneous Functions for Contouring BehaviorMachining small contour st
276 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorExample NC blocksN50 G99 G01 ... R+20 *Large tool radius..
HEIDENHAIN TNC 320 2779.4 Miscellaneous Functions for Contouring BehaviorMachining open contours corners: M98Standard behaviorThe TNC calculates the i
278 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorFeed rate factor for plunging movements: M103Standard beha
HEIDENHAIN TNC 320 2799.4 Miscellaneous Functions for Contouring BehaviorFeed rate in millimeters per spindle revolution: M136Standard behaviorThe TNC
2812.9 Tilting the Working Plane (Software Option 1) ... 357Application, function ... 357Traversing the reference points in tilted axes ... 359P
280 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorCalculating the radius-compensated path in advance (LOOK A
HEIDENHAIN TNC 320 2819.4 Miscellaneous Functions for Contouring BehaviorEffectM120 must be located in an NC block that also contains radius compensat
282 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorSuperimposing handwheel positioning during program run: M1
HEIDENHAIN TNC 320 2839.4 Miscellaneous Functions for Contouring BehaviorRetraction from the contour in the tool-axis direction: M140Standard behavior
284 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorSuppressing touch probe monitoring: M141Standard behaviorW
HEIDENHAIN TNC 320 2859.4 Miscellaneous Functions for Contouring BehaviorAutomatically retract tool from the contour at an NC stop: M148Standard behav
286 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring Behavior
Programming: Special Functions
288 Programming: Special Functions10.1 Overview of Special Functions10.1 Overview of Special FunctionsPress the SPEC FCT and the corresponding soft k
HEIDENHAIN TNC 320 28910.1 Overview of Special FunctionsProgram defaults menuU Select the program defaults menuFunctions for contour and point machini
HEIDENHAIN TNC 320 2913.1 Programming and Executing Simple Machining Operations ... 362Positioning with Manual Data Input (MDI) ... 362Protecting
290 Programming: Special Functions10.1 Overview of Special FunctionsMenu of various DIN/ISO functionsU Select the menu for defining various DIN/ISO f
HEIDENHAIN TNC 320 29110.2 Defining DIN/ISO Functions10.2 Defining DIN/ISO FunctionsOverviewThe TNC provides soft keys with the following functions fo
292 Programming: Special Functions10.3 Creating Text Files10.3 Creating Text FilesApplicationYou can use the TNC’s text editor to write and edit text
HEIDENHAIN TNC 320 29310.3 Creating Text FilesEditing textsAbove the first line of the text editor, there is an information field showing the file nam
294 Programming: Special Functions10.3 Creating Text FilesEditing text blocksYou can copy and erase text blocks of any size, and insert them at other
HEIDENHAIN TNC 320 29510.3 Creating Text FilesFinding text sectionsWith the text editor, you can search for words or character strings in a text. Two
296 Programming: Special Functions10.3 Creating Text Files
Programming: Multiple Axis Machining
298 Programming: Multiple Axis Machining11.1 Functions for Multiple Axis Machining11.1 Functions for Multiple Axis MachiningThe TNC functions for mul
HEIDENHAIN TNC 320 29911.2 The PLANE Function: Tilting the Working Plane (Software Option 1)11.2 The PLANE Function: Tilting the Working Plane (Softwa
Tool functionsProgramming path movementsSpecial functionsCoordinate axes and numbers: Entering and editingKey FunctionDefine tool data in the programC
3014.1 Graphics ... 368Application ... 368Setting the speed of the test run ... 369Overview of display modes ... 370Plan view ... 370Project
300 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)The parameter definition of the PLANE f
HEIDENHAIN TNC 320 30111.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Define the PLANE functionU Show the soft-key row with spec
302 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Reset the PLANE functionU Show the soft
HEIDENHAIN TNC 320 30311.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with space angles: PLANE SPAT
304 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Spatial angle A?: Rot
HEIDENHAIN TNC 320 30511.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with projection angles: PROJE
306 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Proj. angle 1st coord
HEIDENHAIN TNC 320 30711.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with Euler angles: EULER PLAN
308 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Rot. angle main coord
HEIDENHAIN TNC 320 30911.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the working plane with two vectors: VECTOR PLANEA
HEIDENHAIN TNC 320 3115.1 Selecting MOD Functions ... 394Selecting the MOD functions ... 394Changing the settings ... 394Exiting the MOD functio
310 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU X component of base v
HEIDENHAIN TNC 320 31111.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the working plane via three points: PLANE POINTSA
312 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU X coordinate of 1st p
HEIDENHAIN TNC 320 31311.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with a single, incremental sp
314 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Tilting the working plane through axis
HEIDENHAIN TNC 320 31511.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Axis angle A?: Axis angle to which the A
316 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Specifying the positioning behavior of
HEIDENHAIN TNC 320 31711.2 The PLANE Function: Tilting the Working Plane (Software Option 1)U Dist. tool tip – center of rot. (incremental): The TNC t
318 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Selection of alternate tilting possibil
HEIDENHAIN TNC 320 31911.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Example for a machine with a rotary table C and a tilting
3216.1 Machine-Specific User Parameters ... 414Application ... 41416.2 Pin Layouts and Connecting Cables for the Data Interfaces ... 422RS-232-C
320 Programming: Multiple Axis Machining11.3 Miscellaneous Functions for Rotary Axes11.3 Miscellaneous Functions for Rotary AxesFeed rate in mm/min o
HEIDENHAIN TNC 320 32111.3 Miscellaneous Functions for Rotary AxesShorter-path traverse of rotary axes: M126Standard behaviorThe standard behavior of
322 Programming: Multiple Axis Machining11.3 Miscellaneous Functions for Rotary AxesReducing display of a rotary axis to a value less than 360°: M94S
HEIDENHAIN TNC 320 32311.3 Miscellaneous Functions for Rotary AxesSelecting tilting axes: M138Standard behaviorThe TNC performs M128 and TCPM, and til
324 Programming: Multiple Axis Machining11.3 Miscellaneous Functions for Rotary AxesCompensating the machine’s kinematics configuration for ACTUAL/NO
Manual Operation and Setup
326 Manual Operation and Setup12.1 Switch-On, Switch-Off12.1 Switch-On, Switch-OffSwitch-onSwitch on the power supply for control and machine. The TN
HEIDENHAIN TNC 320 32712.1 Switch-On, Switch-OffThe TNC is now ready for operation in the Manual Operation mode.The reference points need only be cros
328 Manual Operation and Setup12.1 Switch-On, Switch-OffCrossing the reference point in a tilted working planeThe TNC automatically activates the til
HEIDENHAIN TNC 320 32912.2 Moving the Machine Axes12.2 Moving the Machine AxesNoteMoving the axis using the machine axis direction buttonsSelect the M
-First Steps with the TNC 320
330 Manual Operation and Setup12.2 Moving the Machine AxesIncremental jog positioningWith incremental jog positioning you can move a machine axis by
HEIDENHAIN TNC 320 33112.2 Moving the Machine AxesTraversing with the HR 410 electronic handwheelThe portable HR 410 handwheel is equipped with two pe
332 Manual Operation and Setup12.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions M12.3 Spindle Speed S, Feed Rate F and Miscellaneous Func
HEIDENHAIN TNC 320 33312.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions MChanging the spindle speed and feed rateWith the override knobs y
334 Manual Operation and Setup12.4 Datum Setting without a 3-D Touch Probe12.4 Datum Setting without a 3-D Touch ProbeNoteYou fix a datum by setting
HEIDENHAIN TNC 320 33512.4 Datum Setting without a 3-D Touch ProbeWorkpiece presetting with axis keysSelect the Manual Operation mode.Move the tool sl
336 Manual Operation and Setup12.4 Datum Setting without a 3-D Touch ProbeDatum management with the preset tableSaving the datums in the preset table
HEIDENHAIN TNC 320 33712.4 Datum Setting without a 3-D Touch ProbeThere are several methods for saving datums and/or basic rotations in the preset tab
338 Manual Operation and Setup12.4 Datum Setting without a 3-D Touch ProbeManually saving the datums in the preset tableIn order to set datums in the
HEIDENHAIN TNC 320 33912.4 Datum Setting without a 3-D Touch ProbeFunction Soft keyDirectly transfer the actual position of the tool (the measuring di
34 First Steps with the TNC 3201.1 Overview1.1 OverviewThis chapter is intended to help TNC beginners quickly learn to handle the most important proc
340 Manual Operation and Setup12.4 Datum Setting without a 3-D Touch ProbeEditing the preset tableEditing function in table mode Soft keySelect begin
HEIDENHAIN TNC 320 34112.4 Datum Setting without a 3-D Touch ProbeActivating a datum from the preset table in the Manual Operation modeSelect the Manu
342 Manual Operation and Setup12.5 Using the 3-D Touch Probe12.5 Using the 3-D Touch Probe OverviewThe following touch probe cycles are available in
HEIDENHAIN TNC 320 34312.5 Using the 3-D Touch ProbeWriting the measured values from touch probe cycles in datum tablesWith the ENTER IN DATUM TABLE s
344 Manual Operation and Setup12.6 Calibrating the 3-D Touch Probe12.6 Calibrating the 3-D Touch Probe IntroductionIn order to precisely specify the
HEIDENHAIN TNC 320 34512.6 Calibrating the 3-D Touch ProbeCalibrating the effective lengthU Set the datum in the spindle axis such that for the machin
346 Manual Operation and Setup12.6 Calibrating the 3-D Touch ProbeCalibrating the effective radius and compensating center misalignmentAfter the touc
HEIDENHAIN TNC 320 34712.6 Calibrating the 3-D Touch ProbeShow calibration valuesThe TNC saves the effective length and effective radius of the touch
348 Manual Operation and Setup12.7 Compensating Workpiece Misalignment with a 3-D Touch Probe12.7 Compensating Workpiece Misalignment with a 3-D Touc
HEIDENHAIN TNC 320 34912.7 Compensating Workpiece Misalignment with a 3-D Touch ProbeMeasuring the basic rotationU Select the probe function by pressi
HEIDENHAIN TNC 320 351.2 Machine Switch-On1.2 Machine Switch-OnAcknowledge the power interruption and move to the reference pointsU Switch on the powe
350 Manual Operation and Setup12.8 Set the datum with a 3-D touch probe12.8 Set the datum with a 3-D touch probe OverviewThe following soft-key funct
HEIDENHAIN TNC 320 35112.8 Set the datum with a 3-D touch probeCorner as datum U Select the probe function by pressing the PROBING P soft key.U Positi
352 Manual Operation and Setup12.8 Set the datum with a 3-D touch probeCircle center as datumWith this function, you can set the datum at the center
HEIDENHAIN TNC 320 35312.8 Set the datum with a 3-D touch probeMeasuring Workpieces with a 3-D Touch ProbeYou can also use the touch probe in the Manu
354 Manual Operation and Setup12.8 Set the datum with a 3-D touch probeMeasuring workpiece dimensionsU Select the probe function by pressing the PROB
HEIDENHAIN TNC 320 35512.8 Set the datum with a 3-D touch probeFinding the angle between the angle reference axis and a workpiece edgeU Select the pro
356 Manual Operation and Setup12.8 Set the datum with a 3-D touch probeUsing the touch probe functions with mechanical probes or dial gaugesIf you do
HEIDENHAIN TNC 320 35712.9 Tilting the Working Plane (Software Option 1)12.9 Tilting the Working Plane (Software Option 1)Application, functionThe TNC
358 Manual Operation and Setup12.9 Tilting the Working Plane (Software Option 1)When tilting the working plane, the TNC differentiates between two ma
HEIDENHAIN TNC 320 35912.9 Tilting the Working Plane (Software Option 1)Traversing the reference points in tilted axesThe TNC automatically activates
36 First Steps with the TNC 3201.3 Programming the First Part1.3 Programming the First PartSelect the correct operating modeYou can write programs on
360 Manual Operation and Setup12.9 Tilting the Working Plane (Software Option 1)Activating manual tiltingTo select manual tilting, press the 3-D ROT
Positioning with Manual Data Input
362 Positioning with Manual Data Input13.1 Programming and Executing Simple Machining Operations13.1 Programming and Executing Simple Machining Opera
HEIDENHAIN TNC 320 36313.1 Programming and Executing Simple Machining OperationsFirst you pre-position the tool with straight-line blocks to the hole
364 Positioning with Manual Data Input13.1 Programming and Executing Simple Machining OperationsExample 2: Correcting workpiece misalignment on machi
HEIDENHAIN TNC 320 36513.1 Programming and Executing Simple Machining OperationsProtecting and erasing programs in $MDIThe $MDI file is generally inte
366 Positioning with Manual Data Input13.1 Programming and Executing Simple Machining Operations
Test Run and Program Run
368 Test Run and Program Run14.1 Graphics14.1 GraphicsApplicationIn the program run modes of operation as well as in the Test Run mode, the TNC graph
HEIDENHAIN TNC 320 36914.1 GraphicsSetting the speed of the test runAfter you have started a program, the TNC displays the following soft keys with wh
HEIDENHAIN TNC 320 371.3 Programming the First PartCreate a new program/file managementU Press the PGM MGT key: the TNC displays the file management.
370 Test Run and Program Run14.1 GraphicsOverview of display modesThe TNC displays the following soft keys in the Program Run and Test Run modes of o
HEIDENHAIN TNC 320 37114.1 GraphicsProjection in 3 planesSimilar to a workpiece drawing, the part is displayed with a plan view and two sectional plan
372 Test Run and Program Run14.1 Graphics3-D viewThe workpiece is displayed in three dimensions.You can rotate the 3-D display about the vertical and
HEIDENHAIN TNC 320 37314.1 GraphicsIf there is a mouse attached to your TNC, you can also perform the functions described above with the mouse.U In or
374 Test Run and Program Run14.1 GraphicsMagnifying detailsYou can magnify details in all display modes in the Test Run mode and a Program Run mode.
HEIDENHAIN TNC 320 37514.1 GraphicsRepeating graphic simulationA part program can be graphically simulated as often as desired, either with the comple
376 Test Run and Program Run14.1 GraphicsMeasuring the machining timeProgram Run modes of operationThe timer counts and displays the time from progra
HEIDENHAIN TNC 320 37714.2 Showing the Blank in the Working Space14.2 Showing the Blank in the Working SpaceApplicationThis MOD function enables you t
378 Test Run and Program Run14.3 Functions for Program Display14.3 Functions for Program DisplayOverviewIn the program run modes of operation as well
HEIDENHAIN TNC 320 37914.4 Test Run14.4 Test RunApplicationIn the Test Run mode of operation you can simulate programs and program sections to reduce
38 First Steps with the TNC 3201.3 Programming the First PartDefine a workpiece blankImmediately after you have created a new program, the TNC starts
380 Test Run and Program Run14.4 Test RunCaution: Danger of collision!The TNC cannot graphically simulate all traverse motions actually performed by
HEIDENHAIN TNC 320 38114.4 Test RunExecuting a test runIf the central tool file is active, a tool table must be active (status S) to conduct a test ru
382 Test Run and Program Run14.5 Program Run14.5 Program RunApplicationIn the Program Run, Full Sequence mode of operation the TNC executes a part pr
HEIDENHAIN TNC 320 38314.5 Program RunRunning a part programPreparation1 Clamp the workpiece to the machine table2 Set the datum3 Select the necessary
384 Test Run and Program Run14.5 Program RunInterrupting machiningThere are several ways to interrupt a program run: Programmed interruptions Press
HEIDENHAIN TNC 320 38514.5 Program RunMoving the machine axes during an interruptionYou can move the machine axes during an interruption in the same w
386 Test Run and Program Run14.5 Program RunResuming program run after an interruptionIf you interrupt a program run during execution of a subprogram
HEIDENHAIN TNC 320 38714.5 Program RunMid-program startup (block scan)With the RESTORE POS AT N feature (block scan) you can start a part program at a
388 Test Run and Program Run14.5 Program RunU Go to the first block of the current program to start a block scan: Enter GOTO "0"U To select
HEIDENHAIN TNC 320 38914.5 Program RunReturning to the contourWith the RESTORE POSITION function, the TNC returns to the workpiece contour in the foll
HEIDENHAIN TNC 320 391.3 Programming the First PartProgram layoutNC programs should be arranged consistently in a similar manner. This makes it easier
390 Test Run and Program Run14.6 Automatic Program Start14.6 Automatic Program StartApplicationIn a Program Run operating mode, you can use the AUTOS
HEIDENHAIN TNC 320 39114.7 Optional Block Skip14.7 Optional Block SkipApplicationIn a test run or program run, the control can skip over blocks that b
392 Test Run and Program Run14.8 Optional Program-Run Interruption14.8 Optional Program-Run InterruptionApplicationThe TNC optionally interrupts prog
MOD Functions
394 MOD Functions15.1 Selecting MOD Functions15.1 Selecting MOD FunctionsThe MOD functions provide additional input possibilities and displays. The a
HEIDENHAIN TNC 320 39515.1 Selecting MOD FunctionsOverview of MOD functionsThe functions available depend on the momentarily selected operating mode:P
396 MOD Functions15.2 Software Numbers15.2 Software NumbersApplicationThe following software numbers are displayed on the TNC screen after the MOD fu
HEIDENHAIN TNC 320 39715.3 Entering Code Numbers15.3 Entering Code NumbersApplicationThe TNC requires a code number for the following functions:Functi
398 MOD Functions15.4 Setting the Data Interfaces15.4 Setting the Data InterfacesSerial interfaces on the TNC 320The TNC 320 automatically uses the L
HEIDENHAIN TNC 320 39915.4 Setting the Data InterfacesSet the data bits (dataBits)By setting the data bits you define whether a character is transmitt
40 First Steps with the TNC 3201.3 Programming the First PartProgram a simple contourThe contour shown to the right is to be milled once to a depth o
400 MOD Functions15.4 Setting the Data InterfacesSettings for data transfer with the TNCserver PC softwareEnter the following settings in the user pa
HEIDENHAIN TNC 320 40115.4 Setting the Data InterfacesSoftware for data transferFor transfer of files to and from the TNC, we recommend using the HEID
402 MOD Functions15.4 Setting the Data InterfacesData transfer between the TNC and TNCremoNTCheck whether the TNC is connected to the correct serial
HEIDENHAIN TNC 320 40315.5 Ethernet Interface15.5 Ethernet Interface IntroductionThe TNC is shipped with a standard Ethernet card to connect the contr
404 MOD Functions15.5 Ethernet InterfaceUse the ping function to check whether a connection to a particular remote station in the network is availabl
HEIDENHAIN TNC 320 40515.5 Ethernet InterfaceConfiguring the control's network addressU Connect the TNC (port X26) with a network or a PCU In the
406 MOD Functions15.5 Ethernet InterfaceConfiguring network access to other devices (mount)U Connect the TNC (port X26) with a network or a PCU In th
HEIDENHAIN TNC 320 40715.5 Ethernet InterfaceSMB option Options that concern the SMB file system type: Options are given without space characters, sep
408 MOD Functions15.5 Ethernet InterfaceSettings on a PC with Windows 2000U To open Network Connections, click <Start>, <Control Panel>,
HEIDENHAIN TNC 320 40915.6 Position Display Types15.6 Position Display TypesApplicationIn the Manual Operation mode and in the Program Run modes of op
HEIDENHAIN TNC 320 411.3 Programming the First PartU Move the tool to workpiece depth: Press the orange axis key and enter the value for the position
410 MOD Functions15.7 Unit of Measurement15.7 Unit of MeasurementApplicationThis MOD function determines whether the coordinates are displayed in mil
HEIDENHAIN TNC 320 41115.8 Displaying Operating Times15.8 Displaying Operating TimesApplicationThe MACHINE TIME soft key enables you to see various ty
412 MOD Functions15.8 Displaying Operating Times
Tables and Overviews
414 Tables and Overviews16.1 Machine-Specific User Parameters16.1 Machine-Specific User ParametersApplicationThe parameter values are entered in the
HEIDENHAIN TNC 320 41516.1 Machine-Specific User ParametersCalling the configuration editorU Select the Programming mode of operationU Press the MOD k
416 Tables and Overviews16.1 Machine-Specific User ParametersDisplaying help textsThe HELP key enables you to call a help text for each parameter obj
HEIDENHAIN TNC 320 41716.1 Machine-Specific User ParametersDisplaySettingsDisplay step for the individual axesList of all available axesDisplay step f
418 Tables and Overviews16.1 Machine-Specific User ParametersDisplaySettingsSettings of the NC and PLC conversational languageNC conversational langu
HEIDENHAIN TNC 320 41916.1 Machine-Specific User ParametersProbeSettingsConfiguration of probing behaviorManual operation: Including basic rotationTRU
42 First Steps with the TNC 3201.3 Programming the First PartFurther information on this topic Complete example with NC blocks: See "Example: L
420 Tables and Overviews16.1 Machine-Specific User ParametersChannelSettingsCH_NCActive kinematics Kinematics to be activatedList of machine kinemati
HEIDENHAIN TNC 320 42116.1 Machine-Specific User ParametersGeometry filter for culling linear elementsType of stretch filter- Off: No filter active- S
422 Tables and Overviews16.2 Pin Layouts and Connecting Cables for the Data Interfaces16.2 Pin Layouts and Connecting Cables for the Data InterfacesR
HEIDENHAIN TNC 320 42316.2 Pin Layouts and Connecting Cables for the Data InterfacesNon-HEIDENHAIN devicesThe connector layout of a non-HEIDENHAIN dev
424 Tables and Overviews16.3 Technical Information16.3 Technical InformationExplanation of symbols StandardAxis optionSoftware option 1sUser funct
HEIDENHAIN TNC 320 42516.3 Technical InformationFixed cycles Cycles for drilling, and conventional and rigid tapping Roughing of rectangular and ci
426 Tables and Overviews16.3 Technical InformationDatum tables Multiple datum tables, for storing workpiece-related datumsTouch-probe cycles Touc
HEIDENHAIN TNC 320 42716.3 Technical InformationAccessoriesElectronic handwheels One HR 410 portable handwheel, or One HR 130 panel-mounted handwhe
428 Tables and Overviews16.3 Technical InformationInput format and unit of TNC functionsPositions, coordinates, circle radii, chamfer lengths–99 999.
HEIDENHAIN TNC 320 42916.4 Exchanging the Buffer Battery16.4 Exchanging the Buffer BatteryA buffer battery supplies the TNC with current to prevent th
HEIDENHAIN TNC 320 431.3 Programming the First PartCreate a cycle programThe holes (depth of 20 mm) shown in the figure at right are to be drilled wit
430 Tables and Overviews16.4 Exchanging the Buffer Battery
HEIDENHAIN TNC 320 431Overview TablesFixed cyclesCycle numberCycle designationDEF activeCALL active7 Datum shift 8 Mirror image 9Dwell time 10 Rot
432206 Tapping with a floating tap holder, new 207 Rigid tapping, new 208 Bore milling 209 Tapping with chip breaking 220 Circular point pattern
HEIDENHAIN TNC 320 433Miscellaneous functionsM Effect Effective at block... Start End PageM0 Program run STOP/Spindle STOP/Coolant OFF Page 271M1 Op
434M101M102Automatic tool change with replacement tool if maximum tool life has expired Reset M101Page 146M109M110M111Constant contouring speed at t
HEIDENHAIN TNC 320 435Comparison: Functions of the TNC 320 and the iTNC 530Comparison: SpecificationsComparison: Data interfacesFunction TNC 320 iTNC
436Comparison: AccessoriesComparison: PC softwareFunction TNC 320 iTNC 530Machine operating panel MB 420 MB 620 (HSCI) – X X XElectronic handwhe
HEIDENHAIN TNC 320 437Comparison: Machine-specific functionsFunction TNC 320 iTNC 530Switching the traverse range Function not available Available fun
438Comparison: User functionsFunction TNC 320 iTNC 530Program entry HEIDENHAIN conversational X X DIN/ISO X (soft keys) X (ASCII keys) With
HEIDENHAIN TNC 320 439Creating tool-usage file, checking the availability –XCutting-data tables: Automatic calculation of spindle speed and feed rate
44 First Steps with the TNC 3201.3 Programming the First PartExample NC blocksFurther information on this topic Creating a new program: See "Cr
440FK free contour programming Programming for workpiece drawings not dimensioned for NC programming X X Conversion of FK program to conversation
HEIDENHAIN TNC 320 441Graphic support 2-D programming graphics X X Synchronization between block display and graphics – X REDRAW function
442Programming aids: Help graphics for cycle programming X, can be switched off via config datum X Animated help graphics when PLANE/PATTERN DEF
HEIDENHAIN TNC 320 443Calling fixed cycles: With M99 or M89 X X With CYCL CALL X X With CYCL CALL PAT X X With CYC CALL POS – XSpe
444Comparison: CyclesCycle TNC 320 iTNC 5301, pecking X X2, tapping X X3, slot milling X X4, pocket milling X X5, circular pocket X X6, rough out (SL
HEIDENHAIN TNC 320 44527, contour surface Option #08 X, option #08 with MC 42028, cylinder surface Option #08 X, option #08 with MC 42029, cylinder su
446232, face milling X X240, centering X X241, single-lip deep-hole drilling X X247, datum setting X X251, rectangular pocket (complete) X X252, circu
HEIDENHAIN TNC 320 447Comparison: Miscellaneous functionsM Effect TNC 320 iTNC 530M00 Program run STOP/Spindle STOP/Coolant OFF X XM01 Optional progra
448M109M110M111Constant contouring speed at tool cutting edge(increase and decrease feed rate)Constant contouring speed at tool cutting edge (feed rat
HEIDENHAIN TNC 320 449M144M145Compensating the machine’s kinematics configuration for ACTUAL/NOMINAL positions at end of blockReset M144Option #08 X,
HEIDENHAIN TNC 320 451.4 Graphically Testing the First Part1.4 Graphically Testing the First PartSelect the correct operating modeYou can test program
450Comparison: Touch probe cycles in the Manual Operation and El. Handwheel modesCycle TNC 320 iTNC 530Touch-probe table for managing 3-D touch probes
HEIDENHAIN TNC 320 451Comparison: Touch probe cycles for automatic workpiece inspectionCycle TNC 320 iTNC 5300, reference plane X X1, polar datum X X2
452419, datum in one axis X X420, measure angle X X421, measuring a hole X X422, measuring a circle from outside X X423, measuring a rectangle from i
HEIDENHAIN TNC 320 453Comparison: Differences in programmingFunction TNC 320 iTNC 530Input of texts (comments, program names, structure items, network
454Calling the file manager while the CYCLE DEF and TOUCH PROBE menus are activeTerminates the editing process and calls the file manager. The respect
HEIDENHAIN TNC 320 455Handling of error messages: Help for error messages Call via ERR key Call via HELP key Help for error messages while a blo
456Comparison: Differences in Test Run, functionalityComparison: Differences in Test Run, operationProgramming OEM cycles Access to table data Via
HEIDENHAIN TNC 320 457Comparison: Differences in Manual Operation, functionalityFunction TNC 320 iTNC 5303-D ROT function: Manual deactivation of the
458Comparison: Differences in Manual Operation, operationHandling of preset table: Editing the preset table in the Programming mode of operation Pos
HEIDENHAIN TNC 320 459Comparison: Differences in Program Run, operationFunction TNC 320 iTNC 530Arrangement of soft-key rows and soft keys within the
46 First Steps with the TNC 3201.4 Graphically Testing the First PartChoose the program you want to testU Press the PGM MGT key: The TNC displays the
460Error messages Error messages (e.g. limit switch messages) are still active after the error has been corrected and must be acknowledged separatelyE
HEIDENHAIN TNC 320 461Comparison: Differences in Program Run, traverse movementsCaution: Check the traverse movements!NC programs that were created on
462Automatic cancelation of tool radius compensation Block with R0 DEP block END PGM Block with R0 DEP block PGM CALL Programming of Cycle 10 R
HEIDENHAIN TNC 320 463Tool radius compensation on circular arc or helix with angular length = 0The transition between the adjacent elements of the arc
464SLII Cycles 20 to 24: Number of definable contour elements Max. 16384 blocks in up to 12 subcontours Max. 8192 contour elements in up to 12 subc
HEIDENHAIN TNC 320 465SLII Cycles 20 to 24: Handling of coordinates and axis values outside the working plane Error message is issued Axes that ar
466Touch probe cycles for datum setting (manual and automatic cycles)Cycles can only be executed if the tilted working plane function is inactive, the
HEIDENHAIN TNC 320 467Comparison: Differences in MDI operationComparison: Differences in programming stationFunction TNC 320 iTNC 530Execution of conn
HEIDENHAIN TNC 320 469IndexSymbole3-D touch probesCalibratingTriggering ... 3443-D view ... 372AAccessories ... 70Actual position capture ... 83ASCII
HEIDENHAIN TNC 320 471.5 Tool Setup1.5 Tool SetupSelect the correct operating modeTools are set up in the Manual Operation mode: U Press the operating
470 IndexHHard disk ... 90Helical interpolation ... 180Helix ... 180Help files, downloading ... 128Help for error messages ... 118Help system ... 123
HEIDENHAIN TNC 320 471IndexQQ parameter programming ... 202, 245Additional functions ... 212Basic arithmetic (assign, add, subtract, multiply, divide,
472 Index
DIN/ISO Function Overview for TNC 320M functionsM00M01M02Program STOP/Spindle STOP/Coolant OFFOptional program STOP STOP program run/Spindle STOP/Cool
Blank form definition for graphicsG30G31(G17/G18/G19) min. point(G90/G91) max. pointCycles for drilling, tapping and thread millingG240G200G201G202G20
*) Non-modal functionDefine machining planeG17G18G19G20Working plane X/Y, tool axis ZWorking plane Z/X, tool axis YWorking plane Y/Z, tool axis XTool
Contour cyclesRadius compensation of the contour subprogramsCoordinate transformationQ-parameter definitionsSequence of Program Steps for Machining wi
DR. JOHANNES HEIDENHAIN GmbHDr.-Johannes-Heidenhain-Straße 583301 Traunreut, Germany{ +49 8669 31-0| +49 8669 5061E-mail: [email protected]
48 First Steps with the TNC 3201.5 Tool SetupThe pocket table TOOL_P.TCHIn the pocket table TOOL_P.TCH (permanently saved under TNC:\TABLE\) you spec
HEIDENHAIN TNC 320 491.6 Workpiece Setup1.6 Workpiece SetupSelect the correct operating modeWorkpieces are set up in the Manual Operation or Electroni
HEIDENHAIN TNC 320 5 About this ManualAbout this ManualThe symbols used in this manual are described below.Would you like any changes, or have you fou
50 First Steps with the TNC 3201.6 Workpiece SetupAlign the workpiece with a 3-D touch probe systemU Insert the 3-D touch probe: In the Manual Data I
HEIDENHAIN TNC 320 511.6 Workpiece SetupSet the datum with a 3-D touch probeU Insert the 3-D touch probe: In the MDI mode, run a TOOL CALL block conta
52 First Steps with the TNC 3201.7 Running the First Program1.7 Running the First ProgramSelect the correct operating modeYou can run programs either
Introduction
54 Introduction2.1 The TNC 3202.1 The TNC 320HEIDENHAIN TNC controls are workshop-oriented contouring controls that enable you to program conventiona
HEIDENHAIN TNC 320 552.2 Visual Display Unit and Keyboard2.2 Visual Display Unit and KeyboardVisual display unitThe TNC is shipped with a 15-inch TFT
56 Introduction2.2 Visual Display Unit and KeyboardSetting the screen layoutYou select the screen layout yourself: In the PROGRAMMING AND EDITING mod
HEIDENHAIN TNC 320 572.2 Visual Display Unit and KeyboardOperating panelThe TNC 320 is delivered with an integrated keyboard. The figure at right show
58 Introduction2.3 Operating Modes2.3 Operating ModesManual Operation and Electronic HandwheelThe Manual Operation mode is required for setting up th
HEIDENHAIN TNC 320 592.3 Operating ModesProgramming and EditingIn this mode of operation you can write your part programs. The FK free programming fea
6 TNC Model, Software and FeaturesTNC Model, Software and FeaturesThis manual describes functions and features provided by TNCs as of the following
60 Introduction2.3 Operating ModesProgram Run, Full Sequence and Program Run, Single BlockIn the Program Run, Full Sequence mode of operation the TNC
HEIDENHAIN TNC 320 612.4 Status Displays2.4 Status Displays"General" status displayThe general status display in the lower part of the scree
62 Introduction2.4 Status DisplaysInformation in the status displaySymbol MeaningActual or nominal coordinates of the current positionMachine axes; t
HEIDENHAIN TNC 320 632.4 Status DisplaysAdditional status displaysThe additional status displays contain detailed information on the program run. They
64 Introduction2.4 Status DisplaysOverviewAfter switch-on, the TNC displays the Overview status form, provided that you have selected the PROGRAM+STA
HEIDENHAIN TNC 320 652.4 Status DisplaysProgram section repeat/Subprograms (LBL tab)Information on standard cycles (CYC tab)Soft key MeaningNo direct
66 Introduction2.4 Status DisplaysActive miscellaneous functions M (M tab)Soft key MeaningNo direct selection possibleList of the active M functions
HEIDENHAIN TNC 320 672.4 Status DisplaysPositions and coordinates (POS tab)Information on tools (TOOL tab)Soft key MeaningType of position display, e.
68 Introduction2.4 Status DisplaysTool measurement (TT tab)Coordinate transformations (TRANS tab)For further information, refer to the User's Ma
HEIDENHAIN TNC 320 692.4 Status DisplaysDisplay Q parameters (QPARA tab)Soft key MeaningDisplay the current values of the defined Q parametersDisplay
HEIDENHAIN TNC 320 7 TNC Model, Software and FeaturesSoftware optionsThe TNC 320 features various software options that can be enabled by your machine
70 Introduction2.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels2.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Hand
HEIDENHAIN TNC 320 712.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic HandwheelsTT 140 tool touch probe for tool measurementThe TT 140 is a
72 Introduction2.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels
Programming: Fundamentals, File Management
74 Programming: Fundamentals, File Management3.1 Fundamentals3.1 FundamentalsPosition encoders and reference marksThe machine axes are equipped with
HEIDENHAIN TNC 320 753.1 FundamentalsReference system on milling machinesWhen using a milling machine, you orient tool movements to the Cartesian coor
76 Programming: Fundamentals, File Management3.1 FundamentalsPolar coordinatesIf the production drawing is dimensioned in Cartesian coordinates, you
HEIDENHAIN TNC 320 773.1 FundamentalsAbsolute and incremental workpiece positionsAbsolute workpiece positionsAbsolute coordinates are position coordin
78 Programming: Fundamentals, File Management3.1 FundamentalsSetting the datumA production drawing identifies a certain form element of the workpiece
HEIDENHAIN TNC 320 793.2 Creating and Writing Programs3.2 Creating and Writing ProgramsOrganization of an NC program in DIN/ISOA part program consists
8 TNC Model, Software and FeaturesIntended place of operationThe TNC complies with the limits for a Class A device in accordance with the specificat
80 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsCreating a new part programYou always enter a part program in the Progr
HEIDENHAIN TNC 320 813.2 Creating and Writing ProgramsExample: Display the BLK form in the NC programThe TNC automatically generates the first and las
82 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsProgramming tool movements in DIN/ISO formatPress the SPEC FCT key to p
HEIDENHAIN TNC 320 833.2 Creating and Writing ProgramsActual position captureThe TNC enables you to transfer the current tool position into the progra
84 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsEditing a programWhile you are creating or editing a part program, you
HEIDENHAIN TNC 320 853.2 Creating and Writing ProgramsInserting blocks at any desired locationU Select the block after which you want to insert a new
86 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsLooking for the same words in different blocksTo use this function, set
HEIDENHAIN TNC 320 873.2 Creating and Writing ProgramsMarking, copying, deleting and inserting program sectionsThe TNC provides certain functions for
88 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsThe TNC search functionWith the search function of the TNC, you can sea
HEIDENHAIN TNC 320 893.2 Creating and Writing ProgramsFind/Replace any textU If required, select the block containing the word you wish to findU Selec
HEIDENHAIN TNC 320 9 New Functions of Software 340 55x-04New Functions of Software 340 55x-04 The PLANE function for flexible definition of a tilted
90 Programming: Fundamentals, File Management3.3 File Management: Fundamentals3.3 File Management: FundamentalsFilesWhen you write a part program on
HEIDENHAIN TNC 320 913.3 File Management: FundamentalsFile namesWhen you store programs, tables and texts as files, the TNC adds an extension to the f
92 Programming: Fundamentals, File Management3.4 Working with the File Manager3.4 Working with the File ManagerDirectoriesTo ensure that you can easi
HEIDENHAIN TNC 320 933.4 Working with the File ManagerOverview: Functions of the file managerFunction Soft key PageCopy a file Page 98Display a specif
94 Programming: Fundamentals, File Management3.4 Working with the File ManagerCalling the file managerPress the PGM MGT key: The TNC displays the fil
HEIDENHAIN TNC 320 953.4 Working with the File ManagerSelecting drives, directories and filesCall the file managerUse the arrow keys or the soft keys
96 Programming: Fundamentals, File Management3.4 Working with the File ManagerStep 3: Select a filePress the SELECT TYPE soft keyPress the soft key f
HEIDENHAIN TNC 320 973.4 Working with the File ManagerCreating a new directoryMove the highlight in the left window to the directory in which you want
98 Programming: Fundamentals, File Management3.4 Working with the File ManagerCopying a single fileU Move the highlight to the file you wish to copyU
HEIDENHAIN TNC 320 993.4 Working with the File ManagerChoosing one of the last files selectedCall the file managerDisplay the last 10 files selected:
Commentaires sur ces manuels