User’s ManualHEIDENHAIN Conversational ProgrammingTNC 128NC Software771841-01771844-01English (en)4/2013
100 Programming: Fundamentals, file management3.4 Working with the file managerCreating a new directoryMove the highlight in the left window to the d
HEIDENHAIN TNC 128 1013.4 Working with the file managerCopying a single file Move the highlight to the file you wish to copy Press the COPY soft key
102 Programming: Fundamentals, file management3.4 Working with the file managerCopying files into another directory Select a screen layout with two
HEIDENHAIN TNC 128 1033.4 Working with the file managerCopying a tableImporting lines to a tableIf you are copying a table into an existing table, you
104 Programming: Fundamentals, file management3.4 Working with the file managerChoosing one of the last files selectedCall the file managerDisplay th
HEIDENHAIN TNC 128 1053.4 Working with the file managerDeleting a directory Move the highlight to the directory you want to delete To select the era
106 Programming: Fundamentals, file management3.4 Working with the file managerTagging filesSome functions, such as copying or erasing files, can not
HEIDENHAIN TNC 128 1073.4 Working with the file managerRenaming a file Move the highlight to the file you wish to rename Select the renaming functio
108 Programming: Fundamentals, file management3.4 Working with the file managerAdditional functionsProtecting a file / Canceling file protection Mov
HEIDENHAIN TNC 128 1093.4 Working with the file managerAdditional tools for management of external file typesThe additional tools enable you to displa
HEIDENHAIN TNC 128 111.1 Overview ... 361.2 Machine switch-on ... 37Acknowledging the power interruption and moving to the reference points ...
110 Programming: Fundamentals, file management3.4 Working with the file managerDisplaying and editing Excel filesProceed as follows to open and edit
HEIDENHAIN TNC 128 1113.4 Working with the file managerWorking with ZIP archivesTo open ZIP archives with the extension zip directly on the TNC, proce
112 Programming: Fundamentals, file management3.4 Working with the file managerDisplaying or editing text filesTo open and edit text files (ASCII fil
HEIDENHAIN TNC 128 1133.4 Working with the file managerDisplaying graphics filesTo open graphics files with the extension bmp, gif, jpg or png directl
114 Programming: Fundamentals, file management3.4 Working with the file managerData transfer to or from an external data mediumCall the file managerS
HEIDENHAIN TNC 128 1153.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
116 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 128 1173.4 Working with the file managerUSB devices on the TNCBacking up data from or loading onto the TNC is especially easy with USB
118 Programming: Fundamentals, file management3.4 Working with the file managerTo remove a USB device, proceed as follows: Call the file manager: Pr
Programming:Programming aids
122.1 The TNC 128 ... 56Programming: HEIDENHAIN conversational format ... 56Compatibility ... 562.2 Visual display unit and keyboard ... 57Vis
120 Programming: Programming aids4.1 Screen keyboard4.1 Screen keyboardYou can enter letters and special characters with the screen keypad or (if ava
HEIDENHAIN TNC 128 1214.2 Adding comments4.2 Adding commentsApplicationYou can add comments to a part program to explain program steps or make general
122 Programming: Programming aids4.3 Structuring programs4.3 Structuring programsDefinition and applicationsThis TNC function enables you to comment
HEIDENHAIN TNC 128 1234.4 Integrated calculator4.4 Integrated calculatorOperationThe TNC features an integrated calculator with the basic mathematical
124 Programming: Programming aids4.4 Integrated calculatorTransferring the calculated value into the program Use the arrow keys to select the word i
HEIDENHAIN TNC 128 1254.5 Programming graphics4.5 Programming graphicsGenerating / not generating graphics during programmingWhile you are writing the
126 Programming: Programming aids4.5 Programming graphicsBlock number display ON/OFF Shift the soft-key row: see figure Show block numbers: Set the
HEIDENHAIN TNC 128 1274.6 Error messages4.6 Error messagesDisplay of errorsThe TNC generates error messages when it detects problems such as: Incorre
128 Programming: Programming aids4.6 Error messagesDetailed error messagesThe TNC displays possible causes of the error and suggestions for solving t
HEIDENHAIN TNC 128 1294.6 Error messagesClearing errorsClearing errors outside of the error window: Clear the error/message in the header: Press the
HEIDENHAIN TNC 128 133.1 Fundamentals ... 76Position encoders and reference marks ... 76Reference system ... 76Reference system on milling machi
130 Programming: Programming aids4.6 Error messagesKeystroke logThe TNC stores keystrokes and important events (e.g. system startup) in a keystroke l
HEIDENHAIN TNC 128 1314.6 Error messagesInformational textsAfter a faulty operation, such as pressing a key without function or entering a value outsi
132 Programming: Programming aids4.7 Context-sensitive help system4.7 Context-sensitive help systemApplicationThe TNCguide context-sensitive help sys
HEIDENHAIN TNC 128 1334.7 Context-sensitive help systemWorking with the TNCguideCalling the TNCguideThere are several ways to start the TNCguide: Pre
134 Programming: Programming aids4.7 Context-sensitive help systemNavigating in the TNCguideIt’s easiest to use the mouse to navigate in the TNCguide
HEIDENHAIN TNC 128 1354.7 Context-sensitive help systemMove up by one page Move down by one pageDisplay or hide table of contentsSwitch between full-s
136 Programming: Programming aids4.7 Context-sensitive help systemSubject indexThe most important subjects in the Manual are listed in the subject in
HEIDENHAIN TNC 128 1374.7 Context-sensitive help systemDownloading current help filesYou'll find the help files for your TNC software on the HEID
138 Programming: Programming aids4.7 Context-sensitive help systemChinese (traditional) TNC:\tncguide\zh-twSlovenian (software option) TNC:\tncguide\
Programming: Tools
144.1 Screen keyboard ... 120Entering text with the screen keyboard ... 1204.2 Adding comments ... 121Application ... 121Adding comments ...
140 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 128 1415.1 Entering tool-related dataSpindle speed SThe spindle speed S is entered in revolutions per minute (rpm) in a TOOL CALL block
142 Programming: Tools5.2 Tool data5.2 Tool dataRequirements for tool compensationYou usually program the coordinates of path contours as they are di
HEIDENHAIN TNC 128 1435.2 Tool dataDelta values for lengths and radiiDelta values are offsets in the length and radius of a tool.A positive delta valu
144 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 128 1455.2 Tool dataTIME2 Maximum tool life in minutes during TOOL CALL: If the current tool life reaches or exceeds this value, the TN
146 Programming: Tools5.2 Tool dataTool table: Tool data required for automatic tool measurementFor a description of the cycles for automatic tool me
HEIDENHAIN TNC 128 1475.2 Tool dataEditing tool tablesThe tool table that is active during execution of the part program is designated TOOL.T and must
148 Programming: Tools5.2 Tool dataOpening any other tool table Select the Programming and Editing mode of operation Call the file manager Press t
HEIDENHAIN TNC 128 1495.2 Tool dataExiting the tool table Call the file manager and select a file of a different type, such as a part programSort the
HEIDENHAIN TNC 128 155.1 Entering tool-related data ... 140Feed rate F ... 140Spindle speed S ... 1415.2 Tool data ... 142Requirements for too
150 Programming: Tools5.2 Tool dataImporting tool tablesIf you export a tool table from an iTNC 530 and import it into a TNC 128, you have to adapt i
HEIDENHAIN TNC 128 1515.2 Tool dataCalling tool dataA TOOL CALL block in the part program is defined with the following data: Select the tool call fu
152 Programming: Tools5.2 Tool dataTool changeTool change positionThe tool change position must be approachable without collision. Use the miscellane
HEIDENHAIN TNC 128 1535.2 Tool dataTool usage testIn order to run a tool usage test, the complete plain-language program must have been simulated in t
154 Programming: Tools5.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 f
HEIDENHAIN TNC 128 1555.3 Tool compensation5.3 Tool compensationIntroductionThe TNC adjusts the spindle path in the spindle axis by the compensation v
156 Programming: Tools5.3 Tool compensationTool radius compensation for paraxial positioning blocksThe TNC can compensate the tool radius in the work
HEIDENHAIN TNC 128 1575.3 Tool compensationEntering radius compensationRadius compensation is entered in a positioning block. Enter the coordinates of
158 Programming: Tools5.3 Tool compensation
Programming:Tool movements
166.1 Fundamentals ... 160Tool movements in the program ... 160Radius compensation ... 160Miscellaneous functions M ... 160Subprograms and pro
160 Programming: Tool movements6.1 Fundamentals6.1 FundamentalsTool movements in the programThe orange axis keys initiate the plain language dialog f
HEIDENHAIN TNC 128 1616.1 FundamentalsSubprograms and program section repeatsIf a machining sequence occurs several times in a program, you can save t
162 Programming: Tool movements6.2 Programming tool movements6.2 Programming tool movementsProgramming tool movements for workpiece machiningCreating
HEIDENHAIN TNC 128 1636.2 Programming tool movementsActual position captureYou can also generate a straight-line block by using the ACTUAL-POSITION-CA
164 Programming: Tool movements6.2 Programming tool movementsExample: Linear movement0 BEGIN PGM LINEAR MM1 BLK FORM 0.1 Z X+0 Y+0 Z-20Define the wor
Programming:Subprograms andprogram section repeats
166 Programming: Subprograms and program section repeats7.1 Labeling subprograms and program section repeats7.1 Labeling subprograms and program sect
HEIDENHAIN TNC 128 1677.2 Subprograms7.2 SubprogramsOperating sequence1 The TNC executes the part program up to the block in which a subprogram is cal
168 Programming: Subprograms and program section repeats7.3 Program section repeats7.3 Program section repeatsLabel LBLThe beginning of a program sec
HEIDENHAIN TNC 128 1697.4 Separate program as subprogram7.4 Separate program as subprogramOperating sequence1 The TNC executes the part program up to
HEIDENHAIN TNC 128 177.1 Labeling subprograms and program section repeats ... 166Labels ... 1667.2 Subprograms ... 167Operating sequence ... 1
170 Programming: Subprograms and program section repeats7.4 Separate program as subprogramCalling any program as a subprogram To select the function
HEIDENHAIN TNC 128 1717.5 Nesting7. 5 N e s t i n gTypes of nesting Subprograms within a subprogram Program section repeats within a program section
172 Programming: Subprograms and program section repeats7.5 NestingSubprogram within a subprogramExample NC blocksProgram execution1 Main program SUB
HEIDENHAIN TNC 128 1737.5 NestingRepeating program section repeatsExample NC blocksProgram execution1 Main program REPS is executed up to block 272 Pr
174 Programming: Subprograms and program section repeats7.5 NestingRepeating a subprogramExample NC blocksProgram execution1 Main program SUBPGREP is
HEIDENHAIN TNC 128 1757.6 Programming examples7.6 Programming examplesExample: Groups of holesProgram sequence Approach the groups of holes in the ma
176 Programming: Subprograms and program section repeats7.6 Programming examples6 X+15 R0 FMAX M3Move to starting point X for group 17 Y+10 R0 FMAXMo
HEIDENHAIN TNC 128 1777.6 Programming examplesExample: Group of holes with several toolsProgram sequence Program the fixed cycles in the main program
178 Programming: Subprograms and program section repeats7.6 Programming examples7 Z+250 R0 FMAX M6Tool change8 TOOL CALL 2 Z S4000Call tool: drill9 F
Programming:Q parameters
188.1 Principle and overview ... 180Programming notes ... 181Calling Q-parameter functions ... 1828.2 Part families—Q parameters in place of num
180 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 128 1818.1 Principle and overviewQS parameters (the S stands for string) are also available on the TNC and enable you to process texts.
182 Programming: Q parameters8.1 Principle and overviewCalling Q-parameter functionsWhen you are writing a part program, press the "Q" key
HEIDENHAIN TNC 128 1838.2 Part families—Q parameters in place of numerical values8.2 Part families—Q parameters in place of numerical valuesApplicatio
184 Programming: Q parameters8.3 Describing contours through mathematical operations8.3 Describing contours through mathematical operationsApplicatio
HEIDENHAIN TNC 128 1858.3 Describing contours through mathematical operationsProgramming fundamental operationsExample:Call the Q parameter functions
186 Programming: Q parameters8.4 Trigonometric functions8.4 Trigonometric functionsDefinitionsSine, cosine and tangent are terms designating the rati
HEIDENHAIN TNC 128 1878.4 Trigonometric functionsProgramming trigonometric functionsPress the ANGLE FUNCTION soft key to call the trigonometric functi
188 Programming: Q parameters8.5 Circle calculations8.5 Circle calculationsApplicationThe TNC can use the functions for calculating circles to calcul
HEIDENHAIN TNC 128 1898.6 If-then decisions with Q parameters8.6 If-then decisions with Q parametersApplicationThe TNC can make logical if-then decisi
HEIDENHAIN TNC 128 198.10 Entering formulas directly ... 226Entering formulas ... 226Rules for formulas ... 228Programming example ... 2298.11
190 Programming: Q parameters8.6 If-then decisions with Q parametersProgramming if-then decisionsPress the JUMP soft key to call the if-then conditio
HEIDENHAIN TNC 128 1918.7 Checking and changing Q parameters8.7 Checking and changing Q parametersProcedureYou can check Q parameters in all operating
192 Programming: Q parameters8.8 Additional functions8.8 Additional functionsOverviewPress the DIVERSE FUNCTION soft key to call the additional funct
HEIDENHAIN TNC 128 1938.8 Additional functionsFN 14: ERROR: Display error messagesWith the function FN 14: ERROR you can call messages under program c
194 Programming: Q parameters8.8 Additional functions1017 CYCL incomplete1018 Plane wrongly defined1019 Wrong axis programmed1020 Wrong rpm1021 Radiu
HEIDENHAIN TNC 128 1958.8 Additional functions1042 Traverse direction not defined1043 No datum table active1044 Position error: center in axis 11045 P
196 Programming: Q parameters8.8 Additional functions1071 Missing calibration data1072 Tolerance exceeded1073 Block scan active1074 ORIENTATION not p
HEIDENHAIN TNC 128 1978.8 Additional functions1100 Kinematic access not possible1101 Meas. pos. not in traverse range1102 Preset compensation not poss
198 Programming: Q parameters8.8 Additional functionsFN 16: F-PRINT: Formatted output of text and Q-parameter valuesThe function FN 16: F-PRINT trans
HEIDENHAIN TNC 128 1998.8 Additional functionsThe following functions allow you to include the following additional information in the protocol log fi
Controls of the TNCKeys on visual display unitMachine operating modesProgramming modesProgram/file management, TNC functionsNavigation keysPotentiomet
209.1 Entering miscellaneous functions M and STOP ... 248Fundamentals ... 2489.2 Miscellaneous functions for program run control, spindle and cool
200 Programming: Q parameters8.8 Additional functionsIn the part program, program FN 16: F-PRINT to activate the output:The TNC then creates the file
HEIDENHAIN TNC 128 2018.8 Additional functionsDisplaying messages on the TNC screenYou can also use the function FN 16 to display any messages from th
202 Programming: Q parameters8.8 Additional functionsFN 18: SYS-DATUM READWith the function FN 18: SYS-DATUM READ you can read system data and store
HEIDENHAIN TNC 128 2038.8 Additional functions4 - Feed rate for pecking in active fixed cycle5 - 1st side length for rectangular pocket cycle6 - 2nd s
204 Programming: Q parameters8.8 Additional functions12 Tool no. PLC status13 Tool no. Maximum tooth length LCUTS14 Tool no. Maximum plunge angle ANG
HEIDENHAIN TNC 128 2058.8 Additional functions3 - Spindle speed S4 - Tool length oversize DL5 - Tool radius oversize DR6 - Automatic TOOL CALL 0 = Yes
206 Programming: Q parameters8.8 Additional functions+64: U axis mirrored+128: V axis mirrored+256: W axis mirroredCombinations = Sum of individual a
HEIDENHAIN TNC 128 2078.8 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
208 Programming: Q parameters8.8 Additional functions56 1 Maximum measuring range2 Safety clearance57 1 Spindle orientation possible: 0=No, 1=Yes2 Sp
HEIDENHAIN TNC 128 2098.8 Additional functionsValue from the active datum table in the active coordinate system, 500Line Column Read valuesBasic trans
HEIDENHAIN TNC 128 2110.1 Overview of special functions ... 258Main menu for SPEC FCT special functions ... 258Program defaults menu ... 259Func
210 Programming: Q parameters8.8 Additional functions21 - TT: Break tolerance for length LBREAK22 - TT: Break tolerance for radius RBREAK23 - PLC val
HEIDENHAIN TNC 128 2118.8 Additional functionsExample: Assign the value of the active scaling factor for the Z axis to Q25FN 19: PLC: Transfer values
212 Programming: Q parameters8.8 Additional functionsThe TNC 128 uses an extended interface for communication between the PLC and NC. This is a new,
HEIDENHAIN TNC 128 2138.8 Additional functionsFN 29: PLC: Transfer values to the PLCThe function FN 29: PLC transfers up to eight numerical values or
214 Programming: Q parameters8.8 Additional functionsFN 37: EXPORTYou need the FN37: EXPORT function if you want to create your own cycles and integr
HEIDENHAIN TNC 128 2158.9 Accessing tables with SQL commands8.9 Accessing tables with SQL commandsIntroductionAccessing of tables is programmed on the
216 Programming: Q parameters8.9 Accessing tables with SQL commandsA transactionIn principle, a transaction consists of the following actions: Addre
HEIDENHAIN TNC 128 2178.9 Accessing tables with SQL commandsResult setThe selected rows are numbered in ascending order within the result set, startin
218 Programming: Q parameters8.9 Accessing tables with SQL commandsProgramming SQL commandsProgram SQL commands in the Programming mode: Call the SQ
HEIDENHAIN TNC 128 2198.9 Accessing tables with SQL commandsSQL BINDSQL BIND binds a Q parameter to a table column. The SQL commands "Fetch,"
2211.1 Switch-on, switch-off ... 276Switch-on ... 276Switch-off ... 27711.2 Moving the machine axes ... 278Note ... 278Moving the axis using
220 Programming: Q parameters8.9 Accessing tables with SQL commandsSQL SELECTSQL SELECT selects table rows and transfers them to the result set. The
HEIDENHAIN TNC 128 2218.9 Accessing tables with SQL commands Parameter no. for result: Q parameter for the handle. The SQL server returns the handle
222 Programming: Q parameters8.9 Accessing tables with SQL commandsCondition ProgrammingEqual to ===Not equal to !=<>Less than <Less than or
HEIDENHAIN TNC 128 2238.9 Accessing tables with SQL commandsSQL FETCHSQL FETCH reads the row addressed with INDEX from the result set, and places the
224 Programming: Q parameters8.9 Accessing tables with SQL commandsSQL UPDATESQL UPDATE transfers the data prepared in the Q parameters into the row
HEIDENHAIN TNC 128 2258.9 Accessing tables with SQL commandsSQL COMMITSQL COMMIT transfers all rows in the result set back to the table. A lock set wi
226 Programming: Q parameters8.10 Entering formulas directly8.10 Entering formulas directlyEntering formulasYou can enter mathematical formulas that
HEIDENHAIN TNC 128 2278.10 Entering formulas directlyArc tangentInverse of the tangent. Determines the angle from the ratio of the opposite side to th
228 Programming: Q parameters8.10 Entering formulas directlyRules for formulasMathematical formulas are programmed according to the following rules:H
HEIDENHAIN TNC 128 2298.10 Entering formulas directlyProgramming exampleCalculate an angle with the arc tangent from the opposite side (Q12) and adjac
HEIDENHAIN TNC 128 2312.1 Programming and executing simple machining operations ... 312Positioning with manual data input (MDI) ... 312Protecting
230 Programming: Q parameters8.11 String parameters8.11 String parametersString processing functionsYou can use the QS parameters to create variable
HEIDENHAIN TNC 128 2318.11 String parametersAssigning string parametersYou have to assign a string variable before you use it. Use the DECLARE STRING
232 Programming: Q parameters8.11 String parametersChain-linking string parametersWith the concatenation operator (string parameter || string paramet
HEIDENHAIN TNC 128 2338.11 String parametersConverting a numerical value to a string parameter With the TOCHAR function, the TNC converts a numerical
234 Programming: Q parameters8.11 String parametersCopying a substring from a string parameter The SUBSTR function copies a definable range from a st
HEIDENHAIN TNC 128 2358.11 String parametersConverting a string parameter to a numerical value The TONUMB function converts a string parameter to a nu
236 Programming: Q parameters8.11 String parametersChecking a string parameter The INSTR function checks whether a string parameter is contained in a
HEIDENHAIN TNC 128 2378.11 String parametersFinding the length of a string parameterThe STRLEN function returns the length of the text saved in a sele
238 Programming: Q parameters8.11 String parametersComparing alphabetic priorityThe STRCOMP function compares string parameters for alphabetic priori
HEIDENHAIN TNC 128 2398.11 String parametersReading machine parametersUse the CFGREAD function to read out TNC machine parameters as numerical values
2413.1 Graphics ... 316Application ... 316Setting the speed of the test run ... 317Overview of display modes ... 318Plan view ... 318Project
240 Programming: Q parameters8.11 String parametersReading a string of a machine parameterIn order to store the content of a machine parameter as a s
HEIDENHAIN TNC 128 2418.11 String parametersReading a numerical value of a machine parameterIn order to store the value of a machine parameter as a nu
242 Programming: Q parameters8.12 Preassigned Q parameters8.12 Preassigned Q parametersThe Q parameters Q100 to Q199 are assigned values by the TNC.
HEIDENHAIN TNC 128 2438.12 Preassigned Q parametersTool axis: Q109The value of Q109 depends on the current tool axis:Spindle status: Q110The value of
244 Programming: Q parameters8.12 Preassigned Q parametersUnit of measurement for dimensions in the program: Q113During nesting with PGM CALL, the va
HEIDENHAIN TNC 128 2458.12 Preassigned Q parametersDeviation between actual value and nominal value during automatic tool measurement with the TT 130D
246 Programming: Q parameters8.12 Preassigned Q parameters
Programming:Miscellaneous functions
248 Programming: Miscellaneous functions9.1 Entering miscellaneous functions M and STOP9.1 Entering miscellaneous functions M and STOPFundamentalsWit
HEIDENHAIN TNC 128 2499.2 Miscellaneous functions for program run control, spindle and coolant9.2 Miscellaneous functions for program run control, spi
HEIDENHAIN TNC 128 2514.1 Selecting MOD functions ... 342Selecting the MOD functions ... 342Changing the settings ... 342Exiting the MOD functio
250 Programming: Miscellaneous functions9.3 Miscellaneous functions for coordinate data9.3 Miscellaneous functions for coordinate dataProgramming mac
HEIDENHAIN TNC 128 2519.3 Miscellaneous functions for coordinate dataBehavior with M92—Additional machine datumIf you want the coordinates in a positi
252 Programming: Miscellaneous functions9.3 Miscellaneous functions for coordinate dataReducing display of a rotary axis to a value less than 360°: M
HEIDENHAIN TNC 128 2539.4 Miscellaneous functions for contouring behavior9.4 Miscellaneous functions for contouring behaviorFeed rate factor for plung
254 Programming: Miscellaneous functions9.4 Miscellaneous functions for contouring behaviorFeed rate in millimeters per spindle revolution: M136Stand
HEIDENHAIN TNC 128 2559.4 Miscellaneous functions for contouring behaviorRetraction from the contour in the tool-axis direction: M140Standard behavior
256 Programming: Miscellaneous functions9.4 Miscellaneous functions for contouring behaviorSuppressing touch probe monitoring: M141Standard behaviorW
Programming: Specialfunctions
258 Programming: Special functions10.1 Overview of special functions10.1 Overview of special functionsThe TNC provides the following powerful special
HEIDENHAIN TNC 128 25910.1 Overview of special functionsProgram defaults menu Select the program defaults menuFunctions for contour and point machini
2615.1 Introduction ... 36215.2 Available cycle groups ... 363Overview of fixed cycles ... 36315.3 Working with fixed cycles ... 364Machine-sp
260 Programming: Special functions10.1 Overview of special functionsMenu for defining various plain-language functions Select the menu for defining
HEIDENHAIN TNC 128 26110.2 Freely definable tables10.2 Freely definable tablesFundamentalsIn freely definable tables you can read and save any informa
262 Programming: Special functions10.2 Freely definable tablesEditing the table format Press the EDIT FORMAT soft key (2nd soft-key level): The TNC
HEIDENHAIN TNC 128 26310.2 Freely definable tablesYou can use a connected mouse or the TNC keyboard to navigate in the form. Navigation using the TNC
264 Programming: Special functions10.2 Freely definable tablesSwitching between table and form viewAll tables with the file extension .TAB can be ope
HEIDENHAIN TNC 128 26510.2 Freely definable tablesFN26: TABOPEN: Opening a freely definable tableWith FN 26: TABOPEN you can define a table to be writ
266 Programming: Special functions10.2 Freely definable tablesFN 27: TABWRITE: Writing to a freely definable tableAfter you have opened a table with
HEIDENHAIN TNC 128 26710.2 Freely definable tablesFN28: TABREAD: Reading a freely definable tableAfter you have opened a table with FN26: TABOPEN, you
268 Programming: Special functions10.3 File functions10.3 File functionsApplicationThe FILE FUNCTION features are used to copy, move and delete files
HEIDENHAIN TNC 128 26910.4 Defining coordinate transformations10.4 Defining coordinate transformationsOverviewAs an alternative to the coordinate tran
HEIDENHAIN TNC 128 2716.1 Fundamentals ... 386Overview ... 38616.2 CENTERING (Cycle 240) ... 387Cycle run ... 387Please note while programmin
270 Programming: Special functions10.4 Defining coordinate transformationsTRANS DATUM TABLEYou can define a datum shift by selecting a datum number f
HEIDENHAIN TNC 128 27110.5 Creating text files10.5 Creating text filesApplicationYou can use the TNC’s text editor to write and edit texts. Typical ap
272 Programming: Special functions10.5 Creating text filesEditing textsAbove the first line of the text editor, there is an information field showing
HEIDENHAIN TNC 128 27310.5 Creating text filesEditing text blocksYou can copy and erase text blocks of any size, and insert them at other locations. B
274 Programming: Special functions10.5 Creating text filesFinding text sectionsWith the text editor, you can search for words or character strings in
Manual operation andsetup
276 Manual operation and setup11.1 Switch-on, switch-off11.1 Switch-on, switch-offSwitch-onSwitch on the power supply for TNC and machine. The TNC th
HEIDENHAIN TNC 128 27711.1 Switch-on, switch-offThe TNC is now ready for operation in the Manual Operation mode.Switch-offTo prevent data from being l
278 Manual operation and setup11.2 Moving the machine axes11.2 Moving the machine axesNoteMoving the axis using the machine axis direction buttonsSel
HEIDENHAIN TNC 128 27911.2 Moving the machine axesIncremental jog positioningWith incremental jog positioning you can move a machine axis by a preset
2816.10 Programming examples ... 41216.11 TAPPING NEW with floating tap holder (Cycle 206) ... 416Cycle run ... 416Please note while programming
280 Manual operation and setup11.2 Moving the machine axesTraversing with the HR 410 electronic handwheelThe portable HR 410 handwheel is equipped wi
HEIDENHAIN TNC 128 28111.3 Spindle speed S, feed rate F and miscellaneous functions M11.3 Spindle speed S, feed rate F and miscellaneous functions MFu
282 Manual operation and setup11.3 Spindle speed S, feed rate F and miscellaneous functions MChanging the spindle speed and feed rateWith the overrid
HEIDENHAIN TNC 128 28311.3 Spindle speed S, feed rate F and miscellaneous functions MActivating feed-rate limitationWhen the F LIMITED soft key is set
284 Manual operation and setup11.4 Datum setting without a 3-D touch probe11.4 Datum setting without a 3-D touch probeNoteYou fix a datum by setting
HEIDENHAIN TNC 128 28511.4 Datum setting without a 3-D touch probeWorkpiece presetting with axis keysSelect the Manual Operation modeMove the tool slo
286 Manual operation and setup11.4 Datum setting without a 3-D touch probeDatum management with the preset tableSaving the datums in the preset table
HEIDENHAIN TNC 128 28711.4 Datum setting without a 3-D touch probeManually saving the datums in the preset tableIn order to set datums in the preset t
288 Manual operation and setup11.4 Datum setting without a 3-D touch probeFunction Soft keyDirectly transfer the actual position of the tool (the mea
HEIDENHAIN TNC 128 28911.4 Datum setting without a 3-D touch probeEditing the preset tableEditing function in table mode Soft keySelect beginning of t
HEIDENHAIN TNC 128 2917.1 Fundamentals ... 426Overview ... 42617.2 RECTANGULAR POCKET (Cycle 251) ... 427Cycle run ... 427Please note while pr
290 Manual operation and setup11.4 Datum setting without a 3-D touch probeActivating a datum from the preset table in the Manual Operation modeSelect
HEIDENHAIN TNC 128 29111.5 Using the 3-D touch probe11.5 Using the 3-D touch probeOverviewThe following touch probe cycles are available in the Manual
292 Manual operation and setup11.5 Using the 3-D touch probeFunctions in touch probe cyclesSoft keys that are used to select the probing direction or
HEIDENHAIN TNC 128 29311.5 Using the 3-D touch probePosition the touch probe approximately in the center of the hole (inside circle) or near the first
294 Manual operation and setup11.5 Using the 3-D touch probeRecording measured values from the touch-probe cyclesAfter executing any selected touch p
HEIDENHAIN TNC 128 29511.5 Using the 3-D touch probeWriting the measured values from touch probe cycles to datum tablesWith the ENTER IN DATUM TABLE s
296 Manual operation and setup11.5 Using the 3-D touch probeWriting the measured values from touch probe cycles to the preset tableWith the ENTER IN
HEIDENHAIN TNC 128 29711.6 Calibrating a 3-D touch probe11.6 Calibrating a 3-D touch probeIntroductionIn order to precisely specify the actual trigger
298 Manual operation and setup11.6 Calibrating a 3-D touch probeCalibrating the effective length Set the datum in the spindle axis such that for the
HEIDENHAIN TNC 128 29911.6 Calibrating a 3-D touch probeCalibrating the effective radius and compensating center offsetAfter the touch probe is insert
Tool functionsSpecial functionsCoordinate axes and numbers: Entering and editingKey FunctionDefine tool data in the programCall tool dataKey FunctionS
3018.1 Fundamentals ... 442Overview ... 442Effect of coordinate transformations ... 44218.2 DATUM SHIFT (Cycle 7, DIN/ISO: G54) ... 443Effect
300 Manual operation and setup11.6 Calibrating a 3-D touch probeProceed as follows for manual calibration using a calibration ring: In the Manual Op
HEIDENHAIN TNC 128 30111.6 Calibrating a 3-D touch probeProceed as follows for manual calibration with a stud or calibration pin: In the Manual Opera
302 Manual operation and setup11.6 Calibrating a 3-D touch probeDisplaying calibration valuesThe TNC saves the effective length and effective radius
HEIDENHAIN TNC 128 30311.7 Datum setting with a 3-D touch probe11.7 Datum setting with a 3-D touch probeOverviewThe following soft-key functions are a
304 Manual operation and setup11.7 Datum setting with a 3-D touch probeCircle center as datumWith this function, you can set the datum at the center
HEIDENHAIN TNC 128 30511.7 Datum setting with a 3-D touch probeOutside circle: Position the touch probe at a position near the first touch point outs
306 Manual operation and setup11.7 Datum setting with a 3-D touch probeSetting the datum using multiple holes/cylindrical studsA second soft-key row
HEIDENHAIN TNC 128 30711.7 Datum setting with a 3-D touch probeCenter line as datum Select the probe function: Press the PROBING soft key Position t
308 Manual operation and setup11.7 Datum setting with a 3-D touch probeMeasuring workpieces with a 3-D touch probeYou can also use the touch probe in
HEIDENHAIN TNC 128 30911.7 Datum setting with a 3-D touch probeMeasuring workpiece dimensions Select the probing function: Press the PROBING POS soft
HEIDENHAIN TNC 128 3119.1 Fundamentals ... 458Overview ... 45819.2 DWELL TIME (Cycle 9) ... 459Function ... 459Cycle parameters ... 45919.3
310 Manual operation and setup11.7 Datum setting with a 3-D touch probeUsing touch probe functions with mechanical probes or dial gaugesIf you do not
Positioning with manualdata input
312 Positioning with manual data input12.1 Programming and executing simple machining operations12.1 Programming and executing simple machining opera
HEIDENHAIN TNC 128 31312.1 Programming and executing simple machining operationsDRILLING cycle: See "DRILLING (Cycle 200)" on page 3893 Y+50
314 Positioning with manual data input12.1 Programming and executing simple machining operationsProtecting and erasing programs in $MDIThe $MDI file
Test run andprogram run
316 Test run and program run13.1 Graphics13.1 GraphicsApplicationIn the program run modes of operation as well as in the Test Run mode, the TNC graph
HEIDENHAIN TNC 128 31713.1 GraphicsSetting the speed of the test runAfter you have started a program, the TNC displays the following soft keys with wh
318 Test run and program run13.1 GraphicsOverview of display modesThe TNC displays the following soft keys in the Program Run and Test Run modes of o
HEIDENHAIN TNC 128 31913.1 GraphicsProjection in 3 planesSimilar to a workpiece drawing, the part is displayed with a plan view and two sectional plan
3220.1 General information about touch probe cycles ... 464Method of function ... 464Touch probe cycles in the Manual Operation and El. Handwheel
320 Test run and program run13.1 Graphics3-D viewThe workpiece is displayed in three dimensions.You can rotate the 3-D display about the vertical and
HEIDENHAIN TNC 128 32113.1 GraphicsRotating and magnifying/reducing the 3-D view Shift the soft-key row until the soft key for the rotating and magni
322 Test run and program run13.1 GraphicsMagnifying detailsYou can magnify details in all display modes in the Test Run mode and a Program Run mode.
HEIDENHAIN TNC 128 32313.1 GraphicsRepeating graphic simulationA part program can be graphically simulated as often as desired, either with the comple
324 Test run and program run13.1 GraphicsMeasuring the machining timeProgram Run modes of operationThe timer counts and displays the time from progra
HEIDENHAIN TNC 128 32513.2 Showing the workpiece blank in the working space13.2 Showing the workpiece blank in the working spaceApplicationThis MOD fu
326 Test run and program run13.3 Functions for program display13.3 Functions for program displayOverviewIn the Program Run modes of operation as well
HEIDENHAIN TNC 128 32713.4 Test Run13.4 Test RunApplicationIn the Test Run mode of operation you can simulate programs and program sections to reduce
328 Test run and program run13.4 Test RunCaution: Danger of collision!The TNC cannot graphically simulate all traverse motions actually performed by
HEIDENHAIN TNC 128 32913.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
HEIDENHAIN TNC 128 3321.1 Machine-specific user parameters ... 484Application ... 48421.2 Pin layouts and connecting cables for the data interface
330 Test run and program run13.5 Program run13.5 Program runApplicationIn the Program Run, Full Sequence mode of operation the TNC executes a part pr
HEIDENHAIN TNC 128 33113.5 Program runRunning a part programPreparation1 Clamp the workpiece to the machine table2 Set the datum3 Select the required
332 Test run and program run13.5 Program runInterrupting machiningThere are several ways to interrupt a program run: Programmed interruptions Press
HEIDENHAIN TNC 128 33313.5 Program runMoving the machine axes during an interruptionYou can move the machine axes during an interruption in the same w
334 Test run and program run13.5 Program runResuming program run after an interruptionIf you interrupt a program run during execution of a subprogram
HEIDENHAIN TNC 128 33513.5 Program runMid-program startup (block scan)With the RESTORE POS AT N feature (block scan) you can start a part program at a
336 Test run and program run13.5 Program run Go to the first block of the current program to start a block scan: Enter GOTO "0" Select mi
HEIDENHAIN TNC 128 33713.5 Program runReturning to the contourWith the RESTORE POSITION function, the TNC returns to the workpiece contour in the foll
338 Test run and program run13.6 Optional block skip13.6 Optional block skipApplicationIn a test run or program run, the control can skip over blocks
HEIDENHAIN TNC 128 33913.7 Optional program-run interruption13.7 Optional program-run interruptionApplicationThe TNC optionally interrupts program run
340 Test run and program run13.7 Optional program-run interruption
MOD functions
342 MOD functions14.1 Selecting MOD functions14.1 Selecting MOD functionsThe MOD functions provide additional input possibilities and displays. In ad
HEIDENHAIN TNC 128 34314.1 Selecting MOD functionsOverview of MOD functionsThe functions available depend on the momentarily selected operating mode:P
344 MOD functions14.2 Software numbers14.2 Software numbersApplicationThe following software numbers are displayed on the TNC screen after the "
HEIDENHAIN TNC 128 34514.3 Entering code numbers14.3 Entering code numbersApplicationThe TNC requires a code number for the following functions:Functi
346 MOD functions14.4 Setting the data interfaces14.4 Setting the data interfacesSerial interfaces on the TNC 128The TNC 128 automatically uses the L
HEIDENHAIN TNC 128 34714.4 Setting the data interfacesSetting the data bits (dataBits)By setting the data bits you define whether a character is trans
348 MOD functions14.4 Setting the data interfacesSettings for data transfer with the TNCserver PC softwareEnter the following settings in the user pa
HEIDENHAIN TNC 128 34914.4 Setting the data interfacesSoftware for data transferFor transfer of files to and from the TNC, we recommend using the HEID
First steps with theTNC 128
350 MOD functions14.4 Setting the data interfacesData transfer between the TNC and TNCremoNTCheck whether the TNC is connected to the correct serial
HEIDENHAIN TNC 128 35114.5 Ethernet interface14.5 Ethernet interface IntroductionThe TNC is shipped with a standard Ethernet card to connect the contr
352 MOD functions14.5 Ethernet interfaceConnecting the control to the networkOverview of functions for configuring the network In the file manager (
HEIDENHAIN TNC 128 35314.5 Ethernet interfaceConfiguring the control's network address Connect the TNC (port X26) with a network or a PC In the
354 MOD functions14.5 Ethernet interfaceConfiguring network access to other devices (mount) Connect the TNC (port X26) with a network or a PC In th
HEIDENHAIN TNC 128 35514.5 Ethernet interfaceNFS option rsize: Packet size in bytes for data receptionwsize: Packet size for data transmission in byte
356 MOD functions14.5 Ethernet interfaceSettings on a PC with Windows 2000 To open Network Connections, click <Start>, <Control Panel>,
HEIDENHAIN TNC 128 35714.6 Position display types14.6 Position display typesApplicationIn the Manual Operation mode and in the Program Run modes of op
358 MOD functions14.7 Unit of measurement14.7 Unit of measurementApplicationThis MOD function determines whether the coordinates are displayed in mil
HEIDENHAIN TNC 128 35914.8 Displaying operating times14.8 Displaying operating timesApplicationThe MACHINE TIME soft key enables you to see various ty
36 First steps with the TNC 1281.1 Overview1.1 OverviewThis chapter is intended to help TNC beginners quickly learn to handle the most important proc
360 MOD functions14.8 Displaying operating times
Fundamentals of cycles
362 Fundamentals of cycles15.1 Introduction15.1 IntroductionFrequently recurring machining cycles that comprise several working steps are stored in t
HEIDENHAIN TNC 128 36315.2 Available cycle groups15.2 Available cycle groupsOverview of fixed cycles The soft-key row shows the available groups of c
364 Fundamentals of cycles15.3 Working with fixed cycles15.3 Working with fixed cyclesMachine-specific cyclesIn addition to the HEIDENHAIN cycles, ma
HEIDENHAIN TNC 128 36515.3 Working with fixed cyclesDefining a cycle using soft keys The soft-key row shows the available groups of cycles Press the
366 Fundamentals of cycles15.3 Working with fixed cyclesCalling cyclesThe following cycles become effective automatically as soon as they are defined
HEIDENHAIN TNC 128 36715.3 Working with fixed cyclesCalling a cycle with CYCL CALLThe CYCL CALL function calls the most recently defined fixed cycle o
368 Fundamentals of cycles15.4 PATTERN DEF pattern definition15.4 PATTERN DEF pattern definitionApplicationYou use the PATTERN DEF function to easily
HEIDENHAIN TNC 128 36915.4 PATTERN DEF pattern definitionEntering PATTERN DEF Select the Programming and Editing operating mode Press the special fu
HEIDENHAIN TNC 128 371.2 Machine switch-on1.2 Machine switch-onAcknowledging the power interruption and moving to the reference points Switch on the
370 Fundamentals of cycles15.4 PATTERN DEF pattern definitionDefining individual machining positions X coord. of machining position (absolute): Ente
HEIDENHAIN TNC 128 37115.4 PATTERN DEF pattern definitionDefining a single row Starting point in X (absolute): Coordinate of the starting point of th
372 Fundamentals of cycles15.4 PATTERN DEF pattern definitionDefining a single pattern Starting point in X (absolute): Coordinate of the starting po
HEIDENHAIN TNC 128 37315.4 PATTERN DEF pattern definitionDefining individual frames Starting point in X (absolute): Coordinate of the starting point
374 Fundamentals of cycles15.4 PATTERN DEF pattern definitionDefining a full circle Bolt-hole circle center X (absolute): Coordinate of the circle c
HEIDENHAIN TNC 128 37515.4 PATTERN DEF pattern definitionDefining a pitch circle Bolt-hole circle center X (absolute): Coordinate of the circle cente
376 Fundamentals of cycles15.5 POLAR PATTERN (Cycle 220)15.5 POLAR PATTERN (Cycle 220)Cycle run1 The TNC moves the tool at rapid traverse from its cu
HEIDENHAIN TNC 128 37715.5 POLAR PATTERN (Cycle 220)Cycle parameters Center in 1st axis Q216 (absolute): Center of the pitch circle in the reference
378 Fundamentals of cycles15.5 POLAR PATTERN (Cycle 220) Set-up clearance Q200 (incremental): Distance between tool tip and workpiece surface. Input
HEIDENHAIN TNC 128 37915.6 CARTESIAN PATTERN (Cycle 221)15.6 CARTESIAN PATTERN (Cycle 221)Cycle run1 The TNC automatically moves the tool from its cur
38 First steps with the TNC 1281.3 Programming the first part1.3 Programming the first partSelecting the correct operating modeYou can write programs
380 Fundamentals of cycles15.6 CARTESIAN PATTERN (Cycle 221)Cycle parameters Starting point 1st axis Q225 (absolute): Coordinate of the starting poi
HEIDENHAIN TNC 128 38115.7 Point tables15.7 Point tablesApplicationYou should create a point table (.*pnt) whenever you want to run a cycle, or severa
382 Fundamentals of cycles15.7 Point tablesHiding single points from the machining processIn the FADE column of the point table you can specify if th
HEIDENHAIN TNC 128 38315.7 Point tablesCalling a cycle in connection with point tablesIf you want the TNC to call the last defined fixed cycle at the
384 Fundamentals of cycles15.7 Point tables
Drilling, boring andthread cycles
386 Drilling, boring and thread cycles16.1 Fundamentals16.1 Fundamentals OverviewThe TNC offers 10 cycles for all types of drilling, boring and threa
HEIDENHAIN TNC 128 38716.2 CENTERING (Cycle 240)16.2 CENTERING (Cycle 240)Cycle run1 The TNC positions the tool in the spindle axis at rapid traverse
388 Drilling, boring and thread cycles16.2 CENTERING (Cycle 240)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and
HEIDENHAIN TNC 128 38916.3 DRILLING (Cycle 200)16.3 DRILLING (Cycle 200)Cycle run1 The TNC positions the tool in the spindle axis at rapid traverse FM
HEIDENHAIN TNC 128 391.3 Programming the first partCreating a new program/file management Press the PGM MGT key: The TNC opens the file manager. The
390 Drilling, boring and thread cycles16.3 DRILLING (Cycle 200)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and w
HEIDENHAIN TNC 128 39116.4 REAMING (Cycle 201)16.4 REAMING (Cycle 201)Cycle run1 The TNC positions the tool in the spindle axis at rapid traverse FMAX
392 Drilling, boring and thread cycles16.4 REAMING (Cycle 201)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and wo
HEIDENHAIN TNC 128 39316.5 BORING (Cycle 202)16.5 BORING (Cycle 202)Cycle run1 The TNC positions the tool in the spindle axis at rapid traverse FMAX t
394 Drilling, boring and thread cycles16.5 BORING (Cycle 202)Please note while programming:Machine and TNC must be specially prepared by the machine
HEIDENHAIN TNC 128 39516.5 BORING (Cycle 202)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and workpiece surface. I
396 Drilling, boring and thread cycles16.5 BORING (Cycle 202) Disengaging direction (0/1/2/3/4) Q214: Determine the direction in which the TNC retra
HEIDENHAIN TNC 128 39716.6 UNIVERSAL DRILLING (Cycle 203)16.6 UNIVERSAL DRILLING (Cycle 203)Cycle run1 The TNC positions the tool in the spindle axis
398 Drilling, boring and thread cycles16.6 UNIVERSAL DRILLING (Cycle 203)Please note while programming:Program a positioning block for the starting p
HEIDENHAIN TNC 128 39916.6 UNIVERSAL DRILLING (Cycle 203)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and workpiec
40 First steps with the TNC 1281.3 Programming the first partDefining a workpiece blankImmediately after you have created a new program, the TNC star
400 Drilling, boring and thread cycles16.6 UNIVERSAL DRILLING (Cycle 203) No. of breaks before retracting Q213: Number of chip breaks after which th
HEIDENHAIN TNC 128 40116.7 BACK BORING (Cycle 204)16.7 BACK BORING (Cycle 204)Cycle runThis cycle allows holes to be bored from the underside of the w
402 Drilling, boring and thread cycles16.7 BACK BORING (Cycle 204)Please note while programming:Machine and TNC must be specially prepared by the mac
HEIDENHAIN TNC 128 40316.7 BACK BORING (Cycle 204)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and workpiece surfa
404 Drilling, boring and thread cycles16.7 BACK BORING (Cycle 204) Coordinate of workpiece surface Q203 (absolute): Coordinate of the workpiece surf
HEIDENHAIN TNC 128 40516.8 UNIVERSAL PECKING (Cycle 205)16.8 UNIVERSAL PECKING (Cycle 205)Cycle run1 The TNC positions the tool in the spindle axis at
406 Drilling, boring and thread cycles16.8 UNIVERSAL PECKING (Cycle 205)Please note while programming:Program a positioning block for the starting po
HEIDENHAIN TNC 128 40716.8 UNIVERSAL PECKING (Cycle 205)Cycle parameters Set-up clearance Q200 (incremental): Distance between tool tip and workpiece
408 Drilling, boring and thread cycles16.8 UNIVERSAL PECKING (Cycle 205) Infeed depth for chip breaking Q257 (incremental): Depth at which the TNC c
HEIDENHAIN TNC 128 40916.9 SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241)16.9 SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241)Cycle run1 The TNC positions the too
HEIDENHAIN TNC 128 411.3 Programming the first partProgram layoutNC programs should be arranged consistently in a similar manner. This makes it easier
410 Drilling, boring and thread cycles16.9 SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241)Cycle parameters Set-up clearance Q200 (incremental): Distance b
HEIDENHAIN TNC 128 41116.9 SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241) Rotat. dir. of entry/exit (3/4/5) Q426: Desired direction of spindle rotation wh
412 Drilling, boring and thread cycles16.10 Programming examples16.10 Programming examplesExample: Drilling cycles0 BEGIN PGM C200 MM1 BLK FORM 0.1 Z
HEIDENHAIN TNC 128 41316.10 Programming examples6 X+10 R0 FMAX M3Approach hole 1, spindle ON8 Y+10 R0 FMAX M99Approach hole 1, call cycle9 X+90 R0 FMA
414 Drilling, boring and thread cycles16.10 Programming examplesExample: Using drilling cycles in connection with PATTERN DEFThe drill hole coordinat
HEIDENHAIN TNC 128 41516.10 Programming examples6 CYCL DEF 240 CENTERINGCycle definition: CENTERINGQ200=2 ;SET-UP CLEARANCEQ343=0 ;SELECT DEPTH/DIA.Q2
416 Drilling, boring and thread cycles16.11 TAPPING NEW with floating tap holder (Cycle 206)16.11 TAPPING NEW with floating tap holder (Cycle 206)Cyc
HEIDENHAIN TNC 128 41716.11 TAPPING NEW with floating tap holder (Cycle 206)Cycle parameters Set-up clearance Q200 (incremental): Distance between to
418 Drilling, boring and thread cycles16.12 RIGID TAPPING without a floating tap holder NEW (Cycle 207)16.12 RIGID TAPPING without a floating tap hol
HEIDENHAIN TNC 128 41916.12 RIGID TAPPING without a floating tap holder NEW (Cycle 207)Please note while programming:Machine and TNC must be specially
42 First steps with the TNC 1281.3 Programming the first partProgramming a simple contourThe contour shown to the right is to be milled once to a dep
420 Drilling, boring and thread cycles16.12 RIGID TAPPING without a floating tap holder NEW (Cycle 207)Cycle parameters Set-up clearance Q200 (incre
HEIDENHAIN TNC 128 42116.13 Programming example16.13 Programming exampleExample: Thread millingThe drill hole coordinates are stored in the point tabl
422 Drilling, boring and thread cycles16.13 Programming example10 CYCL CALL PAT F5000 M3Cycle call in connection with point table TAB1.PNTFeed rate b
HEIDENHAIN TNC 128 42316.13 Programming examplePoint table TAB1.PNTTAB1.PNTMMNRXYZ0+10+10+01+40+30+02+90+10+03+80+30+04+80+65+05+90+90+06+10+90+07+20+
424 Drilling, boring and thread cycles16.13 Programming example
Fixed cycles: Pocketmilling / stud milling /slot milling
426 Fixed cycles: Pocket milling / stud milling / slot milling17.1 Fundamentals17.1 FundamentalsOverviewThe TNC offers 2 cycles for machining pockets
HEIDENHAIN TNC 128 42717.2 RECTANGULAR POCKET (Cycle 251)17.2 RECTANGULAR POCKET (Cycle 251)Cycle runUse Cycle 251 RECTANGULAR POCKET to completely ma
428 Fixed cycles: Pocket milling / stud milling / slot milling17.2 RECTANGULAR POCKET (Cycle 251)Please note while programming:Pre-position the tool
HEIDENHAIN TNC 128 42917.2 RECTANGULAR POCKET (Cycle 251)Cycle parameters Machining operation (0/1/2) Q215: Define the machining operation:0: Roughin
HEIDENHAIN TNC 128 431.3 Programming the first part Move the tool to workpiece depth: Press the orange Z axis key and enter the value for the positio
430 Fixed cycles: Pocket milling / stud milling / slot milling17.2 RECTANGULAR POCKET (Cycle 251) Infeed for finishing Q338 (incremental): Infeed pe
HEIDENHAIN TNC 128 43117.2 RECTANGULAR POCKET (Cycle 251)Example: NC blocks8 CYCL DEF 251 RECTANGULAR POCKETQ215=0 ;MACHINING OPERATIONQ218=80 ;1ST SI
432 Fixed cycles: Pocket milling / stud milling / slot milling17.3 RECTANGULAR STUD (Cycle 256)17.3 RECTANGULAR STUD (Cycle 256)Cycle runUse Cycle 25
HEIDENHAIN TNC 128 43317.3 RECTANGULAR STUD (Cycle 256)Please note while programming:Pre-position the tool in the machining plane to the starting posi
434 Fixed cycles: Pocket milling / stud milling / slot milling17.3 RECTANGULAR STUD (Cycle 256)Cycle parameters Machining operation (0/1/2) Q215: De
HEIDENHAIN TNC 128 43517.3 RECTANGULAR STUD (Cycle 256) Feed rate for finishing Q385: Traversing speed of the tool during side and floor finishing in
436 Fixed cycles: Pocket milling / stud milling / slot milling17.3 RECTANGULAR STUD (Cycle 256) Set-up clearance Q200 (incremental): Distance betwee
HEIDENHAIN TNC 128 43717.4 Programming examples17.4 Programming examplesExample: Milling pockets, studs and slots0 BEGIN PGM C210 MM1 BLK FORM 0.1 Z X
438 Fixed cycles: Pocket milling / stud milling / slot milling17.4 Programming examples5 CYCL DEF 256 RECTANGULAR STUDDefine cycle for machining the
HEIDENHAIN TNC 128 43917.4 Programming examples8 CYCL DEF 251 RECTANGULAR POCKETDefine RECTANGULAR POCKET cycleQ215=0 ;MACHINING OPERATIONQ218=60 ;1ST
44 First steps with the TNC 1281.3 Programming the first part Approach contour point 1 and retract the tool: Press the orange X axis key and enter t
440 Fixed cycles: Pocket milling / stud milling / slot milling17.4 Programming examples
Cycles: Coordinatetransformations
442 Cycles: Coordinate transformations18.1 Fundamentals18.1 FundamentalsOverviewOnce a contour has been programmed, you can position it on the workpi
HEIDENHAIN TNC 128 44318.2 DATUM SHIFT (Cycle 7, DIN/ISO: G54)18.2 DATUM SHIFT (Cycle 7, DIN/ISO: G54)EffectA DATUM SHIFT allows machining operations
444 Cycles: Coordinate transformations18.3 DATUM SHIFT with datum tables (Cycle 7)18.3 DATUM SHIFT with datum tables (Cycle 7)EffectDatum tables are
HEIDENHAIN TNC 128 44518.3 DATUM SHIFT with datum tables (Cycle 7)Please note while programming:Danger of collision!Datums from a datum table are alwa
446 Cycles: Coordinate transformations18.3 DATUM SHIFT with datum tables (Cycle 7)Cycle parameters Datum shift: Enter the number of the datum from t
HEIDENHAIN TNC 128 44718.3 DATUM SHIFT with datum tables (Cycle 7)Editing the datum table in the Programming and Editing mode of operationSelect the d
448 Cycles: Coordinate transformations18.3 DATUM SHIFT with datum tables (Cycle 7)Configuring the datum tableIf you do not wish to define a datum for
HEIDENHAIN TNC 128 44918.4 DATUM SETTING (Cycle 247)18.4 DATUM SETTING (Cycle 247)EffectWith the DATUM SETTING cycle you can activate as the new datum
HEIDENHAIN TNC 128 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 Cycles: Coordinate transformations18.5 MIRROR IMAGE (Cycle 8)18.5 MIRROR IMAGE (Cycle 8)EffectThe TNC can machine the mirror image of a contour i
HEIDENHAIN TNC 128 45118.5 MIRROR IMAGE (Cycle 8)Cycle parameters Mirrored axis?: Enter the axis to be mirrored. You can mirror all axes except for t
452 Cycles: Coordinate transformations18.6 SCALING FACTOR (Cycle 11)18.6 SCALING FACTOR (Cycle 11)EffectThe TNC can increase or reduce the size of co
HEIDENHAIN TNC 128 45318.7 AXIS-SPECIFIC SCALING (Cycle 26)18.7 AXIS-SPECIFIC SCALING (Cycle 26)EffectWith Cycle 26 you can account for shrinkage and
454 Cycles: Coordinate transformations18.7 AXIS-SPECIFIC SCALING (Cycle 26)Cycle parameters Axis and scaling factor: Select the coordinate axis/axes
HEIDENHAIN TNC 128 45518.8 Programming examples18.8 Programming examplesExample: Groups of holesProgram sequence Approach the groups of holes in the
456 Cycles: Coordinate transformations18.8 Programming examples10 CYCL DEF 7.0 DATUM SHIFTDatum shift for group 211 CYCL DEF 7.1 X+7512 CYCL DEF 7.2
Cycles: Special functions
458 Cycles: Special functions19.1 Fundamentals19.1 FundamentalsOverviewThe TNC provides four cycles for the following special purposes:Cycle Soft key
HEIDENHAIN TNC 128 45919.2 DWELL TIME (Cycle 9)19.2 DWELL TIME (Cycle 9)FunctionThis causes the execution of the next block within a running program t
46 First steps with the TNC 1281.3 Programming the first part Call the menu for special functions Display the functions for point machining Select
460 Cycles: Special functions19.3 PROGRAM CALL (Cycle 12)19.3 PROGRAM CALL (Cycle 12)Cycle functionRoutines that you have programmed (such as special
HEIDENHAIN TNC 128 46119.3 PROGRAM CALL (Cycle 12)Cycle parameters Program name: Enter the name of the program you want to call and, if necessary, th
462 Cycles: Special functions19.4 ORIENTED SPINDLE STOP (Cycle 13)19.4 ORIENTED SPINDLE STOP (Cycle 13)Cycle functionThe TNC can control the machine
Touch probe cycles
464 Touch probe cycles20.1 General information about touch probe cycles20.1 General information about touch probe cyclesMethod of functionWhenever th
HEIDENHAIN TNC 128 46520.2 Before you start working with touch probe cycles20.2 Before you start working with touch probe cyclesTo make it possible to
466 Touch probe cycles20.2 Before you start working with touch probe cyclesTouch trigger probe, probing feed rate: F in touch probe tableIn F you def
HEIDENHAIN TNC 128 46720.3 Touch probe table20.3 Touch probe tableGeneral informationVarious data is stored in the touch probe table that defines the
468 Touch probe cycles20.3 Touch probe tableTouch probe dataAbbr. Inputs DialogNO Number of the touch probe: Enter this number in the tool table (col
HEIDENHAIN TNC 128 46920.4 Fundamentals of tool measurement20.4 Fundamentals of tool measurementOverviewIn conjunction with the TNC's tool measur
HEIDENHAIN TNC 128 471.3 Programming the first partExample NC blocksFurther information on this topic Creating a new program: See "Creating and
470 Touch probe cycles20.4 Fundamentals of tool measurementYou can program the cycles for tool measurement in the Programming and Editing mode of ope
HEIDENHAIN TNC 128 47120.4 Fundamentals of tool measurementSetting the machine parametersWhen measuring a rotating tool, the TNC automatically calcula
472 Touch probe cycles20.4 Fundamentals of tool measurementprobingFeedCalc = ConstantFeed: The feed rate for probing remains constant; the error of m
HEIDENHAIN TNC 128 47320.4 Fundamentals of tool measurementInput examples for common tool typesTool type CUT TT:R_OFFS TT:L_OFFSDrill – (no function)
474 Touch probe cycles20.5 Calibrating the TT (Cycle 480)20.5 Calibrating the TT (Cycle 480)Cycle runThe TT is calibrated with the measuring cycle TC
HEIDENHAIN TNC 128 47520.6 Calibrating the wireless TT 449 (Cycle 484)20.6 Calibrating the wireless TT 449 (Cycle 484)FundamentalsWith Cycle 484, you
476 Touch probe cycles20.7 Measuring the tool length (Cycle 481)20.7 Measuring the tool length (Cycle 481)Cycle runTo measure the tool length, progra
HEIDENHAIN TNC 128 47720.7 Measuring the tool length (Cycle 481)Cycle parameters Measure tool=0 / Check tool=1: Select whether the tool is to be meas
478 Touch probe cycles20.8 Measuring the tool radius (Cycle 482)20.8 Measuring the tool radius (Cycle 482)Cycle runTo measure the tool radius, progra
HEIDENHAIN TNC 128 47920.8 Measuring the tool radius (Cycle 482)Cycle parameters Measure tool=0 / Check tool=1: Select whether the tool is to be meas
48 First steps with the TNC 1281.4 Graphically testing the first part1.4 Graphically testing the first part Selecting the correct operating modeYou c
480 Touch probe cycles20.9 Measuring the tool length and radius (Cycle 483)20.9 Measuring the tool length and radius (Cycle 483)Cycle runTo measure t
HEIDENHAIN TNC 128 48120.9 Measuring the tool length and radius (Cycle 483)Cycle parameters Measure tool=0 / Check tool=1: Select whether the tool is
482 Touch probe cycles20.9 Measuring the tool length and radius (Cycle 483)
Tables and overviews
484 Tables and overviews21.1 Machine-specific user parameters21.1 Machine-specific user parametersApplicationThe parameter values are entered in the
HEIDENHAIN TNC 128 48521.1 Machine-specific user parametersCalling the configuration editor Select the Programming mode of operation Press the MOD k
486 Tables and overviews21.1 Machine-specific user parametersDisplaying help textsThe HELP key enables you to call a help text for each parameter obj
HEIDENHAIN TNC 128 48721.1 Machine-specific user parametersDisplaySettingsDisplay step for the individual axesList of all available axesDisplay step f
488 Tables and overviews21.1 Machine-specific user parametersDisplaySettingsSettings of the NC and PLC conversational languageNC conversational langu
HEIDENHAIN TNC 128 48921.1 Machine-specific user parametersProbeSettingsConfiguration of a round stylusCoordinates of the stylus center[0]: X coordina
HEIDENHAIN TNC 128 491.4 Graphically testing the first partChoosing the program you want to test Press the PGM MGT key: The TNC opens the file manage
490 Tables and overviews21.1 Machine-specific user parametersChannelSettingsCH_NCActive kinematics Kinematics to be activatedList of machine kinemati
HEIDENHAIN TNC 128 49121.1 Machine-specific user parametersSettings for the NC editorGenerate backup filesTRUE: Generate backup file after editing NC
492 Tables and overviews21.2 Pin layouts and connecting cables for the data interfaces21.2 Pin layouts and connecting cables for the data interfacesR
HEIDENHAIN TNC 128 49321.2 Pin layouts and connecting cables for the data interfacesNon-HEIDENHAIN devicesThe connector layout of a non-HEIDENHAIN dev
494 Tables and overviews21.3 Technical information21.3 Technical informationExplanation of symbols StandardAxis optionSoftware option 1 Software
HEIDENHAIN TNC 128 49521.3 Technical informationProgramming aids Calculator Complete list of all current error messages Context-sensitive help fun
496 Tables and overviews21.3 Technical informationSpindle speed Maximum 100 000 rpm (analog speed command signal)Error compensation Linear and no
HEIDENHAIN TNC 128 49721.3 Technical informationSoftware option for additional conversational languages (option number 41)Additional conversational la
498 Tables and overviews21.3 Technical informationInput format and unit of TNC functionsPositions, coordinates, circle radii, chamfer lengths–99 999.
HEIDENHAIN TNC 128 499Overview tablesFixed cyclesCycle number Cycle designationDEF activeCALL active7 Datum shift 8 Mirroring 9 Dwell time 11 Scali
HEIDENHAIN TNC 128 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 1281.4 Graphically testing the first partStarting the test run Press the RESET + START soft key: The TNC simulates the a
500Miscellaneous functionsM Effect Effective at block... Start End PageM0 Program run STOP/Spindle STOP/Coolant OFF Page 249M1 Optional program STOP
HEIDENHAIN TNC 128 501IndexSymbole3-D touch probes ... 362, 464CalibratingTriggering ... 2973-D view ... 320AAccessories ... 73Actual position capture
502 IndexFFN20: WAIT FOR: NC and PLC synchronization ... 211FN23: CIRCLE DATA: Calculating a circle from 3 points ... 188FN24: CIRCLE DATA: Calculati
HEIDENHAIN TNC 128 503IndexPProgram defaults ... 259Program management: see File managementProgram name:See File management, File nameProgram runExecu
504 IndexVVersion numbers ... 345WWindow manager ... 71Working space, monitoring ... 325, 329Workpiece blank, defining ... 81Workpiece measurement ..
Touch probes from HEIDENHAINhelp you reduce non-productive time and improve the dimensional accuracy of the fi nished workpieces.Workpiece touch probes
HEIDENHAIN TNC 128 511.5 Tool setup1.5 Tool setupSelecting the correct operating modeTools are set up in the Manual Operation mode: Press the Manual
52 First steps with the TNC 1281.6 Workpiece setup1.6 Workpiece setupSelecting the correct operating modeWorkpieces are set up in the Manual Operatio
HEIDENHAIN TNC 128 531.6 Workpiece setupDatum setting with a 3-D touch probe Insert the 3-D touch probe: In the MDI mode, run a TOOL CALL block conta
54 First steps with the TNC 1281.7 Running the first program1.7 Running the first programSelecting the correct operating modeYou can run programs eit
Introduction
56 Introduction2.1 The TNC 1282.1 The TNC 128The TNC 128 is a workshop-oriented straight cut control that enables you to program conventional machini
HEIDENHAIN TNC 128 572.2 Visual display unit and keyboard2.2 Visual display unit and keyboardVisual display unitThe TNC is shipped with a 12.1-inch TF
58 Introduction2.2 Visual display unit and keyboardSetting the screen layoutYou select the screen layout yourself: In the PROGRAMMING AND EDITING mod
HEIDENHAIN TNC 128 592.2 Visual display unit and keyboardOperating panelThe TNC 128 is delivered with an integrated keyboard. The figure at right show
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 modes2.3 Operating modesManual Operation and El. HandwheelThe Manual Operation mode is required for setting up the machi
HEIDENHAIN TNC 128 612.3 Operating modesProgramming and EditingIn this mode of operation you can write your part programs. The various cycles and Q-pa
62 Introduction2.3 Operating modesProgram Run, Full Sequence and Program Run, Single BlockIn the Program Run, Full Sequence mode of operation the TNC
HEIDENHAIN TNC 128 632.4 Status displays2.4 Status displays"General" status displayThe status display in the lower part of the screen inform
64 Introduction2.4 Status displaysAdditional status displaysThe additional status displays contain detailed information on the program run. They can
HEIDENHAIN TNC 128 652.4 Status displaysOverviewAfter switch-on, the TNC displays the Overview status form, provided that you have selected the PROGRA
66 Introduction2.4 Status displaysProgram section repeat/Subprograms (LBL tab)Information on standard cycles (CYC tab)Soft key MeaningNo direct selec
HEIDENHAIN TNC 128 672.4 Status displaysActive miscellaneous functions M (M tab)Soft key MeaningNo direct selection possibleList of the active M funct
68 Introduction2.4 Status displaysPositions and coordinates (POS tab)Information on tools (TOOL tab)Soft key MeaningType of position display, e.g. ac
HEIDENHAIN TNC 128 692.4 Status displaysTool measurement (TT tab)Coordinate transformations (TRANS tab)For further information, refer to the User&apos
HEIDENHAIN TNC 128 7 TNC model, software and featuresSoftware optionsThe TNC 128 features various software options that can be enabled by your machine
70 Introduction2.4 Status displaysDisplaying Q parameters (QPARA tab)Soft key MeaningDisplay the current values of the defined Q parametersDisplay th
HEIDENHAIN TNC 128 712.5 Window manager2.5 Window managerThe TNC features the Xfce window manager. Xfce is a standard application for UNIX-based opera
72 Introduction2.5 Window managerTask barIn the task bar you can choose different workspaces by mouse click. The TNC provides the following workspace
HEIDENHAIN TNC 128 732.6 Accessories: HEIDENHAIN 3-D touch probes and electronic handwheels2.6 Accessories: HEIDENHAIN 3-D touch probes and electronic
74 Introduction2.6 Accessories: HEIDENHAIN 3-D touch probes and electronic handwheels
Programming:Fundamentals,file management
76 Programming: Fundamentals, file management3.1 Fundamentals3.1 FundamentalsPosition encoders and reference marksThe machine axes are equipped with
HEIDENHAIN TNC 128 773.1 FundamentalsReference system on milling machinesWhen using a milling machine, you orient tool movements to the Cartesian coor
78 Programming: Fundamentals, file management3.1 FundamentalsAbsolute and incremental workpiece positionsAbsolute workpiece positionsAbsolute coordin
HEIDENHAIN TNC 128 793.1 FundamentalsSetting the datumA production drawing identifies a certain form element of the workpiece, usually a corner, as th
8 TNC model, software and featuresFeature content level (upgrade functions)Along with software options, significant further improvements of the TNC
80 Programming: Fundamentals, file management3.2 Creating and writing programs3.2 Creating and writing programsOrganization of an NC program in HEIDE
HEIDENHAIN TNC 128 813.2 Creating and writing programsCreating a new part programYou always enter a part program in the Programming and Editing mode o
82 Programming: Fundamentals, file management3.2 Creating and writing programsExample: Display the BLK form in the NC programThe TNC generates the bl
HEIDENHAIN TNC 128 833.2 Creating and writing programsProgramming tool movements in conversational formatTo program a block, initiate the dialog by pr
84 Programming: Fundamentals, file management3.2 Creating and writing programsPossible feed rate inputFunctions for setting the feed rate Soft keyRap
HEIDENHAIN TNC 128 853.2 Creating and writing programsActual position captureThe TNC enables you to transfer the current tool position into the progra
86 Programming: Fundamentals, file management3.2 Creating and writing programsEditing a programWhile you are creating or editing a part program, you
HEIDENHAIN TNC 128 873.2 Creating and writing programsInserting blocks at any desired location Select the block after which you want to insert a new
88 Programming: Fundamentals, file management3.2 Creating and writing programsLooking for the same words in different blocksTo use this function, set
HEIDENHAIN TNC 128 893.2 Creating and writing programsMarking, copying, deleting and inserting program sectionsThe TNC provides certain functions for
HEIDENHAIN TNC 128 9ContentsFirst steps with the TNC 1281Introduction2Programming: Fundamentals, file management3Programming: Programming aids4Program
90 Programming: Fundamentals, file management3.2 Creating and writing programsThe TNC search functionThe search function of the TNC enables you to se
HEIDENHAIN TNC 128 913.2 Creating and writing programsFinding/Replacing any text If required, select the block containing the word you wish to find
92 Programming: Fundamentals, file management3.3 File management: Fundamentals3.3 File management: FundamentalsFilesWhen you write a part program on
HEIDENHAIN TNC 128 933.3 File management: FundamentalsFile namesWhen you store programs, tables and texts as files, the TNC adds an extension to the f
94 Programming: Fundamentals, file management3.3 File management: FundamentalsShowing externally created files on the TNCThe TNC features several add
HEIDENHAIN TNC 128 953.4 Working with the file manager3.4 Working with the file managerDirectoriesTo ensure that you can easily find your files, we re
96 Programming: Fundamentals, file management3.4 Working with the file managerOverview: Functions of the file managerFunction Soft key PageCopy a fil
HEIDENHAIN TNC 128 973.4 Working with the file managerCalling the file managerPress the PGM MGT key: The TNC displays the file management window (see
98 Programming: Fundamentals, file management3.4 Working with the file managerSelecting drives, directories and filesCall the file managerUse the arr
HEIDENHAIN TNC 128 993.4 Working with the file managerStep 3: Select a filePress the SELECT TYPE soft keyPress the soft key for the desired file type,
Comments to this Manuals