User’s ManualHEIDENHAIN ConversationalTNC 640NC Software340 590-01340 591-01340 594-01English (en)4/2012
10 TNC Model, Software and Features
100 Programming: Fundamentals, File Management3.4 Working with the File Manager3.4 Working with the File ManagerDirectoriesTo ensure that you can eas
HEIDENHAIN TNC 640 1013.4 Working with the File ManagerOverview: Functions of the file managerFunction Soft key PageCopy a file Page 106Display a spec
102 Programming: Fundamentals, File Management3.4 Working with the File ManagerCalling the file managerPress the PGM MGT key: The TNC displays the fi
HEIDENHAIN TNC 640 1033.4 Working with the File ManagerSelecting drives, directories and filesCall the file managerUse the arrow keys or the soft keys
104 Programming: Fundamentals, File Management3.4 Working with the File ManagerStep 3: Select a filePress the SELECT TYPE soft keyPress the soft key
HEIDENHAIN TNC 640 1053.4 Working with the File ManagerCreating a new directoryMove the highlight in the left window to the directory in which you wan
106 Programming: Fundamentals, File Management3.4 Working with the File ManagerCopying a single fileU Move the highlight to the file you wish to copy
HEIDENHAIN TNC 640 1073.4 Working with the File ManagerCopying files into another directoryU Select a screen layout with two equally sized windowsU To
108 Programming: Fundamentals, File Management3.4 Working with the File ManagerCopying a tableImporting lines to a tableWhen copying a table to an ex
HEIDENHAIN TNC 640 1093.4 Working with the File ManagerChoosing one of the last files selectedCall the file managerDisplay the last 10 files selected:
HEIDENHAIN TNC 640 11ContentsFirst Steps with the TNC 6401Introduction2Programming: Fundamentals, File Management3Programming: Programming Aids4Progra
110 Programming: Fundamentals, File Management3.4 Working with the File ManagerDeleting a directoryU Move the highlight to the directory you want to
HEIDENHAIN TNC 640 1113.4 Working with the File ManagerMarking filesSome functions, such as copying or erasing files, can not only be used for individ
112 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 640 1133.4 Working with the File ManagerAdditional functionsProtecting a file / Canceling file protectionU Move the highlight to the fi
114 Programming: Fundamentals, File Management3.4 Working with the File ManagerAdditional tools for management of external file typesWith the additio
HEIDENHAIN TNC 640 1153.4 Working with the File ManagerDisplaying and editing Excel filesProceed as follows to open and edit Excel files with the exte
116 Programming: Fundamentals, File Management3.4 Working with the File ManagerWorking with ZIP archivesTo open ZIP archives with the extension zip d
HEIDENHAIN TNC 640 1173.4 Working with the File ManagerDisplaying or editing text filesTo open and edit text files (ASCII files, e.g. with the extensi
118 Programming: Fundamentals, File Management3.4 Working with the File ManagerDisplaying image filesTo open image files with the extension bmp, gif,
HEIDENHAIN TNC 640 1193.4 Working with the File ManagerData transfer to or from an external data mediumCall the file managerSelect the screen layout f
120 Programming: Fundamentals, File Management3.4 Working with the File ManagerIf you wish to copy from the external data medium to the TNC, move the
HEIDENHAIN TNC 640 1213.4 Working with the File ManagerThe TNC in a networkIf the TNC is connected to a network, the directory window displays additio
122 Programming: Fundamentals, File Management3.4 Working with the File ManagerUSB devices on the TNCBacking up data from or loading onto the TNC is
Programming: Programming Aids
124 Programming: Programming Aids4.1 Adding Comments4.1 Adding CommentsApplicationYou can add comments to a part program to explain program steps or
HEIDENHAIN TNC 640 1254.1 Adding CommentsFunctions for editing of the commentFunction Soft keyJump to beginning of commentJump to end of comment.Jump
126 Programming: Programming Aids4.2 Display of NC Programs4.2 Display of NC ProgramsSyntax highlightingThe TNC displays syntax elements with various
HEIDENHAIN TNC 640 1274.3 Structuring Programs4.3 Structuring ProgramsDefinition and applicationsThis TNC function enables you to comment part program
128 Programming: Programming Aids4.4 On-Line Calculator4.4 On-Line CalculatorOperationThe TNC features an integrated calculator with the basic mathem
HEIDENHAIN TNC 640 1294.4 On-Line CalculatorTransferring the calculated value into the programU Use the arrow keys to select the word into which the c
HEIDENHAIN TNC 640 131.1 Overview ... 361.2 Machine Switch-On ... 37Acknowledging the power interruption and moving to the reference points ...
130 Programming: Programming Aids4.5 Programming Graphics4.5 Programming GraphicsGenerating / not generating graphics during programmingWhile you are
HEIDENHAIN TNC 640 1314.5 Programming GraphicsBlock number display ON/OFFU Shift the soft-key row: see figureU To show block numbers: Set the SHOW OMI
132 Programming: Programming Aids4.6 Error Messages4.6 Error MessagesDisplay of errorsThe TNC generates error messages when it detects problems such
HEIDENHAIN TNC 640 1334.6 Error MessagesDetailed error messagesThe TNC displays possible causes of the error and suggestions for solving the problem:U
134 Programming: Programming Aids4.6 Error MessagesClearing errorsClearing errors outside of the error window:U To clear the error/message in the hea
HEIDENHAIN TNC 640 1354.6 Error MessagesKeystroke logThe TNC stores keystrokes and important events (e.g. system startup) in a keystroke log. The capa
136 Programming: Programming Aids4.6 Error MessagesInformational textsAfter a faulty operation, such as pressing a key without function or entering a
HEIDENHAIN TNC 640 1374.7 Context-Sensitive Help System4.7 Context-Sensitive Help SystemApplicationThe TNCguide context-sensitive help system includes
138 Programming: Programming Aids4.7 Context-Sensitive Help SystemWorking with the TNCguideCalling the TNCguideThere are several ways to start the TN
HEIDENHAIN TNC 640 1394.7 Context-Sensitive Help SystemNavigating in the TNCguideIt’s easiest to use the mouse to navigate in the TNCguide. A table of
142.1 The TNC 640 ... 58Programming: HEIDENHAIN conversational and ISO formats ... 58Compatibility ... 582.2 Visual Display Unit and Keyboard ..
140 Programming: Programming Aids4.7 Context-Sensitive Help SystemSelect the page last shownPage forward if you have used the "select page last
HEIDENHAIN TNC 640 1414.7 Context-Sensitive Help SystemSubject indexThe most important subjects in the Manual are listed in the subject index (Index t
142 Programming: Programming Aids4.7 Context-Sensitive Help SystemDownloading current help filesYou’ll find the help files for your TNC software on t
HEIDENHAIN TNC 640 1434.7 Context-Sensitive Help SystemChinese (traditional) TNC:\tncguide\zh-twSlovenian (software option) TNC:\tncguide\slNorwegian
144 Programming: Programming Aids4.7 Context-Sensitive Help System
Programming: Tools
146 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 640 1475.1 Entering Tool-Related DataSpindle speed SThe spindle speed S is entered in revolutions per minute (rpm) in a TOOL CALL block
148 Programming: Tools5.2 Tool Data5.2 Tool DataRequirements for tool compensationYou usually program the coordinates of path contours as they are di
HEIDENHAIN TNC 640 1495.2 Tool DataDelta values for lengths and radiiDelta values are offsets in the length and radius of a tool.A positive delta valu
HEIDENHAIN TNC 640 153.1 Fundamentals ... 80Position encoders and reference marks ... 80Reference system ... 80Reference system on milling machi
150 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 640 1515.2 Tool DataTIME1 Maximum tool life in minutes. This function can vary depending on the individual machine tool. Your machine m
152 Programming: Tools5.2 Tool DataTool table: Tool data required for automatic tool measurementFor a description of the cycles for automatic tool me
HEIDENHAIN TNC 640 1535.2 Tool DataEditing tool tablesThe tool table that is active during execution of the part program is designated TOOL.T and must
154 Programming: Tools5.2 Tool DataOpen any other tool tableU Select the Programming and Editing mode of operationU Call the file managerU Press the
HEIDENHAIN TNC 640 1555.2 Tool DataExiting the tool tableU Call the file manager and select a file of a different type, such as a part programTool tab
156 Programming: Tools5.2 Tool DataImporting tool tablesIf you export a tool table from an iTNC 530 and import it into a TNC 640, you have to adapt i
HEIDENHAIN TNC 640 1575.2 Tool DataPocket table for tool changerFor automatic tool changing you need the pocket table TOOL_P.TCH. The TNC can manage s
158 Programming: Tools5.2 Tool DataSelecting a pocket table in the Programming and Editing mode of operationU Call the file managerU Display the file
HEIDENHAIN TNC 640 1595.2 Tool DataEditing functions for pocket tables Soft keySelect beginning of tableSelect end of tableSelect previous page in tab
164.1 Adding Comments ... 124Application ... 124Entering comments during programming ... 124Inserting comments after program entry ... 124Ente
160 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 640 1615.2 Tool DataTool changeTool change positionThe tool change position must be approachable without collision. With the miscellane
162 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 640 1635.2 Tool DataDepending on the NC program, the machining time can increase as a result of the tool life verification and calculat
164 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 640 1655.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
166 Programming: Tools5.2 Tool DataTool management (software option)With the tool management, your machine tool builder can provide many functions wi
HEIDENHAIN TNC 640 1675.2 Tool DataIn the new view, the TNC presents all tool information in the following four tabs: Tools:Tool specific information
168 Programming: Tools5.2 Tool DataOperating the tool managementThe tool management can be operated by mouse or with the keys and soft keys:In additi
HEIDENHAIN TNC 640 1695.2 Tool DataIf the form view is active, the following functions are available to you:Editing functions, form view Soft keySelec
HEIDENHAIN TNC 640 175.1 Entering Tool-Related Data ... 146Feed rate F ... 146Spindle speed S ... 1475.2 Tool Data ... 148Requirements for too
170 Programming: Tools5.2 Tool DataImporting tool dataUsing this function you can simply import tool data that you have measured externally on a pres
HEIDENHAIN TNC 640 1715.2 Tool DataSample import file:Exporting tool dataUsing this function you can simply export tool data to read it into the tool
172 Programming: Tools5.2 Tool DataDeleting marked tool dataUsing this function you can simply delete tool data that you no longer need.Follow the st
HEIDENHAIN TNC 640 1735.3 Tool Compensation5.3 Tool CompensationIntroductionThe TNC adjusts the spindle path in the spindle axis by the compensation v
174 Programming: Tools5.3 Tool CompensationTool radius compensationThe NC block for programming a tool movement contains: RL or RR for radius compen
HEIDENHAIN TNC 640 1755.3 Tool CompensationContouring with radius compensation: RR and RLThe tool center moves along the contour at a distance equal t
176 Programming: Tools5.3 Tool CompensationRadius compensation: Machining corners Outside corners:If you program radius compensation, the TNC moves
Programming: Programming Contours
178 Programming: Programming Contours6.1 Tool Movements6.1 Tool MovementsPath functionsA workpiece contour is usually composed of several contour ele
HEIDENHAIN TNC 640 1796.2 Fundamentals of Path Functions6.2 Fundamentals of Path FunctionsProgramming tool movements for workpiece machiningYou create
186.1 Tool Movements ... 178Path functions ... 178FK free contour programming ... 178Miscellaneous functions M ... 178Subprograms and program
180 Programming: Programming Contours6.2 Fundamentals of Path FunctionsCircles and circular arcsThe TNC moves two axes simultaneously on a circular p
HEIDENHAIN TNC 640 1816.2 Fundamentals of Path FunctionsDirection of rotation DR for circular movementsWhen a circular path has no tangential transiti
182 Programming: Programming Contours6.2 Fundamentals of Path FunctionsCreating the program blocks with the path function keys The gray path function
HEIDENHAIN TNC 640 1836.3 Contour Approach and Departure6.3 Contour Approach and DepartureOverview: Types of paths for contour approach and departureT
184 Programming: Programming Contours6.3 Contour Approach and DepartureImportant positions for approach and departure Starting point PSYou program t
HEIDENHAIN TNC 640 1856.3 Contour Approach and DeparturePolar coordinatesYou can also program the contour points for the following approach/departure
186 Programming: Programming Contours6.3 Contour Approach and DepartureApproaching on a straight line with tangential connection: APPR LTThe tool mov
HEIDENHAIN TNC 640 1876.3 Contour Approach and DepartureApproaching on a circular path with tangential connection: APPR CTThe tool moves on a straight
188 Programming: Programming Contours6.3 Contour Approach and DepartureApproaching on a circular arc with tangential connection from a straight line
HEIDENHAIN TNC 640 1896.3 Contour Approach and DepartureDeparting on a straight line with tangential connection: DEP LTThe tool moves on a straight li
HEIDENHAIN TNC 640 196.6 Path Contours—FK Free Contour Programming ... 212Fundamentals ... 212Graphics during FK programming ... 214Initiating t
190 Programming: Programming Contours6.3 Contour Approach and DepartureDeparting on a circular path with tangential connection: DEP CTThe tool moves
HEIDENHAIN TNC 640 1916.4 Path Contours—Cartesian Coordinates6.4 Path Contours—Cartesian CoordinatesOverview of path functionsFunction Path function k
192 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesStraight line L The TNC moves the tool in a straight line from its curren
HEIDENHAIN TNC 640 1936.4 Path Contours—Cartesian CoordinatesInserting a chamfer between two straight linesThe chamfer enables you to cut off corners
194 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCorner rounding RNDThe RND function is used for rounding off corners.The
HEIDENHAIN TNC 640 1956.4 Path Contours—Cartesian CoordinatesCircle center CCIYou can define a circle center for circles that you have programmed with
196 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCircular path C around circle center CCBefore programming a circular arc,
HEIDENHAIN TNC 640 1976.4 Path Contours—Cartesian CoordinatesCircular path CR with defined radiusThe tool moves on a circular path with the radius R.U
198 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesCentral angle CCA and arc radius RThe starting and end points on the cont
HEIDENHAIN TNC 640 1996.4 Path Contours—Cartesian CoordinatesCircular path CT with tangential connectionThe tool moves on an arc that starts tangentia
Controls of the TNCKeys on visual display unitAlphanumeric keyboardMachine operating modesProgramming modesProgram/file management, TNC functionsNavig
207.1 Labeling Subprograms and Program Section Repeats ... 232Labels ... 2327.2 Subprograms ... 233Operating sequence ... 233Programming notes
200 Programming: Programming Contours6.4 Path Contours—Cartesian CoordinatesExample: Linear movements and chamfers with Cartesian coordinates0 BEGIN
HEIDENHAIN TNC 640 2016.4 Path Contours—Cartesian CoordinatesExample: Circular movements with Cartesian coordinates0 BEGIN PGM CIRCULAR MM1 BLK FORM 0
202 Programming: Programming Contours6.4 Path Contours—Cartesian Coordinates15LX+5Move to last contour point 116 DEP LCT X-20 Y-20 R5 F1000Depart the
HEIDENHAIN TNC 640 2036.4 Path Contours—Cartesian CoordinatesExample: Full circle with Cartesian coordinates0 BEGIN PGM C-CC MM1 BLK FORM 0.1 Z X+0 Y+
204 Programming: Programming Contours6.5 Path Contours—Polar Coordinates6.5 Path Contours—Polar CoordinatesOverviewWith polar coordinates you can def
HEIDENHAIN TNC 640 2056.5 Path Contours—Polar CoordinatesZero point for polar coordinates: pole CCYou can define the pole CC anywhere in the part prog
206 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesCircular path CP around pole CCThe polar coordinate radius PR is also the rad
HEIDENHAIN TNC 640 2076.5 Path Contours—Polar CoordinatesCircular path CTP with tangential connectionThe tool moves on a circular path, starting tange
208 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesHelical interpolationA helix is a combination of a circular movement in a mai
HEIDENHAIN TNC 640 2096.5 Path Contours—Polar CoordinatesProgramming a helixU Polar coordinates angle: Enter the total angle of tool traverse along th
HEIDENHAIN TNC 640 218.1 Principle and Overview ... 248Programming notes ... 249Calling Q-parameter functions ... 2508.2 Part Families—Q Paramet
210 Programming: Programming Contours6.5 Path Contours—Polar CoordinatesExample: Linear movement with polar coordinates0 BEGIN PGM LINEARPO MM1 BLK F
HEIDENHAIN TNC 640 2116.5 Path Contours—Polar CoordinatesExample: Helix0 BEGIN PGM HELIX MM1 BLK FORM 0.1 Z X+0 Y+0 Z-20Definition of workpiece blank2
212 Programming: Programming Contours6.6 Path Contours—FK Free Contour Programming6.6 Path Contours—FK Free Contour ProgrammingFundamentalsWorkpiece
HEIDENHAIN TNC 640 2136.6 Path Contours—FK Free Contour ProgrammingThe following prerequisites for FK programming must be observed:The FK free contour
214 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingGraphics during FK programmingIncomplete coordinate data often is n
HEIDENHAIN TNC 640 2156.6 Path Contours—FK Free Contour ProgrammingInitiating the FK dialogIf you press the gray FK button, the TNC displays the soft
216 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingPole for FK programmingU To display the soft keys for free contour
HEIDENHAIN TNC 640 2176.6 Path Contours—FK Free Contour ProgrammingFree programming of circular arcsCircular arc without tangential connectionU To dis
218 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingInput possibilitiesEnd point coordinatesExample NC blocksXY20301020
HEIDENHAIN TNC 640 2196.6 Path Contours—FK Free Contour ProgrammingDirection and length of contour elementsExample NC blocksXYLENAN0°IANXY2535°12.545°
228.10 Entering Formulas Directly ... 295Entering formulas ... 295Rules for formulas ... 297Programming example ... 2988.11 String Parameters
220 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingCircle center CC, radius and direction of rotation in the FC/FCT bl
HEIDENHAIN TNC 640 2216.6 Path Contours—FK Free Contour ProgrammingClosed contoursYou can identify the beginning and end of a closed contour with the
222 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingAuxiliary pointsFor both free-programmed straight lines and free-pr
HEIDENHAIN TNC 640 2236.6 Path Contours—FK Free Contour ProgrammingRelative dataData whose values are based on another contour element are called rela
224 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingData relative to block N: Direction and distance of the contour ele
HEIDENHAIN TNC 640 2256.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 10 BEGIN PGM FK1 MM1 BLK FORM 0.1 Z X+0 Y+0 Z-20Definition
226 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 20 BEGIN PGM FK2 MM1 BLK FORM 0.1 Z X+0 Y+0
HEIDENHAIN TNC 640 2276.6 Path Contours—FK Free Contour Programming8 APPR LCT X+0 Y+30 R5 RR F350Approach the contour on a circular arc with tangentia
228 Programming: Programming Contours6.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 30 BEGIN PGM FK3 MM1 BLK FORM 0.1 Z X-45 Y-
HEIDENHAIN TNC 640 2296.6 Path Contours—FK Free Contour Programming7 APPR CT X-40 Y+0 CCA90 R+5 RL F250Approach the contour on a circular arc with tan
HEIDENHAIN TNC 640 239.1 Entering Miscellaneous Functions M and STOP ... 326Fundamentals ... 3269.2 Miscellaneous Functions for Program Run Contro
230 Programming: Programming Contours6.6 Path Contours—FK Free Contour Programming
HEIDENHAIN TNC 640 231Programming: Subprograms and Program Section Repeats
232 Programming: Subprograms and Program Section Repeats7.1 Labeling Subprograms and Program Section Repeats7.1 Labeling Subprograms and Program Sect
HEIDENHAIN TNC 640 2337.2 Subprograms7.2 SubprogramsOperating sequence1 The TNC executes the part program up to the block in which a subprogram is cal
234 Programming: Subprograms and Program Section Repeats7.3 Program Section Repeats7.3 Program Section RepeatsLabel LBLThe beginning of a program sec
HEIDENHAIN TNC 640 2357.4 Separate Program as Subprogram7.4 Separate Program as SubprogramOperating sequence1 The TNC executes the part program up to
236 Programming: Subprograms and Program Section Repeats7.4 Separate Program as SubprogramCalling any program as a subprogramU Select the functions f
HEIDENHAIN TNC 640 2377.5 Nesting7. 5 N e s t i n gTypes of nesting Subprograms within a subprogram Program section repeats within a program section
238 Programming: Subprograms and Program Section Repeats7.5 NestingSubprogram within a subprogramExample NC blocksProgram execution1 Main program SUB
HEIDENHAIN TNC 640 2397.5 NestingRepeating program section repeatsExample NC blocksProgram execution1 Main program REPS is executed up to block 272 Pr
2410.1 Overview of Special Functions ... 344Main menu for SPEC FCT special functions ... 344Program defaults menu ... 345Functions for contour a
240 Programming: Subprograms and Program Section Repeats7.5 NestingRepeating a subprogramExample NC blocksProgram execution1 Main program SUBPGREP is
HEIDENHAIN TNC 640 2417.6 Programming Examples7.6 Programming ExamplesExample: Milling a contour in several infeedsProgram sequence Pre-position the
242 Programming: Subprograms and Program Section Repeats7.6 Programming Examples7 LBL 1Set label for program section repeat8 L IZ-4 R0 FMAXInfeed dep
HEIDENHAIN TNC 640 2437.6 Programming ExamplesExample: Groups of holesProgram sequence Approach the groups of holes in the main program Call the gro
244 Programming: Subprograms and Program Section Repeats7.6 Programming Examples6 L X+15 Y+10 R0 FMAX M3Move to starting point for group 17 CALL LBL
HEIDENHAIN TNC 640 2457.6 Programming ExamplesExample: Group of holes with several toolsProgram sequence Program the fixed cycles in the main program
246 Programming: Subprograms and Program Section Repeats7.6 Programming Examples7 L Z+250 R0 FMAX M6Tool change8 TOOL CALL 2 Z S4000Call tool: drill9
Programming: Q Parameters
248 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 640 2498.1 Principle and OverviewQS parameters (the S stands for string) are also available on the TNC and enable you to process texts.
HEIDENHAIN TNC 640 2511.1 Functions for Multiple Axis Machining ... 36211.2 The PLANE Function: Tilting the Working Plane (Software Option 1) ...
250 Programming: Q Parameters8.1 Principle and OverviewCalling Q-parameter functionsWhen you are writing a part program, press the "Q" key
HEIDENHAIN TNC 640 2518.2 Part Families—Q Parameters in Place of Numerical Values8.2 Part Families—Q Parameters in Place of Numerical ValuesApplicatio
252 Programming: Q Parameters8.3 Describing Contours through Mathematical Operations8.3 Describing Contours through Mathematical OperationsApplicatio
HEIDENHAIN TNC 640 2538.3 Describing Contours through Mathematical OperationsProgramming fundamental operationsExample:Call the Q parameter functions
254 Programming: Q Parameters8.4 Trigonometric Functions8.4 Trigonometric FunctionsDefinitionsSine, cosine and tangent are terms designating the rati
HEIDENHAIN TNC 640 2558.4 Trigonometric FunctionsProgramming trigonometric functionsPress the ANGLE FUNCTION soft key to call the trigonometric functi
256 Programming: Q Parameters8.5 Circle Calculations8.5 Circle CalculationsApplicationThe TNC can use the functions for calculating circles to calcul
HEIDENHAIN TNC 640 2578.6 If-Then Decisions with Q Parameters8.6 If-Then Decisions with Q ParametersApplicationThe TNC can make logical If-Then decisi
258 Programming: Q Parameters8.6 If-Then Decisions with Q ParametersAbbreviations used:IF :IfEQU :EqualNE : Not equalGT : Greater thanLT : Less thanG
HEIDENHAIN TNC 640 2598.7 Checking and Changing Q Parameters8.7 Checking and Changing Q ParametersProcedureYou can check Q parameters in all operating
2612.1 Pallet Editor ... 408Application ... 408Selecting a pallet table ... 410Exiting the pallet file ... 410Executing the pallet file ...
260 Programming: Q Parameters8.7 Checking and Changing Q ParametersYou can have the Q parameters be shown in the additional status display in the Man
HEIDENHAIN TNC 640 2618.8 Additional Functions8.8 Additional FunctionsOverviewPress the DIVERSE FUNCTION soft key to call the additional functions. Th
262 Programming: Q Parameters8.8 Additional FunctionsFN 14: ERROR: Displaying error messagesWith the function FN 14: ERROR you can call messages unde
HEIDENHAIN TNC 640 2638.8 Additional Functions1017 CYCL incomplete1018 Plane wrongly defined1019 Wrong axis programmed1020 Wrong rpm1021 Radius comp.
264 Programming: Q Parameters8.8 Additional Functions1042 Traverse direction not defined1043 No datum table active1044 Position error: center in axis
HEIDENHAIN TNC 640 2658.8 Additional Functions1071 Missing calibration data1072 Tolerance exceeded1073 Block scan active1074 ORIENTATION not permitted
266 Programming: Q Parameters8.8 Additional Functions1100 Kinematic access not possible1101 Meas. pos. not in traverse range1102 Preset compensation
HEIDENHAIN TNC 640 2678.8 Additional FunctionsFN 16: F-PRINT: Formatted output of text and Q-parameter valuesThe function FN 16: F-PRINT transfers Q p
268 Programming: Q Parameters8.8 Additional FunctionsThe following functions allow you to include the following additional information in the protoco
HEIDENHAIN TNC 640 2698.8 Additional FunctionsIn the part program, program FN 16: F-PRINT to activate the output:The TNC then creates the file PROT1.T
HEIDENHAIN TNC 640 2713.1 Turning Operations on Milling Machines (Software Option 50) ... 414Introduction ... 41413.2 Basis Functions (Software Op
270 Programming: Q Parameters8.8 Additional FunctionsDisplaying messages on the TNC screenYou can also use the function FN 16 to display any messages
HEIDENHAIN TNC 640 2718.8 Additional FunctionsFN 18: SYS-DATUM READWith the FN 18: SYS-DATUM READ function you can read system data and store them in
272 Programming: Q Parameters8.8 Additional FunctionsCycle parameter, 30 1 - Setup clearance of active fixed cycle2 - Drilling depth / milling depth
HEIDENHAIN TNC 640 2738.8 Additional Functions9 Tool no. Maximum tool age TIME110 Tool no. Maximum tool age TIME211 Tool no. Current tool age CUR. TIM
274 Programming: Q Parameters8.8 Additional FunctionsValues programmed immediately after TOOL CALL, 601 - Tool number T2 - Active tool axis 0 = X 6 =
HEIDENHAIN TNC 640 2758.8 Additional FunctionsActive transformations, 210 1 - Basic rotation in MANUAL OPERATION mode2 - Programmed rotation with Cycl
276 Programming: Q Parameters8.8 Additional Functions7 U axis8 V axis9 W axisTraverse range, 230 2 1 to 9 Negative software limit switch in axes 1 to
HEIDENHAIN TNC 640 2778.8 Additional FunctionsTS triggering touch probe, 350 50 1 Touch probe type2 Line in the touch-probe table51 - Effective length
278 Programming: Q Parameters8.8 Additional FunctionsReference point from touch probe cycle, 36011 to 9(X, Y, Z, A, B, C, U, V, W)Last reference poin
HEIDENHAIN TNC 640 2798.8 Additional Functions10 - Maximum tool age TIME211 - Current tool age CUR. TIME12 - PLC status13 - Maximum tooth length LCUTS
2814.1 Switch-On, Switch-Off ... 438Switch-on ... 438Switch-off ... 44014.2 Moving the Machine Axes ... 441Note ... 441Moving the axis using
280 Programming: Q Parameters8.8 Additional FunctionsExample: Assign the value of the active scaling factor for the Z axis to Q25FN 19: PLC: Transfer
HEIDENHAIN TNC 640 2818.8 Additional FunctionsThe TNC 640 uses an extended interface for communication between the PLC and NC. This is a new, symbolic
282 Programming: Q Parameters8.8 Additional FunctionsFN 29: PLC: Transfer values to the PLCThe FN 29: PLC function transfers up to eight numerical va
HEIDENHAIN TNC 640 2838.8 Additional FunctionsFN37: EXPORTYou need the FN37: EXPORT function if you want to create your own cycles and integrate them
284 Programming: Q Parameters8.9 Accessing Tables with SQL Commands8.9 Accessing Tables with SQL CommandsIntroductionAccessing of tables is programme
HEIDENHAIN TNC 640 2858.9 Accessing Tables with SQL CommandsA TransactionIn principle, a transaction consists of the following actions: Address the t
286 Programming: Q Parameters8.9 Accessing Tables with SQL CommandsResult setThe selected rows are numbered in ascending order within the result set,
HEIDENHAIN TNC 640 2878.9 Accessing Tables with SQL CommandsProgramming SQL commandsProgram SQL commands in the Programming mode:U Call the SQL functi
288 Programming: Q Parameters8.9 Accessing Tables with SQL CommandsSQL BINDSQL BIND binds a Q parameter to a table column. The SQL commands "Fet
HEIDENHAIN TNC 640 2898.9 Accessing Tables with SQL CommandsSQL SELECTSQL SELECT selects table rows and transfers them to the result set. The SQL serv
HEIDENHAIN TNC 640 2914.8 Datum Setting with a 3-D Touch Probe ... 463Overview ... 463Datum setting in any axis ... 463Corner as datum ... 46
290 Programming: Q Parameters8.9 Accessing Tables with SQL CommandsU Parameter no. for result: Q parameter for the handle. The SQL server returns the
HEIDENHAIN TNC 640 2918.9 Accessing Tables with SQL CommandsCondition ProgrammingEqual to ===Not equal to !=<>Less than <Less than or equal t
292 Programming: Q Parameters8.9 Accessing Tables with SQL CommandsSQL FETCHSQL FETCH reads the row addressed with INDEX from the result set, and pla
HEIDENHAIN TNC 640 2938.9 Accessing Tables with SQL CommandsSQL UPDATESQL UPDATE transfers the data prepared in the Q parameters into the row of the r
294 Programming: Q Parameters8.9 Accessing Tables with SQL CommandsSQL COMMITSQL COMMIT transfers all rows in the result set back to the table. A loc
HEIDENHAIN TNC 640 2958.10 Entering Formulas Directly8.10 Entering Formulas DirectlyEntering formulasYou can enter mathematical formulas that include
296 Programming: Q Parameters8.10 Entering Formulas DirectlyArc tangentInverse of the tangent. Determines the angle from the ratio of the opposite si
HEIDENHAIN TNC 640 2978.10 Entering Formulas DirectlyRules for formulasMathematical formulas are programmed according to the following rules:Higher-le
298 Programming: Q Parameters8.10 Entering Formulas DirectlyProgramming exampleCalculate an angle with the arc tangent from the opposite side (Q12) a
HEIDENHAIN TNC 640 2998.11 String Parameters8.11 String ParametersString processing functionsYou can use the QS parameters to create variable characte
Tool functionsProgramming path movementsSpecial functionsCoordinate axes and numbers: Entering and editingKey FunctionDefine tool data in the programC
3015.1 Programming and Executing Simple Machining Operations ... 478Positioning with Manual Data Input (MDI) ... 478Protecting and erasing program
300 Programming: Q Parameters8.11 String ParametersAssigning string parametersYou have to assign a string variable before you use it. Use the DECLARE
HEIDENHAIN TNC 640 3018.11 String ParametersChain-linking string parametersWith the concatenation operator (string parameter || string parameter) you
302 Programming: Q Parameters8.11 String ParametersConverting a numerical value to a string parameter With the TOCHAR function, the TNC converts a nu
HEIDENHAIN TNC 640 3038.11 String ParametersCopying a substring from a string parameter The SUBSTR function copies a definable range from a string par
304 Programming: Q Parameters8.11 String ParametersConverting a string parameter to a numerical value The TONUMB function converts a string parameter
HEIDENHAIN TNC 640 3058.11 String ParametersChecking a string parameter The INSTR function checks whether a string parameter is contained in another s
306 Programming: Q Parameters8.11 String ParametersFinding the length of a string parameterThe STRLEN function returns the length of the text saved i
HEIDENHAIN TNC 640 3078.11 String ParametersComparing alphabetic priorityThe STRCOMP function compares string parameters for alphabetic priority.U Sel
308 Programming: Q Parameters8.11 String ParametersReading machine parametersUse the CFGREAD function to read out TNC machine parameters as numerical
HEIDENHAIN TNC 640 3098.11 String ParametersReading a string of a machine parameterIn order to store the content of a machine parameter as a string in
HEIDENHAIN TNC 640 3116.1 Graphics ... 484Application ... 484Setting the speed of the test run ... 485Overview of display modes ... 486Plan vi
310 Programming: Q Parameters8.11 String ParametersReading a numerical value of a machine parameterIn order to store the value of a machine parameter
HEIDENHAIN TNC 640 3118.12 Preassigned Q Parameters8.12 Preassigned Q ParametersThe Q parameters Q100 to Q199 are assigned values by the TNC. The fol
312 Programming: Q Parameters8.12 Preassigned Q ParametersTool axis: Q109The value of Q109 depends on the current tool axis:Spindle status: Q110The v
HEIDENHAIN TNC 640 3138.12 Preassigned Q ParametersUnit of measurement for dimensions in the program: Q113During nesting with PGM CALL, the value of t
314 Programming: Q Parameters8.12 Preassigned Q ParametersDeviation between actual value and nominal value during automatic tool measurement with the
HEIDENHAIN TNC 640 3158.12 Preassigned Q ParametersMeasurement results from touch probe cycles (see also User’s Manual for Touch Probe Cycles)Measured
316 Programming: Q Parameters8.12 Preassigned Q ParametersWorkpiece status Parameter valueGood Q180Rework Q181Scrap Q182Tool measurement with the BLU
HEIDENHAIN TNC 640 3178.13 Programming Examples8.13 Programming ExamplesExample: EllipseProgram sequence The contour of the ellipse is approximated b
318 Programming: Q Parameters8.13 Programming Examples18 L Z+100 R0 FMAX M2Retract in the tool axis, end program19 LBL 10Subprogram 10: Machining ope
HEIDENHAIN TNC 640 3198.13 Programming ExamplesExample: Concave cylinder machined with spherical cutterProgram sequence This program functions only w
3217.1 Selecting MOD Functions ... 512Selecting the MOD functions ... 512Changing the settings ... 512Exiting the MOD functions ... 512Overvie
320 Programming: Q Parameters8.13 Programming Examples20 L Z+100 R0 FMAX M2Retract in the tool axis, end program21 LBL 10Subprogram 10: Machining ope
HEIDENHAIN TNC 640 3218.13 Programming ExamplesExample: Convex sphere machined with end millProgram sequence This program requires an end mill. The
322 Programming: Q Parameters8.13 Programming Examples17 CALL LBL 10Call machining operation18 FN 0: Q10 = +0Reset allowance19 FN 0: Q18 = +5Angle in
HEIDENHAIN TNC 640 3238.13 Programming Examples39 LBL 240 LP PR+Q6 PA+Q24 FQ12Move upward in an approximated "arc"41 FN 2: Q24 = +Q24 - +Q14
324 Programming: Q Parameters8.13 Programming Examples
Programming: Miscellaneous Functions
326 Programming: Miscellaneous Functions9.1 Entering Miscellaneous Functions M and STOP9.1 Entering Miscellaneous Functions M and STOPFundamentalsWit
HEIDENHAIN TNC 640 3279.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant9.2 Miscellaneous Functions for Program Run Control, Spi
328 Programming: Miscellaneous Functions9.3 Miscellaneous Functions for Coordinate Data9.3 Miscellaneous Functions for Coordinate DataProgramming mac
HEIDENHAIN TNC 640 3299.3 Miscellaneous Functions for Coordinate DataBehavior with M92—Additional machine datumIf you want the coordinates in a positi
HEIDENHAIN TNC 640 3318.1 Machine-Specific User Parameters ... 532Application ... 53218.2 Pin Layouts and Connecting Cables for the Data Interface
330 Programming: Miscellaneous Functions9.3 Miscellaneous Functions for Coordinate DataMoving to positions in a non-tilted coordinate system with a t
HEIDENHAIN TNC 640 3319.4 Miscellaneous Functions for Contouring Behavior9.4 Miscellaneous Functions for Contouring BehaviorMachining small contour st
332 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorEffectM97 is effective only in the blocks in which it is p
HEIDENHAIN TNC 640 3339.4 Miscellaneous Functions for Contouring BehaviorMachining open contour corners: M98Standard behaviorThe TNC calculates the in
334 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorFeed rate factor for plunging movements: M103Standard beha
HEIDENHAIN TNC 640 3359.4 Miscellaneous Functions for Contouring BehaviorFeed rate in millimeters per spindle revolution: M136Standard behaviorThe TNC
336 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorFeed rate for circular arcs: M109/M110/M111Standard behavi
HEIDENHAIN TNC 640 3379.4 Miscellaneous Functions for Contouring BehaviorCalculating the radius-compensated path in advance (LOOK AHEAD): M120Standard
338 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorEffectM120 must be located in an NC block that also contai
HEIDENHAIN TNC 640 3399.4 Miscellaneous Functions for Contouring BehaviorSuperimposing handwheel positioning during program run: M118Standard behavior
34
340 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorRetraction from the contour in the tool-axis direction: M1
HEIDENHAIN TNC 640 3419.4 Miscellaneous Functions for Contouring BehaviorSuppressing touch probe monitoring: M141Standard behaviorWhen the stylus is d
342 Programming: Miscellaneous Functions9.4 Miscellaneous Functions for Contouring BehaviorAutomatically retract tool from the contour at an NC stop:
Programming: Special Functions
344 Programming: Special Functions10.1 Overview of Special Functions10.1 Overview of Special FunctionsPress the SPEC FCT and the corresponding soft k
HEIDENHAIN TNC 640 34510.1 Overview of Special FunctionsProgram defaults menuU Select the program defaults menuFunctions for contour and point machini
346 Programming: Special Functions10.1 Overview of Special FunctionsMenu of various conversational functionsU Select the menu for defining various co
HEIDENHAIN TNC 640 34710.2 Working with the Parallel Axes U, V and W10.2 Working with the Parallel Axes U, V and WOverviewThe axes U, V and W are seco
348 Programming: Special Functions10.2 Working with the Parallel Axes U, V and WFUNCTION PARAXCOMP DISPLAYUse the PARAXCOMP DISPLAY function to activ
HEIDENHAIN TNC 640 34910.2 Working with the Parallel Axes U, V and WFUNCTION PARAXCOMP MOVEThe TNC uses the PARAXCOMP MOVE function to compensate for
First Steps with the TNC 640
350 Programming: Special Functions10.2 Working with the Parallel Axes U, V and WFUNCTION PARAXCOMP OFFUse the PARAXCOMP OFF function to switch off th
HEIDENHAIN TNC 640 35110.2 Working with the Parallel Axes U, V and WFUNCTION PARAXMODEUse the PARAXMODE function to define the axes the TNC is to use
352 Programming: Special Functions10.2 Working with the Parallel Axes U, V and WFUNCTION PARAXMODE OFFUse the PARAXCOMP OFF function to switch off th
HEIDENHAIN TNC 640 35310.3 File Functions10.3 File FunctionsApplicationThe FILE FUNCTION features are used to copy, move and delete files from within
354 Programming: Special Functions10.4 Defining Coordinate Transformations10.4 Defining Coordinate TransformationsOverviewAs an alternative to the co
HEIDENHAIN TNC 640 35510.4 Defining Coordinate TransformationsTRANS DATUM TABLEYou can define a datum shift by selecting a datum number from a datum t
356 Programming: Special Functions10.5 Creating Text Files10.5 Creating Text FilesApplicationYou can use the TNC’s text editor to write and edit text
HEIDENHAIN TNC 640 35710.5 Creating Text FilesEditing textsAbove the first line of the text editor, there is an information field showing the file nam
358 Programming: Special Functions10.5 Creating Text FilesDeleting and re-inserting characters, words and linesWith the text editor, you can erase wo
HEIDENHAIN TNC 640 35910.5 Creating Text FilesEditing text blocksYou can copy and erase text blocks of any size, and insert them at other locations. B
36 First Steps with the TNC 6401.1 Overview1.1 OverviewThis chapter is intended to help TNC beginners quickly learn to handle the most important proc
360 Programming: Special Functions10.5 Creating Text FilesFinding text sectionsWith the text editor, you can search for words or character strings in
Programming: Multiple Axis Machining
362 Programming: Multiple Axis Machining11.1 Functions for Multiple Axis Machining11.1 Functions for Multiple Axis MachiningThe TNC functions for mul
HEIDENHAIN TNC 640 36311.2 The PLANE Function: Tilting the Working Plane (Software Option 1)11.2 The PLANE Function: Tilting the Working Plane (Softwa
364 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)The parameter definition of the PLANE f
HEIDENHAIN TNC 640 36511.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Define the PLANE functionU Show the soft-key row with spec
366 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Reset the PLANE functionU Show the soft
HEIDENHAIN TNC 640 36711.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with spatial angles: PLANE SP
368 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Spatial angle A?: Rot
HEIDENHAIN TNC 640 36911.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with projection angles: PROJE
HEIDENHAIN TNC 640 371.2 Machine Switch-On1.2 Machine Switch-OnAcknowledging the power interruption and moving to the reference pointsU Switch on the
370 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Proj. angle 1st coord
HEIDENHAIN TNC 640 37111.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with Euler angles: EULER PLAN
372 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Rot. angle main coord
HEIDENHAIN TNC 640 37311.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the working plane with two vectors: VECTOR PLANEA
374 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU X component of base v
HEIDENHAIN TNC 640 37511.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the working plane via three points: PLANE POINTSA
376 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU X coordinate of 1st p
HEIDENHAIN TNC 640 37711.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Defining the machining plane with a single, incremental sp
378 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Tilting the working plane through axis
HEIDENHAIN TNC 640 37911.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Input parametersU Axis angle A?: Axis angle to which the A
38 First Steps with the TNC 6401.3 Programming the First Part1.3 Programming the First PartSelecting the correct operating modeYou can write programs
380 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Specifying the positioning behavior of
HEIDENHAIN TNC 640 38111.2 The PLANE Function: Tilting the Working Plane (Software Option 1)U Dist. tool tip – center of rot. (incremental): The TNC t
382 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Positioning the rotary axes in a separa
HEIDENHAIN TNC 640 38311.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Selection of alternate tilting possibilities: SEQ +/– (ent
384 Programming: Multiple Axis Machining11.2 The PLANE Function: Tilting the Working Plane (Software Option 1)Example for a machine with a rotary tab
HEIDENHAIN TNC 640 38511.3 Inclined-Tool Machining in a Tilted Plane (Software Option 2)11.3 Inclined-Tool Machining in a Tilted Plane (Software Optio
386 Programming: Multiple Axis Machining11.3 Inclined-Tool Machining in a Tilted Plane (Software Option 2)Inclined-tool machining via normal vectors
HEIDENHAIN TNC 640 38711.4 Miscellaneous Functions for Rotary Axes11.4 Miscellaneous Functions for Rotary AxesFeed rate in mm/min on rotary axes A, B,
388 Programming: Multiple Axis Machining11.4 Miscellaneous Functions for Rotary AxesShorter-path traverse of rotary axes: M126Standard behaviorThe st
HEIDENHAIN TNC 640 38911.4 Miscellaneous Functions for Rotary AxesReducing display of a rotary axis to a value less than 360°: M94Standard behaviorThe
HEIDENHAIN TNC 640 391.3 Programming the First PartCreating a new program/file managementU Press the PGM MGT key: The TNC displays the file management
390 Programming: Multiple Axis Machining11.4 Miscellaneous Functions for Rotary AxesMaintaining the position of the tool tip when positioning with ti
HEIDENHAIN TNC 640 39111.4 Miscellaneous Functions for Rotary AxesM128 with 3-D tool compensationIf you carry out a 3-D tool compensation with active
392 Programming: Multiple Axis Machining11.4 Miscellaneous Functions for Rotary AxesSelecting tilting axes: M138Standard behaviorThe TNC performs M12
HEIDENHAIN TNC 640 39311.4 Miscellaneous Functions for Rotary AxesCompensating the machine’s kinematics configuration for ACTUAL/NOMINAL positions at
394 Programming: Multiple Axis Machining11.5 TCPM FUNCTION (Software Option 2)11.5 TCPM FUNCTION (Software Option 2)FunctionTCPM FUNCTION is an impro
HEIDENHAIN TNC 640 39511.5 TCPM FUNCTION (Software Option 2)Defining the TCPM FUNCTIONU Press the special functions keyU Press the Programming Aids so
396 Programming: Multiple Axis Machining11.5 TCPM FUNCTION (Software Option 2)Interpretation of the programmed rotary axis coordinates Up to now, mac
HEIDENHAIN TNC 640 39711.5 TCPM FUNCTION (Software Option 2)Type of interpolation between the starting and end positionThe TNC provides two functions
398 Programming: Multiple Axis Machining11.5 TCPM FUNCTION (Software Option 2)Resetting the TCPM FUNCTIONU FUNCTION RESET TCPM is to be used if you w
HEIDENHAIN TNC 640 39911.6 Three-Dimensional Tool Compensation (Software Option 2)11.6 Three-Dimensional Tool Compensation (Software Option 2)Introduc
40 First Steps with the TNC 6401.3 Programming the First PartDefining a workpiece blankImmediately after you have created a new program, the TNC star
400 Programming: Multiple Axis Machining11.6 Three-Dimensional Tool Compensation (Software Option 2)Definition of a normalized vectorA normalized vec
HEIDENHAIN TNC 640 40111.6 Three-Dimensional Tool Compensation (Software Option 2)Permissible tool shapesYou can describe the permissible tool shapes
402 Programming: Multiple Axis Machining11.6 Three-Dimensional Tool Compensation (Software Option 2)3-D compensation without TCPMThe TNC carries out
HEIDENHAIN TNC 640 40311.6 Three-Dimensional Tool Compensation (Software Option 2)Example: Block format with surface-normal vectors without tool orien
404 Programming: Multiple Axis Machining11.6 Three-Dimensional Tool Compensation (Software Option 2)Peripheral milling: 3-D radius compensation with
HEIDENHAIN TNC 640 40511.6 Three-Dimensional Tool Compensation (Software Option 2)There are two ways to define the tool orientation: In an LN block w
406 Programming: Multiple Axis Machining11.6 Three-Dimensional Tool Compensation (Software Option 2)
Programming: Pallet Editor
408 Programming: Pallet Editor12.1 Pallet Editor12.1 Pallet EditorApplicationPallet tables are used for machining centers with pallet changers: The p
HEIDENHAIN TNC 640 40912.1 Pallet Editor12.1 Pallet Editor LOCATION (entry obligatory):The entry "MA" indicates that the machine is loaded
HEIDENHAIN TNC 640 411.3 Programming the First PartProgram layoutNC programs should be arranged consistently in a similar manner. This makes it easier
410 Programming: Pallet Editor12.1 Pallet EditorSelecting a pallet tableU Call the file manager in the Programming and Editing or Program Run mode: P
HEIDENHAIN TNC 640 41112.1 Pallet Editor12.1 Pallet EditorExecuting the pallet fileU Select the file manager in the Program Run, Full Sequence or Prog
412 Programming: Pallet Editor12.1 Pallet Editor
Programming: Turning Operations
414 Programming: Turning Operations13.1 Turning Operations on Milling Machines (Software Option 50)13.1 Turning Operations on Milling Machines (Softw
HEIDENHAIN TNC 640 41513.2 Basis Functions (Software Option 50)13.2 Basis Functions (Software Option 50)Switching between milling/turning mode of oper
416 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Entering the operation mode:U Show the soft-key row with special function
HEIDENHAIN TNC 640 41713.2 Basis Functions (Software Option 50)Graphical display of turning operationsYou can graphically simulate turning processes w
418 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Programming the speedWith turning you can machine both at constant spindl
HEIDENHAIN TNC 640 41913.2 Basis Functions (Software Option 50)Feed rateWith turning, feed rates or often specified in millimeters per revolution. The
42 First Steps with the TNC 6401.3 Programming the First PartProgramming a simple contourThe contour shown to the right is to be milled once to a dep
420 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Tool callJust as in Milling mode, turning tools are called with the TOOL
HEIDENHAIN TNC 640 42113.2 Basis Functions (Software Option 50)Tool dataYou define turning-specific tool data in the turning tool table TOOLTURN.TRN.T
422 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Data in the turning tool table: Abbr. Application InputT Tool number: Mus
HEIDENHAIN TNC 640 42313.2 Basis Functions (Software Option 50)Tool tip radius compensation TRCTurning tools have a radius at the tool tip (RS). When
424 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Recessing and undercuttingSome cycles machine contours that you have writ
HEIDENHAIN TNC 640 42513.2 Basis Functions (Software Option 50)Programming recessingRecessing is the machining of recesses in round components, usuall
426 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Radial recess: depth=5, width=10, Pos.= Z-15The algebraic sign for the r
HEIDENHAIN TNC 640 42713.2 Basis Functions (Software Option 50)Programming undercuttingUndercutting is usually required for the flush connection of co
428 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Undercut DIN 509 UDC TYPE_FInput elements in undercut DIN 509 UDC TYPE_F:
HEIDENHAIN TNC 640 42913.2 Basis Functions (Software Option 50)Undercut UDC TYPE_KInput elements in undercut UDC TYPE_K: Undercut form K: depth = 2, w
HEIDENHAIN TNC 640 431.3 Programming the First PartU Move to the contour: Press the APPR/DEP key: The TNC shows a soft-key row with approach and depar
430 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Undercut UDC THREADInput elements in undercut DIN 76 UDC THREAD: Thread u
HEIDENHAIN TNC 640 43113.2 Basis Functions (Software Option 50)Inclined turningIt may sometimes be necessary for you to bring the swivel axes into a s
432 Programming: Turning Operations13.2 Basis Functions (Software Option 50)Example NC blocks: Inclined machining on a machine with a rotary table C
HEIDENHAIN TNC 640 43313.3 Unbalance Functions13.3 Unbalance FunctionsUnbalance while turningGeneral informationIn a turning operation, the tool is in
434 Programming: Turning Operations13.3 Unbalance FunctionsUnbalance is significantly influenced by the structural shape of the workpiece (e.g. nonsy
HEIDENHAIN TNC 640 43513.3 Unbalance FunctionsUnbalance Monitor functionThe Unbalance Monitor function monitors the unbalance of a workpiece in Turnin
436 Programming: Turning Operations13.3 Unbalance Functions
Manual Operation and Setup
438 Manual Operation and Setup14.1 Switch-On, Switch-Off14.1 Switch-On, Switch-OffSwitch-onSwitch on the power supply for TNC and machine. The TNC th
HEIDENHAIN TNC 640 43914.1 Switch-On, Switch-OffThe TNC is now ready for operation in the Manual Operation mode.The reference points need only be cros
44 First Steps with the TNC 6401.3 Programming the First PartU Depart the contourU Select the departure function DEP CT U Center angle? Enter the dep
440 Manual Operation and Setup14.1 Switch-On, Switch-OffCrossing the reference point in a tilted working planeThe TNC automatically activates the til
HEIDENHAIN TNC 640 44114.2 Moving the Machine Axes14.2 Moving the Machine AxesNoteMoving the axis using the machine axis direction buttonsSelect the M
442 Manual Operation and Setup14.2 Moving the Machine AxesIncremental jog positioningWith incremental jog positioning you can move a machine axis by
HEIDENHAIN TNC 640 44314.2 Moving the Machine AxesTraversing with the HR 410 electronic handwheelThe portable HR 410 handwheel is equipped with two pe
444 Manual Operation and Setup14.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions M14.3 Spindle Speed S, Feed Rate F and Miscellaneous Func
HEIDENHAIN TNC 640 44514.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions MChanging the spindle speed and feed rateWith the override knobs y
446 Manual Operation and Setup14.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions MActivating feed-rate limitationWhen the F LIMITED soft k
HEIDENHAIN TNC 640 44714.4 Datum Setting without a 3-D Touch Probe14.4 Datum Setting without a 3-D Touch ProbeNoteYou fix a datum by setting the TNC p
448 Manual Operation and Setup14.4 Datum Setting without a 3-D Touch ProbeWorkpiece presetting with axis keysSelect the Manual Operation modeMove the
HEIDENHAIN TNC 640 44914.4 Datum Setting without a 3-D Touch ProbeDatum management with the preset tableSaving the datums in the preset tableThe prese
HEIDENHAIN TNC 640 451.3 Programming the First PartCreating a cycle programThe holes (depth of 20 mm) shown in the figure at right are to be drilled w
450 Manual Operation and Setup14.4 Datum Setting without a 3-D Touch ProbeThere are several methods for saving datums and/or basic rotations in the p
HEIDENHAIN TNC 640 45114.4 Datum Setting without a 3-D Touch ProbeManually saving the datums in the preset tableIn order to set datums in the preset t
452 Manual Operation and Setup14.4 Datum Setting without a 3-D Touch ProbeFunction Soft keyDirectly transfer the actual position of the tool (the mea
HEIDENHAIN TNC 640 45314.4 Datum Setting without a 3-D Touch ProbeEditing the preset tableEditing function in table mode Soft keySelect beginning of t
454 Manual Operation and Setup14.4 Datum Setting without a 3-D Touch ProbeActivating a datum from the preset table in the Manual Operation modeSelect
HEIDENHAIN TNC 640 45514.5 Using the 3-D Touch Probe14.5 Using the 3-D Touch ProbeOverviewThe following touch probe cycles are available in the Manual
456 Manual Operation and Setup14.5 Using the 3-D Touch ProbeWriting the measured values from touch probe cycles in datum tablesWith the ENTER IN DATU
HEIDENHAIN TNC 640 45714.6 Calibrating a 3-D Touch Probe14.6 Calibrating a 3-D Touch ProbeIntroductionIn order to precisely specify the actual trigger
458 Manual Operation and Setup14.6 Calibrating a 3-D Touch ProbeCalibrating the effective lengthU Set the datum in the spindle axis such that for the
HEIDENHAIN TNC 640 45914.6 Calibrating a 3-D Touch ProbeCalibrating the effective radius and compensating center misalignmentAfter the touch probe is
46 First Steps with the TNC 6401.3 Programming the First PartU Call the menu for special functionsU Display the functions for point machiningU Select
460 Manual Operation and Setup14.6 Calibrating a 3-D Touch ProbeDisplaying calibration valuesThe TNC saves the effective length and effective radius
HEIDENHAIN TNC 640 46114.7 Compensating Workpiece Misalignment with a 3-D Touch Probe14.7 Compensating Workpiece Misalignment with a 3-D Touch ProbeIn
462 Manual Operation and Setup14.7 Compensating Workpiece Misalignment with a 3-D Touch ProbeMeasuring a basic rotationU Select the probe function by
HEIDENHAIN TNC 640 46314.8 Datum Setting with a 3-D Touch Probe14.8 Datum Setting with a 3-D Touch ProbeOverviewThe following soft-key functions are a
464 Manual Operation and Setup14.8 Datum Setting with a 3-D Touch ProbeCorner as datum U Select the probe function: Press the PROBING P soft keyU Pos
HEIDENHAIN TNC 640 46514.8 Datum Setting with a 3-D Touch ProbeCircle center as datumWith this function, you can set the datum at the center of bore h
466 Manual Operation and Setup14.8 Datum Setting with a 3-D Touch ProbeMeasuring workpieces with a 3-D touch probeYou can also use the touch probe in
HEIDENHAIN TNC 640 46714.8 Datum Setting with a 3-D Touch ProbeMeasuring workpiece dimensionsU Select the probe function by pressing the PROBING POS s
468 Manual Operation and Setup14.8 Datum Setting with a 3-D Touch ProbeFinding the angle between the angle reference axis and a workpiece edgeU Selec
HEIDENHAIN TNC 640 46914.8 Datum Setting with a 3-D Touch ProbeUsing touch probe functions with mechanical probes or dial gaugesIf you do not have an
HEIDENHAIN TNC 640 471.3 Programming the First PartFurther information on this topic Creating a new program: See "Creating and Writing Programs&
470 Manual Operation and Setup14.9 Tilting the Working Plane (Software Option 1)14.9 Tilting the Working Plane (Software Option 1)Application, functi
HEIDENHAIN TNC 640 47114.9 Tilting the Working Plane (Software Option 1)When tilting the working plane, the TNC differentiates between two machine typ
472 Manual Operation and Setup14.9 Tilting the Working Plane (Software Option 1)Traversing reference points in tilted axesThe TNC automatically activ
HEIDENHAIN TNC 640 47314.9 Tilting the Working Plane (Software Option 1)Activating manual tiltingTo select manual tilting, press the 3-D ROT soft keyU
474 Manual Operation and Setup14.9 Tilting the Working Plane (Software Option 1)Setting the current tool-axis direction as the active machining direc
HEIDENHAIN TNC 640 47514.9 Tilting the Working Plane (Software Option 1)Setting the datum in a tilted coordinate systemAfter you have positioned the r
476 Manual Operation and Setup14.9 Tilting the Working Plane (Software Option 1)
Positioning with Manual Data Input
478 Positioning with Manual Data Input15.1 Programming and Executing Simple Machining Operations15.1 Programming and Executing Simple Machining Opera
HEIDENHAIN TNC 640 47915.1 Programming and Executing Simple Machining OperationsStraight-line function: See "Straight line L" on page 192, D
48 First Steps with the TNC 6401.4 Graphically Testing the First Program1.4 Graphically Testing the First Program Selecting the correct operating mod
480 Positioning with Manual Data Input15.1 Programming and Executing Simple Machining OperationsExample 2: Correcting workpiece misalignment on machi
HEIDENHAIN TNC 640 48115.1 Programming and Executing Simple Machining OperationsProtecting and erasing programs in $MDIThe $MDI file is generally inte
482 Positioning with Manual Data Input15.1 Programming and Executing Simple Machining Operations
Test Run and Program Run
484 Test Run and Program Run16.1 Graphics16.1 GraphicsApplicationIn the program run modes of operation as well as in the Test Run mode, the TNC graph
HEIDENHAIN TNC 640 48516.1 GraphicsSetting the speed of the test runAfter you have started a program, the TNC displays the following soft keys with wh
486 Test Run and Program Run16.1 GraphicsOverview of display modesThe TNC displays the following soft keys in the Program Run and Test Run modes of o
HEIDENHAIN TNC 640 48716.1 GraphicsProjection in 3 planesSimilar to a workpiece drawing, the part is displayed with a plan view and two sectional plan
488 Test Run and Program Run16.1 Graphics3-D viewThe workpiece is displayed in three dimensions.You can rotate the 3-D display about the vertical and
HEIDENHAIN TNC 640 48916.1 GraphicsRotating and magnifying/reducing the 3-D viewU Shift the soft-key row until the soft key for the rotating and magni
HEIDENHAIN TNC 640 491.4 Graphically Testing the First ProgramChoosing the program you want to testU Press the PGM MGT key: The TNC displays the file
490 Test Run and Program Run16.1 GraphicsMagnifying detailsYou can magnify details in all display modes in the Test Run mode and a Program Run mode.
HEIDENHAIN TNC 640 49116.1 GraphicsRepeating graphic simulationA part program can be graphically simulated as often as desired, either with the comple
492 Test Run and Program Run16.1 GraphicsMeasuring the machining timeProgram Run modes of operationThe timer counts and displays the time from progra
HEIDENHAIN TNC 640 49316.1 Graphics3-D line graphicsApplicationUse the 3-D line graphics to have the TNC show the programmed traverse paths in three d
494 Test Run and Program Run16.1 GraphicsYou can also use the mouse with the 3-D line graphics. The following functions are available:U In order to r
HEIDENHAIN TNC 640 49516.2 Showing the Blank in the Working Space16.2 Showing the Blank in the Working SpaceApplicationThis MOD function enables you t
496 Test Run and Program Run16.3 Functions for Program Display16.3 Functions for Program DisplayOverviewIn the Program Run modes of operation as well
HEIDENHAIN TNC 640 49716.4 Test Run16.4 Test RunApplicationIn the Test Run mode of operation you can simulate programs and program sections to reduce
498 Test Run and Program Run16.4 Test RunExecuting a test runIf the central tool file is active, a tool table must be active (status S) to conduct a
HEIDENHAIN TNC 640 49916.5 Program run16.5 Program runApplicationIn the Program Run, Full Sequence mode of operation the TNC executes a part program c
HEIDENHAIN TNC 640 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 6401.5 Tool Setup1.5 Tool SetupSelecting the correct operating modeTools are set up in the Manual Operation mode: U Press
500 Test Run and Program Run16.5 Program runRunning a part programPreparation1 Clamp the workpiece to the machine table2 Set the datum3 Select the ne
HEIDENHAIN TNC 640 50116.5 Program runInterrupting machiningThere are several ways to interrupt a program run: Programmed interruptions Pressing the
502 Test Run and Program Run16.5 Program runMoving the machine axes during an interruptionYou can move the machine axes during an interruption in the
HEIDENHAIN TNC 640 50316.5 Program runResuming program run after an interruptionIf you interrupt a program run during execution of a subprogram or pro
504 Test Run and Program Run16.5 Program runMid-program startup (block scan)With the RESTORE POS AT N feature (block scan) you can start a part progr
HEIDENHAIN TNC 640 50516.5 Program runU Go to the first block of the current program to start a block scan: Enter GOTO "0"U Select mid-progr
506 Test Run and Program Run16.5 Program runReturning to the contourWith the RESTORE POSITION function, the TNC returns to the workpiece contour in t
HEIDENHAIN TNC 640 50716.6 Automatic Program Start16.6 Automatic Program StartApplicationIn a Program Run operating mode, you can use the AUTOSTART so
508 Test Run and Program Run16.7 Optional block skip16.7 Optional block skipApplicationIn a test run or program run, the control can skip over blocks
HEIDENHAIN TNC 640 50916.8 Optional Program-Run Interruption16.8 Optional Program-Run InterruptionApplicationThe TNC optionally interrupts program run
HEIDENHAIN TNC 640 511.5 Tool SetupThe pocket table TOOL_P.TCHIn the pocket table TOOL_P.TCH (permanently saved under TNC:\TABLE\) you specify which t
510 Test Run and Program Run16.8 Optional Program-Run Interruption
MOD Functions
512 MOD Functions17.1 Selecting MOD Functions17.1 Selecting MOD FunctionsThe MOD functions provide additional input possibilities and displays. In ad
HEIDENHAIN TNC 640 51317.1 Selecting MOD FunctionsOverview of MOD functionsThe following functions are available independent of the selected operating
514 MOD Functions17.2 Software Numbers17.2 Software NumbersApplicationThe following software numbers are displayed on the TNC screen after the "
HEIDENHAIN TNC 640 51517.3 Entering Code Numbers17.3 Entering Code NumbersApplicationThe TNC requires a code number for the following functions:Functi
516 MOD Functions17.4 Setting the Data Interfaces17.4 Setting the Data InterfacesSerial interfaces on the TNC 640The TNC 640 automatically uses the L
HEIDENHAIN TNC 640 51717.4 Setting the Data InterfacesSetting the data bits (dataBits)By setting the data bits you define whether a character is trans
518 MOD Functions17.4 Setting the Data InterfacesSettings for data transfer with the TNCserver PC softwareEnter the following settings in the user pa
HEIDENHAIN TNC 640 51917.4 Setting the Data InterfacesSoftware for data transferFor transfer of files to and from the TNC, we recommend using the HEID
52 First Steps with the TNC 6401.6 Workpiece Setup1.6 Workpiece SetupSelecting the correct operating modeWorkpieces are set up in the Manual Operatio
520 MOD Functions17.4 Setting the Data InterfacesData transfer between the TNC and TNCremoNTCheck whether the TNC is connected to the correct serial
HEIDENHAIN TNC 640 52117.5 Ethernet Interface17.5 Ethernet Interface IntroductionThe TNC is shipped with a standard Ethernet card to connect the contr
522 MOD Functions17.5 Ethernet InterfaceConfiguring the TNCU Press the MOD key in the Programming and Editing operating mode and enter the code numbe
HEIDENHAIN TNC 640 52317.5 Ethernet InterfaceU Select the Interfaces tab to enter the interface settings:Setting MeaningInterface list List of the act
524 MOD Functions17.5 Ethernet InterfaceU Press the Configuration button to open the Configuration menu:Setting MeaningStatus Interface active:Conn
HEIDENHAIN TNC 640 52517.5 Ethernet InterfaceU Apply the changes with the OK button, or discard them with the Cancel buttonU The Internet tab currentl
526 MOD Functions17.5 Ethernet InterfaceU Select the Ping/Routing tab to enter the ping and routing settings:U Select the NFS UID/GID tab to enter th
HEIDENHAIN TNC 640 52717.5 Ethernet InterfaceNetwork settings specific to the deviceU Press the DEFINE MOUNT soft key to enter the network settings f
528 MOD Functions17.6 Position Display Types17.6 Position Display TypesApplicationIn the Manual Operation mode and in the Program Run modes of operat
HEIDENHAIN TNC 640 52917.7 Unit of Measurement17.7 Unit of MeasurementApplicationThis MOD function determines whether the coordinates are displayed in
HEIDENHAIN TNC 640 531.6 Workpiece SetupAligning the workpiece with a 3-D touch probe systemU Insert the 3-D touch probe: In the Manual Data Input (MD
530 MOD Functions17.8 Displaying Operating Times17.8 Displaying Operating TimesApplicationThe MACHINE TIME soft key enables you to see various types
Tables and Overviews
532 Tables and Overviews18.1 Machine-Specific User Parameters18.1 Machine-Specific User ParametersApplicationThe parameter values are entered in the
HEIDENHAIN TNC 640 53318.1 Machine-Specific User ParametersCalling the configuration editorU Select the Programming mode of operationU Press the MOD k
534 Tables and Overviews18.1 Machine-Specific User ParametersDisplaying help textsThe HELP key enables you to call a help text for each parameter obj
HEIDENHAIN TNC 640 53518.1 Machine-Specific User ParametersDisplaySettingsDisplay step for the individual axesList of all available axesDisplay step f
536 Tables and Overviews18.1 Machine-Specific User ParametersDisplaySettingsSettings of the NC and PLC conversational languageNC conversational langu
HEIDENHAIN TNC 640 53718.1 Machine-Specific User ParametersProbeSettingsConfiguration of probing behaviorManual operation: Including basic rotationTRU
538 Tables and Overviews18.1 Machine-Specific User ParametersChannelSettingsCH_NCActive kinematics Kinematics to be activatedList of machine kinemati
HEIDENHAIN TNC 640 53918.1 Machine-Specific User ParametersGeometry filter for culling linear elementsType of stretch filter- Off: No filter active- S
54 First Steps with the TNC 6401.6 Workpiece SetupDatum setting with a 3-D touch probeU Insert the 3-D touch probe: In the MDI mode, run a TOOL CALL
540 Tables and Overviews18.2 Pin Layouts and Connecting Cables for the Data Interfaces18.2 Pin Layouts and Connecting Cables for the Data InterfacesR
HEIDENHAIN TNC 640 54118.2 Pin Layouts and Connecting Cables for the Data InterfacesNon-HEIDENHAIN devicesThe connector layout of a non-HEIDENHAIN dev
542 Tables and Overviews18.3 Technical Information18.3 Technical InformationExplanation of symbols StandardAxis optionSoftware option 1z Software
HEIDENHAIN TNC 640 54318.3 Technical InformationContour elements Straight line Chamfer Circular path Circle center Circle radius Tangentially c
544 Tables and Overviews18.3 Technical InformationProgramming aids Calculator Complete list of all current error messages Context-sensitive help
HEIDENHAIN TNC 640 54518.3 Technical InformationInterpolation Linear in 4 axes Circular in 2 axesCircular in 3 axes with tilted working plane (sof
546 Tables and Overviews18.3 Technical InformationSoftware option 1 (option number #08)Rotary table machining Programming of cylindrical contours as
HEIDENHAIN TNC 640 54718.3 Technical InformationKinematicsOpt software option (option number #48)Touch-probe cycles for automatic testing and optimiz
548 Tables and Overviews18.3 Technical InformationInput format and unit of TNC functionsPositions, coordinates, circle radii, chamfer lengths–99 999.
HEIDENHAIN TNC 640 54918.4 Exchanging the Buffer Battery18.4 Exchanging the Buffer BatteryA buffer battery supplies the TNC with current to prevent th
HEIDENHAIN TNC 640 551.7 Running the First Program1.7 Running the First ProgramSelecting the correct operating modeYou can run programs either in the
550 Tables and Overviews18.4 Exchanging the Buffer Battery
HEIDENHAIN TNC 640 551Overview TablesFixed cyclesCycle number Cycle designationDEF activeCALL active7 Datum shift 8 Mirror image 9 Dwell time 10 R
552206 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 640 553Miscellaneous functionsM Effect Effective at block... start end PageM0 Program run STOP/Spindle STOP/Coolant OFF Page 327M1 O
554M120 Pre-calculate radius-compensated contour (LOOK AHEAD) Page 337M126M127Shortest-path traverse of rotary axesReset M126Page 388M128M129Retai
HEIDENHAIN TNC 640 555Comparison: Functions of the TNC 640 and the iTNC 530Comparison: SpecificationsComparison: Data interfacesFunction TNC 640 iTNC
556Comparison: AccessoriesComparison: PC softwareFunction TNC 640 iTNC 530Machine operating panel MB 720 (HSCI) TE 745 (keyboard unit with integrate
HEIDENHAIN TNC 640 557Comparison: Machine-specific functionsFunction TNC 640 iTNC 530Switching the traverse range Function not available Function avai
558Comparison: User functionsFunction TNC 640 iTNC 530Program entry HEIDENHAIN conversational X X DIN/ISO X X With smarT.NC – X With A
HEIDENHAIN TNC 640 559Creating tool-usage file, checking the availability XXCutting-data tables: Automatic calculation of spindle speed and feed rate
56 First Steps with the TNC 6401.7 Running the First Program
560FK free contour programming Programming for workpiece drawings not dimensioned for NC programming X X Conversion of FK program to conversation
HEIDENHAIN TNC 640 561Graphic support 2-D programming graphics X X REDRAW function – X Show grid lines as the background X – 3-D line
562Programming aids: Help graphics for cycle programming X, can be switched off via config datum X Animated help graphics when PLANE/PATTERN DEF
HEIDENHAIN TNC 640 563Calling fixed cycles: With M99 or M89 X X With CYCL CALL X X With CYCL CALL PAT X X With CYC CALL POS X XSpe
564Comparison: CyclesCycle TNC 640 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 640 56528, cylinder surface X, option #08 X, option #0829, cylinder surface ridge X, option #08 X, option #0830, 3-D data – X32, tolera
566247, datum setting X X251, rectangular pocket (complete) X X252, circular pocket (complete) X X253, slot (complete) X X254, circular slot (complete
HEIDENHAIN TNC 640 567Comparison: Miscellaneous functionsM Effect TNC 640 iTNC 530M00 Program run STOP/Spindle STOP/Coolant OFF X XM01 Optional progr
568M105M106Machining with second kv factorMachining with first kv factor–XM107M108Suppress error message for replacement tools with oversizeReset M107
HEIDENHAIN TNC 640 569M144M145Compensate the machine’s kinematics configuration for ACTUAL/NOMINAL positions at end of blockReset M144X, option #09 X,
Introduction
570Comparison: Touch probe cycles in the Manual Operation and El. Handwheel modesCycle TNC 640 iTNC 530Touch-probe table for managing 3-D touch probes
HEIDENHAIN TNC 640 571Comparison: Touch probe cycles for automatic workpiece inspectionCycle TNC 640 iTNC 5300, reference plane X X1, polar datum X X2
572419, datum in one axis X X420, measuring an angle X X421, measuring a hole X X422, measuring a circle from outside X X423, measuring a rectangle f
HEIDENHAIN TNC 640 573Comparison: Differences in programmingFunction TNC 640 iTNC 530Switching the operating mode while a block is being editedNot per
574Datum table: Sorting function by values within an axis Available Not available Resetting the table Available Not available Hiding axes t
HEIDENHAIN TNC 640 575Find function: List of words recently searched for Not available Available Show elements of active block Not available
576Comparison: Differences in Test Run, functionalityComparison: Differences in Test Run, operationFunction TNC 640 iTNC 530Display of delta values DR
HEIDENHAIN TNC 640 577Comparison: Differences in Manual Operation, functionalityFunction TNC 640 iTNC 530Manual probing cycles in the tilted working p
578Comparison: Differences in Manual Operation, operationFunction TNC 640 iTNC 530Capturing the position values from mechanical probesActual-position
HEIDENHAIN TNC 640 579Comparison: Differences in Program Run, operationFunction TNC 640 iTNC 530Arrangement of soft-key rows and soft keys within the
58 Introduction2.1 The TNC 6402.1 The TNC 640HEIDENHAIN TNC controls are workshop-oriented contouring controls that enable you to program conventiona
580Comparison: Differences in Program Run, traverse movementsCaution: Check the traverse movements!NC programs that were created on earlier TNC contro
HEIDENHAIN TNC 640 581Automatic cancelation of tool radius compensation Block with R0 DEP block END PGM Block with R0 DEP block PGM CALL Progra
582Compensation of tool length in the position displayThe values L and DL from the tool table and the value DL from the TOOL CALL are taken into accou
HEIDENHAIN TNC 640 583Cycles 25x for pockets, studs and slots: Plunging movementsIn limit ranges (geometrical conditions of tool/contour) error messa
584Comparison: Differences in MDI operationComparison: Differences in programming stationFunction TNC 640 iTNC 530Execution of connected sequences Fun
HEIDENHAIN TNC 640 585IndexSymbole3-D compensation ... 399Delta values ... 401Face milling ... 402Normalized vector ... 400Peripheral milling ... 404T
586 IndexFFile status ... 102FK programming ... 212Circular paths ... 217Dialog initiation ... 215Fundamentals ... 212Graphics ... 214Input possibili
HEIDENHAIN TNC 640 587IndexPPath functionsFundamentals ... 178Circles and circular arcs ... 180Pre-position ... 181PDF viewer ... 114Pin layout for da
588 IndexTT vector ... 400Table access ... 284TCPM ... 394Resetting ... 398Teach in ... 90, 192Test runExecuting ... 498Overview ... 496Speed setting
Touch probes from HEIDENHAINhelp you reduce non-productive time and improve the dimensional accuracy of the fi nished workpieces.Workpiece touch probes
HEIDENHAIN TNC 640 592.2 Visual Display Unit and Keyboard2.2 Visual Display Unit and KeyboardVisual display unitThe TNC is shipped with a 19-inch TFT
6 TNC Model, Software and FeaturesTNC Model, Software and FeaturesThis manual describes functions and features provided by TNCs as of the following
60 Introduction2.2 Visual Display Unit and KeyboardSetting the screen layoutYou select the screen layout yourself: In the PROGRAMMING AND EDITING mod
HEIDENHAIN TNC 640 612.2 Visual Display Unit and KeyboardOperating panelThe TNC 640 is delivered with an integrated keyboard. The figure at right show
62 Introduction2.3 Operating Modes2.3 Operating ModesManual Operation and El. HandwheelThe Manual Operation mode is required for setting up the machi
HEIDENHAIN TNC 640 632.3 Operating ModesProgramming and EditingIn this mode of operation you can write your part programs. The FK free programming fea
64 Introduction2.3 Operating ModesProgram Run, Full Sequence and Program Run, Single BlockIn the Program Run, Full Sequence mode of operation the TNC
HEIDENHAIN TNC 640 652.4 Status Displays2.4 Status Displays"General" status displayThe status display in the lower part of the screen inform
66 Introduction2.4 Status DisplaysNo active programProgram run has startedProgram run is stoppedProgram run is being abortedTurning mode is activeSym
HEIDENHAIN TNC 640 672.4 Status DisplaysAdditional status displaysThe additional status displays contain detailed information on the program run. They
68 Introduction2.4 Status DisplaysOverviewAfter switch-on, the TNC displays the Overview status form, provided that you have selected the PROGRAM+STA
HEIDENHAIN TNC 640 692.4 Status DisplaysProgram section repeat/Subprograms (LBL tab)Information on standard cycles (CYC tab)Soft key MeaningNo direct
HEIDENHAIN TNC 640 7 TNC Model, Software and FeaturesSoftware optionsThe TNC 640 features various software options that can be enabled by your machine
70 Introduction2.4 Status DisplaysActive miscellaneous functions M (M tab)Soft key MeaningNo direct selection possibleList of the active M functions
HEIDENHAIN TNC 640 712.4 Status DisplaysPositions and coordinates (POS tab)Information on tools (TOOL tab)Soft key MeaningType of position display, e.
72 Introduction2.4 Status DisplaysTool measurement (TT tab)Coordinate transformations (TRANS tab)For further information, refer to the User's Ma
HEIDENHAIN TNC 640 732.4 Status DisplaysDisplaying Q parameters (QPARA tab)Soft key MeaningDisplay the current values of the defined Q parametersDispl
74 Introduction2.5 Window Manager2.5 Window ManagerThe TNC features the Xfce window manager. Xfce is a standard application for UNIX-based operating
HEIDENHAIN TNC 640 752.5 Window ManagerSoft-key rowIn the task bar you can choose different workspaces by mouse click. The TNC provides the following
76 Introduction2.6 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels2.6 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Hand
HEIDENHAIN TNC 640 772.6 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic HandwheelsTT 140 tool touch probe for tool measurementThe TT 140 is a
78 Introduction2.6 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels
Programming: Fundamentals, File Management
8 TNC Model, Software and FeaturesKinematicsOpt software option (option number #48)Touch-probe cycles for inspecting and optimizing the machine accu
80 Programming: Fundamentals, File Management3.1 Fundamentals3.1 FundamentalsPosition encoders and reference marksThe machine axes are equipped with
HEIDENHAIN TNC 640 813.1 FundamentalsReference system on milling machinesWhen using a milling machine, you orient tool movements to the Cartesian coor
82 Programming: Fundamentals, File Management3.1 FundamentalsPolar coordinatesIf the production drawing is dimensioned in Cartesian coordinates, you
HEIDENHAIN TNC 640 833.1 FundamentalsAbsolute and incremental workpiece positionsAbsolute workpiece positionsAbsolute coordinates are position coordin
84 Programming: Fundamentals, File Management3.1 FundamentalsSetting the datumA production drawing identifies a certain form element of the workpiece
HEIDENHAIN TNC 640 853.2 Creating and Writing Programs3.2 Creating and Writing ProgramsOrganization of an NC program in HEIDENHAIN Conversational A pa
86 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsCreating a new part programYou always enter a part program in the Progr
HEIDENHAIN TNC 640 873.2 Creating and Writing ProgramsExample: Display the BLK form in the NC programThe TNC generates the block numbers as well as th
88 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsProgramming tool movements in conversational formatTo program a block,
HEIDENHAIN TNC 640 893.2 Creating and Writing ProgramsPossible feed rate inputFunctions for setting the feed rate Soft keyRapid traverse, non-modal. E
HEIDENHAIN TNC 640 9 TNC Model, Software and FeaturesFeature content level (upgrade functions)Along with software options, significant further improve
90 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsActual position captureThe TNC enables you to transfer the current tool
HEIDENHAIN TNC 640 913.2 Creating and Writing ProgramsEditing a programWhile you are creating or editing a part program, you can select any desired li
92 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsInserting blocks at any desired locationU Select the block after which
HEIDENHAIN TNC 640 933.2 Creating and Writing ProgramsLooking for the same words in different blocksTo use this function, set the AUTO DRAW soft key t
94 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsMarking, copying, deleting and inserting program sectionsThe TNC provid
HEIDENHAIN TNC 640 953.2 Creating and Writing ProgramsThe TNC search functionThe search function of the TNC enables you to search for any text within
96 Programming: Fundamentals, File Management3.2 Creating and Writing ProgramsFinding/Replacing any textU If required, select the block containing th
HEIDENHAIN TNC 640 973.3 File Management: Fundamentals3.3 File Management: FundamentalsFilesWhen you write a part program on the TNC, you must first e
98 Programming: Fundamentals, File Management3.3 File Management: FundamentalsFile namesWhen you store programs, tables and texts as files, the TNC a
HEIDENHAIN TNC 640 993.3 File Management: FundamentalsShowing externally created files on the TNCThe TNC features several additional tools which you c
Comments to this Manuals