Table of Contents

Advertisement

Quick Links

TNC 128
User's Manual
Conversational Programming
NC Software
771841-06
English (en)
10/2017

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TNC 128 and is the answer not in the manual?

Questions and answers

Summary of Contents for HEIDENHAIN TNC 128

  • Page 1 TNC 128 User's Manual Conversational Programming NC Software 771841-06 English (en) 10/2017...
  • Page 2 Abort dialog, delete program section Program run, single block Tool functions Program run, full sequence Function Define tool data in the program Programming modes Call tool data Function Programming Test run HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 3: Navigation Keys

    Navigate to the program end or end of a table line Navigate up one page Navigate down one page Select the next tab in forms Up/down one dialog box or button HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 5 Fundamentals...
  • Page 6: About This Manual

    Signal word indicating the hazard severity Type and source of hazard Consequences of ignoring the hazard, e.g.: "There is danger of collision during subsequent machining operations" Escape – Hazard prevention measures HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 7 Would you like any changes, or have you found any errors? We are continuously striving to improve our documentation for you. Please help us by sending your requests to the following e-mail address: tnc-userdoc@heidenhain.de HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 8 Many machine manufacturers, as well as HEIDENHAIN, offer programming courses for the HEIDENHAIN controls. Participation in one of these courses is recommended to familiarize yourself thoroughly with the control's functions. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 9 Fundamentals | Control model, software and features Software options The TNC 128 features various software options that can be enabled by your machine tool builder. Each option is to be enabled separately and contains the following respective functions: Additional Axis (option 0 and option 1)
  • Page 10: Legal Information

    Legal information This product uses open source software. Further information is available on the control under: Programming operating mode MOD function LICENSE INFO soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 11: Heidenhain | Tnc 128 | Conversational Programming User's Manual | 10/2017

    In the thread milling cycles 26x an approaching feed rate has been introduced In Cycle 205 Universal Pecking you can now use parameter Q208 to define a feed rate for retraction, see "Cycle parameters", page 546 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 12: New Functions 77184X

    New manual probing function for aligning a plane, see "Measuring 3-D basic rotation" CAD files can be opened without option number 42, see "Data Transfer from CAD Files", page 217 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 13: Modified Functions 77184X

    50000, see "Machine-specific user parameters", page 640 New and modified cycle functions 77184x-03 Cycle 253 SLOT MILLING has been added (option 19), see "SLOT MILLING (Cycle 253, DIN/ISO: G253)", page 575 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 14 SWITCH soft key, see "Editing an NC program", page 119 It is possible to search quickly for a file in file management by entering the first letter, see "Selecting drives, directories and files", page 131 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 15 In the Test Run operating mode you can hide the rapid traverse movements with the FMAX PATHS soft key, see "3-D view in the Test Run operating mode", page 437 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 16 TNC drive, see "Backup and restore", page 102 The new HR 520 and HR 550FS handwheels are supported, see "Moving with the electronic display handwheels", page 383 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 17 "Feed rate limit F MAX", page 395 Soft key allocations were adapted for incremental positioning The values entered for the traverse limits are checked for validity, see "Entering traverse limits", page 471 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 18 In the file management the function Select the target directory was modified for copying files or directories. The soft keys OK and CANCEL are available on the first two positions HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 19 452 Mid-program startup operation and dialog guidance has been improved, also for pallet tables, see "Entering the program at any point: Mid-program startup", page 457 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 20 "2". This makes it possible to check the tool without changing the tool table, see "Cycle parameters", page 633, see "Cycle parameters", page 635, see "Cycle parameters", page 637 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 21 "FN16: F-PRINT – Formatted output of texts and Q parameter values", page 261 The FN18 functions have been expanded, see "FN 18: SYSREAD – Reading system data", page 268 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 22 The machine parameter clearPathAtBlk (no. 124203) enables you to specify whether the tool paths will be cleared with a new BLK FORM in the Test Run operating mode, see "Machine- specific user parameters", page 640 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 23 ENT key, a pop-up window opens. When configuration subfiles are modified, the control no longer aborts the test run, but only displays a warning. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 24 The tool touch probe cycles, such as Cycles 480, 481 and 482, can be hidden see "Machine-specific user parameters", page 640 New SERIAL column in the touch probe table see "touch probe data", page 623 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 25: Table Of Contents

    18 Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling............569 19 Cycles: Coordinate Transformations................... 593 20 Cycles: Special Functions......................609 21 Touch probe cycles........................617 22 Tables and Overviews........................639 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 26 Contents HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 27 Presetting with a 3-D touch probe (option number 17)................. 77 Running the first program........................78 Selecting the correct operating mode....................78 Choosing the program you want to run....................78 Starting the program..........................78 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 28 Remote Service............................95 Printer..............................97 SELinux security software........................99 VNC..............................100 Backup and restore..........................102 Accessories: HEIDENHAIN 3-D touch probes and electronic handwheels........105 3-D touch probes..........................105 HR electronic handwheels........................106 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 29 Additional functions..........................140 Additional tools for management of external file types...............141 Data transfer to or from an external data carrier.................149 The control in a network........................150 USB devices on the control.........................151 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 30 Magnification or reduction of details....................169 Error messages........................... 170 Display of errors...........................170 Opening the error window........................170 Closing the error window........................170 Detailed error messages........................171 INTERNAL INFO soft key........................171 FILTER soft key............................ 171 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 31 Informational texts..........................174 Saving service files..........................174 Calling the TNCguide help system...................... 174 4.10 TNCguide context-sensitive help system..................175 Application............................175 Working with TNCguide........................176 Downloading current help files......................180 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 32 Pocket table for tool changer....................... 199 Calling the tool data..........................202 Tool change............................204 Tool usage test.............................205 Tool compensation..........................208 Introduction............................208 Tool length compensation........................208 Tool radius compensation with paraxial positioning blocks..............209 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 33 Subprograms and program section repeats..................213 Programming with Q parameters......................213 Tool movements..........................214 Programming tool movements for workpiece machining..............214 Capture actual position........................215 Example: Linear movement......................... 216 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 34 Contents Data Transfer from CAD Files......................217 Screen layout of the CAD viewer.....................218 Fundamentals of the CAD viewer....................... 218 CAD viewer............................219 Application............................219 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 35 Nesting depth............................232 Subprogram within a subprogram....................... 233 Repeating program section repeats.....................234 Repeating a subprogram........................235 Programming examples........................236 Example: Groups of holes........................236 Example: Group of holes with several tools..................238 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 36 FN 37: EXPORT........................... 299 FN 38: SEND – Send information from NC program................299 Accessing tables with SQL commands................... 300 Introduction............................300 Overview of functions..........................301 Programming SQL commands......................302 Application example..........................303 SQL BIND.............................304 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 37 Tool length: Q114..........................333 Coordinates after probing during program run..................333 Deviation between actual value and nominal value during automatic tool measurement with, for example, the TT 160..........................333 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 38 10.4 Miscellaneous functions for path behavior..................342 Feed rate factor for plunging movements: M103................342 Feed rate in millimeters per spindle revolution: M136................ 343 Retraction from the contour in the tool-axis direction: M140..............344 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 39 11.8 Creating text files..........................364 Application............................364 Opening and exiting a text file......................364 Editing texts............................365 Deleting and re-inserting characters, words and lines.................365 Editing text blocks..........................366 Finding text sections..........................367 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 40 11.9 Tool carrier management........................368 Fundamentals............................368 Save tool carrier templates........................368 Assigning input parameters to tool carriers..................369 Allocating parameterized tool carriers....................372 11.10 Dwell time FUNCTION DWELL......................373 Programming dwell time........................373 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 41 Writing measured values from the touch-probe cycles to the preset table.........411 12.7 Calibrating 3-D touch probes (option 17)..................412 Introduction............................412 Calibrating the effective length......................413 Calibrating the effective radius and compensating center misalignment..........414 Displaying calibration values........................ 417 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 42 12.8 Presetting with a 3-D touch probe (option number 17)..............418 Overview.............................. 418 Presetting on any axis..........................418 Circle center as preset.........................419 Setting a center line as preset......................422 Measuring workpieces with a 3-D touch probe.................. 423 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 43 Contents 13 Positioning with Manual Data Input..................425 13.1 Programming and executing simple machining operations............426 Positioning with manual data input (MDI)................... 427 Protecting programs in $MDI......................430 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 44 Entering the program at any point: Mid-program startup..............457 Returning to the contour........................462 14.6 Skipping blocks..........................463 Application............................463 Delete / symbol............................ 463 Delete / symbol............................ 463 14.7 Optional program-run interruption....................464 Application............................464 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 45 Set stop bits (stopBits no. 106705)..................... 480 Set handshake (flowControl no. 106706).....................481 File system for file operation (fileSystem no. 106707)................ 481 Block check character (bccAvoidCtrlChar no. 106708)................. 481 Condition of RTS line (rtsLow no. 106709)..................481 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 46 Application............................494 Assigning the handwheel to a specific handwheel holder..............494 Setting the transmission channel......................495 Selecting the transmitter power......................495 Statistical data............................496 15.14 Load machine configuration......................497 Application............................497 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 47 Please note while programming:......................515 Cycle parameters..........................516 16.7 LINEAR PATTERN (Cycle 221)......................517 Cycle run.............................. 517 Please note while programming:......................517 Cycle parameters..........................518 16.8 Point tables............................519 Application............................519 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 48 Creating a point table.......................... 519 Hiding single points from the machining process................520 Selecting a point table in the program....................520 Calling a cycle in connection with point tables................... 521 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 49 Positioning behavior during program run with Q379................548 17.9 SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241)................551 Cycle run.............................. 551 Please note while programming:......................552 Cycle parameters..........................553 Positioning behavior during program run with Q379................555 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 50 17.12 RIGID TAPPING without a floating tap holder (Cycle 207)............563 Cycle run.............................. 563 Please note while programming:......................564 Cycle parameters..........................565 Retracting after a program interruption....................566 17.13 Programming Examples........................567 Example: Thread milling........................567 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 51 Cycle parameters..........................581 18.5 FACE MILLING (Cycle 233)........................ 583 Cycle run.............................. 583 Please note while programming:......................587 Cycle parameters..........................588 18.6 Programming Examples........................591 Example: Milling pockets, studs......................591 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 52 Effect..............................603 Cycle parameters..........................603 19.7 AXIS-SPECIFIC SCALING (Cycle 26)....................604 Effect..............................604 Please note while programming:......................604 Cycle parameters..........................605 19.8 Programming Examples........................606 Example: Groups of holes........................606 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 53 20.4 SPINDLE ORIENTATION (Cycle 13)....................613 Cycle function............................613 Please note while programming:......................613 Cycle parameters..........................613 20.5 THREAD CUTTING (Cycle 18)......................614 Cycle run.............................. 614 Please note while programming:......................614 Cycle parameters..........................615 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 54 Cycle run.............................. 632 Please note while programming:......................633 Cycle parameters..........................633 21.8 Measuring tool radius (Cycle 482, Option 17).................634 Cycle run.............................. 634 Please note while programming:......................634 Cycle parameters..........................635 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 55 Contents 21.9 Measuring tool length and radius (Cycle 483, Option 17)............. 636 Cycle run.............................. 636 Please note while programming:......................636 Cycle parameters..........................637 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 56 RS-232-C/V.24 interface for HEIDENHAIN devices................653 Non-HEIDENHAIN devices........................655 Ethernet interface RJ45 socket......................655 22.3 Technical Information.........................656 Technical Information..........................656 User functions............................657 Software options..........................660 Accessories............................660 Fixed cycles............................661 Miscellaneous functions........................662 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 57: First Steps With The Tnc 128

    First Steps with the TNC 128...
  • Page 58: Overview

    Read and follow the safety precautions and safety symbols Use the safety devices Refer to your machine manual. Switching on the machine and traversing the reference points can vary depending on the machine tool. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 59 The control is now ready for operation in the Manual operation mode. Further information on this topic Approaching reference points Further information: "Switch-on", page 376 Operating modes "Programming", page 83 Further information: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 60: Programming The First Part

    First Steps with the TNC 128 | Programming the first part Programming the first part Selecting the correct operating mode You can write programs only in Programming mode: Press the operating mode key The control switches to the Programming mode of operation.
  • Page 61: Opening A New Program/File Management

    First Steps with the TNC 128 | Programming the first part Opening a new program/file management Press the PGM MGT key The control opens the file manager. The file management of the control is arranged much like the file management on a PC with Windows Explorer.
  • Page 62: Defining A Workpiece Blank

    First Steps with the TNC 128 | Programming the first part Defining a workpiece blank After you have created a new program you can define a workpiece blank. For example, define a cuboid by entering the MIN and MAX points, each with reference to the selected preset.
  • Page 63: Program Layout

    First Steps with the TNC 128 | Programming the first part Program layout NC programs should be arranged consistently in a similar manner. This makes it easier to find your place, accelerates programming and reduces errors. Recommended program layout for simple, conventional...
  • Page 64 First Steps with the TNC 128 | Programming the first part Recommended program layout for simple cycle programs Example 0 BEGIN PGM BSBCYC MM 1 BLK FORM 0.1 Z X... Y... Z... 2 BLK FORM 0.2 X... Y... Z... 3 TOOL CALL 5 Z S5000 4 Z+250 R0 FMAX 5 PATTERN DEF POS1( X...
  • Page 65: Programming A Simple Contour

    First Steps with the TNC 128 | Programming the first part Programming a simple contour The contour shown to the right is to be milled once to a depth of 5 mm. You have already defined the workpiece blank. After you have initiated a dialog through a function key, enter all the data requested by the control in the screen header.
  • Page 66 First Steps with the TNC 128 | Programming the first part Move tool to working depth: Press the orange axis key Z and enter the value for the position to be approached, e.g. –5. Press the ENT key Confirm Tool radius comp: R+/R-/no comp?
  • Page 67 First Steps with the TNC 128 | Programming the first part Retract tool: Press the orange axis key Z to retract in the tool axis, and enter the value for the position to be approached, e.g. 250. Press the ENT key...
  • Page 68: Creating A Cycle Program

    First Steps with the TNC 128 | Programming the first part Creating a cycle program The holes (depth of 20 mm) shown in the figure at right are to be drilled with a standard drilling cycle. You have already defined the workpiece blank.
  • Page 69 First Steps with the TNC 128 | Programming the first part Enter Retract tool: Press the orange axis key Z and enter the value for the position to be approached, e.g. 250. Press the ENT key Confirm Radius comp.: R+/R-/no comp.? by...
  • Page 70: Graphically Testing The First Part

    First Steps with the TNC 128 | Graphically testing the first part Graphically testing the first part Selecting the correct operating mode You can test programs in the Test Run operating mode: Press the operating mode key The control switches to the Test Run mode of operation.
  • Page 71: Choosing The Program You Want To Test

    First Steps with the TNC 128 | Graphically testing the first part Choosing the program you want to test Press the PGM MGT key The control opens the file manager. Press the LAST FILES soft key The control opens a pop-up window with the most recently selected files.
  • Page 72: Starting The Test Run

    First Steps with the TNC 128 | Graphically testing the first part Starting the test run Press the RESET + START soft key The control resets the previously active tool data The control simulates the active program up to a...
  • Page 73: Setting Up Tools

    When measuring with an external tool presetter: Measure the tools, note down the length and radius, or transfer them directly to the machine through a transfer program When measuring on the machine: Insert the tool HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 74: The Tool Table Tool.t

    Further information on this topic Operating modes of the control "Modes of operation", page 83 Further information: Working with the tool table Further information: "Entering tool data into the table", page 188 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 75: The Pocket Table Tool_P .Tch

    Further information on this topic Operating modes of the control Further information: "Modes of operation", page 83 Working with the pocket table Further information: "Pocket table for tool changer", page 199 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 76: Workpiece Setup

    Presetting with a 3-D touch probe Further information: "Presetting with a 3-D touch probe (option number 17)", page 418 Presetting without 3-D touch probe Further information: "Presetting without a 3-D touch probe", page 403 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 77: Presetting With A 3-D Touch Probe (Option Number 17)

    Repeat this procedure for all axes, in which you want to set a preset Further information on this topic Presetting Further information: "Presetting with a 3-D touch probe (option number 17)", page 418 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 78: Running The First Program

    First Steps with the TNC 128 | Running the first program Running the first program Selecting the correct operating mode You can run programs either in the Program run, single block or the Program run, full sequence mode: Press the operating mode key...
  • Page 79: Introduction

    Introduction...
  • Page 80: The Tnc 128

    Compatibility Machining programs created on the HEIDENHAIN TNC 124 straight cut control may not always run on the TNC 128. If the NC blocks contain invalid elements, the control will mark these as ERROR blocks or with error messages when the file is opened.
  • Page 81: Visual Display Unit And Operating Panel

    Press the screen layout key: The soft-key row shows the available layout options Further information: "Modes of operation", page 83 Select the desired screen layout with a soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 82: Control Panel

    Refer to your machine manual. Some machine tool builders do not use the standard HEIDENHAIN operating panel. External keys, e.g.NC START or NC STOP, are described in your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 83: Modes Of Operation

    Soft keys for selecting the screen layout Soft key Window Program Left: program, right: program structure Left: program blocks, right: programming graphics HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 84: Test Run

    CYCL CALL PAT the controls stops after each point. Soft keys for selecting the screen layout Soft key Window Program Left: program, right: structure Left: program, right: status display Left: program, right: graphics Graphic HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 85: Status Displays

    Program stopped, e.g. in operating mode Program run, full sequence after pressing the NC stop key For safety reasons, the control permits no handling in this condition HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 86 Pulsing spindle speed function is active The order of icons can be changed with the optional machine parameter iconPrioList (no. 100813). The control-in-operation symbol is always visible and cannot be configured. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 87: Additional Status Displays

    Tool information Active M functions Active coordinate transformations Active subprogram Active program section repeat Program called with PGM CALL Current machining time Name and path of the active main program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 88 Soft key Meaning No direct List of the active M functions with fixed selection meaning possible List of the active M functions that are adapted by your machine manufacturer HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 89 Tool measurement (TT tab) The control displays this tab only if the function is active on your machine. Soft key Meaning No direct Active tool selection possible Measured values from tool measurement HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 90 The result of Q1 = COS 89.999 * 0.001 is shown by the control as +1.74532925e-08, whereby e-08 corresponds to the factor of 10 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 91: Window Manager

    In this case, switch to the window manager and correct the problem. If required, refer to your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 92: Overview Of Taskbar

    HEIDENHAIN symbol between the workspaces by pressing and holding the left mouse button. Click the green HEIDENHAIN symbol to open a menu in which you can get information, make settings or start applications. The following functions are available:...
  • Page 93 The applications available under tools can be started directly by selecting the corresponding file type in the file management of the control Further information: "Additional tools for management of external file types", page 141 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 94: Portscan

    Select the Diagnostic menu item Select the Portscan menu item The control opens the HeRos Portscan pop-up window. Press the Automatic update on key Set the time interval with the slider HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 95: Remote Service

    With an NC software installation a temporary certificate is automatically installed on the control. An installation, also in the form of an update, may only be carried out by a service technician from the machine tool builder. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 96 Press the green HEIDENHAIN button to open the JH menu Select the Diagnostic menu item Select the RemoteService menu item Enter the Session key of the machine tool builder HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 97: Printer

    PRINTER:. This can be useful if the file to be printed is populated with data by using FN functions, e.g. during probing. Standard printer Select to define the standard printer in case several printers are available. Is defined automatically when creating the first printer. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 98 Using the FN 16: F-PRINT function "Printing messages", page 267 Further information: List of printable files: Text files Graphic files PDF files The connected printer must be PostScript-enabled. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 99: Selinux Security Software

    Starting the SELinux configuration: The configuration of SELinux is usually password-protected by your machine manufacturer; refer here to the relevant machine manual HEIDENHAIN recommends activating SELinux because it provides additional protection against attacks from outside. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 100: Vnc

    Manual Manually entered client Denied This client is not permitted to connect TeleService/IPC 61xx Client via TeleService connection DHCP Other computer that obtains an IP address from this computer HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 101 This dialog makes it possible to refuse that the focus be given to the requesting client. If this does not occur, the focus changes to the requesting client after the set time limit. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 102: Backup And Restore

    Press the green HEIDENHAIN button to open the JH menu Select the Tools menu item Open the NC/PLC Backup or NC/PLC Restore menu item The control opens the pop-up window. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 103 Select the next step with the FORWARD soft key The control generates the backup file. Confirm with the OK soft key The control concludes the backup process and restarts the NC software. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 104 Stop the control if required with the STOP NC SOFTWARE soft Extract the archive The control restores the files. Confirm with the OK soft key The control restarts the NC software. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 105: Accessories: Heidenhain 3-D Touch Probes And Electronic Handwheels

    A wear-resistant optical switch generates the trigger signal. With the TT 160, signal transmission is by cable. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 106: Hr Electronic Handwheels

    Apart from the HR 130 and HR 150 integral handwheels, HEIDENHAIN also offers the HR 510, HR 520 and HR 550FS portable handwheels. Further information: "Moving with the electronic display handwheels", page 383 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 107: Fundamentals, File Management

    Fundamentals, File Management...
  • Page 108: Fundamentals

    Relative coordinates are referenced to any other known position (reference point) you define within the coordinate system. Relative coordinate values are also referred to as incremental coordinate values. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 109: Reference System Of Milling Machines

    X direction, and the index finger in the positive Y direction. The TNC 128 can control up to 4 axes optionally. The axes U, V and W are secondary linear axes parallel to the main axes X, Y and Z, respectively.
  • Page 110: Absolute And Incremental Workpiece Positions

    Y = 10 mm Hole 5, with respect to Hole 6, with respect to X = 20 mm X = 20 mm Y = 10 mm Y = 10 mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 111: Selecting The Preset

    X=450 Y=750. By using the Datum shift cycle you can shift the datum temporarily to the position X=450, Y=750 and program the holes to 7) without further calculations. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 112: Creating And Writing Programs

    The control does not automatically check whether collisions can occur between the tool and the workpiece. There is danger of collision during the approach movement after a tool change! If necessary, program an additional safe auxiliary position HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 113: Defining The Blank: Blk Form

    1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Spindle axis, MIN point coordinates 2 BLK FORM 0.2 X+100 Y+100 Z+0 MAX point coordinates 3 END PGM NEW MM Program end, name, unit of measure HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 114: Creating A New Nc Program

    BLK FORM (workpiece blank). Select a rectangular workpiece blank: Press the soft key for a rectangular blank form Working plane in graphic: XY Enter the spindle axis, e.g. Z HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 115 The control automatically generates the block numbers as well as the BEGIN and END blocks. If you do not wish to define a blank form, cancel the dialog at Working plane in graphic: XY using the DEL key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 116: Programming Tool Movements In Klartext

    Go to the next question with ENT. MISCELLANEOUS FUNCTION M ? 3 (enter the miscellaneous function M3 Spindle on) With the END key, the control ends this dialog. Example 3 X+10 R0 F100 M3 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 117 The number of teeth must be defined in the tool table in the CUT column. Functions for conversational guidance Ignore the dialog question End the dialog immediately Abort the dialog and erase the block HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 118: Actual Position Capture

    If you have to choose an input alternative via soft key (e.g. for radius compensation), then the control closes the soft-key row for axis selection. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 119: Editing An Nc Program

    ENT key. Or: Press the GOTO key, enter the block number step and jump up or down the number of entered lines by pressing the N LINES soft HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 120 Confirm with the OK soft key or the ENT key, or press the CANCEL soft key to abort The file saved with SAVE AS can also be found in the file management by pressing the LAST FILES soft key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 121 If you start a search in a very long NC program, the control shows a progress indicator. You can cancel the search at any time, if necessary. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 122 Using the arrow keys, select the block after which you wish to insert the copied (cut) program section Insert the saved program section: Press the INSERT BLOCK soft To end the marking function, press the CANCEL SELECTION soft HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 123: The Control's Search Function

    Repeat the search process The control moves to the next block containing the text you are searching for. Terminate the search function: Press the END soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 124 To replace all text occurrences, press the REPLACE ALL soft key. To skip the text and move to its next occurrence press the FIND soft key Terminate the search function: Press the END soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 125: File Management: Basics

    With the control you can manage and save files up to a total size of 2 GB. Depending on the setting, the control generates backup files with the extension *.bak after editing and saving of NC programs. This reduces the available memory space. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 126 The maximum permitted path length is 255 characters. The path length consists of the drive characters, the directory name and the file name, including the extension. Further information: "Paths", page 128 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 127: Displaying Externally Generated Files On The Control

    Ask your machine manufacturer for assistance, if necessary. Take the time occasionally to delete any unneeded files so that the control always has enough hard-disk space for system files (such as the tool table). HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 128: Working With The File Manager

    PROG1.H was copied into it. The part program now has the following path: TNC:\AUFTR1\NCPROG\PROG1.H The chart at right illustrates an example of a directory display with different paths. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 129: Overview: Functions Of The File Manager

    Customize table view Manage network drives Select the editor Sort files by properties Copy a directory Delete directory with all its subdirectories Refresh directory Rename a directory Create a new directory HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 130: Calling The File Manager

    Date that the file was last edited Time Time that the file was last edited To display the dependent files, set the machine parameter dependentFiles (no. 122101) to MANUAL. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 131: Selecting Drives, Directories And Files

    Step 1: Select drive Move the highlight to the desired drive in the left window To select a drive, press the SELECT soft key, or Press the ENT key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 132 If you enter the first letter of the file you are looking for in file management, the cursor automatically jumps to the first program with the same letter. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 133: Creating A New Directory

    The original file is retained. When you start the copying process with the ENT key or the OK soft key, the control displays a pop-up window with a progress indicator. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 134: Copying Files Into Another Directory

    To leave the files as they are, press the CANCEL soft key If you want to overwrite a protected file, select the Protected files field or cancel the process. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 135: Copying A Table

    Press the TAG soft key Select additional lines, if required Press the SAVE AS soft key Enter a name for the table in which the selected lines are to be saved HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 136: Copying A Directory

    The control asks whether you want to delete the file. To confirm the deletion, press the OK soft key; or To cancel deletion, press the CANCEL soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 137: Deleting A Directory

    The control asks you whether you really want to delete the directory and all its subdirectories and files. To confirm the deletion, press the OK soft key; or To cancel deletion, press the CANCEL soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 138: Tagging Files

    To copy tagged files: Leave the active soft-key row Press the COPY soft key To delete tagged files: Leave the active soft-key row Press the DELETE soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 139: Renaming A File

    Press the SORT soft key Select the soft key with the corresponding display criterion SORT BY NAME SORT BY SIZE SORT BY DATE SORT BY TYPE SORT BY STATUS UNSORTED HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 140: Additional Functions

    To remove a USB device, proceed as follows: Move the cursor to the left-hand window Press the MORE FUNCTIONS soft key Remove the USB device Further information: "USB devices on the control", page 151 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 141: Additional Tools For Management Of External File Types

    PC to the control. Adjust the setting in the TNCremo data transfer software, if required (menu item >Extras > Configuration > Mode). HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 142 Press the key for switching the soft keys opens the File pull-down menu. PDF viewer Move the cursor to the Close menu item. Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 143 Press the key for switching the soft keys additional tool opens the File pull- Gnumeric down menu. Move the cursor to the Close menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 144 If you position the mouse pointer over a button, a brief tool tip explaining the function of this button will be displayed. More information on how to use Browser is available in Help. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 145 Press the ENT key The control returns to the file management. Do not change the Web Browser version. Otherwise, the security settings of SELinux will block the execution of Web Browser. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 146 Press the key for switching the soft keys opens the ARCHIVE pull-down menu. Xarchiver Move the cursor to the Exit menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 147 Select the Tools and Leafpad menu items in the pull-down menu Proceed as follows to exit Leafpad: Use the mouse to select the File menu item Select Exit The control returns to the file management. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 148 Press the key for switching the soft keys opens the File pull-down menu. ristretto Move the cursor to the Exit menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 149: Data Transfer To Or From An External Data Carrier

    A status window appears on the control, informing about the copying progress, or Stop transfer: Press the WINDOW soft key The control displays the standard file manager window again. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 150: The Control In A Network

    Auto column if the connec- tion is established automatically Set up new network connection Remove Delete existing network connection Copy Copy network connection Edit Edit network connection Clear Delete the status window HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 151: Usb Devices On The Control

    The dialog is closed with the HIDE soft key and file transfer is continued in the background. The control displays a warning until file transfer is completed. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 152 Fundamentals, File Management | Working with the file manager Removing USB devices To remove a USB device, proceed as follows: Move the cursor to the left-hand window Press the MORE FUNCTIONS soft key Remove the USB device HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 153: Programming Aids

    Programming Aids...
  • Page 154 SPECIAL CHARACTERS soft key and insert them. Use the BACKSPACE soft key to delete individual characters. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 155 Select the last word in the NC block with the right arrow key: Press the semicolon key ; on the alphabetic keyboard The control displays the dialog prompt Comment? Enter the comment Press the END key to conclude the NC block HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 156 Jump to the beginning of a word. Use a space to separate words Jump to the end of a word. Use a space to separate words Switch between paste and overwrite mode HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 157 The control opens a new NC block. Add the desired syntax Confirm your entry with END After confirmation, the control checks the syntax. Errors will result in ERROR blocks. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 158 Screen content can be shifted with the mouse using the scroll bar at the right edge of the program window. In addition, the size and position of the scrollbar indicates program length and cursor position. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 159 Displaying the program structure window / Changing the active window Display structure window: For this screen layout press the PROGRAM + STRUCTURE soft key Change the active window: Press the CHANGE WINDOW soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 160 If you are scrolling through the program structure window block by block, the control at the same time automatically moves the corresponding NC blocks in the program window. This way you can quickly skip large program sections. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 161 Add value to buffer memory Save the value to buffer memory Recall from buffer memory Delete buffer memory contents Natural logarithm Logarithm Exponential function Check the algebraic sign Form the absolute value HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 162 The calculator remains in effect even after a change in operating modes. Press the END soft key to close the calculator. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 163 Open the cutting data calculator You can also shift the calculator with the arrow keys on your keyboard. If you have connected a mouse you can also position the calculator with this. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 164 F AUTO soft key. If you have to change the feed rate later, you only need to adjust the feed rate value in the TOOL CALL block. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 165 Switch to the pocket calculator Move the cutting data calculator in the direction of the arrow Use inch values in the cutting data calculator Close the cutting data calculator HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 166 The control uses various colors in the programming graphics: blue: uniquely specified contour element violet: not yet uniquely specified contour element holes and threads light blue: ocher: tool midpoint path red: rapid traverse HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 167 Selecting views Plan view Front view Page view Display or hide tool paths Display or hide tool paths in rapid traverse HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 168 Shift the soft-key row Erase the graphics: Press the CLEAR GRAPHICS soft key Showing grid lines Shift the soft-key row Show grid lines: Press the Show grid lines soft HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 169 After you release the left mouse button, the control zooms in on the defined area. To rapidly magnify or reduce any area, rotate the mouse wheel backwards or forwards. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 170: Error Messages

    The control opens the error window and displays all accumulated error messages. Closing the error window Press the END soft key; or Press the ERR key The control closes the error window. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 171 Open the error window Press the MORE FUNCTIONS soft key Press the FILTER soft key The control filters the identical warnings Leave Filter: Press the GO BACK soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 172 Set the current error log if required: Press the CURRENT FILE soft key The oldest entry is at the beginning of the log file, and the most recent entry is at the end. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 173 Soft key/Keys Function Go to beginning of keystroke log Go to end of keystroke log Find text Current keystroke log Previous keystroke log Up/down one line Return to main menu HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 174 Machine manufacturer (OEM) soft key with which you can call this separate help system. There you will find further, more detailed information on the error message concerned. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 175 .chm files. As an option, your machine tool builder can embed machine-specific documentation in the TNCguide. These documents then appear as a separate book in the file. main.chm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 176 Press the HELP key. The control opens the Help system and shows the description of the active function. This does not apply for miscellaneous functions or cycles from your machine manufacturer. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 177 Select the page last shown Page forward if you have used the Select page last shown function Move up by one page Move down by one page HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 178 Use the ENT key to call the information on the selected keyword You can enter the search word only with a keyboard connected via USB. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 179 To activate the function, use the mouse or select it and then press the space bar to confirm. You can enter the search word only with a keyboard connected via USB. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 180 When using TNCremo to transfer the .chm files to the control, select the binary mode for files with the .chm extension. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 181 TNC:\tncguide\da Finnish TNC:\tncguide\fi Dutch TNC:\tncguide\nl Polish TNC:\tncguide\pl TNC:\tncguide\hu Hungarian Russian TNC:\tncguide\ru Chinese (simplified) TNC:\tncguide\zh Chinese (traditional) TNC:\tncguide\zh-tw Slovenian TNC:\tncguide\sl Norwegian TNC:\tncguide\no TNC:\tncguide\sk Slovak Korean TNC:\tncguide\kr Turkish TNC:\tncguide\tr Romanian TNC:\tncguide\ro HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 183: Tool

    Tools...
  • Page 184 You can adjust the feed rate during the program run with the feed rate potentiometer F . The feed rate potentiometer lowers the programmed feed rate, not the feed rate calculated by the control. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 185 Changing during program run You can adjust the spindle speed during program run with the spindle speed potentiometer S. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 186 You should always enter the tool length L as an absolute value based on the tool reference point. Tool radius R You can enter the tool radius R directly. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 187 Tool number: Each tool is uniquely identified by its tool number Tool length: Compensation value for the tool length Tool radius: Compensation value for the tool radius Example 4 TOOL DEF 5 L+10 R+5 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 188 You can select the table view with the Screen Layout key. You can choose between a list view and a form view. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 189 Enter the original tool number into the Tool number input field Confirm with OK The control adds the additional lines to the tool table HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 190 Current age of the tool in minutes: The control automati- Current tool age? cally counts the current tool life (CUR_TIME: For CURrent TIME) A starting value can be entered for used tools HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 191 Time for exceeding the tool life in minutes Tool life expired Further information: "Overtime for tool life", page 204 Function is defined by the machine manufacturer. Refer to your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 192 Permissible deviation from tool radius R for breakage Breakage tolerance: radius? detection. If the entered value is exceeded, the control locks the tool (status L). Input range: 0 to 0.9999 mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 193 Select the table start Select the table end Select the previous page in the table Select the next page in the table Find the text or number Go to beginning of line HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 194 Delete the current line (tool) Sort the tools according to the content of a column Select possible entries from a pop-up window Reset the value Place the cursor in the current cell HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 195 Show all drills in the tool table Show all cutters in the tool table Show all taps/thread cutters in the tool table Show all touch probes in the tool table HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 196 "Editing the tool table", page 193 Further information: Exiting any other tool table Call the file manager and select a file of a different type, such as an NC program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 197 If you export a tool table from an iTNC 530 and import it into a TNC 128, you have to adapt its format and content before you can use the tool table. On the TNC 128, you can adapt the tool table conveniently with the ADAPT NC PGM / TABLE function. The control converts the contents of the imported tool table to a format valid for the TNC 128 and saves the changes to the selected file.
  • Page 198 (e.g. TST.T) is overwritten. All other tool data of the table TOOL.T remains unchanged. The procedure for copying tool tables using the file manager is described in the file management. Further information: "Copying a table", page 135 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 199 Press the POCKET TABLE soft key Set the EDIT soft key to ON. On your machine this might not be necessary or even possible. Refer to your machine manual HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 200 Lock the pocket below? LOCKED_LEFT Box magazine: Lock the pocket at left Lock the pocket at left? LOCKED_RIGHT Box magazine: Lock the pocket at right Lock the pocket at right? HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 201 Place the cursor in the current cell Sort the view Refer to your machine manual. The machine manufacturer defines the features, properties and designations of the various display filters. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 202 If the tool axis is also entered in the TOOL CALL block, the control will insert a replacement tool if a replacement tool was defined. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 203 If you are working with tool tables, use a TOOL DEF block to preselect the next tool. Simply enter the tool number or a corresponding Q parameter, or type the tool name in quotation marks. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 204 The machine manufacturer specifies whether this column is enabled and how it is used during tool search. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 205 Completely run the NC program in the Program Run, Full Sequence/Single Block operating modes In the Test Run operating mode, press the GENERATE TOOL USAGE FILE soft key (also possible without simulation) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 206 Minimum feed rate override that occurred during machining. The control enters the value -1 during the test run NAMEPROG 0: The tool number is programmed 1: The tool name is programmed HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 207 Press the OK soft key The control closes the pop-up window. Alternative: Press the ENT key You can query the tool usage test with the FN 18 ID975 NR1 function. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 208 Tool length L from TOOL DEF block or tool table Oversize for length DL in the TOOL CALL block TOOL CALL Oversize for length DL in the tool table HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 209 Oversize for radius DR in the tool table Contouring without radius compensation: R0 The tool center moves in the working plane , or to the programmed coordinates. Applications: Drilling and boring, pre-positioning HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 210 The TNC shortens the traverse path of the tool by the tool radius Select tool movement without radius compensation or cancel radius compensation: Press the ENT key Terminate the block: Press the END key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 211: Programming Tool Movements

    Programming tool - movements...
  • Page 212 (R +) or shortens it (R-). Further information: "Tool radius compensation with paraxial positioning blocks", page 209 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 213 In addition, programming with Q parameters enables you to measure with the 3-D touch probe during the program run. "Programming Q Parameters", page 241 Further information: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 214 3 (the miscellaneous function M3 switches on the spindle) The control ends this dialog with the ENT key The program-block window displays the following line: 6 X+10 R0 FMAX M3 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 215 Press the Actual-Position-Capture key The control generates an block. Select the desired axis, e.g. by pressing the ACT. POS. X soft key The control loads the actual position and ends the dialog. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 216 12 Y+5 R+ Move to point 4 13 X-10 R0 Close the contour and retract 14 Z+250 R0 FMAX M30 Retract the tool, end program 16 END PGM LINEAR MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 217: Data Transfer From Cad Files

    Data Transfer from CAD Files...
  • Page 218 The control displays the following file formats: File Type Format Step .STP and .STEP AP 203 AP 214 IGES .IGS and .IGES Version 5.3 .DXF R10 to 2015 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 219 5 decimal places with inch Switch between various views of the model e.g. Top You can use icons to select contours and drilling positions, but the control cannot execute the elements. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 221: Subprograms And Program Section Repeats

    Subprograms and Program Section Repeats...
  • Page 222 Do not use a label number or label name more than once! Label 0 (LBL 0) is used exclusively to mark the end of a subprogram and can therefore be used as often as desired. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 223 LBL NAME soft key to switch to text entry. Enter the text Mark the end: Press the LBL SET key and enter the label number 0 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 224 Ignore repeats REP by pressing the NO ENT key. Repeat REP is used only for program section repeats CALL LBL 0 is not permitted (Label 0 is only used to mark the end of a subprogram). HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 225 The total number of times the program section is executed is always one more than the programmed number of repeats, because the first repeat starts after the first machining process. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 226 If you want to use a LABEL name, press the LBL NAME soft key to switch to text entry Enter the number of repeats REP and confirm with the ENT key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 227 Select a point table with SEL PATTERN Select an NC program with SEL PGM Call the last selected file with CALL SELECTED Select any NC program with SEL CYCLE as a fixed cycle HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 228 If the called NC program contains the miscellaneous functions M2 or M30, then the control displays a warning. The control automatically clears the warning as soon as you select another NC program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 229 As a rule, Q parameters are effective globally with a PGM CALL. So please note that changes to Q parameters in the called program also influence the calling program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 230 Enter the path name with the keyboard Press the SELECT FILE soft key The control shows a selection window that allows you to select the program to be called. Press the ENT key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 231 FN 18 function (ID10 NR110 and NR111) Further information: "FN 18: SYSREAD – Reading system data", page 268 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 232 Maximum nesting depth for subprograms: 19 Maximum nesting depth for main program calls: 19, where a CYCL CALL acts like a main program call You can nest program section repeats as often as desired HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 233 45. End of subprogram 1 and return jump to the main program UPGMS. 5 Main program UPGMS is executed from block 18 up to block 35. Return jump to block 1 and end of program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 234 (including the program section repeat between 20 and block 27). 5 Main program REPS is executed from block 36 to block 50. Return jump to block 1 and end of program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 235 This means that subprogram 2 is repeated twice. 4 Main program UPGREP is executed from block 13 up to block 19. Return jump to block 1 and end of program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 236 14 CYCL DEF 7.0 DATUM SHIFT Datum shift 15 CYCL DEF 7.1 X+45 16 CYCL DEF 7.2 Y+60 17 CALL LBL 1 18 CYCL DEF 7.0 DATUM SHIFT 19 CYCL DEF 7.1 X+0 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 237 26 Y+20 R0 FMAX M99 Move to 3rd hole, call cycle 27 X-20 R0 FMAX M99 Move to 4th hole, call cycle 28 LBL 0 29 END PGM SP2 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 238 New plunging depth for drilling 11 CALL LBL 1 Call subprogram 1 for the entire hole pattern 12 Z+250 R0 FMAX M6 Tool change 13 TOOL CALL 3 Z S500 Reamer tool call HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 239 Move to 3rd hole, call cycle 32 IX-20 R0 FMAX M99 Move to 4th hole, call cycle 33 LBL 0 End of subprogram 2 34 END PGM UP2 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 241: Programming Q Parameters

    Programming Q Parameters...
  • Page 242 0 to 99 Parameters for users 100 to 199 Parameters for HEIDENHAIN functions (e.g., cycles) 200 to 499 Parameters for the machine tool builder (e.g., cycles) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 243 Only use Q parameter ranges recommended by HEIDENHAIN. Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. Check the machining sequence using a graphic simulation HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 244 You can reset Q parameters to the status Undefined. If a position is programmed with a Q parameter that is undefined, the control ignores this movement. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 245 Then you define the parameter number. If you have a USB keyboard connected, you can press the Q key to open the dialog for entering a formula. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 246 Example: Cylinder with Q parameters Cylinder radius: R = Q1 Cylinder height: H = Q2 Cylinder Z1: Q1 = +30 Q2 = +10 Cylinder Z2: Q1 = +10 Q2 = +50 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 247 You can enter the following to the right of the = sign: Two numbers Two Q parameters A number and a Q parameter The Q parameters and numerical values in the equations can be entered with positive or negative signs. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 248 FIRST VALUE / PARAMETER? Enter Q5 as the first value and confirm with the ENT key. SECOND VALUE / PARAMETER? Enter 7 as the second value and confirm with the ENT key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 249 The FN 0 function also supports transfer of the value Undefined. If you wish to transfer the undefined Q parameter without FN 0, the control shows the error message Invalid value. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 250 Calculate and assign an angle with the arc tangent from the opposite and adjacent sides or with the sine and cosine of the angle (0 < angle < 360°) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 251 (Y if spindle axis is Z) in parameter Q21, and the circle radius in parameter Q22. Note that FN 23 and FN 24 automatically overwrite the resulting parameter and the two following parameters. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 252 Example: FN 9: IF+10 EQU+10 GOTO LBL1 Abbreviations used: Equal to Not equal to Greater than Less than Go to GOTO UNDEFINED Undefined DEFINED Defined HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 253 FN 12: IF LESS, JUMP e. g. FN 12: IF+Q5 LT+0 GOTO LBL "ANYNAME" If the first value or parameter is smaller than the second value or parameter, jump to specified label HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 254 If you want to check or edit local, global or string parameters, press the SHOW PARAMETERS Q QL QR QS soft key. The control then displays the specific parameter type. The functions previously described also apply. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 255 The result of Q1 = COS 89.999 * 0.001 is shown by the control as +1.74532925e-08, whereby e-08 corresponds to the factor of 10 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 256 Transfer up to eight values to the FN 37: EXPORTExport local Q parameters or QS parameters into a calling program FN 38: SEND Send information from the NC program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 257 1014 Touch point inaccessible 1015 Too many points 1016 Contradictory input 1017 CYCL incomplete 1018 Plane wrongly defined 1019 Wrong axis programmed 1020 Wrong rpm 1021 Radius comp. undefined HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 258 Pocket too large: scrap axis 2 1054 Stud too small: scrap axis 1 1055 Stud too small: scrap axis 2 1056 Stud too large: rework axis 1 1057 Stud too large: rework axis 2 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 259 1089 Slot position 0 not allowed 1090 Enter an infeed not equal to 0 1091 Switchover of Q399 not allowed 1092 Tool not defined 1093 Tool number not permitted HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 260 Plunging type is not possible 1105 Plunge angle incorrectly defined 1106 Angular length is undefined 1107 Slot width is too large 1108 Scaling factors not equal 1109 Tool data inconsistent HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 261 Format for text variable QS Format for integer Separation character between output format and parameter End of block character Line break Q parameter value, right-aligned Q parameter value, left-aligned HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 262 L_SLOVENIAN Outputs text only for Slovenian conversa- tional language L_NORWEGIAN Outputs text only for Norwegian conversa- tional language L_ROMANIAN Outputs text only for Romanian conversa- tional language HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 263 "MEASURING LOG OF IMPELLER CENTER OF GRAVITY"; "DATE: %02d.%02d.%04d",DAY,MONTH,YEAR4; "TIME: %02d:%02d:%02d",HOUR,MIN,SEC; "NO. OF MEASURED VALUES: = 1"; "X1 = %9.3F", Q31; "Y1 = %9.3F", Q32; "Z1 = %9.3F", Q33; HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 264 MEASURING LOG OF IMPELLER CENTER OF GRAVITY DATE: July 15, 2015 TIME: 8:56:34 AM NO. OF MEASURED VALUES : = 1 X1 = 149.360 Y1 = 25.509 Z1 = 37.000 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 265 FN 18 (e.g., the number of the last touch probe cycle used). "FN 18: SYSREAD – Reading Further information: system data", page 268 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 266 FN16-function with the following syntax: Input Function :'QS1' Set the QS parameter with preceding colon and between single quotation marks Specify additional file name extension for the :'QL3'.txt target file if required HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 267 Printer:\ as the name of the log file and then enter the corresponding file name. The control saves the file in the PRINTER: path until the file is printed. Example 96 FN 16: F-PRINT TNC:\MASKE\MASKE1.A/PRINTER:\DRUCK1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 268 This function eliminates relative file paths. QS parameter Is there a directory with the name QS(IDX)? number 0 = no, 1 = Yes Only absolute directory paths are possible. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 269 Programmed cutting speed in turning opera- tion Spindle mode in turning mode: 0 = constant speed 1 = constant cutting speed Coolant status M7: 0 = inactive, 1 = active HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 270 Q parameter number for the result (touch probe cycles 30 to 33) Q parameter type for the result (touch probe cycles 30 to 33) 1 = Q, 2 = QL, 3 = QR HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 271 TT: Breakage tolerance for radius, RBREAK Tool no. Maximum speed NMAX Tool no. Point angle TANGLE Tool no. LIFTOFF allowed (0 = No, 1 = Yes) Tool no. Wear tolerance for radius R2TOL HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 272 7 = V 8 = W Spindle speed S Oversize for tool length DL Tool radius oversize DR Automatic TOOL CALL 0 = Yes, 1 = No Tool radius oversize DR2 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 273 13 = Unload external tool, 14 = Unload internal tool, 15 = Unload special tool Tool number T Length Radius Index Tool data programmed in TOOL DEF 1 = Yes, 0 = No HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 274 3 = with oversize and oversize from TOOL CALL 1 = without Active length oversize 2 = with oversize 3 = with oversize and oversize from TOOL CALL HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 275 Projects the angle specified in the QL parameter from the input coordinate system to the tool coordinate system. If IDX is omitted, the angle 0 is used for projection. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 276 Read the current position in the active coordinate system Axis Current nominal position in the input system Read the current position in the active coordinate system, including offsets (handwheel, etc.) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 277 System time in seconds that has elapsed since 01.01.1970, 00:00:00 (real time). System time in seconds that has elapsed since 01.01.1970, 00:00:00 (look-ahead calcu- lation). Read the processing time of the current NC program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 278 January 1, 1970 (real time) Format: YYYY-MM-DD hh:mm Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (look-ahead calculation) Format: YYYY-MM-DD hh:mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 279 00:00:00 UTC on January 1, 1970 (real time) Format: YYYY-MM-DD Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (look-ahead calculation) Format: YYYY-MM-DD HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 280 00:00:00 UTC on January 1, 1970 (real time) Format: h:mm Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (look-ahead calculation) Format: h:mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 281 3 = Working plane coordinate system WPL - GPS: Shift in the workpiece system 0 = Off, 1 = On GPS: Axis offset 0 = Off, 1 = On HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 282 Rapid traverse Measuring feed rate Feed rate for pre-positioning: FMAX_PROBE or FMAX_MACHINE Maximum measuring range Set-up clearance Spindle orientation possible 0=No, 1=Yes Angle of spindle orientation in degrees HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 283 Coordinate / Readout of the measurement results in the axis form of coordinates / axis values in the input system from probing operations. Compensation: only length Oriented spindle stop HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 284 NC error 12 = Continuation with the row in the pallet table in which the NC error arose 13 = Continuation with the next pallet HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 285 Feed-rate limit for high speeds (MP_maxG1Feed) in mm/min Max. jerk at low speeds (MP_maxPathJerk) in m/s Max. jerk at high speeds (MP_maxPath- JerkHi) in m/s Tolerance at low speeds (MP_pathTolerance) in mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 286 DCM: Maximum tolerance for linear axes in cal axis mm (MP_maxLinearTolerance) Index of physi- DCM: Maximum angle tolerance in [°] cal axis (MP_maxAngleTolerance) Index of physi- Tolerance monitoring for successive threads cal axis (MP_threadTolerance) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 287 (MP_maxPathAccHi) Index of physi- Compensation of following error in the jerk cal axis phase (MP_IpcJerkFact) Index of physi- kv factor of the position controller in 1/s cal axis (MP_kvFactor) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 288 0 = not locked, 1 = locked Number of the replacement tool RT Maximum tool age TIME1 Maximum tool age TIME2 at TOOL CALL Current tool age CUR.TIME PLC status HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 289 X component of the Z direction Y component of the Z direction Z component of the Z direction X component of the X direction Y component of the X direction HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 290 Programming Q Parameters | Additional functions Group Gruppen- Systemdaten- Index Description name nummerID nummer Z component of the X direction Type of angle definition: Angle 1 Angle 2 Angle 3 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 291 If the tool selected by these rules is locked, a replacement tool will be returned. –1: No tool with the specified name found in the tool table or all qualifying tools are locked. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 292 0 = simulation 2-D graphics during programming active? 1 = yes 0 = no Generate graphics during programming (soft key AUTO DRAW) active? 1 = yes 0 = no HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 293 0 = no 1 = yes M101 active (visible condition)? 0 = no 1 = yes M136 active? 0 = no 1 = yes HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 294 FOR SYNC. Input no. PLC input Output no. PLC output Counter no. PLC counter Timer no. PLC timer Byte no. PLC byte Word no. PLC word Double-word PLC double word HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 295 TS probe type from TYPE column of the touch probe table (tchprobe.tp) Type of TT tool touch probe from CfgTT/type. Key name of the active tool touch probe TT from CfgProbes/activeTT. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 296 Read data of the current tool (system string) 10950 Current tool name. Example: Assign the value of the active scaling factor for the Z axis to Q25. 55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 297 Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. The FN 19: PLC function transfers up to two numerical values or Q parameters to the PLC. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 298 Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. The FN 29: PLC function transfers up to eight numerical values or Q parameters to the PLC. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 299 For more detailed information, consult the Remo Tools SDK manual. Example Document values from Q1 and Q23 in the log. FN 38: SEND /"Q parameter Q1: %f Q23: %f" / +Q1 / +Q23 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 300 The saver is based on a transaction model. A is made transaction up of multiples steps that are executed together, thereby ensuring an orderly and defined processing of the table entries. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 301 Q parameters to the table SQL INSERT creates a new table row SQL SELECT reads out a single values from a table and does not open any transaction HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 302 If this value is then use in an inch program for the purpose of positioning (L X+Q1800), then an incorrect position will be the result. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 303 1 faulty read operation The HANDLE QL1 syntax is the transaction designated by the QL1 parameter The value is copied from the so-called result set (intermediate memory) to the bound parameter HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 304 Database: column name: define table name and table column (separate with . ) Table name: synonym or path with filename of the table Column name: name displayed in the table editor HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 305 20 SQL Q5 "SELECT Meas_No,Meas_X,Meas_Y, Meas_Z FROM Tab_Example WHERE Meas_No<20" Example: selection of table rows with the WHERE function and Q parameters . . . 20 SQL Q5 "SELECT Meas_No,Meas_X,Meas_Y, Meas_Z FROM Tab_Example WHERE Meas_No==:’Q11’" HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 306 Less than or equal to <= Greater than > Greater than or equal to >= empty IS NULL Not empty IS NOT NULL Linking multiple conditions: Logical AND Logical OR HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 307 9 SQL Q1800 "ALTER TABLE my_table ADD (WMAT2)" Insert table rows 9 SQL Q1800 "ALTER TABLE my_table DROP (WMAT2)" Delete table rows 9 SQL Q1800 "RENAME COLUMN my_table (WMAT2) TO Rename table column (WMAT3)" HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 308 Program the Q parameter containing the index The row (n=0) is read if nothing is specified The optional syntax elements IGNORE UNBOUND and UNDEFINE MISSING are intended for the machine tool builder. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 309 Database: Index for SQL result: Row number within the result set Program the row number directly Program the Q parameter containing the index The row (n=0) is assigned a value if none is specified HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 310 Parameter No. for result (return value for the control): 0 successful transaction 1 successful transaction Database: SQL access ID: Define Q parameters for the HANDLE (for identifying the transaction) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 311 Parameter No. for result (return value for the control): 0 successful transaction 1 successful transaction Database: SQL access ID: Define Q parameters for the HANDLE (for identifying the transaction) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 312 HANDLE (for identifying the transaction) Database: Index to SQL result: Row that remains in the result set Program the row number directly Program the Q parameter containing the index HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 313 "Application example", page 303 Further information: Example 0 BEGIN PGM SQL MM 1 SQL SELECT QS1800 "SELECT WMAT FROM my_table Read and save a value WHERE NO==3" 2 END PGM SQL MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 314 Q10 = ASIN 0.75 Arc cosine Inverse function of the cosine; determine the angle from the ratio of the adjacent side to the hypotenuse e.g., Q11 = ACOS Q40 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 315 When return value Q12 = 1, then Q50 > 0 When return value Q12 = -1, then Q50 < 0 Calculate modulo value (division remainder) e.g., Q12 = 400 % 360 result: Q12 = 40 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 316 2 Calculation step 3 to the third power = 27 3 Calculation 100 – 27 = 73 Distributive law Law of distribution with parentheses calculation a * (b + c) = a * b + a * c HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 317 OPENING PARENTHESIS soft key Enter 12 (Q parameter number) Select division Enter 13 (Q parameter number) Close parentheses and conclude formula entry Example 37 Q25 = ATAN (Q12/Q13) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 318 When you use the STRING FORMULA function, the result of the arithmetic operation is always a string. When you use the FORMULA function, the result of the arithmetic operation is always a numeric value. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 319 Press the SPEC FCT key Press the PROGRAM FUNCTIONS soft key Press the STRING FUNCTIONS soft key Press the DECLARE STRING soft key Example 37 DECLARE STRING QS10 = "Workpiece" HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 320 Example: QS10 is to include the complete text of QS12, QS13 and QS14 37 QS10 = QS12 || QS13 || QS14 Parameter contents: QS12: Workpiece QS13: Status: QS14: Scrap QS10: Workpiece Status: Scrap HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 321 END key Example: Convert parameter Q50 to string parameter QS11, use 3 decimal places 37 QS11 = TOCHAR ( DAT+Q50 DECIMALS3 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 322 The first character of a text string starts internally at the 0-position Example: A four-character substring (LEN4) is read from the string parameter QS10 beginning with the third character (BEG2) 37 QS13 = SUBSTR ( SRC_QS10 BEG2 LEN4 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 323 Path of the selected pallet table NC software version, 10630 Version identifier of the NC software version Tool data, 10950 Tool name DOC entry of the tool Tool-carrier kinematics HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 324 Close the parenthetical expression with the ENT key and confirm your entry with the END key Example: Convert string parameter QS11 to a numerical parameter Q82 37 Q82 = TONUMB ( SRC_QS11 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 325 Example: Search through QS10 for the text saved in parameter QS13. Begin the search at the third place. 37 Q50 = INSTR ( SRC_QS10 SEA_QS13 BEG2 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 326 END key Example: Find the length of QS15 37 Q52 = STRLEN ( SRC_QS15 ) If the selected string parameter is not defined the control returns the result -1. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 327 +1: The first QS parameter follows the second QS parameter alphabetically Example: QS12 and QS14 are compared for alphabetic priority 37 Q52 = STRCOMP ( SRC_QS12 SEA_QS14 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 328 KEY_QS: Group name (key) of the machine parameter TAG_QS: Object name (entity) of the machine parameter ATR_QS: Name (attribute) of the machine parameter IDX: Index of the machine parameter HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 329 Assign string parameter for key 15 QS12 = "CfgDisplaydata" Assign string parameter for entity 16 QS13 = "axisDisplay" Assign string parameter for parameter name 17 QS1 = Read out machine parameter CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 IDX3 ) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 330 Assign string parameter for key 15 QS12 = "CfgGeoCycle" Assign string parameter for entity 16 QS13 = "pocketOverlap" Assign string parameter for parameter name 17 Q50 = CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 ) Read out machine parameter HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 331 Tool radius R (tool table or TOOL DEF block) Delta value DR from the tool table Delta value DR from the TOOL CALL block The control remembers the current tool radius even if the power is interrupted. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 332 Dimensional data of the main program Parameter value Metric system (mm) Q113 = 0 Imperial system (inch) Q113 = 1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 333 Deviation between actual value and nominal value during automatic tool measurement with, for example, the TT 160 Deviation of actual from nominal value Parameter value Tool length Q115 Tool radius Q116 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 335: Miscellaneous Functions

    Miscellaneous Functions...
  • Page 336 In this case, the dialog is continued for the parameter input. In the Manual operation and Electronic handwheel operating modes, the M functions are entered with the M soft key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 337 M (miscellaneous) function in a STOP block: To program an interruption of program run, press the STOP key Enter a miscellaneous function M Example 87 STOP M6 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 338 ■ Tool change Spindle STOP Program STOP ■ Coolant ON ■ Coolant OFF ■ Spindle ON clockwise Coolant ON ■ Spindle ON counterclockwise Coolant ON ■ Same as M2 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 339 The coordinate values on the control screen reference the machine datum. Switch the display of coordinates in the status display to REF . Further information: "Status displays", page 85 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 340 "Showing the workpiece blank in the working Further information: space", page 442 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 341 C axis to the programmed value C+180 FMAX M94 Effect M94 is effective only in the NC block where it is programmed. M94 becomes effective at the start of the block. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 342 F factor. Effect M103 becomes effective at the start of the block. To cancel M103, program M103 once again without a factor. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 343 If you change the spindle speed by using the spindle override, the control changes the feed rate accordingly. Effect M136 becomes effective at the start of the block. You can cancel M136 by programming M137. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 344 With M140 MB MAX you can only retract in the positive direction. Always define a tool call with tool axis before M140, otherwise the traverse direction is not defined. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 345: Special Functions

    Special Functions...
  • Page 346 You can rapidly navigate with the cursor or mouse and select functions in the tree diagram. The control displays online help for the selected function in the window on the right. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 347 Press the soft key for functions for contour and point machining Soft key Function Description Define regular machining pattern page 509 Select the point file with machin- page 520 ing positions HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 348 Define string functions page 318 Define pulsing spindle speed page 356 Define recurring dwell time page 358 Define dwell time in seconds or page 373 revolutions Add comments page 155 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 349 NC program will be deleted. Please check prior to machining whether a counter is active. If necessary, note down the counter value and enter it again via the MOD menu after execution. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 350 51 FUNCTION COUNT INC Increment the counter value 52 FUNCTION COUNT REPEAT LBL 11 Repeat the machining operations if more parts are to be machined. 53 M30 54 END PGM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 351 TNC:\system\proto directory. Then your template will also be available in the list box for table templates when you create a new table. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 352 Navigation using the control's keyboard: Press the navigation keys to go to the entry fields. Use the arrow keys to navigate within an entry field. To open pop-down menus, press the GOTO key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 353 This moves the cursor to the left window, and you can select the desired line with the arrow keys. Press the green navigation key to switch back to the input window. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 354 Q parameters Q5, Q6 and Q7 . 53 Q5 = 3.75 54 Q6 = -5 55 Q7 = 7.5 56 FN 27: TABWRITE 5/"RADIUS,DEPTH,D" = Q5 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 355 The names of tables and table columns must start with a letter and must not contain an arithmetic operator (e.g., +). Due to SQL commands, these characters can cause problems when inputting data or reading it out. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 356 S-PULSE FUNCTION falls below the maximum speed once more. Symbols In the status bar the symbol indicates the condition of the pulsing shaft speed: Icon Function Pulsing spindle speed active HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 357 Proceed as follows for the definition: Show the soft-key row with special functions Press the PROGRAM FUNCTIONS soft key Press the FUNCTION SPINDLE soft key Press the RESET SPINDLE-PULSE soft key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 358 Press the PROGRAM FUNCTIONS soft key Press the FUNCTION FEED soft key Press the FEED DWELL soft key Define the interval duration for dwelling D-TIME Define the interval duration for cutting F-TIME HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 359 Press the RESET FEED DWELL soft key You can also reset the dwell time by entering D-TIME 0. The control automatically resets the FUNCTION FEED DWELL function at the end of a program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 360 If you try to copy a file that does not exist, the control generates an error message. FILE DELETE does not generate an error message if you try to delete a non-existing file. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 361 Incremental values always refer to the datum which was last valid (this may be a datum which has already been shifted). HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 362 DATUM TABLE block, then the control uses the datum table previously selected with SEL TABLE or the datum table activated in the Program run, single block or Program run, full sequence operating mode (status M). HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 363 Show the soft-key row with special functions Press the PROGRAM FUNCTIONS soft key Select transformations Select the TRANS DATUM datum shift Press the RESET DATUM SHIFT soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 364 Soft key Cursor movements Move cursor one word to the right Move cursor one word to the left Cursor at beginning of file Cursor at end of file HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 365 Soft key Function Delete and temporarily store a line Delete and temporarily store a word Delete and temporarily store a character Insert a line or word from temporary storage HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 366 Press the READ FILE soft key. The control displays the File name = dialog message. Enter the path and name of the file you want to insert HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 367 Find text : dialog prompt Enter the text that you wish to find To find text: press the FIND soft key. Exit the search function: Press the END soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 368 The tool carrier templates may consist of several sub- files. If the sub-files are incomplete, the control will display an error message. Do not use incomplete tool carrier templates! HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 369 If the tool carrier template does not contain any transformation vectors, names, test points and measurement points, the additional ToolHolderWizard tool does not execute any function when the corresponding icons are activated. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 370 Output file area Press the GENERATE FILE button If required, reply to the message on the control Press the CLOSE icon The control closes the additional tool HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 371 Output file area Press the GENERATE FILE button If required, reply to the message on the control Press the CLOSE icon The control closes the additional tool HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 372 Select the desired tool carrier using the preview screen Press the OK soft key The control copies the name of the selected tool carrier to the KINEMATIC column Exit the tool table HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 373 Press the PROGRAM FUNCTIONS soft key FUNCTION DWELL soft key Press the DWELL TIME soft key Define the duration in seconds Alternatively, press the DWELL REVOLUTIONS soft key Define the number of spindle revolutions HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 375: Manual Operation And Setup

    Manual Operation and Setup...
  • Page 376 The control carries out a self-test. If the control does not register an error, it displays the Traverse reference points dialog. If the control registers an error, it issues an error message. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 377 Only confirm the pop-up window with YES if the axis positions match Despite confirmation, at first only move the axis carefully If there are discrepancies or you have any doubts, contact your machine tool builder HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 378 Press and hold the axis direction button for each axis until the reference point has been traversed The control is now ready for operation in the Manual operation mode. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 379 Always shut down the control Only turn off the main switch after being prompted on the screen HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 380 "Spindle speed S, feed rate F and miscellaneous function M", page 394 If a moving task is active on the machine, the control displays the control in operation symbol. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 381 If you are in the Jog increment menu, you can switch off incremental jog positioning with the SWITCH OFF soft key. The input range for the infeed is from 0.001 mm to 10 mm. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 382 Press and hold a permissive button Select the axis Select the feed rate Move the active axis in the positive direction Move the active axis in the negative direction HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 383 As soon as you have activated the handwheel with the handwheel activation key, the operating panel is locked. The control shows this status in a pop-up window on the screen. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 384 NC STOP key (machine-dependent function, key can be exchanged by the machine manufacturer) Handwheel Spindle speed potentiometer Feed rate potentiometer Cable connection, not available with the HR 550FS wireless handwheel HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 385 STEP ON or OFF: Incremental jog active or inactive. If the function is active, the control additionally displays the current traversing step Soft-key row: Selection of various functions, described in the following sections HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 386 If an error (interruption of the radio connection, poor reception quality, defective handwheel component) occurs, the handwheel always reacts with an emergency stop. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 387 Place the handwheel in the handwheel holder when it is not in use Keep the distance between the handwheel and the handwheel holder small (pay attention to the vibration alarm) Test the handwheel before machining HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 388 (only when incremental jog is not active). Selectable sensitivity levels: 0.001/0.002/0.005/0.01/0.02/0.05/0.1/0.2/0.5/1 [mm/revolution or degrees/revolution] Selectable sensitivity levels: 0.00005/0.001/0.002/0.004/0.01/0.02/0.03 [in mm/revolution or degrees/revolution] HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 389 Move the active axis in the negative direction To deactivate the handwheel, press the handwheel key on the HR 5xx Now you can operate the control via the operating panel again. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 390 Press the KBD soft key to activate the potentiometers of the machine operating panel The control issues a warning if the handwheel potentiometers are still active after the handwheel has been deactivated. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 391 10. By also pressing the CTRL key, you can increase the counting increment by a factor of 100 when pressing F1 or F2. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 392 NC block after which the new traversing block is to be inserted Activate the handwheel Press the Generate NC block key on the handwheel The control inserts a complete traversing block containing all axis positions selected through the MOD function. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 393 REPO). The handwheel soft keys, which function similarly to the screen soft keys, are used for operating.Further information: "Returning to the contour", page 462 Switch on/off the “Tilt working plane” function (handwheel soft keys MOP and then 3-D) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 394 F is not lost during a power interruption The control displays the feed rate. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 395 To activate the feed rate limit F MAX, proceed as follows: Operating mode: Press the Positioning w/ Manual Data Input key Press the F MAX soft key Enter the desired maximum feed rate Press the OK soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 396 If the preset set manually is active, the control displays the text PR MAN(0) in the status display. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 397 (the row number is the preset number) If needed, select the column in the preset table that you want to change Use the soft keys to select one of the available entry possibilities HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 398 If inch display is active: Enter the value in inches, and the control will internally convert the entered values to mm HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 399 (2nd soft-key row) Insert a single line at the end of the table (2nd soft-key row) Delete a single line at the end of the table (2nd soft-key row) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 400 Press the LOCK / UNLOCK PASSWORD soft key Enter the password in the pop-up window Confirm with the OK soft key or with the ENT key: The control writes ### in the LOCKED column. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 401 Press the LOCK / UNLOCK PASSWORD soft key Enter the password in the pop-up window Confirm with the OK soft key or with the ENT key The control rescinds the write-protection. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 402 Use Cycle 247 in order to activate presets from the preset table during program run. In Cycle 247 you define the number of the preset to be activated. Further information: "PRESETTING (Cycle 247)", page 601 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 403 If the tool in the tool axis has already been set, set the display of the tool axis to the length L of the tool or enter the sum Z=L+d. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 404 If you try to set a preset in a locked axis, the control will issue either a warning or an error message, depending on what the machine tool builder has defined. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 405 Function Page Calibrating the 3-D Touch Probe Setting the preset on any axis Set a circle center as preset Setting the centerline as preset Touch probe system data management HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 406 The control closes the pop-up window. Probe the second touch point If necessary, set the preset End the probing function If the handwheel is active you cannot start the probing cycles. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 407 Probe hole (inside circle) automatically Probe stud (outside circle) automatically Probe a model circle (center point of several elements) Select a paraxial probing direction for probing of holes, studs and model circles HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 408 The control approaches the position at the feed rate FMAX defined in the touch probe table. The defined probing feed rate F is used for the actual probing operation. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 409 You can position the cursor only in fields that can be edited. Fields that cannot be edited are dimmed. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 410 Enter the datum number in the Number in table? input field Press the ENTER IN DATUM TABLE soft key The control saves the datum in the indicated datum table under the entered number. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 411 ENTRY IN LOCKED LINE soft key and enter the password to overwrite the active preset The control displays a note if a table row cannot be written to because of disabling. The probing function itself is not interrupted. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 412 Measure the radius and the center offset using a stud or a calibration pin Measure the radius and the center offset using a calibration sphere HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 413 Press the OK soft key for the values to take effect Press the CANCEL soft key to terminate the calibrating function. The control logs the calibration process in the TCHPRMAN.html file. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 414 180°, and then executes another probing routine. The center offset (CAL_OF in tchprobe.tp) is determined in addition to the radius by probing from opposite orientations. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 415 The control logs the calibration process in the TCHPRMAN.html file. Refer to your machine manual. In order to be able to determine ball-tip center misalignment, the control needs to be specially prepared by the machine manufacturer. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 416 The control logs the calibration process in the TCHPRMAN.html file. Refer to your machine manual. In order to be able to determine ball-tip center misalignment, the control needs to be specially prepared by the machine manufacturer. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 417 TCHPRMAN.html log file to which the calibration values are saved. Ensure that the tool number of the tool table and the touch-probe number of the touch-probe table are correct. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 418 410 Further information: "Writing measured values from the touch-probe cycles to the preset table", page 411 To terminate the probe function, press the END soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 419 The control needs at least three touch points to calculate outside or inside circles, e.g. with circle segments. More precise results are obtained with four touch points. If possible, always pre-position the touch probe to the center. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 420 To terminate the probe function, press the END soft key Once the probing routine is completed, the control displays the current coordinates of the circle center and the circle radius. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 421 410 "Writing measured values Further information: from the touch-probe cycles to the preset table", page 411 To terminate the probe function, press the END soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 422 This way you can determine the positions once, and then store them in the principal axis as well as in the secondary axis. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 423 Use the corresponding soft keys to select Start the probing process: Press the NC Start The control shows the coordinates of the touch point as preset. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 424 Select the probing function: Press the PROBING POS soft key Probe the first touch point again Set the preset to the value that you wrote down previously Cancel the dialog: Press the END key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 425: Positioning With Manual Data Input

    Positioning with Manual Data Input...
  • Page 426 You can use the following functions for example: Cycles Radius compensation Program section repetitions Q parameters The additional status display can be activated in the Positioning w/ Manual Data Input mode of operation. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 427 122 You can control and modify Q parameters with the soft keys Q PARAMETER LIST and Q INFO. "Checking and changing Q Further information: parameters", page 254 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 428 Call the DRILLING cycle 7 Z+200 R0 FMAX M2 Retract the tool 8 END PGM $MDI MM End of program DRILLING cycle: Further information: "DRILLING (Cycle 200)", page 527 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 429 Select the rotary table axis, enter the rotation angle and feed rate you wrote down, e.g. L C +2.561 F50 Conclude entry Press the NC Start button: The rotation of the table corrects the misalignment HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 430 $MDI file, e.g.Hole Press the OK soft key. To exit the file manager, press the END soft key "Copying a single file", page 133 Further information: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 431: Test Run And Program Run

    Test Run and Program Run...
  • Page 432 The control will not show a graphic if the current program has no valid workpiece blank definition no program is selected with blank form definition with a subprogram, the BLK FORM block was not yet run HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 433 You can also set the simulation speed before you start a program: Select the function for setting the simulation speed Select the desired function by soft key, e.g. incrementally increasing the simulation speed HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 434 Press the plan view soft key Select plan view in the operating modes Program run, single block and Program run, full sequence: Press the GRAPHICS soft key Press the plan view soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 435 The sectional plan is automatically reset when the control is restarted. You can also move the sectional plane to its default position manually: Press the soft key for resetting the sectional planes soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 436 Tilt in 5° steps about the horizontal axis Enlarge the graphic stepwise Reduce the graphic stepwise Reset the graphic to its original size and angle Scroll through the soft-key row HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 437 3-D view in the Test Run operating mode The Test Run mode of operation also offers the following views: Soft keys Function Volume view Volume view and tool paths Tool paths HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 438 The control saves the state of the following soft keys in non-volatile memory, even after interruption of the power supply: Movements at rapid traverse Workpiece blank frame Workpiece edges Transparent workpiece Workpiece in color HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 439 A powerful zoom function is available in order for you to quickly recognize the details for the displayed tool paths. The control displays traverse movements in rapid traverse in red. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 440 Function Program run, full sequence / Program run, single block Test Run The control displays the tool in various colors: Red: Tool is in effect Blue: Tool is retracted HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 441 Select the desired function via soft key, e.g.,saving the displayed time Soft key Stopwatch functions Store displayed time Display the sum of stored time and displayed time Clear displayed time HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 442 Switch monitoring function on or off Display machine reference point Operating notes: With BLK FORM CYLINDER, a cuboid is depicted as the workpiece blank in the working space HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 443 NC program in pages: Soft key Functions Go back one screen in the NC program Go forward one screen in the NC - program Select start of program Select end of program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 444 Test Run operating mode. This macro will simulate the exact behavior of the machine. In doing so, the machine tool builder often changes the simulated tool change position. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 445 In order to continue the test, the following actions must not be performed: Selecting another block with the arrow keys or the GOTO key Making changes to the program Selecting a new program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 446 Modification before the interruption point: The simulation restarts at the beginning Modification after the interruption point: Positioning at the interruption point is possible with GOTO HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 447 Starting the program run from a certain block Optional block skip Edit the tool table TOOL.T Checking and changing Q parameters Superimpose handwheel positioning Functions for graphic simulation Additional status display HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 448 Program Run, Full Sequence Start the machining program with the NC Start key Program Run, Single Block Start each block of the machining program individually with the NC Start key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 449 You can set interruptions directly in the NC program. The control interrupts the program run in the NC Block containing one of the following inputs: Programmed stop M0 Conditional stop M1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 450 Refer to your machine manual. The miscellaneous function M6 may also lead to a suspension of the program run. The machine manufacturer sets the functional scope of the miscellaneous functions. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 451 The control shows the symbol for the exited inactive status in the status display Actions such as a change of operating mode are available again HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 452 On some machines you may have to press the NC start key after the MANUAL TRAVERSE soft key to enable the axis direction keys. Refer to your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 453 With an erasable error message: Remove the cause of the error Clear the error message from the screen: Press the CE key Restart the program, or resume program run where it was interrupted HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 454 Use a low feed rate Please keep in mind that the traverse range monitoring is not available for non-referenced axes HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 455 Exit retraction: Return to the original soft-key level End the Retraction mode: Press the END RETRACTION soft key The control checks whether the Retraction mode can be ended. If necessary, follow the dialog. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 456 YES soft key. The control hides Retraction selectedmode. Initialize the machine: if required, cross the reference points Establish the desired machine condition: If required, reset the tilted working plane HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 457 Use the BLOCK SCAN function at multiple levels Further information: "Procedure for multi-level mid-program startup", page 459 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 458 After an internal stop, you would like to start in block 12 in the third machining operation of LBL 1. In the pop-up window enter the following data: Start-up at: N =12 Repetitions = 3 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 459 Press the CONTINUE BLOCK SCAN soft key Enter the NC block where you wish to start If you changed the machine status: Press the NC Start key Press the NC Start key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 460 Repetitions = 1 Press the NC start key until the control runs the NC block The control continues to run the subprogram and then returns to the main program. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 461 Enter the desired point number in the Point number = input field. The first point in the point pattern has the point number 0. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 462 Repeat the process for all axes If the tool is located in the tool axis below the starting point, then the control offers the tool axis as the first traverse direction. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 463 Press the INSERT soft key Delete / symbol In the Programming mode you select the block in which the character is to be erased Press the REMOVE soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 464 Do not interrupt Program run or Test Run with blocks containing M1: Set the soft key to OFF Interrupt Program run or Test Run with blocks containing M1: Set the soft key to ON HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 465: Mod Functions

    MOD Functions...
  • Page 466 Select the desired setting with the ENT key. If you do not wish to change the setting, close the window with the END key. Exiting MOD functions Exit the MOD functions: Press the CANCEL soft key or the END HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 467 Set up wireless handwheel System settings Set the system time Define the network connection Network: IP configuration Diagnostic functions Bus diagnosis HEROS information General information Version information License information Machine times HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 468 High High data transfer rate, exact depiction of tool geometry Medium Medium data transfer rate, approximation of tool geometry Low data transfer rate, coarse approximation of tool geometry HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 469 Proceed as follows to restrict external access: In the MOD menu, select the Machine settings group Select the External access menu Set the EXTERNAL ACCESS ON/OFF soft key to OFF Press the OK soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 470 You must permit or deny external access in the pop-up window: External access Permission Permit once Always Permit continuously Never Deny continuously Deny once In the overview list, an active connection is shown with a green symbol. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 471 The settings are kept even after the control has been restarted. You can only deactivate the protection zone by deleting all values or pressing the EMPTY EVERYTHING soft key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 472 Select the Tool-usage file menu Select the desired setting for the Program Run, Full Sequence/ Single Block and Test Run operating modes Press the APPLY soft key Press the OK soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 473 MOD function. When you select a kinematics model for the test run this does not affect machine kinematics. Ensure that you have selected the correct kinematics in the Test Run operating mode for checking your workpiece. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 474 Press the NTP off soft key in order to select the Synchronize the time over NTP server entry Enter hostnames or the URL of an TNP server Press the Add soft key Press the OK soft key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 475 Examples with Cycle 11: Scaling factor 0.2 L IX+10 The ACTDST display shows 10 mm. The scaling factor does not have any influence. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 476 With the MOD function Position display 1, you can select the position display in the status display. With the MOD function Position display 2, you can select the position display in the additional status display. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 477 Program run Duration of controlled operation since being put into service Refer to your machine manual. The machine tool builder can provide further operating time displays. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 478 The control requires a code number for the following functions: Function Code number Select user parameters Configuring an Ethernet card NET123 Enabling special functions for Q parameter 555343 programming HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 479 Open the RS232 folder. The control then displays the following settings: Set BAUD RATE (baud rate no. 106701) You can set the BAUD RATE (data transfer speed) from 110 to 115 200 baud. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 480 Set stop bits (stopBits no. 106705) The start bit and one or two stop bits enable the receiver to synchronize each transmitted character during serial data transmission. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 481 With the state of the RTS line (optional), you can define whether the LOW level is active in idle state. TRUE: Level is LOW in idle state FALSE: Level is not LOW in idle state HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 482 Data bits in each transferred 7 bits character Type of parity checking EVEN Number of stop bits 1 stop bit Specify type of handshake: RTS_CTS File system for file operations HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 483 Starting TNCremo under Windows Click on <Start>, <Programs>, <HEIDENHAIN Applications>, <TNCremo> When you start TNCremo for the first time, it automatically tries to set up a connection with the control. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 484 End TNCremo Select <File>, <Exit> You can open the context-sensitive help function of the TNCremo software by pressing the F1 key. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 485: Ethernet Interface

    The maximum possible cable length depends on the quality grade of the cable, the sheathing, and the type of network (1000BaseTX, 100BaseTX, or 10BaseT) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 486 Only activate this function if the optionally available second Ethernet interface should be accessed externally for diagnostic purposes via the control. Only do so after instruction by our Service Department HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 487 Manually configure the default gateway: Manually enter the IP addresses of the default gateway Apply the changes with the OK button, or discard them with the Cancel button HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 488 Ask your network specialist for the proper value Group ID: Definition of the group identification with which you access files in the network. Ask your network specialist for the proper value HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 489 IP address in the machine network. You can also select settings for these devices. Advanced options button: Additional settings for the DNS/DHCP server. Set stan- dard values button: Set factory settings. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 490 Status log Display of status information and error messages. Press the Clear button to delete the contents of the Status Log window. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 491 Set the Active option to enable the firewall Press the Set standard values button to activate the default settings recommended by HEIDENHAIN. Exit the dialog with the OK button. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 492 TeleService programs from HEIDENHAIN (e.g. screenshot). If this service is blocked, the VNC configuration dialog shows a warning from HEROS that VNC is disabled in the firewall. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 493 IP address for a host name in the firewall. Advanced options These settings are only intended for your network specialists Set standard Resets the settings to the default values values recommended by HEIDENHAIN HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 494 Connect HR button To save the configuration and exit the configuration menu, press the END button HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 495 Click on the Set power button The control displays the three available power settings. Click on the desired setting. To save the configuration and exit the configuration menu, press the END button HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 496 If this occurs, try to improve the transmission quality by selecting another channel or by increasing the transmitter power. "Setting the transmission channel", page 495 Further information: Further information: "Selecting the transmitter power", page 495 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 497 Select the backup file in the control’s file manager (e.g., BKUP-2013-12-12_.zip) The control opens the pop-up window for the backup. Press Emergency Stop Press the OK soft key to start the backup process HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 499: Fundamentals / Overviews

    Fundamentals / Overviews...
  • Page 500 If you want to delete a block that is part of a cycle, the TNC asks you whether you want to delete the whole cycle. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 501 Cycles for producing point patterns Special cycles: dwell time, program call, oriented spindle stop If required, switch to machine-specific fixed cycles. These fixed cycles can be integrated by your machine tool builder. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 502 If you do want to program a DEF-active cycle between the definition and call of a CALL-active cycle, do it only if there is no common use of specific transfer parameters HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 503 ;DEPTH Q206=150 ;FEED RATE FOR PLNGNG Q202=5 ;PLUNGING DEPTH Q210=0 ;DWELL TIME AT TOP Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q211=0.25 ;DWELL TIME AT DEPTH Q395=0 ;DEPTH REFERENCE HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 504 Press the CYCL CALL M soft key to enter a cycle call If necessary, enter the miscellaneous function M (for example M3 to switch the spindle on), or end the dialog by pressing the END key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 505 To cancel the effect of M89, program: M99 in the positioning block in which you move to the last starting point, or Use CYCL DEF to define a new fixed cycle HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 506 Press the GLOBAL DEF soft key Select the desired GLOBAL DEF function, e.g. by pressing the GLOBAL DEF GENERAL soft key Enter the required definitions, and confirm each entry with the ENT key HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 507 F positioning: Feed rate at which the TNC traverses the tool within a cycle F retraction: Feed rate at which the TNC retracts the tool. The parameters are valid for all fixed cycles with numbers greater than 2xx. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 508 The parameters apply to milling cycles 251 to 257 . Global data for milling operations with contour cycles Soft key GLOBAL DEF CNTR MLLNG has no function in the straight cut control of TNC 128. This was added for reasons of compatibility. Global data for positioning behavior...
  • Page 509 Definition of a single pattern, straight, rotated or distorted FRAME Definition of a single frame, straight, rotated or distorted CIRCLE Definition of a full circle PITCH CIRCLE Definition of a pitch circle HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 510 GLOBAL DEF 125 (located in SPEC FCT/program defaults) with Q352=1. Then the TNC always retracts the tool between the holes to the 2nd set-up clearance that was defined in the cycle. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 511 (e.g. X for tool axis Z). You can enter a positive or negative value Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 512 You can enter a positive or negative value. Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 513 You can enter a positive or negative value. Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 514 (switch via soft key). Number of operations: Total number of machining positions on the circle Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 515 If you run this cycle in the Single Block mode of operation, the control stops between the individual points of a point pattern. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 516 Q301 Move to clearance height (0/1)?: Definition of how the tool moves between machining operations: 0: Move at safety clearance between machining operations 1: Move at 2nd safety clearance between machining operations HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 517 Cycle 221 will be effective. If you run this cycle in the Single Block mode of operation, the control stops between the individual points of a point pattern. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 518 1: Move at 2nd safety clearance between machining operations Q243=4 ;NUMBER OF LINES Q224=+15 ;ANGLE OF ROTATION Q200=2 ;SET-UP CLEARANCE Q203=+30 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q301=1 ;MOVE TO CLEARANCE HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 519 The name of the point table must begin with a letter. Use the soft keys X OFF/ON, Y OFF/ON, Z OFF/ON (second soft-key row) to specify which coordinates you want to enter in the point table. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 520 END key. If the point table is not stored in the same directory as the NC program, you must enter the complete path. Example NC block 7 SEL PATTERN "TNC:\DIRKT5\NUST35.PNT" HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 521 If you want to use the coordinate defined in the point table for the spindle axis as the starting point coordinate, you must define the workpiece surface coordinate (Q203) as 0. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 523: Cycles: Drilling Cycles / Thread Cycles

    Cycles: Drilling cycles / thread cycles...
  • Page 524 207 RIGID TAPPING With thread depth and thread pitch 241 SINGLE-LIP D.H.DRLNG With automatic pre-positioning to deepened starting point, shaft speed and coolant definition HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 525 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 526 ;DWELL TIME AT DEPTH Q203=+20 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE 12 X+30 R0 FMAX 13 Y+20 R0 FMAX M3 M99 14 X+80 R0 FMAX 15 Y+50 R0 FMAX M99 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 527 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 528 = Depth referenced to the tool tip 12 X+30 FMAX = Depth referenced to the cylindrical part of the 13 Y+20 FMAX M3 M99 tool 14 X+80 FMAX 15 Y+50 FMAX M99 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 529 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 530 ;DWELL TIME AT DEPTH Q208=250 ;RETRACTION FEED RATE Q203=+20 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE 12 X+30 FMAX 13 Y+20 FMAX M3 M99 14 X+80 FMAX 15 Y+50 FMAX M9 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 531 2nd set-up clearance at FMAX. If Q214=0 the tool point remains on the wall of the hole. 7 The TNC finally positions the tool back at the center of the hole. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 532 Select the angle so that the tool tip is parallel to the disengaging direction Select the disengaging direction Q214 so that the tool moves away from the edge of the hole HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 533 Angle to which the TNC positions the tool before 12 X+30 FMAX retracting it. Input range -360.000 to 360.000 13 Y+20 FMAX M3 M99 14 X+80 FMAX 14 Y+50 FMAX M99 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 534 6 This procedure is repeated until depth Q201 is achieved. 7 When depth Q201 is achieved, the TNC removes the tool with Fmax from the hole to the 2nd set-up clearance Q204 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 535 8 Procedure 2-7 is repeated until depth Q201 is achieved. 9 When Depth Q201 is achieved, the TNC removes the tool with Fmax from the hole to the 2nd set-up clearance Q204 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 536 10 When Depth Q201 is achieved and dwell time at depth Q211 has expired, the TNC removes the tool with Fmax from the hole to the 2nd set-up clearance Q204 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 537 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 538 Q256. Input range 0 to 99999 Q205 Minimum plunging depth? (incremental): If you have programmed Q212 DECREMENT the TNC limits the infeed to Q205. Input range 0 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 539 T ANGLE column of the tool table TOOL.T. = Depth referenced to the tool tip = Depth referenced to the cylindrical part of the tool HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 540 6 The tool then retracts to set-up clearance at the feed rate for pre-positioning, and from there—if programmed—to the 2nd set-up clearance at FMAX. 7 The TNC finally positions the tool back at the center of the hole. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 541 Select the angle so that the tool tip is parallel to the disengaging direction Select the disengaging direction Q214 so that the tool moves away from the edge of the hole HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 542 ;OFF-CENTER DISTANCE Coordinate in the spindle axis at which no collision Q252=15 ;TOOL EDGE HEIGHT between tool and workpiece (fixtures) can occur. Q253=750 ;F PRE-POSITIONING Input range 0 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 543 Q336 Angle for spindle orientation? (absolute): Angle at which the TNC positions the tool before it is plunged into or retracted from the bore hole. Input range -360.0000 to 360.0000 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 544 If programmed, the tool moves to the 2nd set-up clearance at FMAX. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 545 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 546 No chip breaking if 0 is entered. Input range 0 to 99999.9999 Q256 Retract dist. for chip breaking? (incremental): Value by which the TNC retracts the tool during chip breaking. Input range 0.000 to 99999.999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 547 T ANGLE column of the tool table TOOL.T. = Depth referenced to the tool tip = Depth referenced to the cylindrical part of the tool HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 548 So if the recessed starting point is at -2, the TNC starts the drilling process at -1.6 mm. The following table lists various examples of how the starting point is calculated: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 549 A defined position for chip removal can ensure that the drill stays in the guide. STARTING POINT Q379=0 The chips are removed at the SET-UP CLEARANCE Q200 over the SURFACE COORDINATE Q203 . HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 550 0.8*25=20 (Q200=5, 20>5, so the value 5 is used.) 0.8*100=80 (Q200=5, 80>5, so the value 5 is used.) 0.8*2=1.6 -1.6 0.8*5=4 0.8*10=8 0.8*25=20 0.8*100=80 (Q200=20, 80>20, so the value 20 is used.) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 551 Refer to the following document for the value of the retraction position in your case: see page 548 9 If programmed, the tool moves to the 2nd set-up clearance at FMAX HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 552 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 553 5: Move with stationary spindle Q427 Spindle speed of entry/exit?: Rotational speed at which the tool is to rotate when moving into and retracting from the hole. Input range 0 to 99999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 554 Input range 0 to 99999.9999 Q205 Minimum plunging depth? (incremental): If you have programmed Q212 DECREMENT the TNC limits the infeed to Q205. Input range 0 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 555 So if the recessed starting point is at -2, the TNC starts the drilling process at -1.6 mm. The following table lists various examples of how the starting point is calculated: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 556 A defined position for chip removal can ensure that the drill stays in the guide. STARTING POINT Q379=0 The chips are removed at the SET-UP CLEARANCE Q200 over the SURFACE COORDINATE Q203 . HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 557 0.8*25=20 (Q200=5, 20>5, so the value 5 is used.) 0.8*100=80 (Q200=5, 80>5, so the value 5 is used.) 0.8*2=1.6 -1.6 0.8*5=4 0.8*10=8 0.8*25=20 0.8*100=80 (Q200=20, 80>20, so the value 20 is used.) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 558 Approach hole 3, call cycle 10 X+10 R0 FMAX M99 Approach hole 4, call cycle 11 Z+250 R0 FMAX M2 Retract the tool, end program 12 END PGM C200 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 559 CYCL CALL PAT between the points. This function is in effect until M30. Q345=+1 ;SELECT POS. HEIGHT 7 CYCL CALL PAT F5000 M13 Call the cycle in connection with the hole pattern HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 560 17 CYCLE CALL PAT F5000 M13 Call the cycle in connection with the hole pattern 18 Z+100 R0 FMAX M2 Retract the tool, end program 19 END PGM 1 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 561 The TNC displays an error message if the values do not match. In Cycle 206 the TNC uses the programmed rotational speed and the feed rate defined in the cycle to calculate the thread pitch. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 562 Retracting after a program interruption If you interrupt program run during tapping with the machine stop button, the TNC will display a soft key with which you can retract the tool. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 563 If you have entered a 2nd set-up clearance the TNC will move the tool with FMAX towards it. 4 The TNC stops the spindle turning at set-up clearance. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 564 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 565 Coordinate in the spindle axis at which no collision between tool and workpiece (fixtures) can occur. Q239=+1 ;THREAD PITCH Input range 0 to 99999.9999 Q203=+25 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 566 When retracting the tool you can move it in the positive and negative tool axis directions Be aware of the direction in which you retract the tool from the hole before retracting HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 567 Move tool to clearance height (enter a value for F) 14 CYCL DEF 200 DRILLING Cycle definition: drilling Q200=2 ;SET-UP CLEARANCE Q201=-25 ;DEPTH Q206=150 ;FEED RATE FOR PLNGNG Q202=5 ;PLUNGING DEPTH Q210=0 ;DWELL TIME AT TOP HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 568 1 +40 +30 +0 2 +90 +10 +0 3 +80 +30 +0 4 +80 +65 +0 5 +90 +90 +0 6 +10 +90 +0 7 +20 +55 +0 [END] HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 569: Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling

    Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling...
  • Page 570 Roughing/finishing cycle with selection of machining opera- tion 256 RECTANGULAR STUD Roughing/finishing cycle with stepover, if multiple passes are required 233 FACE MILLING Machining the face with up to 3 limits HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 571 The TNC first finishes the pocket walls, in multiple infeeds if so specified. 6 Then the TNC finishes the floor of the pocket from the inside out. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 572 There is a danger of collision during positioning at rapid traverse. Perform roughing beforehand Ensure that the TNC can pre-position the tool at rapid traverse without colliding with the workpiece HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 573 Infeed in the spindle axis per finishing cut. Q338=0: Finishing in one infeed. Input range 0 to 99999.9999 Q200 Set-up clearance? (incremental): Distance between tool tip and workpiece surface. Input range 0 to 99999.9999; HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 574 ;INFEED FOR FINISHING Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q351=+1 ;CLIMB OR UP-CUT Q370=1 ;TOOL PATH OVERLAP 9 X+50 R0 FMAX 10 Y+50 R0 FMAX M3 M99 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 575 The slot side is approached tangentially in the left slot arc. 7 Then the TNC finishes the floor of the slot from the inside out. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 576 Q219! If you use a small roughing tool, then a large amount of material can remain for the finishing tool; keep this in mind when selecting your tools! HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 577 9 L X+50 Y+50 R0 FMAX M3 M99 between tool tip and workpiece surface. Input range 0 to 99999.9999; Q203 Workpiece surface coordinate? (absolute): Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 578 +1: Plunging position always at the right end of the slot -1: Plunging position always at the left end of the slot 0: Reciprocating plunge HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 579 6 The TNC then plunges the tool to the next plunging depth, and machines the stud at this depth. 7 This process is repeated until the programmed stud depth is reached. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 580 2nd set-up clearance if one was programmed. This means that the end position of the tool after the cycle differs from the starting position. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 581 0. Input range 0 to 99999.9999 Q207 Feed rate for milling?: Traversing speed of the tool in mm/min while milling. Input range 0 to 99999.999 alternatively FAUTO, fu, FZ HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 582 ;INFEED FOR FINISHING Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q351=+1 ;CLIMB OR UP-CUT Q370=1 ;TOOL PATH OVERLAP 9 X+50 R0 FMAX 10 Y+50 R0 FMAX M3 M99 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 583 3 The tool then moves in the tool axis at the feed rate for milling Q207 to the first plunging depth calculated by the TNC. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 584 11 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 585 10 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 586 For roughing the TNC includes the oversize of the side - for finishing the oversize helps to preposition the tool. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 587 Enter depth as negative Enter in machine parameter displayDepthErr (No. 201003) whether the TNC should output an error message (on) or not (off) if a positive depth is entered HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 588 Use the algebraic sign to specify the direction of the first transverse approach in reference to the STARTNG PNT 2ND AXIS. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 589 Q357 , provided that no limitation is set in this direction Side finishing: The paths are extended by Q357 in Q350 MILLING DIRECTION Input range 0 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 590 Finishing allowance in the machining plane. Input range 0 to 99999.9999 Q338 Infeed for finishing? (incremental): Infeed in the spindle axis per finishing cut. Q338=0: Finishing in one infeed. Input range 0 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 591 7 Y+50 R0 M3 M99 Call cycle for machining the contour outside 8 CYCL DEF 252 RECTANGULAR POCKET Define RECTANGULAR POCKET cycle Q215=0 ;MACHINING OPERATION Q218=50 ;FIRST SIDE LENGTH Q219=50 ;2ND SIDE LENGTH HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 592 Q351=+1 ;CLIMB OR UP-CUT Q370=1 ;TOOL PATH OVERLAP 9 X+50 R0 FMAX 10 Y+50 R0 FMAX M99 Cycle call 11 Z+250 R0 FMAX M30 12 END PGM C210 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 593: Cycles: Coordinate Transformations

    Cycles: Coordinate Transformations...
  • Page 594 Define cycles for basic behavior with a new value, such as scaling factor 1.0 Execute a miscellaneous function M2, M30, or an END PGM block (depending on machine parameter clearMode) Select a new program HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 595 99999.9999 Please note while programming In the optional machine parameter CfgDisplayCoordSys (no. 127501) you can specify the coordinate system in which the status display shows an active datum shift. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 596 In the additional status display, the following data from the datum table are shown: Name and path of the active datum table Active datum number Comment from the DOC column of the active datum number HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 597 77 CYCL DEF 7.0 DATUM SHIFT enter a Q parameter, the TNC activates the datum 78 CYCL DEF 7.1 #5 number entered in the Q parameter. Input range 0 to 9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 598 SELECT TYPE and SHOW .D soft keys Select the desired table or enter a new file name. Edit the file. The functions displayed in the soft- key row for editing include: HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 599 Go to beginning of line Go to end of line Copy the current value Insert the copied value Add the entered number of lines (datums) to the end of the table HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 600 Carefully test the NC program after making a change to the datum table Status displays In the additional status display, the TNC shows the values of the active datum shift. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 601 As an 13 CYCL DEF 247 PRESETTING alternative, you can also select the desired preset Q339=4 ;PRESET NUMBER directly from the preset table with SELECT. Input range 0 to 65535 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 602 You can enter up to three axes. Input range: Up to three NC axes X, Y, Z, U, V, W, A, B, C HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 603 0.000001 to 99.999999 13 CYCL DEF 7.1 X+60 14 CYCL DEF 7.2 Y+40 15 CYCL DEF 11.0 SCALING 16 CYCL DEF 11.1 SCL 0.75 17 CALL LBL 1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 604 The size of the contour is enlarged or reduced with reference to the center, and not necessarily (as in Cycle 11 SCALING) with reference to the active datum. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 605 -99999.9999 to 99999.9999 NC blocks 25 CALL LBL 1 26 CYCL DEF 26.0 AXIS-SPECIFIC SCALING 27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+20 28 CALL LBL 1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 606 14 CYCL DEF 7.0 DATUM SHIFT Datum shift 15 CYCL DEF 7.1 X+45 16 CYCL DEF 7.2 Y+60 17 CALL LBL 1 18 CYCL DEF 7.0 DATUM SHIFT 19 CYCL DEF 7.1 X+0 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 607 26 Y+20 R0 FMAX M99 Move to 3rd hole, call cycle 27 X-20 R0 FMAX M99 Move to 4th hole, call cycle 28 LBL 0 29 END PGM SP2 MM HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 609: Cycles: Special Functions

    Cycles: Special Functions...
  • Page 610 Cycles: Special Functions | Fundamentals 20.1 Fundamentals Overview The TNC provides the following cycles for the following special purposes: Soft key Cycle Page 9 DWELL TIME 12 Program call 13 Oriented spindle stop HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 611 Modal conditions such as spindle rotation are not affected. Cycle parameters Dwell time in seconds: Enter the dwell time in seconds. Input range: 0 to 3600 s (1 hour) in steps of 0.001 seconds HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 612 SELECT soft key. \KLAR35\FK1\50.H 57 X+20 FMAX Call the program with: CYCL CALL (separate block) or 58 Y+50 FMAX M99 M99 (blockwise) or M89 (executed after every positioning block) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 613 13 again in your NC program after one of the machining cycles mentioned above. Cycle parameters Angle of orientation: Enter the angle referenced to the reference axis of the working plane. Input range: 0.0000° to 360.0000° HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 614 Cycle 18. Cycle 18 does not perform approach and departure motion. Before calling the cycle, pre-position the tool The tool moves from the current position to the entered depth after the cycle is called HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 615 = left-hand thread (M4 with negative hole depth) NC blocks 25 CYCL DEF 18.0 THREAD CUTTING 26 CYCL DEF 18.1 DEPTH = -20 27 CYCL DEF 18.2 PITCH = +1 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 617: Touch Probe Cycles

    Touch probe cycles...
  • Page 618 Calibrate the touch probe Setting presets The manual touch probe cycles are described in the "Manual operation and setup". Further information: "Using a 3-D touch probe (option 17)", page 405 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 619 In this way the stylus is always deflected in the same direction. If you change TRACK = ON, you must recalibrate the touch probe. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 620 FMAX or at rapid traverse. Input value = FMAX_PROBE: Position at feed rate from FMAX Input value = FMAX_MACHINE: Pre-position at rapid traverse HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 621 TNC first positions the touch probe to the first probe point in the working plane, and then in the touch-probe axis directly to the measuring height HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 622: General Information

    TCH PROBE TABLE soft key Set the EDIT soft key to ON Using the arrow keys, select the desired setting. Perform desired changes. Exit the touch probe table: Press the END soft HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 623 SERIAL You need not make an entry in this column. The TNC automatically enters the serial number of the touch probe if the touch probe has an EnDat interface HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 624 Before working with the measuring cycles, you must first enter all the required data into the central tool file and call the tool to be measured with TOOL CALL. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 625 The feed rate for probing is calculated from: v = measuring tolerance • n with Feed rate for probing in mm/min Measuring tolerance [mm], depending Measuring tolerance on maxPeriphSpeedMeas Shaft speed [rpm] HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 626 Measuring tolerance = r • measureTolerance1/ 5 mm, where Active tool radius in mm Maximum permissible error of measureTolerance1: measurement HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 627 10 mm, for because the south pole of radius as the offset so example the ball is to be measured) that the diameter is not measured in the radius) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 628 10 The TNC saves the calibration values and considers these during subsequent tool measurement 11 The TNC then retracts the stylus along the tool axis to safety clearance and moves it to the center of the TT HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 629 TNC automatically positions the tool above the level of the probe contact (safety zone from safetyDistToolAx). Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 630 The calibrating tool should have a diameter of more than 15 mm and protrude approx. 50 mm from the chuck. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 631 1: No stop before running. The TNC starts the calibration process from the current position. Before running Cycle 484, you must position the tool above the tool touch probe. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 632 It then measures the length of each tooth by changing the corresponding angle of spindle orientation. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 633 (safety zone from safetyDistStylus). Input range -99999.9999 to 99999.9999 Probe the teeth? 0=no/1=yes: Choose whether the control is to measure the individual teeth (maximum of 20 teeth) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 634 To do so, define in the tool table the number of teeth CUT as 0 and adjust machine parameter CfgTT (No. 122700) Refer to your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 635 (safety zone from safetyDistStylus). Input range -99999.9999 to 99999.9999 Probe the teeth? 0=no/1=yes: Choose whether the control is to measure the individual teeth (maximum of 20 teeth) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 636 To do so, define in the tool table the number of teeth CUT as 0 and adjust machine parameter CfgTT (No. 122700) Refer to your machine manual. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 637 (safety zone from safetyDistStylus). Input range -99999.9999 to 99999.9999 Probe the teeth? 0=no/1=yes: Choose whether the control is to measure the individual teeth (maximum of 20 teeth) HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 639: Tables And Overviews

    Tables and Overviews...
  • Page 640 Proceed as follows in order to have the actual system names of the parameters be shown: Press the Screen layout key Press the SHOW SYSTEM NAME soft key Follow the same procedure to return to the standard display. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 641 As well as the Help text, other information is displayed, e.g. unit of measurement, initial value, selection list. If the selected machine parameter matches a parameter in the previous control model, the corresponding MP number is displayed. HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 642 M5: Display spindle position if spindle is in position control and with M5 Show or hide soft key preset table True: Soft key preset table is not displayed HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 643 Program input in HEIDENHAIN Klartext conversational text or in DIN/ISO HEIDENHAIN: Program input in operating mode MDI in Klartext conversational text dialog ISO: Program input in Positioning with MDI mode of operation in DIN/ISO HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 644 CHINESE CHINESE_TRAD SLOVENIAN KOREAN NORWEGIAN ROMANIAN SLOVAK TURKISH PLC dialog language See NC dialog language PLC error message language See NC dialog language Help language See NC dialog language HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 645 ON: With new BLK form in the test run, the tool paths are reset OFF: With new BLK form in the test run, the tool paths are not reset HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 646 Show the RÜCKS. SPALTE T soft key TRUE: The soft key is shown and all tools can be deleted from the tool memory by the user FALSE: The soft key is not shown HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 647 Maximum permissible measuring error with tool measurement 0.001 to 0.999 [mm]: Second maximum permissible measuring error NC stop during tool check True: NC program is stopped if breakage tolerance is exceeded HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 648 0.001 to 99 999.9999 [mm]: Safety clearance in tool axis direction Safety zone around stylus for pre-positioning 0.001 to 99 999.9999 [mm]: Safety clearance in plane perpendicular to tool axis HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 649 TRUE: At the end of cycle 202 and 204 the condition of M7 and M8 is restored before the cycle call FALSE: At the end of cycle 202 and 204 the condition of M7 and M8 is not restored independently HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 650 TRUE: For small thread depths the spindles speed is limited to the extent that for about 1/3 of the time it runs at a constant speed FALSE: No limitation of the spindle speed HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 651 Line number up to which identical syntax elements are searched for 500 to 50000: Search for selected elements with up/down arrow keys Behavior of PARAXMODE function with UVW axes FALSE: PARAXMODE function permitted TRUE: PARAXMODE function locked HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 652 FN 16 output path for Programming and Test Run operating modes Path for FN 16 output if no path has been defined in the program Serial Interface RS232 Further information: "Setting up data interfaces", page 479 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 653 Yellow Green Green Brown Brown Signal GND Blue Gray Gray Pink Pink Do not Violet assign Hsg. External Hsg. External Hsg. Hsg. Hsg. Hsg. External Hsg. shield shield shield HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 654 Signal GND Black Black Violet Violet Gray Gray White/ White/ Green Green Do not Green Green assign Hsg. External Hsg. External Hsg. Hsg. Hsg. Hsg. External Hsg. shield shield shield HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 655 Ethernet interface RJ45 socket Maximum cable length: Unshielded: 100 m Shielded: 400 m Signal Description Transmit Data TX– Transmit Data REC+ Receive Data Vacant Vacant REC– Receive Data Vacant Vacant HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 656 3 x USB (1 x front USB 2.0; 2 x rear USB 3.0) ■ Operation: 5 °C to +45 °C Ambient temperature ■ Storage: –35 °C to +65 °C HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 657 Parallel operation Creating a program with graphical support while another program is being run Cutting data Automatic calculation of spindle speed, cutting speed, feed per tooth and feed per revolution HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 658 Graphical simulation before a program run, also while another program is being run Display modes ■ Plan view / projection in 3 planes / 3-D view ■ Detail enlargement HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 659 Program interruption, contour departure and return ■ Multiple datum tables for storing workpiece-specific datums Datum tables ■ Calibrating the touch probe Touch probe cycles ■ Presetting, manual ■ Tools can be measured automatically HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 660 TS 260: 3-D touch trigger probe with cable connection ■ TT 160: 3-D touch trigger probe for tool measurement ■ KT 130: Simple touch trigger probe with cable connection HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 661 TAPPING ■ RIGID TAPPING ■ POLAR PATTERN ■ CARTESIAN PATTERN ■ FACE MILLING ■ CENTERING ■ SINGLE-LIP D.H.DRLNG ■ PRESETTING ■ RECTANGULAR POCKET ■ SLOT MILLING ■ RECTANGULAR STUD HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 662 Reduce the rotary axis display to a value below 360° ■ Blockwise cycle call ■ M136 Feed rate F in millimeters per spindle revolution M137 Reset M136 ■ M140 Retraction from the contour in the tool-axis direction HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 663 Calling........504 Ethernet interface....485 FN23: CIRCLE DATA Define........503 Configuration...... 486 Calculate a circle from 3 Cycles and point tables.... 521 Connecting and disconnecting a network drive....... 150 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 664 Linear point patterns....517 Interrupt....... 449 Load machine configuration..497 Mid-program startup.... 457 Overview......447 M91, M92........ 339 Resuming after interruption. 453 Machine parameters....640 Retraction......454 changing....... 640 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 665 Execution......445 User parameters...... 640 test run Using touch probe functions with Setting speed....... 433 mechanical probes or measuring Text editor........ 157 dials.......... 404 Text file........364 Delete functions....365 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 666 Statistical data..... 496 Working space monitoring..442 Workpiece positions....110 Workspace monitoring..... 445 Write to log......299 Writing probing values Log........410 To the datum table....410 ZIP archive....... 146 HEIDENHAIN | TNC 128 | Conversational Programming User's Manual | 10/2017...
  • Page 667 The Information Site for DR. JOHANNES HEIDENHAIN GmbH HEIDENHAIN Controls Dr.-Johannes-Heidenhain-Straße 5 83301 Traunreut, Germany  +49 8669 31-0  +49 8669 32-5061 Klartext App E-mail: info@heidenhain.de The Klartext on Your  +49 8669 32-1000 Technical support Mobile Device Measuring systems ...

Table of Contents