HEIDENHAIN TNC 640 User Manual
Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Quick Links

TNC 640
User's Manual for
Cycle Programming
NC Software
340590-08
340591-08
340595-08
English (en)
10/2017

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for HEIDENHAIN TNC 640

  • Page 1 TNC 640 User’s Manual for Cycle Programming NC Software 340590-08 340591-08 340595-08 English (en) 10/2017...
  • Page 3: Fundamentals | New Cycle Functions Of Software 34059X

    Fundamentals...
  • Page 4: Fundamentals | New And Changed Cycle Functions Of Software 34059X

    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 | User’s manual for cycle programming | 10/2017...
  • Page 5 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 | User’s manual for cycle programming | 10/2017...
  • Page 6 TNC users. Operating instructions: All TNC functions not connected to the cycles are described in the TNC 640 User’s Manual. Please contact HEIDENHAIN if you require a copy of this User's Manual. ID of User's Manual for conversational programming: 892903-xx.
  • Page 7 Fundamentals | TNC model, software and features Software options The TNC 640 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 (options 0 to 7)
  • Page 8 Prerequisite: Working with surface normal vectors (LN blocks) Extended Tool Management (option 93) Extended tool management Python-based Advanced Spindle Interpolation (option 96) Interpolating spindle Interpolation turning: Cycle 291: Interpolation turning, coupling Cycle 292: Interpolation turning, contour finishing HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 9 Coupling of axes Visual Setup Control – VSC (option 136) Camera-based monitoring of the Record the setup situation with a HEIDENHAIN camera system setup situation Visual comparison of planned and actual status in the workspace Cross Talk Compensation – CTC (option 141)
  • Page 10 EN 55022, and is intended for use primarily in industrially-zoned areas. Legal information This product uses open source software. Further information is available on the control under Programming operating mode MOD function License Info softkey HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 11: New And Changed Cycle Functions Of Software 34059X

    The majority of part programs created on older HEIDENHAIN contouring controls (TNC 150 B and higher) can be executed with this new software version of the TNC 640. Even if new, optional parameters ("Optional parameters") have been added to existing cycles, you can normally continue running your programs as usual.
  • Page 12: The Character Set Of The Fixed Cycle 225 Engraving Was

    See "SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241, DIN/ISO: G241)", page 109 The probing cycle 4 MEASURING IN 3-D was introduced See "MEASURING IN 3-D (Cycle 4)", page 633 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 13: The Character Set Of The Fixed Cycle 225 Engraving Was

    "Calibrating the wireless TT 449 (Cycle 484, DIN/ISO: G484)", page 726 Eccentric turning with Cycle 800 is possible with option 50 and option 135, See "ADAPT ROTARY COORDINATE SYSTEM (Cycle 800, DIN/ISO: G800)", page 366 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 14 98 For SL cycles, M110 is now taken into account for arcs compensated on the inside of the arc if M110 is active during machining, See "SL Cycles", page 216 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 15 Cycle 872 has been expanded by parameters Q510, Q511, and Q462. This makes it possible to program an overlap, a feed rate factor, and a selectable retraction behavior, See "AXIAL RECESSING EXTENDED (Cycle 872, DIN/ISO: G872)", page 454 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 16 In Cycle 252, the strategy for finishing was revised, See "CIRCULAR POCKET (Cycle 252, DIN/ISO: G252)", page 164 Cycle 275 has been expanded by parameters Q369 and Q439, See "TROCHOIDAL SLOT (Cycle 275, DIN/ISO: G275)", page 247 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 17 0 to 3, the surface in the milling direction is increased by the value from Q357 (provided that no limitation is set in this direction) See "FACE MILLING (Cycle 233, DIN/ISO: G233)", page 194 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 18 Cycle 225 Engraving can engrave the current counter reading with a new syntax See "Engraving the counter reading", page 345 New column SERIAL in the touch-probe table See "touch probe data", page 499 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 19: Table Of Contents

    17 Touch Probe Cycles: Special Functions..................629 18 Visual Setup Control VSC (Software Option 136)..............655 19 Touch Probe Cycles: Automatic Kinematics Measurement............679 20 Touch Probe Cycles: Automatic Tool Measurement..............717 21 Tables of Cycles..........................735 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 20 Contents HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 21 Contents Fundamentals / Overviews......................53 Introduction............................54 Available Cycle Groups........................55 Overview of fixed cycles........................55 Overview of touch probe cycles......................56 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 22 Application.............................. 74 Creating a point table..........................74 Hiding single points from the machining process................. 75 Selecting a point table in the program....................75 Calling a cycle in connection with point tables..................76 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 23 Cycle run..............................98 Please note while programming:......................99 Cycle parameters..........................100 Position behavior when working with Q379..................102 BORE MILLING (Cycle 208)....................... 106 Cycle run.............................. 106 Please note while programming:......................107 Cycle parameters..........................108 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 24 Please note while programming:......................110 Cycle parameters..........................111 Position behavior when working with Q379..................113 3.11 Programming Examples........................117 Example: Drilling cycles........................117 Example: Using drilling cycles in connection with PATTERN DEF............118 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 25 Cycle parameters..........................145 HELICAL THREAD DRILLING/MILLING (Cycle 265, DIN/ISO: G265)..........147 Cycle run.............................. 147 Please note while programming:......................148 Cycle parameters..........................149 4.10 OUTSIDE THREAD MILLING (Cycle 267, DIN/ISO: G267)............... 151 Cycle run.............................. 151 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 26 Contents Please note while programming:......................152 Cycle parameters..........................153 4.11 Programming Examples........................155 Example: Thread milling........................155 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 27 Cycle parameters..........................192 FACE MILLING (Cycle 233, DIN/ISO: G233)..................194 Cycle run.............................. 194 Please note while programming:......................198 Cycle parameters..........................199 5.10 Programming Examples........................202 Example: Milling pockets, studs and slots..................202 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 28 Please note while programming:......................207 Cycle parameters..........................208 LINEAR PATTERN (Cycle 221, DIN/ISO: G221)................210 Cycle run.............................. 210 Please note while programming:......................210 Cycle parameters..........................211 Programming Examples........................212 Example: Polar hole patterns....................... 212 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 29 SIDE FINISHING (Cycle 24, DIN/ISO: G124)..................234 Cycle run.............................. 234 Please note while programming:......................235 Cycle parameters..........................236 CONTOUR TRAIN (Cycle 25, DIN/ISO: G125)..................237 Cycle run.............................. 237 Please note while programming:......................238 Cycle parameters..........................239 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 30 Please note while programming:......................249 Cycle parameters..........................250 7.13 Programming Examples........................252 Example: Roughing-out and fine-roughing a pocket................252 Example: Pilot drilling, roughing-out and finishing overlapping contours..........254 Example: Contour train........................256 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 31 CYLINDER SURFACE (Cycle 39, DIN/ISO: G139, software option 1)..........269 Cycle run.............................. 269 Please note while programming:......................270 Cycle parameters..........................271 Programming Examples........................272 Example: Cylinder surface with Cycle 27.................... 272 Example: Cylinder surface with Cycle 28.................... 274 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 32 Contour machining with SL Cycles......................282 Example: Roughing and finishing superimposed contours with the contour formula......283 SL cycles with simple contour formula...................286 Fundamentals............................286 Entering a simple contour formula...................... 288 Contour machining with SL Cycles......................288 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 33 Please note while programming:......................301 Cycle parameters..........................301 10.7 SCALING (Cycle 11, DIN/ISO: G72....................302 Effect..............................302 Cycle parameters..........................302 10.8 AXIS-SPECIFIC SCALING (Cycle 26)....................303 Effect..............................303 Please note while programming:......................303 Cycle parameters..........................304 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 34 Monitoring of the working space......................309 Positioning in a tilted coordinate system.....................310 Combining coordinate transformation cycles..................310 Procedure for working with Cycle 19 WORKING PLANE..............311 10.10 Programming Examples........................312 Example: Coordinate transformation cycles..................312 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 35 11.8 ENGRAVING (Cycle 225, DIN/ISO: G225)..................340 Cycle run.............................. 340 Please note while programming:......................340 Cycle parameters..........................341 Allowed engraving characters......................343 Characters that cannot be printed....................... 343 Engraving system variables........................344 Engraving the counter reading......................345 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 36 11.11 Programming examples........................353 Example: Interpolation Turning Cycle 291....................353 Example: Interpolation Turning Cycle 292....................355 11.12 THREAD CUTTING (Cycle 18, DIN/ISO: G18)...................357 Cycle run.............................. 357 Please note while programming:......................357 Cycle parameters..........................358 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 37 Please note while programming:......................383 Cycle parameters..........................384 12.8 TURN, LONGITUDINAL PLUNGE EXTENDED (Cycle 814, DIN/ISO: G814)........385 Application............................385 Roughing cycle run..........................385 Finishing cycle run..........................386 Please note while programming:......................386 Cycle parameters..........................387 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 38 Roughing cycle run..........................407 Finishing cycle run..........................408 Please note while programming:......................408 Cycle parameters..........................409 12.15 TURN CONTOUR FACE (Cycle 820, DIN/ISO: G820)...............411 Application............................411 Roughing cycle run..........................411 Finishing cycle run..........................412 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 39 12.21 AXIAL RECESSING (Cycle 850, DIN/ISO: G850)................433 Application............................433 Roughing cycle run..........................433 Finishing cycle run..........................434 Please note while programming:......................434 Cycle parameters..........................435 12.22 RADIAL RECESSING (Cycle 861, DIN/ISO: G861)................437 Application............................437 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 40 Finishing cycle run..........................459 Please note while programming:......................460 Cycle parameters..........................461 12.28 THREAD LONGITUDINAL (Cycle 831, DIN/ISO: G831)..............463 Application............................463 Cycle run.............................. 463 Please note while programming:......................464 Cycle parameters..........................466 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 41 Direction of rotation depending on the machining side (Q550)............482 12.32 CHECK UNBALANCE (Cycle 892, DIN/ISO: G892)................483 Application............................483 Please note while programming:......................484 Cycle parameters..........................486 12.33 Example program..........................487 Example: Shoulder with recess......................487 Example: Gear hobbing........................489 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 42 Touch trigger probe, rapid traverse for positioning: F_PREPOS in touch probe table......496 Executing touch probe cycles......................497 13.3 Touch probe table..........................498 General information..........................498 Editing touch probe tables........................498 touch probe data..........................499 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 43 14.7 Compensating workpiece misalignment by rotating the C axis (Cycle 405, DIN/ISO: G405)..521 Cycle run.............................. 521 Please note while programming:......................522 Cycle parameters..........................523 14.8 Example: Determining a basic rotation from two holes..............524 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 44 Cycle run.............................. 556 Please note while programming:......................557 Cycle parameters..........................558 15.9 PRESET FROM INSIDE OF CORNER (Cycle 415, DIN/ISO: G415)..........561 Cycle run.............................. 561 Please note while programming:......................562 Cycle parameters..........................563 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 45 15.14 Example: Presetting in center of a circular segment and on top surface of workpiece....579 15.15 Example: Presetting on top surface of workpiece and in center of a bolt hole circle....580 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 46 Cycle run.............................. 605 Please note while programming:......................605 Cycle parameters..........................606 16.8 MEASURE RECTANGLE OUTSIDE (Cycle 424, DIN/ISO: G424)............. 608 Cycle run.............................. 608 Please note while programming:......................608 Cycle parameters..........................609 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 47 Cycle run.............................. 623 Please note while programming:......................624 Cycle parameters..........................624 16.14 Programming Examples........................626 Example: Measuring and reworking a rectangular stud..............626 Example: Measuring a rectangular pocket and recording the results..........628 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 48 CALIBRATE TS RADIUS INSIDE (Cycle 462, DIN/ISO: G462)............648 17.10 CALIBRATE TS RADIUS OUTSIDE (Cycle 463, DIN/ISO: G463)............. 650 17.11 FAST PROBING (Cycle 441, DIN/ISO G441)..................652 Cycle run.............................. 652 Please note while programming:......................652 Cycle parameters..........................653 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 49 Monitoring phase..........................670 Please note while programming:......................671 Cycle parameters..........................672 18.3 Workspace Local (Cycle 601)......................673 Application............................673 Creating reference images........................673 Monitoring phase..........................676 Please note while programming:......................677 Cycle parameters..........................678 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 50 19.6 KINEMATICS GRID (Cycle 453, DIN/ISO: G453, option)..............710 Cycle run.............................. 710 Various modes (Q406)......................... 712 Choice of the calibration sphere position on the machine table............712 Please note while programming:......................713 Cycle parameters..........................714 Logging function..........................716 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 51 Please note while programming:......................730 Cycle parameters..........................731 20.6 Measuring tool length and radius (Cycle 33 or 483, DIN/ISO: G483)..........732 Cycle run.............................. 732 Please note while programming:......................732 Cycle parameters..........................733 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 52 Contents 21 Tables of Cycles..........................735 21.1 Overview............................. 736 Fixed cycles............................736 Turning cycles............................738 Touch probe cycles..........................739 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 53: Fundamentals / Overviews

    Fundamentals / Overviews...
  • Page 54 TNC assigns the feed rate from the TOOL CALL block when processing the cycle definition. 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 | User’s manual for cycle programming | 10/2017...
  • Page 55 Special cycles: dwell time, program call, oriented spindle stop, engraving, tolerance, interpolation turning, determining the load If required, switch to machine-specific fixed cycles. These fixed cycles can be integrated by your machine tool builder. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 56 Cycles for VSC: camera-based monitoring of the setup situation (software option 136) If required, switch to machine-specific touch probe cycles. These touch probe cycles can be integrated by your machine tool builder. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 57: Using Fixed Cycles

    Using Fixed Cycles...
  • Page 58: Working With Fixed Cycles

    Using Fixed Cycles | Working with fixed cycles Working with fixed cycles Machine-specific cycles In addition to the HEIDENHAIN cycles, many machine tool builders offer their own cycles in the TNC. These cycles are available in a separate cycle-number range:...
  • Page 59: Defining A Cycle Using Soft Keys

    ;SET-UP CLEARANCE Q201=3 ;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 | User’s manual for cycle programming | 10/2017...
  • Page 60: Calling A Cycle

    PATTERN DEF pattern definition or in a points table. Further information: "PATTERN DEF pattern definition", page 67 Further information: "Point tables", page 74 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 61 CYCL CALL POS block. You should therefore always define the start position to be set in the cycle as 0. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 62 Z positions in the point pattern. With CYCL CALL POS there is no pre-positioning in the tool axis direction. You must program pre-positioning within the called file yourself in that case. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 63: Program Defaults For Cycles

    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 | User’s manual for cycle programming | 10/2017...
  • Page 64: Using Global Def Information

    As a consequence the machining sequence can significantly differ. Use GLOBAL DEF intentionally and run a program test before machining If a fixed value is entered in machining cycles, GLOBAL DEF does not modify this value HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 65: Global Data Valid Everywhere

    Overlap factor: The tool radius multiplied by the overlap factor equals the lateral stepover Climb or up-cut: Select the type of milling The parameters apply to SL cycles 20, 22, 23, 24 and HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 66: Global Data For Positioning Behavior

    Move to clearance height: Select whether the TNC moves the touch probe to the set-up clearance or clearance height between the measuring points The parameters apply to all touch probe cycles numbered 4xx. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 67: Pattern Def Pattern Definition

    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 | User’s manual for cycle programming | 10/2017...
  • Page 68: Entering Pattern Def

    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 | User’s manual for cycle programming | 10/2017...
  • Page 69: Defining Individual Machining Positions

    Reference axis: Reference axis of the active machining plane (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 | User’s manual for cycle programming | 10/2017...
  • Page 70: Defining A Single Pattern

    You can enter a positive or negative value. Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 71: Defining Individual Frames

    You can enter a positive or negative value. Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 72: Defining A Full Circle

    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 | User’s manual for cycle programming | 10/2017...
  • Page 73: Defining A Pitch Circle

    (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 | User’s manual for cycle programming | 10/2017...
  • Page 74: Point Tables

    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 | User’s manual for cycle programming | 10/2017...
  • Page 75: Hiding Single Points From The Machining Process

    Enter the name of the point table and confirm your entry with the 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 | User’s manual for cycle programming | 10/2017...
  • Page 76: Calling A Cycle In Connection With Point Tables

    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 | User’s manual for cycle programming | 10/2017...
  • Page 77: Fixed Cycles: Drilling

    Fixed Cycles: Drilling...
  • Page 78: Fundamentals

    208 BORE MILLING With automatic pre-positioning, 2nd set-up clearance 241 SINGLE-LIP D.H.DRLNG With automatic pre-positioning to deepened starting point, shaft speed and coolant definition HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 79: Centering (Cycle 240, Din/Iso: G240)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 80: Cycle Parameters

    ;FEED RATE FOR PLNGNG Q211=0.1 ;DWELL TIME AT DEPTH Q203=+20 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE 12 L X+30 Y+20 R0 FMAX M3 M99 13 L X+80 Y+50 R0 FMAX M99 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 81: Drilling (Cycle 200)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 82: Cycle Parameters

    = Depth referenced to the tool tip 12 L X+30 Y+20 FMAX M3 = Depth referenced to the cylindrical part of the 13 CYCL CALL tool 14 L X+80 Y+50 FMAX M99 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 83: Reaming (Cycle 201, Din/Iso: G201)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 84: Cycle Parameters

    Q208=250 ;RETRACTION FEED RATE Q203=+20 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE 12 L X+30 Y+20 FMAX M3 13 CYCL CALL 14 L X+80 Y+50 FMAX M9 15 L Z+100 FMAX M2 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 85: Boring (Cycle 202, Din/Iso: G202)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 86: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 87: Cycle Parameters

    Angle to which the TNC positions the tool before 12 L X+30 Y+20 FMAX M3 retracting it. Input range -360.000 to 360.000 13 CYCL CALL 14 L X+80 Y+50 FMAX M99 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 88: Universal Drilling (Cycle 203, Din/Iso: G203)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 89 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 | User’s manual for cycle programming | 10/2017...
  • Page 90 Q211 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 | User’s manual for cycle programming | 10/2017...
  • Page 91: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 92: Cycle Parameters

    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 | User’s manual for cycle programming | 10/2017...
  • Page 93 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 | User’s manual for cycle programming | 10/2017...
  • Page 94: Back Boring (Cycle 204, Din/Iso: G204)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 95: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 96: Cycle Parameters

    Q251=3.5 ;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 | User’s manual for cycle programming | 10/2017...
  • Page 97 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 | User’s manual for cycle programming | 10/2017...
  • Page 98: Universal Pecking (Cycle 205, Din/Iso: G205)

    7 The tool remains at the hole bottom—if programmed—for the entered dwell time to cut free, and then retracts to set-up clearance at the retraction feed rate. If programmed, the tool moves to the 2nd set-up clearance at FMAX. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 99: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 100: Cycle Parameters

    (incremental): Set-up clearance for rapid traverse positioning when the TNC moves the tool again to the current plunging depth after retraction from the hole; value for the last plunging depth. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 101 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 | User’s manual for cycle programming | 10/2017...
  • Page 102: Position Behavior When Working With Q379

    Thus if the deepened starting point is at -2 the TNC initiates the drilling process at -1.6 mm. The following table shows various examples for calculating the start of drilling: HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 103 2 is used.) 0.2*100=20 (Q200=2, 20>2, thus the value 2 is used.) 0.2*2=0.4 -1.6 0.2*5=1 0.2*10=2 0.2*25=5 0.2*100=20 (Q200=5, 20>5, thus the value 5 is used.) 0.2*2=0.4 -1.6 0.2*5=1 0.2*10=2 0.2*25=5 0.2*100=20 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 104 Thus if the deepened starting point is at -2 the TNC traverses for chip breaking to -0.4 mm. The following table shows various examples for calculating the position for chip breaking (retraction position): HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 105 0.8*25=20 (Q200=5, 20>5, thus the value 5 is used.) 0.8*100=80 (Q200=5, 80>5, thus 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, thus the value 20 is used.) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 106: Bore Milling (Cycle 208)

    4 The TNC then positions the tool at the center of the hole again. 5 Finally the TNC returns to the setup clearance at FMAX. If programmed, the tool moves to the 2nd set-up clearance at FMAX. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 107: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 108: Cycle Parameters

    ;2ND SET-UP CLEARANCE milling operation with M3 = Climb milling Q335=25 ;NOMINAL DIAMETER –1 = Up-cut milling (if you enter 0, climb milling is Q342=0 ;ROUGHING DIAMETER performed) Q351=+1 ;CLIMB OR UP-CUT HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 109: Single-Lip Deep-Hole Drilling (Cycle 241, Din/Iso: G241)

    Refer to the following document for the value of the retraction position in your case: See page 102 9 If programmed, the tool moves to the 2nd set-up clearance at FMAX HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 110: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 111: Cycle Parameters

    Input: 3: Turn the spindle with M3 4: Turn the spindle with M4 5: Move with stationary spindle HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 112 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 | User’s manual for cycle programming | 10/2017...
  • Page 113: Position Behavior When Working With Q379

    Thus if the deepened starting point is at -2 the TNC initiates the drilling process at -1.6 mm. The following table shows various examples for calculating the start of drilling: HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 114 2 is used.) 0.2*100=20 (Q200=2, 20>2, thus the value 2 is used.) 0.2*2=0.4 -1.6 0.2*5=1 0.2*10=2 0.2*25=5 0.2*100=20 (Q200=5, 20>5, thus the value 5 is used.) 0.2*2=0.4 -1.6 0.2*5=1 0.2*10=2 0.2*25=5 0.2*100=20 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 115 Thus if the deepened starting point is at -2 the TNC traverses for chip breaking to -0.4 mm. The following table shows various examples for calculating the position for chip breaking (retraction position): HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 116 0.8*25=20 (Q200=5, 20>5, thus the value 5 is used.) 0.8*100=80 (Q200=5, 80>5, thus 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, thus the value 20 is used.) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 117: 3.11 Programming Examples

    Approach hole 3, call cycle 10 L Y+10 R0 FMAX M99 Approach hole 4, call cycle 11 L Z+250 R0 FMAX M2 Retract the tool, end program 12 END PGM C200 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 118: Example: Using Drilling Cycles In Connection With Pattern Def

    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 | User’s manual for cycle programming | 10/2017...
  • Page 119 17 CYCLE CALL PAT F5000 M13 Call the cycle in connection with the hole pattern 18 L Z+100 R0 FMAX M2 Retract the tool, end program 19 END PGM 1 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 121: Fixed Cycles: Tapping / Thread Milling

    Fixed Cycles: Tapping / Thread Milling...
  • Page 122: Fundamentals

    265 HELICAL THREAD DRILLING/ MILLING Cycle for milling the thread into solid material 267 OUTSIDE THREAD MILLING Cycle for milling an external thread and machining a countersunk chamfer HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 123: Tapping With A Floating Tap Holder (Cycle 206, Din/Iso: G206)

    If programmed, the tool moves to the 2nd set-up clearance at FMAX. 4 At the set-up clearance, the direction of spindle rotation reverses once again. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 124: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 125: Cycle Parameters

    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 | User’s manual for cycle programming | 10/2017...
  • Page 126: Rigid Tapping Without A Floating Tap Holder (Cycle 207, Din/Iso: G207)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 127: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 128: Cycle Parameters

    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 | User’s manual for cycle programming | 10/2017...
  • Page 129: Retracting After A Program Interruption

    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 | User’s manual for cycle programming | 10/2017...
  • Page 130: Tapping With Chip Breaking (Cycle 209, Din/Iso: G209)

    5 The tool is then retracted to set-up clearance. If programmed, the tool moves to the 2nd set-up clearance at FMAX. 6 The TNC stops the spindle turning at set-up clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 131: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 132: Cycle Parameters

    TNC increases the spindle speed— and therefore also the retraction feed rate—when retracting from the drill hole. Input range 0.0001 to 10. Maximum increase to maximum speed of the active gear range. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 133 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 | User’s manual for cycle programming | 10/2017...
  • Page 134: Fundamentals Of Thread Milling

    If for example you wish to repeat a cycle only with countersinking, it is also possible to enter 0 with the DEPTH OF THREAD. In this case the work direction is determined via COUNTERSINKING DEPTH HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 135 The machining direction of the thread changes if you execute a thread milling cycle in connection with Cycle 8 MIRROR IMAGE in only one axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 136: Thread Milling (Cycle 262, Din/Iso: G262)

    6 At the end of the cycle, the TNC retracts the tool in rapid traverse to setup clearance or, if programmed, to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 137: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 138: Cycle Parameters

    For smaller thread diameters you can decrease the approaching feed rate in order to reduce the danger of tool breakage. Input range 0 to 99999.999 alternatively FAUTO HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 139: Thread Milling/Countersinking (Cycle 263, Din/Iso: G263)

    11 At the end of the cycle, the TNC retracts the tool in rapid traverse to setup clearance or, if programmed, to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 140: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 141: Cycle Parameters

    Input range -99999.9999 to 99999.9999 Q359 Countersinking offset at front? (incremental): Distance by which the TNC moves the tool center away from the center. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 142 Q357=0.2 ;CLEARANCE TO SIDE Q358=+0 ;DEPTH AT FRONT Q359=+0 ;OFFSET AT FRONT Q203=+30 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q254=150 ;F COUNTERBORING Q207=500 ;FEED RATE FOR MILLNG Q512=0 ;FEED FOR APPROACH HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 143: Thread Drilling/Milling (Cycle 264, Din/Iso: G264)

    12 At the end of the cycle, the TNC retracts the tool in rapid traverse to setup clearance or, if programmed, to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 144: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 145: Cycle Parameters

    (incremental): Setup clearance for rapid traverse positioning when the TNC moves the tool again Q253=750 ;F PRE-POSITIONING to the current plunging depth after retraction from Q351=+1 ;CLIMB OR UP-CUT the hole. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 146 For smaller thread diameters you can decrease the approaching feed rate in order to reduce the danger of tool breakage. Input range 0 to 99999.999 alternatively FAUTO HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 147: Helical Thread Drilling/Milling (Cycle 265, Din/Iso: G265)

    9 At the end of the cycle, the TNC retracts the tool in rapid traverse to setup clearance or, if programmed, to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 148: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 149: Cycle Parameters

    Q200 Set-up clearance? (incremental): Distance 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 | User’s manual for cycle programming | 10/2017...
  • Page 150 ;F PRE-POSITIONING Q358=+0 ;DEPTH AT FRONT Q359=+0 ;OFFSET AT FRONT Q360=0 ;COUNTERSINK PROCESS Q200=2 ;SET-UP CLEARANCE Q203=+30 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q254=150 ;F COUNTERBORING Q207=500 ;FEED RATE FOR MILLNG HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 151: Outside Thread Milling (Cycle 267, Din/Iso: G267)

    11 At the end of the cycle, the TNC retracts the tool in rapid traverse to setup clearance or, if programmed, to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 152: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 153: Cycle Parameters

    = Climb milling –1 = Up-cut milling (if you enter 0, climb milling is performed) Q200 Set-up clearance? (incremental): Distance between tool tip and workpiece surface. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 154 Input range 0 to 99999.999 alternatively FAUTO Q203=+30 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q254=150 ;F COUNTERBORING Q207=500 ;FEED RATE FOR MILLNG Q512=0 ;FEED FOR APPROACH HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 155: 4.11 Programming Examples

    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 | User’s manual for cycle programming | 10/2017...
  • Page 156 0 +10 +10 +0 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 | User’s manual for cycle programming | 10/2017...
  • Page 157: Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling

    Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling...
  • Page 158: Fundamentals

    Roughing/finishing cycle with stepover, if multiple passes are required 257 CIRCULAR STUD Roughing/finishing cycle with stepover, if multiple passes are required 233 FACE MILLING Machining the face with up to 3 limits HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 159: Rectangular Pocket (Cycle 251, Din/Iso: G251)

    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. The pocket floor is approached tangentially. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 160: Please Note While Programming

    The TNC reduces the infeed depth to the LCUTS tool length defined in the tool table if the tool length is shorter than the Q202 infeed depth programmed in the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 161 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 | User’s manual for cycle programming | 10/2017...
  • Page 162: Cycle Parameters

    Q202 Plunging depth? (incremental): Infeed per cut; enter a value greater than 0. Input range 0 to 99999.9999 Q369 Finishing allowance for floor? (incremental): Finishing allowance for the floor. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 163 2: Feed rate refers to the tool cutting edge during side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 164: Circular Pocket (Cycle 252, Din/Iso: G252)

    Q200, then retracts at rapid traverse to the 2nd set-up clearance Q204 in the tool axis and returns at rapid traverse to the pocket center HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 165 9 Finally, the tool moves away from the pocket wall tangentially by the set-up clearance Q200, then retracts at rapid traverse to the set-up clearance Q200 in the tool axis and returns at rapid traverse to the pocket center. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 166: Please Note While Programming

    The TNC reduces the infeed depth to the LCUTS tool length defined in the tool table if the tool length is shorter than the Q202 infeed depth programmed in the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 167 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 | User’s manual for cycle programming | 10/2017...
  • Page 168: Cycle Parameters

    (incremental): Finishing allowance for the floor. Input range 0 to 99999.9999 Q206 Feed rate for plunging?: Traversing speed of the tool in mm/min while moving to depth. Input range 0 to 99999.999, alternatively FAUTO, FU, FZ HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 169 2: Feed rate refers to the tool cutting edge during side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 170: Slot Milling (Cycle 253, Din/Iso: G253)

    The slot side is approached tangentially in the left slot arc. 6 Then the TNC finishes the floor of the slot from the inside out. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 171: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 172: Cycle Parameters

    PREDEF: The TNC uses the value from the GLOBAL DEF block (if you enter 0, climb milling is performed) Q201 Depth? (incremental): Distance between workpiece surface and bottom of slot. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 173 2: Feed rate refers to the tool cutting edge during side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 174: Circular Slot (Cycle 254, Din/Iso: G254)

    5 Inasmuch as finishing allowances are defined, the TNC then finishes the slot walls, in multiple infeeds if so specified. The slot side is approached tangentially. 6 Then the TNC finishes the floor of the slot from the inside out. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 175: Please Note While Programming

    The TNC reduces the infeed depth to the LCUTS tool length defined in the tool table if the tool length is shorter than the Q202 infeed depth programmed in the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 176 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 | User’s manual for cycle programming | 10/2017...
  • Page 177: Cycle Parameters

    Q216 Center in 1st axis? (absolute): Center of the stud in the reference axis of the working plane. Only effective if Q367 = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 178 Q206 Feed rate for plunging?: Traversing speed Q376=+45 ;STARTING ANGLE of the tool in mm/min while moving to depth. Q248=90 ;ANGULAR LENGTH Input range 0 to 99999.999, alternatively FAUTO, FU, FZ Q378=0 ;STEPPING ANGLE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 179 2: Feed rate refers to the tool cutting edge during side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 180: Rectangular Stud (Cycle 256, Din/Iso: G256)

    8 At the end of the cycle, the TNC merely positions the tool in the tool axis at the clearance height defined in the cycle. This means that the end position differs from the starting position. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 181: Please Note While Programming

    At the end, the TNC positions the tool back to the set- up clearance, or to the 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 | User’s manual for cycle programming | 10/2017...
  • Page 182: Cycle Parameters

    0: Tool position = stud center 1: Tool position = left corner below 2: Tool position = right corner below 3: Tool position = right corner top 4: Tool position = left corner top HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 183 The overlapping is considered 9 L X+50 Y+50 R0 FMAX M3 M99 as maximum overlapping. The overlapping can be reduced to avoid residual material at the corners. Input range 0.1 to 1.9999; alternatively PREDEF HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 184 Q338=0: Finishing in one infeed. Input range 0 to 99999.9999 Q385 Finishing feed rate?: Traversing speed of the tool in mm/min during side and floor finishing. Input range 0 to 99999.999, alternatively FAUTO, fu, FZ HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 185: Circular Stud (Cycle 257, Din/Iso: G257)

    8 At the end of the cycle, the tool departs on a tangential path and then retracts in the tool axis to the 2nd set-up clearance defined in the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 186: Please Note While Programming

    Depending on the starting angle Q376, the following amount of space must be left next to the stud: At least tool diameter +2 mm If you use the default value -1 the TNC automatically calculates the starting position HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 187: Cycle Parameters

    Input range 0 to 99999.999; alternatively fmax, FAUTO, fu, FZ Q200 Set-up clearance? (incremental): Distance between tool tip and workpiece surface. Input range 0 to 99999.9999; alternatively PREDEF HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 188 9 L X+50 Y+50 R0 FMAX M3 M99 Q385 Finishing feed rate?: Traversing speed of the tool in mm/min during side and floor finishing. Input range 0 to 99999.999, alternatively FAUTO, fu, FZ HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 189: Polygon Stud (Cycle 258, Din/Iso: G258)

    8 This process is repeated until the programmed stud depth is reached. 9 At the end of the cycle first a departing motion is performed. Then the TNC will move the tool on the tool axis to the 2nd setup clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 190: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 191 Control the traversing movements of the machine In the simulation, control the end position of the tool after the cycle After the cycle, program the absolute (not incremental) coordinates HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 192: Cycle Parameters

    ;SURFACE COORDINATE –1 = Up-cut PREDEF: The TNC uses the value from the Q204=50 ;2ND SET-UP CLEARANCE GLOBAL DEF block (if you enter 0, climb milling is Q370=1 ;TOOL PATH OVERLAP performed) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 193 Q338=0: Finishing in one infeed. Input range 0 to 99999.9999 Q385 Finishing feed rate?: Traversing speed of the tool in mm/min during side and floor finishing. Input range 0 to 99999.999, alternatively FAUTO, fu, FZ HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 194: Face Milling (Cycle 233, Din/Iso: G233)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 195 11 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 196 10 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 197 For roughing the TNC includes the oversize of the side - for finishing the oversize helps to preposition the tool. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 198: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 199: Cycle Parameters

    = +2 of the working plane. 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 | User’s manual for cycle programming | 10/2017...
  • Page 200 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 | User’s manual for cycle programming | 10/2017...
  • Page 201 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 | User’s manual for cycle programming | 10/2017...
  • Page 202: Programming Examples

    Call cycle for machining the contour outside 7 CYCL DEF 252 CIRCULAR POCKET Define CIRCULAR POCKET MILLING cycle Q215=0 ;MACHINING OPERATION Q223=50 ;CIRCLE DIAMETER Q368=0.2 ;ALLOWANCE FOR SIDE Q207=500 ;FEED RATE FOR MILLNG HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 203 Q366=1 ;PLUNGE Q385=500 ;FINISHING FEED RATE Q439=0 ;FEED RATE REFERENCE 12 CYCL CALL FMAX M3 Call SLOT cycle 13 L Z+250 R0 FMAX M2 Retract in the tool axis, end program HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 204 Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling | Programming Examples 14 END PGM C210 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 205: Fixed Cycles: Pattern Definitions

    Fixed Cycles: Pattern Definitions...
  • Page 206: Fundamentals

    221) Cycle 256 RECTANGULAR STUD Cycle 257 CIRCULAR STUD Cycle 262 THREAD MILLING Cycle 263 THREAD MILLING/COUNTERSINKING Cycle 264 THREAD DRILLING/MILLING Cycle 265 HELICAL THREAD DRILLING/MILLING Cycle 267 OUTSIDE THREAD MILLING HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 207: Polar Pattern (Cycle 220, Din/Iso: G220)

    CALL-active machining cycles (with identical input parameters in both cycles). If you run this cycle in the Single Block mode of operation, the control stops between the individual points of a point pattern. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 208: Cycle Parameters

    Input range 1 to 99999 Q241=8 ;NR OF REPETITIONS Q200 Set-up clearance? (incremental): Distance Q200=2 ;SET-UP CLEARANCE between tool tip and workpiece surface. Input Q203=+30 ;SURFACE COORDINATE range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 209 0: Move in a straight line between machining operations 1: Move in a circular arc on the pitch circle diameter between machining operations HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 210: Linear Pattern (Cycle 221, Din/Iso: G221)

    The slot position 0 is not allowed if you use Cycle 254 Circular Slot in combination with Cycle 221. If you run this cycle in the Single Block mode of operation, the control stops between the individual points of a point pattern. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 211: Cycle Parameters

    1: Move at 2nd safety clearance between Q243=4 ;NUMBER OF LINES machining operations 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 | User’s manual for cycle programming | 10/2017...
  • Page 212: Programming Examples

    ;CENTER IN 1ST AXIS Q217=+70 ;CENTER IN 2ND AXIS Q244=50 ;PITCH CIRCLE DIAMETR Q245=+0 ;STARTING ANGLE Q246=+360 ;STOPPING ANGLE Q247=+0 ;STEPPING ANGLE Q241=10 ;NR OF REPETITIONS Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 213 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE Q301=1 ;MOVE TO CLEARANCE Q365=0 ;TYPE OF TRAVERSE 8 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 9 END PGM HOLEPAT MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 215: Fixed Cycles: Contour Pocket

    Fixed Cycles: Contour Pocket...
  • Page 216: Sl Cycles

    Always program both axes in the first block of the subprogram If you use Q parameters, then only perform the calculations and 60 LBL 0 assignments within the affected contour subprograms. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 217 The contour is machined throughout in either climb or up-cut milling. The machining data (such as milling depth, finishing allowance and set-up clearance) are entered as CONTOUR DATA in Cycle 20. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 218: Overview

    20 CONTOUR DATA (compulsory) 21 PILOT DRILLING (optional) 22 ROUGH-OUT (compulsory) 23 FLOOR FINISHING (optional) 24 SIDE FINISHING (optional) Enhanced cycles: Soft key Cycle Page 25 CONTOUR TRAIN 270 CONTOUR TRAIN DATA HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 219: Contour (Cycle 14, Din/Iso: G37)

    Confirm every label number with the ENT key. When you have entered all numbers, conclude entry with the END key. Entry of up to 12 subprogram numbers 1 to 65535. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 220: Superimposed Contours

    54 C X+10 Y+50 DR- 55 LBL 0 Subprogram 2: Pocket B 56 LBL 2 57 L X+90 Y+50 RR 58 CC X+65 Y+50 59 C X+90 Y+50 DR- 60 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 221: Area Of Inclusion

    53 CC X+35 Y+50 54 C X+10 Y+50 DR- 55 LBL 0 Surface B: 56 LBL 2 57 L X+90 Y+50 RR 58 CC X+65 Y+50 59 C X+90 Y+50 DR- 60 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 222: Area Of Exclusion

    53 CC X+35 Y+50 54 C X+10 Y+50 DR- 55 LBL 0 Surface B: 56 LBL 2 57 L X+40 Y+50 RL 58 CC X+65 Y+50 59 C X+40 Y+50 DR- 60 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 223: Area Of Intersection

    53 CC X+35 Y+50 54 C X+60 Y+50 DR- 55 LBL 0 Surface B: 56 LBL 2 57 L X+90 Y+50 RR 58 CC X+65 Y+50 59 C X+90 Y+50 DR- 60 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 224: Contour Data (Cycle 20, Din/Iso: G120)

    DEPTH = 0, the TNC performs the cycle at the depth 0. If you are using the SL cycles in Q parameter programs, the cycle parameters Q1 to Q20 cannot be used as program parameters. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 225: Cycle Parameters

    Q9 = +1 climb milling for pocket and island Q6=2 ;SET-UP CLEARANCE Q7=+80 ;CLEARANCE HEIGHT You can check the machining parameters during a program interruption and overwrite them if required. Q8=0.5 ;ROUNDING RADIUS Q9=+1 ;ROTATIONAL DIRECTION HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 226: Pilot Drilling (Cycle 21, Din/Iso: G121)

    8 Finally, the tool retracts in the tool axis to the clearance height or to the position last programmed before the cycle. This depends on the parameter ConfigDatum, CfgGeoCycle, posAfterContPocket. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 227: Please Note While Programming

    NC blocks 58 CYCL DEF 21 PILOT DRILLING Q10=+5 ;PLUNGING DEPTH Q11=100 ;FEED RATE FOR PLNGNG Q13=1 ;ROUGH-OUT TOOL HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 228: Roughing (Cycle 22, Din/Iso: G122)

    5 Finally, the tool retracts in the tool axis to the clearance height or to the position last programmed before the cycle. This depends on the parameter ConfigDatum, CfgGeoCycle, posAfterContPocket. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 229: Please Note While Programming

    After the end of the cycle, position the tool with all coordinates of the working plane, e.g. L X+80 Y+0 R0 FMAX After the cycle, program the absolute position (not an incremental traversing movement) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 230: Cycle Parameters

    If you enter Q208 = 0, the TNC retracts the tool at the feed rate Q12. Input range 0 to 99999.9999, alternatively fmax,FAUTO HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 231 The TNC retracts the tool to the set-up clearance between the areas to be fine roughed and then moves to the starting point for the next area to be roughed out HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 232: Floor Finishing (Cycle 23, Din/Iso: G123)

    5 Finally, the tool retracts in the tool axis to the clearance height or to the position last programmed before the cycle. This depends on the parameter ConfigDatum, CfgGeoCycle, posAfterContPocket. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 233: Please Note While Programming

    TNC retracts the tool at the feed rate Q12. Input range 0 to 99999.9999, alternatively fmax,FAUTO NC blocks 60 CYCL DEF 23 FLOOR FINISHING Q11=100 ;FEED RATE FOR PLNGNG Q12=350 ;FEED RATE F. ROUGHNG Q208=9999 ;RETRACTION FEED RATE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 234: Side Finishing (Cycle 24, Din/Iso: G124)

    Each subcontour is finished separately. 4 Finally, the tool retracts in the tool axis to the clearance height or to the position last programmed before the cycle. This depends on the parameter ConfigDatum, CfgGeoCycle, posAfterContPocket. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 235: Please Note While Programming

    After the end of the cycle, position the tool with all coordinates of the working plane, e.g. L X+80 Y+0 R0 FMAX After the cycle, program the absolute position (not an incremental traversing movement) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 236: Cycle Parameters

    (This allowance must be smaller than the allowance in Cycle 20.) Input range -99999.9999 to Q11=100 ;FEED RATE FOR PLNGNG 99999.9999 Q12=350 ;FEED RATE F. ROUGHNG Q14=+0 ;ALLOWANCE FOR SIDE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 237: Contour Train (Cycle 25, Din/Iso: G125)

    The tool can traverse back and forth for milling in several infeeds: This results in faster machining. Allowance values can be entered in order to perform repeated rough-milling and finish-milling operations. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 238: Please Note While Programming

    After the end of the cycle, position the tool with all coordinates of the working plane, e.g. L X+80 Y+0 R0 FMAX After the cycle, program the absolute position (not an incremental traversing movement) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 239: Cycle Parameters

    Q15 Climb or up-cut? up-cut = -1: Climb milling: Input value = +1 Up-cut milling: Input value = –1 Climb milling and up-cut milling alternately in several infeeds: Input value = 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 240 Q448 Path extension? Length by which the tool path is extended at the start and end of the contour. The TNC always extends the tool path parallel to the contour. Input range 0 to 99.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 241: Three-D Cont. Train (Cycle 276, Din/Iso: G276)

    4 The departure movement is performed as defined in Cycle 270 CONTOUR TRAIN DATA 5 This process is repeated until the programmed depth is reached 6 Finally, the TNC retracts the tool to the clearance height HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 242: Please Note While Programming

    You can program up to 16384 contour elements in one SL cycle. If M110 is activated during operation, the feed rate of compensated circular arcs within will be reduced accordingly. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 243 Position the tool such that the TNC can approach the starting point of the contour without collision. If the position of the tool is below the clearance height when the cycle is called, the TNC issues an error message. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 244: Cycle Parameters

    ANGLE of the tool. The TNC will otherwise generate an error message. Input range 0 to 99999 if a number is entered; maximum 16 characters if a name is entered. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 245 Q448 Path extension? Length by which the tool path is extended at the start and end of the contour. The TNC always extends the tool path parallel to the contour. Input range 0 to 99.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 246: Contour Train Data (Cycle 270, Din/Iso: G270)

    (Q390=2 or Q390=3). Distance to the auxiliary point from which the TNC is to approach the contour. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 247: Trochoidal Slot (Cycle 275, Din/Iso: G275)

    5 Inasmuch as a finishing allowance is defined, the TNC finishes the slot walls, in multiple infeeds if so specified. Starting from the defined starting point, the TNC approaches the slot wall tangentially. Climb or up-cut are taken into consideration. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 248 Starting from the defined starting point of the APPR block, the TNC approaches the slot wall. Climb or up-cut are taken into consideration. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 249: Please Note While Programming

    After the end of the cycle, position the tool with all coordinates of the working plane, e.g. L X+80 Y+0 R0 FMAX After the cycle, program the absolute position (not an incremental traversing movement) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 250: Cycle Parameters

    PREDEF: The TNC uses the value from the GLOBAL DEF block (if you enter 0, climb milling is performed) Q201 Depth? (incremental): Distance between workpiece surface and bottom of slot. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 251 2: Feed rate refers to the tool cutting edge during side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 252: Programming Examples

    ;FEED RATE F. ROUGHNG Q18=0 ;COARSE ROUGHING TOOL Q19=150 ;FEED RATE FOR RECIP. Q208=30000 ;RETRACTION FEED RATE 9 CYCL CALL M3 Cycle call: Coarse roughing 10 L Z+250 R0 FMAX M6 Tool change HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 253 21 FC DR- R20 CCPR+55 CCPA+60 22 FSELECT 2 23 FL AN-120 PDX+30 PDY+30 D10 24 FSELECT 3 25 FC X+0 DR- R30 CCX+30 CCY+30 26 FSELECT 2 27 LBL 0 28 END PGM C20 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 254: Example: Pilot Drilling, Roughing-Out And Finishing Overlapping Contours

    Tool change 11 TOOL CALL 2 Z S3000 Call the tool for roughing/finishing, diameter 12 12 CYCL DEF 22 ROUGH-OUT Cycle definition: Rough-out Q10=5 ;PLUNGING DEPTH Q11=100 ;FEED RATE FOR PLNGNG HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 255 36 LBL 4 Contour subprogram 4: triangular right island 37 L X+65 Y+42 RL 38 L X+57 39 L X+65 Y+58 40 L X+73 Y+42 41 LBL 0 42 END PGM C21 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 256: Example: Contour Train

    12 L X+5 Y+20 13 CT X+5 Y+75 14 L Y+95 15 RND R7.5 16 L X+50 17 RND R7.5 18 L X+100 Y+80 19 LBL 0 20 END PGM C25 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 257: Fixed Cycles: Cylindrical Surface

    Fixed Cycles: Cylindrical Surface...
  • Page 258: Fundamentals

    Fixed Cycles: Cylindrical Surface | Fundamentals Fundamentals Overview of cylindrical surface cycles Soft key Cycle Page 27 CYLINDER SURFACE 28 CYLINDER SURFACE Slot milling 29 CYLINDER SURFACE Ridge milling 39 CYLINDER SURFACE Contour HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 259: Cylinder Surface (Cycle 27, Din/Iso: G127, Software Option 1)

    4 Steps 1 to 3 are repeated until the programmed milling depth Q1 is reached. 5 Subsequently, the tool retracts in the tool axis to the clearance X (C) height. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 260: Please Note While Programming

    The machining time can increase if the contour consists of many non-tangential contour elements. When you use local QL Q parameters in a contour subprogram you must also assign or calculate these in the contour subprogram. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 261: Cycle Parameters

    Input range 0 to 99999.9999 Q17 Dimension type? deg=0 MM/INCH=1: The dimensions for the rotary axis of the subprogram are given either in degrees or in mm/inches HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 262: Cylinder Surface Slot Milling (Cycle 28, Din/Iso: G128, Software Option 1)

    6 If you have defined the tolerance in Q21, the TNC then remachines the slot walls to be as parallel as possible. 7 Finally, the tool retracts in the tool axis to the clearance height. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 263: Please Note While Programming

    The machining time can increase if the contour consists of many non-tangential contour elements. When you use local QL Q parameters in a contour subprogram you must also assign or calculate these in the contour subprogram. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 264 Control the traversing movements of the machine In the simulation, control the end position of the tool after the cycle After the cycle, program the absolute (not incremental) coordinates HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 265: Cycle Parameters

    Input range for tolerance 0.0001 to 9.9999 Recommendation: Use a tolerance of 0.02 mm. Function inactive: Enter 0 (default setting). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 266: Cylinder Surface Ridge Milling (Cycle 29, Din/Iso: G129, Software Option 1)

    5 Steps 2 to 4 are repeated until the programmed milling depth Q1 is reached. 6 Finally, the tool retracts in the tool axis to the clearance height. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 267: Please Note While Programming

    TNC should output an error message (on) or not (off) if spindle rotation is not active when the cycle is called. The function needs to be adapted by your machine manufacturer. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 268: Cycle Parameters

    Q20 Ridge width?: Width of the ridge to be machined. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 269: Cylinder Surface (Cycle 39, Din/Iso: G139, Software Option 1)

    5 Steps 2 to 4 are repeated until the programmed milling depth Q1 is reached. 6 Finally, the tool retracts in the tool axis to the clearance height. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 270: Please Note While Programming

    Define whether the TNC issues an error message if the spindle is not switched on via the parameter displaySpindleErr, on/off. The function needs to be adapted by your machine manufacturer. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 271: Cycle Parameters

    Input range 0 to 99999.9999 Q17 Dimension type? deg=0 MM/INCH=1: The dimensions for the rotary axis of the subprogram are given either in degrees or in mm/inches HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 272: Programming Examples

    13 L X+40 Y+20 RL Data for the rotary axis are entered in mm (Q17=1) 14 L X+50 15 RND R7.5 16 L Y+60 17 RN R7.5 18 L IX-20 19 RND R7.5 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 273 Fixed Cycles: Cylindrical Surface | Programming Examples 20 L Y+20 21 RND R7.5 22 L X+40 Y+20 23 LBL 0 24 END PGM C27 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 274: Example: Cylinder Surface With Cycle 28

    13 L X+60 Y+0 RL Data for the rotary axis are entered in mm (Q17=1) 14 L Y-35 15 L X+40 Y-52.5 16 L Y-70 17 LBL 0 18 END PGM C28 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 275: Fixed Cycles: Contour Pocket With Contour Formula

    Fixed Cycles: Contour Pocket with Contour Formula...
  • Page 276: Sl Cycles With Complex Contour Formula

    12 CYCL DEF 23 FLOOR FINISHING ... 13 CYCL CALL 16 CYCL DEF 24 SIDE FINISHING ... 17 CYCL CALL 63 L Z+250 R0 FMAX M2 64 END PGM CONTOUR MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 277 The contour is machined throughout in either climb or up-cut milling. The machining data (such as milling depth, finishing allowance and set-up clearance) are entered as CONTOUR DATA in Cycle 20. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 278: Selecting A Program With Contour Definitions

    With the entered contour designators QC you can include the various contours in the contour formula. If you program separate depths for contours, then you must assign a depth to all subcontours (assign the depth 0 if necessary). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 279: Entering A Complex Contour Formula

    QC25 = QC1 \ QC2 Parenthesis open e.g. QC12 = QC1 * (QC2 + QC3) Parenthesis closed e.g. QC12 = QC1 * (QC2 + QC3) Define single contour e.g. QC12 = QC1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 280: Superimposed Contours

    4 END PGM POCKET_A MM Contour description program 2: pocket B 0 BEGIN PGM POCKET_B MM 1 L X+90 Y+50 R0 2 CC X+65 Y+50 3 C X+90 Y+50 DR- 4 END PGM POCKET_A MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 281 Contour definition program: 50 ... 51 ... 52 DECLARE CONTOUR QC1 = “POCKET_A.H” 53 DECLARE CONTOUR QC2 = “POCKET_B.H” 54 QC10 = QC1 \ QC2 55 ... 56 ... HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 282: Contour Machining With Sl Cycles

    54 QC10 = QC1 & QC2 55 ... 56 ... Contour machining with SL Cycles The complete contour is machined with the SL Cycles 20 to 24 (See "Overview", page 218). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 283: Example: Roughing And Finishing Superimposed Contours With The Contour Formula

    Define general machining parameters Q1=-20 ;MILLING DEPTH Q2=1 ;TOOL PATH OVERLAP Q3=+0.5 ;ALLOWANCE FOR SIDE Q4=+0.5 ;ALLOWANCE FOR FLOOR Q5=+0 ;SURFACE COORDINATE Q6=2 ;SET-UP CLEARANCE Q7=+100 ;CLEARANCE HEIGHT Q8=0.1 ;ROUNDING RADIUS Q9=-1 ;ROTATIONAL DIRECTION HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 284 Definition of the contour designator for the program "SQUARE" 8 QC10 = ( QC 1 | QC 2 ) \ QC 3 \ QC 4 Contour formula 9 END PGM MODEL MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 285 0 BEGIN PGM SQUARE MM Contour description program: square at left 1 L X+27 Y+58 R0 2 L X+43 3 L Y+42 4 L X+27 5 L Y+58 6 END PGM SQUARE MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 286: Sl Cycles With Simple Contour Formula

    12 CYCL DEF 23 FLOOR FINISHING ... 13 CYCL CALL 16 CYCL DEF 24 SIDE FINISHING ... 17 CYCL CALL 63 L Z+250 R0 FMAX M2 64 END PGM CONTDEF MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 287 The contour is machined throughout in either climb or up-cut milling. The machining data (such as milling depth, finishing allowance and set-up clearance) are entered as CONTOUR DATA in Cycle 20. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 288: Entering A Simple Contour Formula

    Cycle 20 is effective. Islands then rise up to the workpiece top surface! Contour machining with SL Cycles The complete contour is machined with the SL Cycles 20 to 24 (See "Overview", page 218). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 289: Cycles: Coordinate Transformations

    Cycles: Coordinate Transformations...
  • Page 290: Fundamentals

    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 | User’s manual for cycle programming | 10/2017...
  • Page 291: Datum Shift (Cycle 7, Din/Iso: G54)

    Up to six NC axes, each from –99999.9999 to 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 | User’s manual for cycle programming | 10/2017...
  • Page 292: Datum Shift With Datum Tables (Cycle 7, Din/Iso: G53)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 293: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 294: Selecting A Datum Table In The Part Program

    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 | User’s manual for cycle programming | 10/2017...
  • Page 295 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 | User’s manual for cycle programming | 10/2017...
  • Page 296: Configuring A Datum Table

    Confirm changes in the table immediately with the ENT key 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 | User’s manual for cycle programming | 10/2017...
  • Page 297: Presetting (Cycle 247, Din/Iso: G247)

    SELECT. Input range 0 to 65535 Status displays In the additional status display (STATUS POS.) the TNC shows the active preset number behind the Preset dialog. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 298: Mirroring (Cycle 8, Din/Iso: G28)

    If the datum lies outside the contour to be mirrored, the element also “jumps” to another location. Resetting Program the MIRROR IMAGE cycle once again with NO ENT. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 299: Please Note While Programming

    You can enter up to three axes. Input range: Up to three NC axes X, Y, Z, U, V, W, A, B, C HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 300: Rotation (Cycle 10, Din/Iso: G73)

    Reference axis for the rotation angle: X/Y plane: X axis Y/Z plane: Y axis Z/X plane: Z axis Resetting Program the ROTATION cycle once again with a rotation angle of 0°. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 301: Please Note While Programming

    13 CYCL DEF 7.0 DATUM SHIFT 14 CYCL DEF 7.1 X+60 15 CYCL DEF 7.2 Y+40 16 CYCL DEF 10.0 ROTATION 17 CYCL DEF 10.1 ROT+35 18 CALL LBL 1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 302: Scaling

    12 CYCL DEF 7.0 DATUM SHIFT range 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 | User’s manual for cycle programming | 10/2017...
  • Page 303: Axis-Specific Scaling (Cycle 26)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 304: Cycle Parameters

    Input range -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 | User’s manual for cycle programming | 10/2017...
  • Page 305: Working Plane (Cycle 19, Din/Iso: G80, Software Option 1)

    If you set the function Tilting program run to Active in the Manual Operation mode, the angular value entered in this menu is overwritten by Cycle 19 WORKING PLANE. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 306: Please Note While Programming

    M120 function. 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 | User’s manual for cycle programming | 10/2017...
  • Page 307: Cycle Parameters

    0° for all axes of rotation. You must then program the WORKING PLANE cycle once again and respond to the dialog question with the NO ENT key to disable the function. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 308: Positioning The Axes Of Rotation

    Position the rotary axes by using values calculated by Cycle 15 L Z+80 R0 FMAX Activate compensation for the spindle axis 16 L X-8.5 Y-10 R0 FMAX Activate compensation for the working plane HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 309: Position Display In A Tilted System

    Cycle 19. Monitoring of the working space The TNC checks only those axes in the tilted coordinate system that are moved. If necessary, the TNC outputs an error message. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 310: Positioning In A Tilted Coordinate System

    Important: When resetting the cycles, use the reverse sequence used for defining them: 1st Activate datum shift 2nd Activate tilting function 3rd Activate rotation Workpiece machining 1st Reset rotation 2nd Reset tilting function 3rd Reset datum shift HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 311: Procedure For Working With Cycle 19 Working Plane

    2 Clamp the workpiece 3 Presetting Manually by touch-off Controlled with a HEIDENHAIN 3-D touch probe (see the Touch Probe Cycles User's Manual, chapter 2) Automatically with a HEIDENHAIN 3-D touch probe (see the Touch Probe Cycles User's Manual, chapter 3).
  • Page 312: Programming Examples

    Define milling operation 22 L Z+2 R0 FMAX M3 23 L Z-5 R0 F200 24 L X+30 RL 25 L IY+10 26 RND R5 27 L IX+20 28 L IX+10 IY-10 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 313 29 RND R5 30 L IX-10 IY-10 31 L IX-20 32 L IY+10 33 L X+0 Y+0 R0 F5000 34 L Z+20 R0 FMAX 35 LBL 0 36 END PGM COTRANS MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 315: Cycles: Special Functions

    Cycles: Special Functions...
  • Page 316: Fundamentals

    9 DWELL TIME 12 Program call 13 Oriented spindle stop 32 TOLERANCE 225 ENGRAVING of texts 291 COUPLING TURNING INTERPO- LATION 292 CONTOUR TURNING INTERPO- LATION 232 FACE MILLING 239 ASCERTAIN THE LOAD HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 317: Dwell Time (Cycle 9, Din/Iso: G04)

    90 CYCL DEF 9.1 DWELL 1.5 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 | User’s manual for cycle programming | 10/2017...
  • Page 318: Program Call (Cycle 12, Din/Iso: G39)

    SELECT soft key. \KLAR35\FK1\50.H 57 L X+20 Y+50 FMAX M99 Call the program with: CYCL CALL (separate block) or M99 (blockwise) or M89 (executed after every positioning block) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 319: Spindle Orientation (Cycle 13, Din/Iso: G36)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 320: Tolerance (Cycle 32, Din/Iso: G62)

    32, then the TNC can smooth the contour points unless any special machine settings limit the programmed feed rate. You will achieve optimal smoothing if in Cycle 32 you choose a tolerance value between 110-% and 200-% of the CAM chord error. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 321: Please Note While Programming

    L and permissible contour tolerance TA: T ~ K x L x TA K = 0.0175 [1/°] Example: L = 10 mm, TA = 0.1°: T = 0.0175 mm HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 322: Cycle Parameters

    >0: With an input value > 0 the TNC uses the maximum permissible deviation you entered: If 0 is entered or if during programming you press the NO ENT key, the TNC uses a value configured by the machine tool builder HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 323: Interpolation Turning, Contour Finishing (Cycle 292, Din/Iso: G292, Software Option 96)

    7 Finally, the TNC retracts the tool to the clearance height. 8 The TNC now automatically deactivates the coupling of the tool spindle to the linear axes. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 324 TNC does not orient the tool spindle. 5 At the end point of the contour, the TNC retracts the tool perpendicularly by the set-up clearance. 6 Finally, the TNC retracts the tool to the clearance height. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 325: Please Note While Programming

    If Cycle 26 AXIS-SPECIFIC SCALING is active, and the scaling factor for the axis does not equal 1, the TNC does perform the cycle for interpolation turning. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 326 CfgGeoCycle – displaySpindleError) Your TNC might monitor the tool to ensure that no positioning movements at feed rate are performed while spindle rotation is off. Contact the machine tool builder for further information. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 327: Cycle Parameters

    Q445 Clearance height? (absolute): Absolute height at which the tool cannot collide with the workpiece; the tool retracts to this position at the end of the cycle. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 328: Machining Variants

    – Program either monotonically increasing radial and axial coordinates, e.g. 1-5 – Or program monotonically decreasing radial and axial coordinates, e.g. 5-1 – Program inside contours with a radius greater than the tool radius. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 329 – Program either monotonically increasing radial and monotonically decreasing axial coordinates, e.g. 1-5 – Or program monotonically decreasing radial and monotonically increasing axial coordinates, e.g. – Program outside contours with a radius greater than 0. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 330: Defining The Tool

    Select the tool holder to ensure that it does not result in a larger rotational diameter than the cutter does HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 331 ORI + Q336 + 180 Interpolation turning, outside ORI + Q336 + 180 Interpolation turning, inside ORI + Q336 Interpolation turning, outside ORI + Q336 Interpolation turning, inside ORI + Q336 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 332 TYPE: ROUGH, with the machining directions TO: 2 to 6 TYPE: FINISH, with the machining directions TO: 2 to 6 TYPE: BUTTON, with the machining directions TO: 2 to 6 TYPE: RECESS TYPE: RECTURN TYPE: THREAD HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 333: Coupling Interpolation Turning (Cycle 291, Din/Iso: G291, Software Option 96)

    In order to describe the circular motions of the linear axes linear/polar coordinates are used, for example. A programming example is provided at the end of this section, See page 353. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 334 Your TNC might monitor the tool to ensure that no positioning movements at feed rate are performed while spindle rotation is off. Contact the machine tool builder for further information. Software option 96 must be enabled. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 335: Cycle Parameters

    (toolturn.trn) will be interpreted as a radius R from a milling tool table. This makes it possible to use radius compensation RR and RL when programming your contour. This kind of programming is recommended. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 336: Defining The Tool

    Define a turning tool in the tool table (tool.t) as a milling tool Define a milling tool in the tool table (tool.t) as a milling tool (for subsequent use as a turning tool) Define a turning tool in the turning tool table (toolturn.trn) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 337 (TO in the turning tool table), the orientation angle (ORI in the turning tool table), parameter Q336, and parameter Q561. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 338 ORI + Q336 + 180 Interpolation turning, outside ORI + Q336 + 180 Interpolation turning, inside ORI + Q336 Interpolation turning, outside ORI + Q336 Interpolation turning, inside ORI + Q336 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 339 TYPE: ROUGH, with the machining directions TO: 2 to 6 TYPE: FINISH, with the machining directions TO: 2 to 6 TYPE: BUTTON, with the machining directions TO: 2 to 6 TYPE: RECESS TYPE: RECTURN TYPE: THREAD HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 340: Engraving (Cycle 225, Din/Iso: G225)

    When engraving on a circular arc, the starting point is at bottom left, above the first character to be engraved. (With older software versions there was sometimes a pre-positioning to the center of the circle.) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 341: Cycle Parameters

    Input range Q367=+0 ;TEXT POSITION 0 to 99999.999 alternatively FAUTO, fu Q574=+0 ;TEXT LENGTH Q200 Set-up clearance? (incremental): Distance between tool tip and workpiece surface. Input range 0 to 99999.9999; alternatively PREDEF HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 342 0 = Bottom left 1 = Bottom left 2 = Bottom center 3 = Bottom right 4 = Top right 5 = Top center 6 = Top left HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 343: Allowed Engraving Characters

    The following formatting possibilities are available: Character Input Line break Horizontal tab (the tab width is permanently set to 8 characters) Vertical tab (the tab width is permanently set to one line) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 344: Engraving System Variables

    D.MM.YY h:mm %time03 YYYY-MM-DD hh:mm:ss %time04 YYYY-MM-DD hh:mm %time05 YYYY-MM-DD h:mm %time06 YY-MM-DD h:mm %time07 DD.MM.YYYY %time08 D.MM.YYYY %time09 D.MM.YY %time10 YYYY-MM-DD %time11 YY-MM-DD %time12 hh:mm:ss %time13 h:mm:ss %time14 h:mm %time15 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 345: Engraving The Counter Reading

    If you switch over the screen layout in these operating modes, e.g. to the PROGRAM + GRAPHICS view, the currently engraved counter reading is shown in the motion simulation HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 346: Face Milling (Cycle 232, Din/Iso: G232)

    9 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 347 9 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 348: Please Note While Programming

    If Q227 STARTNG PNT 3RD AXIS and Q386 END POINT 3RD AXIS are entered as equal values, the TNC will not carry out the cycle (depth=0 programmed). Program Q227 greater than Q386. Otherwise, the TNC will display an error message. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 349: Cycle Parameters

    (taking the finishing allowance into account), so that uniform plunging depths are used each time. Input range 0 to 99999.9999 Q369 Finishing allowance for floor? (incremental): Distance used for the last infeed. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 350 Input range 0 to 99999.9999 Q204 2nd set-up clearance? (incremental): Coordinate in the spindle axis at which no collision between tool and workpiece (fixtures) can occur. Input range 0 to 99999.9999; alternatively PREDEF HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 351: Ascertain The Load (Cycle 239, Din/Iso: G239, Software Option 143)

    2 The scope of axis movement is defined by the machine tool builder. 3 The feedforward and controller parameters determined by the depend on the current load. 4 The TNC activates the parameters determined. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 352: Please Note While Programming

    The values ascertained are activated immediately NC blocks 62 CYCL DEF 239 ASCERTAIN THE LOAD Q570=+0 ;LOAD ASCERTATION HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 353: Programming Examples

    Position the tool in the spindle axis 10 LBL 1 Recessing on face, infeed: 0.2 mm, depth: 6 mm 11 CP IPA+360 IZ-0.2 DR+ F10000 12 CALL LBL 1 REP 30 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 354 Retract to clearance height, deactivate radius compensation 41 CYCL DEF 291 COUPLG.TURNG.INTERP. Terminate interpolation turning Q560=+0 ;SPINDLE COUPLING Q336=+0 ;ANGLE OF SPINDLE Q216=+0 ;CENTER IN 1ST AXIS Q217=+0 ;CENTER IN 2ND AXIS HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 355: Example: Interpolation Turning Cycle 292

    Pre-position in the tool axis, spindle on 10 L X+0 Y+0 R0 FMAX M99 Pre-position in the working plane to the center of rotation, call the cycle 11 LBL 1 LBL1 contains the contour HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 356 13 L Z-5 14 L Z-7 X+19 15 RND R3 16 L Z-15 17 RND R2 18 L X+27 19 LBL 0 20 M30 End of program 21 END PGM 2 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 357: Thread Cutting (Cycle 18, Din/Iso: G18)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 358: Cycle Parameters

    = 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 | User’s manual for cycle programming | 10/2017...
  • Page 359: Cycles: Turning

    Cycles: Turning...
  • Page 360: Turning Cycles (Software Option 50)

    812, DIN/ISO: G812) TURN, LONGITUDINAL PLUNGE (Cycle 813, DIN/ISO: G813) TURN, LONGITUDINAL PLUNGE EXTENDED (Cycle 814, DIN/ISO: G814) TURN CONTOUR LONGITUDINAL (Cycle 810, DIN/ISO: G810) TURN CONTOUR-PARALLEL (Cycle 815, DIN/ISO: G815) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 361 SIMPLE RADIAL RECESSING (Cycle 841, DIN/ISO: G841) RADIAL RECESSING EXTENDED(Cycle 842, DIN/ISO: G842) RECESSING CONTOUR RADIAL(Cycle 840, DIN/ISO: G840) SIMPLE AXIAL RECESSING (Cycle 851, DIN/ISO: G851) AXIAL RECESSING EXTENDED(Cycle 852, DIN/ISO: G852) AXIAL RECESSING(Cycle 850, DIN/ISO: G850) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 362 AXIAL RECESSING EXTENDED (Cycle 872, DIN/ISO: G872) AXIAL RECESSING (Cycle 870, DIN/ISO: G870) Cycles for thread turning THREAD LONGITUDINAL (Cycle 831, DIN/ISO: G831) THREAD EXTENDED (Cycle 832, DIN/ISO: G832) CONTOUR-PARALLEL THREAD (Cycle 830, DIN/ISO: G830) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 363: Working With Turning Cycles

    If you use feed rate per revolution mm/rev., M136 Tool positioning to suitable starting point e.g. L X+130 Y+0 R0 FMAX Adaptation of coordinate system and align tool CYCL DEF 800 Adapt rotary coordinate system HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 364: Blank Form Update (Function Turndata)

    You must define a closed contour as the workpiece blank for the blank form update (start position = end position). The workpiece blank corresponds to the cross- section of a rotationally symmetrical body. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 365 Show the soft-key row with special functions Menu: Press the TURNING PROGRAM FUNCTIONS soft key Press the BASIC FUNCTIONS soft key Select the function for blank form update NC syntax 11 FUNCTION TURNDATABLANK LBL 20 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 366: Adapt Rotary Coordinate System (Cycle 800, Din/Iso: G800)

    180°. In this way you can use tools both for inside and outside machining. Position the cutting edge at the center of the turning spindle using a positioning block, such as L Y +0 R0 FMAX. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 367 NOTICE Danger of collision! The TNC performs compensating movements during coupling and decoupling. Check for possible collisions. Coupling and decoupling are possible only with the spindle rotating HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 368 Turn a test cut before the actual machining operation to ensure that the required speeds can be attained. The linear axis positions resulting from the compensation are displayed by the TNC only in the ACTUAL value position display. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 369: Effect

    FUNCTION TURNDATA SMAX before calling the cycle. If you use the settings 1: MOVE, 2: TURN, and 3: STAY in parameter Q530 Inclined machining, the TNC activates the function M144 (also see the “Inclined Turning” User's Manual). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 370: Cycle Parameters

    Q531 Angle of incidence?: Angle of incidence for aligning the tool. Input range: -180° to +180° Q532 Feed rate for positioning?: Traverse speed of the tilting axis during automatic positioning. Input range 0.001 to 99999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 371 Then press NC start to continue machining or press the CANCEL soft key to cancel machining 1: Axes are coupled without stopping beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 372: Reset Rotary Coordinate System (Cycle 801, Din/Iso: G801)

    To reset Cycle 800, program Cycle 801. This also resets the speed limit set by the cycle. The speed limit is then effective that you programmed with FUNCTION TURNDATA SMAX before calling the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 373: Effect

    If a tool was oriented with Cycle 800, it remains in this position also after resetting. Cycle parameters Cycle 801 does not have a cycle parameter. Finish the cycle input with the END key. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 374: 12.4 Fundamentals Of Turning Cycles

    If the tool is outside the envelope contour, positioning to the envelope contour is performed at rapid traverse, and at the programmed feed rate within the envelope contour. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 375: Turn Shoulder Longitudinal (Cycle 811, Din/Iso: G811)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 376: Finishing Cycle Run

    R0 before the cycle call. The tool position at cycle call defines the size of the area to be machined (cycle starting point). Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 377: Cycle Parameters

    1: Contour smoothing after the last cut (complete Q505=+0.2 ;FINISHING FEED RATE contour); retract below 45° 2: No contour smoothing; retract below 45° Q506=+0 ;CONTOUR SMOOTHING 12 L X+75 Y+0 Z+2 FMAX M303 13 CYCL CALL HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 378: Turn Shoulder Longitudinal Extended (Cycle 812, Din/Iso: G812)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 379: Finishing Cycle Run

    R0 before the cycle call. The tool position at cycle call (cycle starting point) affects the area to be machined. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 380: Cycle Parameters

    If no radius is specified, the radius of the cutting insert is generated. Q494=-55 ;CONTOUR END IN Z Q496 Angle of face?: Angle between the plane surface and the rotary axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 381 Q506 Contour smoothing (0/1/2)?: 0: After each cut along the contour (within the infeed range) 1: Contour smoothing after the last cut (complete contour); retract below 45° 2: No contour smoothing; retract below 45° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 382: Turn, Longitudinal Plunge (Cycle 813, Din/Iso: G813)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 383: Finishing Cycle Run

    If complete machining with the active tool is not possible, a warning is output by the TNC. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 384: Cycle Parameters

    1: Contour smoothing after the last cut (complete 12 L X+75 Y+0 Z+2 FMAX M303 contour); retract below 45° 13 CYCL CALL 2: No contour smoothing; retract below 45° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 385: Turn, Longitudinal Plunge Extended (Cycle 814, Din/Iso: G814)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 386: Finishing Cycle Run

    If complete machining with the active tool is not possible, a warning is output by the TNC. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 387: Cycle Parameters

    If no radius is specified, Q493=+50 ;DIAMETER AT CONTOUR the radius of the cutting insert is generated. Q496 Angle of face?: Angle between the plane Q494=-55 ;CONTOUR END IN Z surface and the rotary axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 388 Q506 Contour smoothing (0/1/2)?: 0: After each cut along the contour (within the infeed range) 1: Contour smoothing after the last cut (complete contour); retract below 45° 2: No contour smoothing; retract below 45° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 389: Turn Contour Longitudinal (Cycle 810, Din/Iso: G810)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 390: Finishing Cycle Run

    The tool position before the cycle call influences the execution of the cutting limit. The TNC 640 machines the area to the right or to the left of the cutting limit, depending on which side the tool has been positioned before the cycle is called.
  • Page 391: Cycle Parameters

    Q463 Maximum cutting depth?: Maximum infeed (radius value) in radial direction. The infeed is Ø Q483 divided evenly to avoid abrasive cuts. Input range 0.001 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 392 20 RND R5 2: No contour smoothing; retract below 45° 21 L X+50 Z-40 22 L Z-55 23 CC X+60 Z-55 24 C X+60 Z-60 25 L X+100 26 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 393: Turn Contour-Parallel (Cycle 815, Din/Iso: G815)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 394: Finishing Cycle Run

    Also refer to the fundamentals of turning cycles (See page 374). When you use local QL Q parameters in a contour subprogram you must also assign or calculate these in the contour subprogram. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 395: Cycle Parameters

    0: Contour machined in the programmed direction 1: Contour machined in reverse direction to the programmed direction 2: Contour machined in reverse direction to the programmed direction; additionally, the orientation of the tool is adjusted HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 396 18 RND R5 19 L X+40 Z-35 20 RND R5 21 L X+50 Z-40 22 L Z-55 23 CC X+60 Z-55 24 C X+60 Z-60 25 L X+100 26 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 397: Turn Shoulder Face (Cycle 821, Din/Iso: G821)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 398: Finishing Cycle Run

    R0 before the cycle call. The tool position at cycle call (cycle starting point) affects the area to be machined. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 399: Cycle Parameters

    45° Q484=+0.2 ;OVERSIZE IN Z 2: No contour smoothing; retract below 45° Q505=+0.2 ;FINISHING FEED RATE Q506=+0 ;CONTOUR SMOOTHING 12 L X+75 Y+0 Z+2 FMAX M303 13 CYCL CALL HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 400: Turn Shoulder Face Extended (Cycle 822, Din/Iso: G822)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 401: Finishing Cycle Run

    R0 before the cycle call. The tool position at cycle call (cycle starting point) affects the area to be machined. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 402: Cycle Parameters

    Q501 Starting element type (0/1/2)?: Define Ø Q483 the type of element at the start of the contour (circumferential surface): 0: No additional element 1: Element is a chamfer 2: Element is a radius HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 403 13 CYCL CALL 0: After each cut along the contour (within the infeed range) 1: Contour smoothing after the last cut (complete contour); retract below 45° 2: No contour smoothing; retract below 45° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 404: Turn, Transverse Plunge (Cycle 823, Din/Iso: G823)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 405: Finishing Cycle Run

    If complete machining with the active tool is not possible, a warning is output by the TNC. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 406: Cycle Parameters

    ;OVERSIZE FOR DIAMETER 2: No contour smoothing; retract below 45° Q484=+0.2 ;OVERSIZE IN Z Q505=+0.2 ;FINISHING FEED RATE Q506=+0 ;CONTOUR SMOOTHING 12 L X+75 Y+0 Z+2 FMAX M303 13 CYCL CALL HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 407: Turn, Transverse Plunge Extended (Cycle 824, Din/Iso: G824)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 408: Finishing Cycle Run

    If complete machining with the active tool is not possible, a warning is output by the TNC. Also refer to the fundamentals of turning cycles (See page 374). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 409: Cycle Parameters

    Q501 Starting element type (0/1/2)?: Define the type of element at the start of the contour Ø Q483 (circumferential surface): 0: No additional element 1: Element is a chamfer 2: Element is a radius HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 410 12 L X+75 Y+0 Z+2 FMAX M303 infeed range) 13 CYCL CALL 1: Contour smoothing after the last cut (complete contour); retract below 45° 2: No contour smoothing; retract below 45° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 411: Turn Contour Face (Cycle 820, Din/Iso: G820)

    5 The TNC repeats this process (1 to 4) until the final contour is completed. 6 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 412: Finishing Cycle Run

    The tool position before the cycle call influences the execution of the cutting limit. The TNC 640 machines the area to the right or to the left of the cutting limit, depending on which side the tool has been positioned before the cycle is called.
  • Page 413: Cycle Parameters

    ;SAFETY CLEARANCE finishing. If M136 has been programmed, the Q499=+0 ;REVERSE CONTOUR value is interpreted by the TNC in millimeters Q463=+3 ;MAX. CUTTING DEPTH per revolution, without M136 in millimeters per minute. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 414 1: Contour smoothing after the last cut (complete 17 L X+50 contour); retract below 45° 2: No contour smoothing; retract below 45° 18 RND R2 19 L X+20 Z-25 20 RND R2 21 L Z+0 22 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 415: Simple Radial Recessing (Cycle 841, Din/Iso: G841)

    7 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 416: Finishing Cycle Run

    The TNC generates an error message if the lateral offset exceeds 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 417: Cycle Parameters

    Q488 Feed rate for plunging (0=auto)?: Feed rate for machining plunging elements. This input value is optional. If it is not programmed, then the feed rate defined for turning operations applies. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 418: Radial Recessing Extended (Cycle 842, Din/Iso: G842)

    7 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 419: Finishing Cycle Run

    The TNC generates an error message if the lateral offset exceeds 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 420: Cycle Parameters

    1: Element is a chamfer Q500=+1.5 ;RADIUS OF CONTOUR 2: Element is a radius EDGE Q504 Size of end element?: Size of the end Q496=+5 ;ANGLE OF SECOND SIDE element (chamfer section) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 421 Q488 Feed rate for plunging (0=auto)?: Feed rate for machining plunging elements. This input value is optional. If it is not programmed, then the feed rate defined for turning operations applies. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 422: Recessing Contour Radial (Cycle 840, Din/Iso: G840)

    8 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 9 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 423: Finishing Cycle Run

    The tool position before the cycle call influences the execution of the cutting limit. The TNC 640 machines the area to the right or to the left of the cutting limit, depending on which side the tool has been positioned before the cycle is called.
  • Page 424: Cycle Parameters

    Ø Q483 rate defined for turning operations applies. Q483 Oversize for diameter? (incremental): Diameter oversize for the defined contour Q484 Oversize in Z? (incremental): Oversize for the defined contour in axial direction HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 425 17 L X+40 Z-15 0: Machining in contour direction 18 RND R3 1: Machining opposite the contour direction 19 CR X+40 Z-35 R+30 DR+ 18 RND R3 20 L X+60 Z-40 21 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 426: Simple Axial Recessing (Cycle 851, Din/Iso: G851)

    7 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 427: Finishing Cycle Run

    The TNC generates an error message if the lateral offset exceeds 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 428: Cycle Parameters

    Q488 Feed rate for plunging (0=auto)?: Feed rate for machining plunging elements. This input value is optional. If it is not programmed, then the feed rate defined for turning operations applies. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 429: Axial Recessing Extended (Cycle 852, Din/Iso: G852)

    7 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 430: Finishing Cycle Run

    The TNC generates an error message if the lateral offset exceeds 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 431: Cycle Parameters

    1: Element is a chamfer Q500=+1.5 ;RADIUS OF CONTOUR 2: Element is a radius EDGE Q504 Size of end element?: Size of the end Q496=+5 ;ANGLE OF SECOND SIDE element (chamfer section) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 432 Q488 Feed rate for plunging (0=auto)?: Feed rate for machining plunging elements. This input value is optional. If it is not programmed, then the feed rate defined for turning operations applies. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 433: Axial Recessing (Cycle 850, Din/Iso: G850)

    8 The TNC returns the tool to set-up clearance and machines a recessing traverse on both side walls. 9 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 434: Finishing Cycle Run

    The TNC generates an error message if the lateral offset exceeds 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 435: Cycle Parameters

    Q480 Value of diameter limit?: X value for contour limitation (diameter value) Q484=+0.2 ;OVERSIZE IN Z Q482 Value of cutting limit in Z?: Z value for Q505=+0.2 ;FINISHING FEED RATE contour limitation HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 436 17 L Z-10 Q499 Reverse contour (0=no/1=yes)?: Machining 18 RND R5 direction: 0: Machining in contour direction 19 L X+40 Z-15 1: Machining opposite the contour direction 20 L Z+0 21 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 437: Radial Recessing (Cycle 861, Din/Iso: G861)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 438: Finishing Cycle Run

    CUTWIDTH + DCWTab + FUNCTION TURNDATA CORR TCS: Z/X DCW. A DCW programmed via FUNCTION TURNDATA CORR TCS is not visible while a DCW entered in the table is active in the graphics. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 439: Cycle Parameters

    ;OVERSIZE IN Z when roughing. Q510 is multiplied by the width CUTWIDTH of the tool. This results in the stepover Q505=+0.2 ;FINISHING FEED RATE factor "k". Input range 0.001 to 1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 440 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 441: Radial Recessing Extended (Cycle 862, Din/Iso: G862)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 442: Finishing Cycle Run

    CUTWIDTH + DCWTab + FUNCTION TURNDATA CORR TCS: Z/X DCW. A DCW programmed via FUNCTION TURNDATA CORR TCS is not visible while a DCW entered in the table is active in the graphics. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 443: Cycle Parameters

    ;SIZE OF STARTING 1: Element is a chamfer ELEMENT 2: Element is a radius Q504 Size of end element?: Size of the end Q500=+1.5 ;RADIUS OF CONTOUR EDGE element (chamfer section) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 444 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 445: Recessing Contour Radial (Cycle 860, Din/Iso: G860)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 446: Finishing Cycle Run

    Q505. 7 The TNC finishes the other half of the slot at the defined feed rate. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 447: Please Note While Programming

    The tool position before the cycle call influences the execution of the cutting limit. The TNC 640 machines the area to the right or to the left of the cutting limit, depending on which side the tool has been positioned before the cycle is called.
  • Page 448: Cycle Parameters

    ;OVERSIZE FOR DIAMETER Q482 Value of cutting limit in Z?: Z value for Q484=+0.2 ;OVERSIZE IN Z contour limitation Q505=+0.2 ;FINISHING FEED RATE Q463 Limit to plunging depth?: Max. recess depth per cut HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 449 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 450: Axial Recessing (Cycle 871, Din/Iso: G871)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 451: Finishing Cycle Run

    CUTWIDTH + DCWTab + FUNCTION TURNDATA CORR TCS: Z/X DCW. A DCW programmed via FUNCTION TURNDATA CORR TCS is not visible while a DCW entered in the table is active in the graphics. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 452: Cycle Parameters

    ;FINISHING FEED RATE when roughing. Q510 is multiplied by the width CUTWIDTH of the tool. This results in the stepover Q463=+0 ;LIMIT TO DEPTH factor "k". Input range 0.001 to 1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 453 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 454: Axial Recessing Extended (Cycle 872, Din/Iso: G872)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 455: Finishing Cycle Run

    CUTWIDTH + DCWTab + FUNCTION TURNDATA CORR TCS: Z/X DCW. A DCW programmed via FUNCTION TURNDATA CORR TCS is not visible while a DCW entered in the table is active in the graphics. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 456: Cycle Parameters

    Q483=+0.4 ;OVERSIZE FOR DIAMETER per revolution, without M136 in millimeters per minute. Q484=+0.2 ;OVERSIZE IN Z Q483 Oversize for diameter? (incremental): Q505=+0.2 ;FINISHING FEED RATE Diameter oversize for the defined contour HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 457 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 458: Axial Recessing (Cycle 870, Din/Iso: G870)

    2 through 4 7 As soon as the slot width has been achieved, the TNC positions the tool at rapid traverse back to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 459: Finishing Cycle Run

    Q505. 7 The TNC finishes the other half of the slot at the defined feed rate. 8 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 460: Please Note While Programming

    The tool position before the cycle call influences the execution of the cutting limit. The TNC 640 machines the area to the right or to the left of the cutting limit, depending on which side the tool has been positioned before the cycle is called.
  • Page 461: Cycle Parameters

    Q510 is multiplied by the width Q480=+0 ;DIAMETER LIMIT VALUE CUTWIDTH of the tool. This results in the stepover Q482=+0 ;LIMIT VALUE Z factor "k". Input range 0.001 to 1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 462 Retraction is only performed after the tool has remained for Q211 revolutions. Input range 0 to 999.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 463: Thread Longitudinal (Cycle 831, Din/Iso: G831)

    8 The TNC repeats the process (2 to 7) according to the number of traverses Q475. 9 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 464: Please Note While Programming

    If with such a machine you wish to use an external tool for inside machining, you can execute machining in the negative diameter range (-X) and reverse the direction of workpiece rotation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 465 With a changed angle of infeed the tool can no longer interface the thread grooves. Program the Q467 angle of infeed to be less than the side angle of the thread HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 466: Cycle Parameters

    Q476 Number of air cuts?: Number of air cuts Q475=+30 ;NUMBER OF STARTS without infeed at finished thread depth Q476=+30 ;NUMBER OF AIR CUTS 12 L X+80 Y+0 Z+2 FMAX M303 13 CYCL CALL HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 467: Thread Extended (Cycle 832, Din/Iso: G832)

    8 The TNC repeats the process (2 to 7) according to the number of traverses Q475. 9 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 468: Please Note While Programming

    With a changed angle of infeed the tool can no longer interface the thread grooves. Program the Q467 angle of infeed to be less than the side angle of the thread HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 469: Cycle Parameters

    ;MAX. CUTTING DEPTH Length of the path on which, at the end of the Q467=+30 ;ANGLE OF INFEED thread, the tool is lifted from the current plunging depth to the thread diameter Q460. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 470 Q475 Number of thread grooves?: Number of thread grooves Q476 Number of air cuts?: Number of air cuts without infeed at finished thread depth HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 471: Contour-Parallel Thread (Cycle 830, Din/Iso: G830)

    8 The TNC repeats the process (2 to 7) according to the number of traverses Q475. 9 The TNC positions the tool back at rapid traverse to the cycle starting point. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 472: Please Note While Programming

    If with such a machine you wish to use an external tool for inside machining, you can execute machining in the negative diameter range (-X) and reverse the direction of workpiece rotation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 473 With a changed angle of infeed the tool can no longer interface the thread grooves. Program the Q467 angle of infeed to be less than the side angle of the thread HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 474: Cycle Parameters

    Q474 Length of thread runout? (incremental): Length of the path on which, at the end of the thread, the tool is lifted from the current plunging depth to the thread diameter Q460. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 475 12 L X+80 Y+0 Z+2 FMAX M303 13 CYCL CALL 14 M30 15 LBL 2 16 L X+60 Z+0 17 L X+70 Z-30 18 RND R60 19 L Z-45 20 LBL 0 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 476: Gear Hobbing (Cycle 880, Din/Iso: G880)

    11 Now you need to move the tool to a safe height and reset the tilting of the working plane. 12 Then you must program Cycle 801 RESET ROTARY COORDINATE SYSTEM and M145. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 477: Please Note While Programming

    Clamp your component out of the fixtures far enough so that the extension automatically approached by the cycle of the starting point and end point by the set-up clearance Q460 does not cause a collision HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 478 After Cycle 880 remember to program Cycle 801 and reset the coordinate system After a program cancellation, program Cycle 801 and reset the coordinate system HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 479: Cycle Parameters

    Q463=1 ;MAX. CUTTING DEPTH 0: Positive machining side Q460=2 ;SAFETY CLEARANCE 1: Negative machining side Q488=0.3 ;PLUNGING FEED RATE Q478=0.3 ;ROUGHING FEED RATE Q483=0.4 ;OVERSIZE FOR DIAMETER Q505=0.2 ;FINISHING FEED RATE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 480 In parameter Q553 you enter an incremental distance by which the tool is to be moved in the longitudinal direction. Input range 0 to 99.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 481 Diameter oversize for the defined contour . Q505 Finishing feed rate?: Feed rate for finishing. If M136 has been programmed, the value is interpreted by the TNC in millimeters per revolution, without M136 in millimeters per minute. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 482: Direction Of Rotation Depending On The Machining Side (Q550)

    Direction of table rotation: (M304) (M303) X- (Q550=1) counterclockwise (M304) Tool: Left-cutting M4 Machining side Direction of table rotation: X+ (Q550=0) counterclockwise (M304) Machining side Direction of table rotation: X- (Q550=1) clockwise (M303) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 483: Check Unbalance (Cycle 892, Din/Iso: G892)

    TNC executes the program without interruption. This function protects the machine mechanics. It enables you to take action if excessive unbalance is detected. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 484: Please Note While Programming

    Large unbalance loads can damage the machine mainly with a high mass. Keep in mind the mass and unbalance of the workpiece when choosing the speed. Do not program high speeds with heavy workpieces or high unbalance loads. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 485 MEASURE UNBALANCE cycle. With this cycle, the TNC determines the unbalance and calculates the mass and position of a balancing weight. For more information on the manual MEASURE UNBALANCE cycle, refer to the User's Manual for Conversational Programming. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 486: Cycle Parameters

    (e.g. 25 rpm). The speed is increased until the speed defined in Parameter Q451 is achieved. Spindle speed override is disabled. NC blocks 63 CYCL DEF 892 CHECK IMBALANCE Q450=0 ;MAXIMUM RUNOUT Q451=50 ;SPEED HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 487: 12.33 Example Program

    ;CONTOUR START IN Z Q493=+150 ;DIAMETER AT CONTOUR END Q494=-40 ;CONTOUR END IN Z Q495=+0 ;ANGLE OF CIRCUM. SURFACE Q501=+1 ;TYPE OF STARTING ELEMENT Q502=+2 ;SIZE OF STARTING ELEMENT Q500=+1 ;RADIUS OF CONTOUR EDGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 488 Q496=+0 ;ANGLE OF SECOND SIDE Q503=+1 ;TYPE OF END ELEMENT Q504=+1 ;SIZE OF END ELEMENT Q478=+0.3 ;ROUGHING FEED RATE Q483=+0.4 ;OVERSIZE FOR DIAMETER Q484=+0.2 ;OVERSIZE IN Z Q505=+0.15 ;FINISHING FEED RATE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 489: Example: Gear Hobbing

    13 CYCL DEF 880 GEAR HOBBING Activate interpolation turning Q215=+0 ;MACHINING OPERATION Q540=+2.1 ;MODULE Q541=+0 ;NUMBER OF TEETH Q542=+69.3 ;OUTSIDE DIAMETER Q543=+0.1666 ;TROUGH-TIP CLEARANCE Q544=-5 ;ANGLE OF INCLINATION Q545=+1.6833 ;TOOL LEAD ANGLE Q546=+3 ;CHANGE TOOL DIRECTN. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 490 Activate milling mode 18 M140 MB MAX Retract the tool in the tool axis 19 L A+0 C+0 R0 FMAX Reset the rotation 20 M30 END of program 21 END PGM 5 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 491: Using Touch Probe Cycles

    Using Touch Probe Cycles...
  • Page 492: General Information About Touch Probe Cycles

    Using Touch Probe Cycles | General information about touch probe cycles 13.1 General information about touch probe cycles HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. The control must be specially prepared by the machine tool builder for the use of a 3-D touch probe.
  • Page 493: Consideration Of A Basic Rotation In The Manual Operation Mode

    For example, Q260 is always assigned the clearance height, Q261 the measuring height, etc. To simplify programming, the TNC shows a graphic during cycle definition. The graphic shows the parameter that needs to be entered (see figure at right). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 494 ;3RD CO. FOR TS AXIS Q333=+0 ;PRESET Cycles for automatic workpiece inspection Special cycles Calibrate TS Kinematics Cycles for automatic tool measurement (enabled by the machine tool builder) Visual Setup Control (Option 136 VSC) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 495: Before You Start Working With Touch Probe Cycles

    In this way the stylus is always deflected in the same direction. If you change TRACK = ON, you must recalibrate the touch probe. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 496: Touch Trigger Probe, Probing Feed Rate: F In Touch Probe Table

    In F_PREPOS you define whether the TNC is to position the touch probe at the feed rate defined in 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 | User’s manual for cycle programming | 10/2017...
  • Page 497: Executing Touch Probe Cycles

    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 | User’s manual for cycle programming | 10/2017...
  • Page 498: 13.3 Touch Probe Table

    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 | User’s manual for cycle programming | 10/2017...
  • Page 499: Touch Probe Data

    OFF: Do not perform spindle tracking 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 | User’s manual for cycle programming | 10/2017...
  • Page 501: Touch Probe Cycles: Automatic Measurement Of Workpiece Misalignment

    Touch Probe Cycles: Automatic Measurement of Workpiece Misalignment...
  • Page 502: 14.1 Fundamentals

    The control must be specially prepared by the machine tool builder for the use of a 3-D touch probe. HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. The TNC provides five cycles that enable you to measure and compensate workpiece misalignment.
  • Page 503 405 ROT IN C AXIS Automatic alignment of an angular offset between a hole center and the positive Y axis. Compensation via table rotation. 404 SET BASIC ROTATION Setting any basic rotation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 504: Characteristics Common To All Touch Probe Cycles For Measuring Workpiece Misalignment

    (see figure at right). This enables you to measure the basic rotation against any straight line of the workpiece and to establish the reference to the actual 0° direction 2. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 505: Basic Rotation (Cycle 400, Din/Iso: G400)

    Do not activate the following cycles before using touch probe cycles: Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 506: Cycle Parameters

    Q301=0 ;MOVE TO CLEARANCE tool and workpiece (fixtures) can occur. Input range -99999.9999 to 99999.9999 Q307=0 ;PRESET ROTATION ANG. Q305=0 ;NUMBER IN TABLE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 507 TNC is to save the measured basic rotation. If you enter Q305=0, the TNC automatically places the determined basic rotation in the ROT menu of the Manual Operation mode. Input range 0 to 99999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 508: Basic Rotation Over Two Holes (Cycle 401, Din/Iso: G401)

    4 The TNC moves the touch probe to the entered measuring height and probes four points to find the second hole center. 5 Then the TNC returns the touch probe to the clearance height and performs the basic rotation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 509: Please Note While Programming

    Do not activate the following cycles before using touch probe cycles: Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 510: Cycle Parameters

    Q307=0 ;PRESET ROTATION ANG. measured and the angle of the reference line Q305=0 ;NUMBER IN TABLE for the basic rotation. Input range -360.000 to Q402=0 ;COMPENSATION 360.000 Q337=0 ;SET TO ZERO HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 511 0: 0: After alignment the position display is not set to 1: After alignment the position display is set to 0 if you previously defined Q402=1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 512: Basic Rotation Over Two Studs (Cycle 402, Din/Iso: G402)

    4 The probe moves to the entered measuring height 2 and probes four points to find the center of the second stud. 5 Then the TNC returns the touch probe to the clearance height and performs the basic rotation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 513: Please Note While Programming

    Do not activate the following cycles before using touch probe cycles: Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 514: Cycle Parameters

    ;SET TO ZERO of how the touch probe is to move between the measuring points: 0: Move at measuring height between measuring points 1: Move at clearance height between measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 515 0: 0: After alignment the position display is not set to 1: After alignment the position display is set to 0 if you previously defined Q402=1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 516: Basic Rotation Compensation Via Rotary Axis (Cycle 403, Din/Iso: G403)

    Optionally you can specify whether the TNC is to set the determined rotation angle to 0 in the preset table or in the datum table. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 517: Please Note While Programming

    Do not activate the following cycles before using touch probe cycles: Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 518: Cycle Parameters

    Q305=1 ;NUMBER IN TABLE measuring points: Q303=+1 ;MEAS. VALUE TRANSFER 0: Move at measuring height between measuring points Q380=+90 ;REFERENCE ANGLE 1: Move at clearance height between measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 519 TNC is to align the probed straight line. Only effective if the rotary axis = Automatic mode or C is selected (Q312 = 0 or 6). Input range -360.000 to 360.000 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 520: Set Basic Rotation (Cycle 404, Din/Iso: G404)

    = Copy the active preset to preset row 0, write the basic rotation to preset row 0 and activate preset 0 >1 = Save the basic rotation to the specified preset. The preset is not activated HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 521: Compensating Workpiece Misalignment By Rotating The C Axis (Cycle 405, Din/Iso: G405)

    Y axis, or on the nominal position of the hole center—both with a vertical and horizontal touch probe axis. The measured angular misalignment is also available in parameter Q150. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 522: Please Note While Programming

    Do not activate the following cycles before using touch probe cycles: Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 523: Cycle Parameters

    >0: Write the measured angular offset in the datum table. Row number = value of Q337 . If a C- axis shift is registered in the datum table, the TNC adds the measured angular misalignment. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 524: Example: Determining A Basic Rotation From Two Holes

    Compensate misalignment by rotating the rotary table Q337=1 ;SET TO ZERO Set the display to zero after the alignment 3 CALL PGM 35K47 Call part program 4 END PGM CYC401 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 525: Touch Probe Cycles: Automatic Presetting

    Touch Probe Cycles: Automatic Presetting...
  • Page 526: 15.1 Fundamentals

    The control must be specially prepared by the machine tool builder for the use of a 3-D touch probe. HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. The TNC offers twelve cycles for automatically finding presets and...
  • Page 527 419 DATUM IN ONE AXIS (2nd soft-key row) Measuring any position in any axis and defining it as preset HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 528: Characteristics Common To All Touch Probe Cycles For Presetting

    The new preset is active immediately. At the same time, the TNC saves the preset set in the display by the cycle in line 0 of the preset table. Q305 not equal to 0, Q303 = –1 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 529 The TNC saves the measurement results of the respective touch probe cycle in the globally effective Q parameters Q150 to Q160. You can use these parameters in your program. Note the table of result parameters listed with every cycle description. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 530: Slot Center Preset (Cycle 408, Din/Iso: G408)

    5 If desired, the TNC subsequently measures the preset in the touch probe axis in a separate probing. Parameter number Meaning Q166 Actual value of measured slot width Q157 Actual value of the centerline HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 531: Please Note While Programming

    In this case the touch probe does not return to the clearance height between the two measuring points. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 532: Cycle Parameters

    Q405 New preset? (absolute): Coordinate in the measuring axis at which the TNC should set the calculated slot center. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 533 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 534: Ridge Center Preset (Cycle 409, Din/Iso: G409)

    5 If desired, the TNC subsequently measures the preset in the touch probe axis in a separate probing. Parameter number Meaning Q166 Actual value of measured ridge width Q157 Actual value of the centerline HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 535: Please Note While Programming

    To prevent a collision between touch probe and workpiece, enter high estimate for the ridge width. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 536: Cycle Parameters

    Q405=+0 ;PRESET table without automatic activation Q303=+1 ;MEAS. VALUE TRANSFER Q303 = 0: The TNC writes to the datum table. The datum is not automatically activated HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 537 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 538: Preset From Inside Of Rectangle (Cycle 410, Din/Iso: G410)

    Actual value of center in reference axis Q152 Actual value of center in minor axis Q154 Actual value of length in the reference axis Q155 Actual value of length in the minor axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 539: Please Note While Programming

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 540: Cycle Parameters

    Input range -99999.9999 to 99999.9999 Q332 New preset in minor axis? (absolute): Coordinate in the minor axis at which the TNC should set the pocket center. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 541 Only effective if Q381 = 1. Input range -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 542: Preset From Outside Of Rectangle (Cycle 411, Din/Iso: G411)

    Actual value of center in reference axis Q152 Actual value of center in minor axis Q154 Actual value of length in the reference axis Q155 Actual value of length in the minor axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 543: Please Note While Programming

    To prevent a collision between touch probe and workpiece, enter high estimates for the lengths of the 1st and 2nd sides. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 544: Cycle Parameters

    Input range -99999.9999 to 99999.9999 Q332 New preset in minor axis? (absolute): Coordinate in the minor axis at which the TNC should set the stud center. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 545 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 546: Preset From Inside Of Circle (Cycle 412, Din/Iso: G412)

    Parameter number Meaning Q151 Actual value of center in reference axis Q152 Actual value of center in minor axis Q153 Actual value of diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 547: Please Note While Programming

    In this case the touch probe does not return to the clearance height between the four measuring points. Positioning of the touch points Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 548: Cycle Parameters

    Q260 Clearance height? (absolute): coordinate in Q301=0 ;MOVE TO CLEARANCE the touch probe axis at which no collision between Q305=12 ;NUMBER IN TABLE tool and workpiece (fixtures) can occur. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 549 0: Write the measured preset into the active datum table. The reference system is the active workpiece coordinate system 1: Write the measured preset into the preset table. The reference system is the machine coordinate system (REF system). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 550 "traverse to clearance height" (Q301=1) is active: 0: Move in a straight line between machining operations 1: Move in a circular arc on the pitch circle diameter between machining operations HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 551: Preset From Outside Of Circle (Cycle 413, Din/Iso: G413)

    Parameter number Meaning Q151 Actual value of center in reference axis Q152 Actual value of center in minor axis Q153 Actual value of diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 552: Please Note While Programming

    To prevent a collision between touch probe and workpiece, enter high estimate for the nominal diameter of the stud. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 553: Cycle Parameters

    1: Move at clearance height between measuring Q382=+85 ;1ST CO. FOR TS AXIS points Q383=+50 ;2ND CO. FOR TS AXIS Q384=+0 ;3RD CO. FOR TS AXIS Q333=+1 ;PRESET Q423=4 ;NO. OF PROBE POINTS Q365=1 ;TYPE OF TRAVERSE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 554 TNC should also set the preset in the touch probe axis: 0: Do not set the preset in the touch probe axis 1: Set the preset in the touch probe axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 555 "traverse to clearance height" (Q301=1) is active: 0: Move in a straight line between machining operations 1: Move in a circular arc on the pitch circle diameter between machining operations HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 556: Preset From Outside Of Corner (Cycle 414, Din/Iso: G414)

    4 If desired, the TNC subsequently measures the preset in the touch probe axis in a separate probing. Parameter number Meaning Q151 Actual value of corner in reference axis Q152 Actual value of corner in minor axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 557: Please Note While Programming

    Point less than point point Point less than point Point less than point Point less than point Point greater than point Point greater than Point greater than point point HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 558: Cycle Parameters

    Q304=0 ;BASIC ROTATION 0: Move at measuring height between measuring Q305=7 ;NUMBER IN TABLE points Q331=+0 ;PRESET 1: Move at clearance height between measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 559 TNC should also set the preset in the touch probe axis: 0: Do not set the preset in the touch probe axis 1: Set the preset in the touch probe axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 560 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 561: Preset From Inside Of Corner (Cycle 415, Din/Iso: G415)

    4 If desired, the TNC subsequently measures the preset in the touch probe axis in a separate probing. Parameter number Meaning Q151 Actual value of corner in reference axis Q152 Actual value of corner in minor axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 562: Please Note While Programming

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. The TNC always measures the first line in the direction of the minor axis of the working plane. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 563: Cycle Parameters

    Q382=+85 ;1ST CO. FOR TS AXIS 0: Do not execute basic rotation 1: Execute basic rotation Q383=+50 ;2ND CO. FOR TS AXIS Q384=+0 ;3RD CO. FOR TS AXIS Q333=+1 ;PRESET HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 564 TNC should also set the preset in the touch probe axis: 0: Do not set the preset in the touch probe axis 1: Set the preset in the touch probe axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 565 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 566: Preset Circle Center (Cycle 416, Din/Iso: G416)

    Parameter number Meaning Q151 Actual value of center in reference axis Q152 Actual value of center in minor axis Q153 Actual value of bolt hole circle diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 567: Please Note While Programming

    Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 568: Cycle Parameters

    Q331 New preset in reference axis? (absolute): Q333=+1 ;PRESET Coordinate in the reference axis at which the TNC should set the bolt hole circle center. Q320=0 ;SET-UP CLEARANCE Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 569 Q320 is added to SET_UP (touch probe table), and is only effective when the preset is probed in the touch probe axis. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 570: Preset In Touch Probe Axis (Cycle 417, Din/Iso: G417)

    Reset any coordinate transformations beforehand Before a cycle definition you must have programmed a tool call to define the touch probe axis. The TNC then sets the preset in this axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 571: Cycle Parameters

    0: Write the measured preset into the active datum table. The reference system is the active workpiece coordinate system 1: Write the measured preset into the preset table. The reference system is the machine coordinate system (REF system). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 572: Preset At Center Of 4 Holes (Cycle 418, Din/Iso: G418)

    7 If desired, the TNC subsequently measures the preset in the touch probe axis in a separate probing. Parameter number Meaning Q151 Actual value of intersection point in reference axis Q152 Actual value of intersection point in minor axis HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 573: Please Note While Programming

    Cycle 7 DATUM SHIFT,Cycle 8 MIRROR IMAGE, Cycle 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 574: Cycle Parameters

    Otherwise an entry is made in the specific row of the preset table without automatic activation Q303 = 0: The TNC writes to the datum table. The datum is not automatically activated HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 575 -99999.9999 to 99999.9999 Q333 New preset in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the preset. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 576: Preset In One Axis (Cycle 419, Din/Iso: G419)

    Cycle 419 several times in a row. However, you also have to reactivate the preset number after every run of Cycle 419. If you work with preset 0 as active preset, this process is not required. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 577: Cycle Parameters

    Q333=+0 ;PRESET Q267 Trav. direction 1 (+1=+ / -1=-)?: Direction Q303=+1 ;MEAS. VALUE TRANSFER in which the probe is to approach the workpiece: -1: Negative traverse direction +1: Positive traverse direction HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 578 0: Write the measured preset into the active datum table. The reference system is the active workpiece coordinate system 1: Write the measured preset into the preset table. The reference system is the machine coordinate system (REF system). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 579: Example: Presetting In Center Of A Circular Segment And On Top Surface Of Workpiece

    ;NO. OF PROBE POINTS Measure circle with 4 probes Q365=0 ;TYPE OF TRAVERSE Move on circular path between measuring points 3 CALL PGM 35K47 Call part program 4 END PGM CYC413 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 580: Example: Presetting On Top Surface Of Workpiece And In Center Of A Bolt Hole Circle

    Height in the touch probe axis at which the probe can traverse without collision Q305=1 ;NUMBER IN TABLE Enter center of bolt hole circle (X and Y) in line 1 Q331=+0 ;PRESET Q332=+0 ;PRESET HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 581 Safety clearance in addition to SET_UP column 4 CYCL DEF 247 PRESETTING Activate new preset with Cycle 247 Q339=1 ;PRESET NUMBER 6 CALL PGM 35KLZ Call part program 7 END PGM CYC416 MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 583: Touch Probe Cycles: Automatic Workpiece Inspection

    Touch Probe Cycles: Automatic Workpiece Inspection...
  • Page 584: 16.1 Fundamentals

    The control must be specially prepared by the machine tool builder for the use of a 3-D touch probe. HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. The TNC offers twelve cycles for measuring workpieces automatically.
  • Page 585: Recording The Results Of Measurement

    ASCII file. The TNC will save the file in the directory that also contains the associated NC program. Use the HEIDENHAIN data transfer software TNCRemo if you wish to output the measuring log over the data interface. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 586 50.0810 Center in minor axis: 64.9530 Diameter: 12.0259 Deviations: Center in reference axis: 0.0810 Center in minor axis: -0.0470 Diameter: 0.0259 Further measuring results: Measuring -5.0000 height: End of measuring log HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 587: Measurement Results In Q Parameters

    TNC perform tolerance monitoring. This requires that you define the necessary limit values during cycle definition. If you do not wish to monitor for tolerances, simply leave the 0 (the default value) in the monitoring parameters. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 588: Tool Monitoring

    DZL and DXL, respectively, are compensated. The TNC monitors the breakage tolerance which is defined in column LBREAK.You can inquire whether re-working is necessary via parameter Q181 in the NC program (Q181=1: must be reworked). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 589: Reference System For Measurement Results

    The TNC transfers all the measurement results to the result parameters and the log file in the active coordinate system, or as the case may be, the shifted and/or rotated/tilted coordinate system. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 590: Reference Plane (Cycle 0, Din/Iso: G55)

    Position value?: Use the axis selection keys or the ASCII keyboard to enter all coordinates of the nominal pre-positioning point values for the touch probe. Input range -99999.9999 to 99999.9999 To conclude the input, press the ENT key. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 591: Polar Preset (Cycle 1)

    Position value?: Use the axis selection keys or the ASCII keyboard to enter all coordinates of the nominal pre-positioning point values for the touch probe. Input range -99999.9999 to 99999.9999 To conclude the input, press the ENT key. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 592: Measure Angle (Cycle 420, Din/Iso: G420)

    If touch probe axis = measuring axis, set Q263 equal to Q265 if the angle about the A axis is to be measured; set Q263 not equal to Q265 if the angle is to be measured about the B axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 593: Cycle Parameters

    Q260 Clearance height? (absolute): coordinate in Q301=1 ;MOVE TO CLEARANCE the touch probe axis at which no collision between tool and workpiece (fixtures) can occur. Input Q281=1 ;MEASURING LOG range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 594 1: Create a measuring log: The TNC saves the file TCHPR420.TXT as standard in the directory TNC:\ 2: Interrupt program run and output measuring log to the TNC screen (Press NC start to continue the program) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 595: Measure Hole (Cycle 421, Din/Iso: G421)

    Q152 Actual value of center in minor axis Q153 Actual value of diameter Q161 Deviation at center of reference axis Q162 Deviation at center of minor axis Q163 Deviation from diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 596: Please Note While Programming

    – The TNC monitors the breakage tolerance which is defined in column LBREAK If you reference parameter Q330 to a milling tool, the information of the parameters Q498 and Q531 has no effect. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 597: Cycle Parameters

    Q260 Clearance height? (absolute): coordinate in the touch probe axis at which no collision between Q320=0 ;SET-UP CLEARANCE tool and workpiece (fixtures) can occur. Input Q260=+20 ;CLEARANCE HEIGHT range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 598 TNC is to interrupt program run and output an error message: 0: Do not interrupt program run, do not output an error message 1: Interrupt program run and output an error message HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 599 Q330 before. Enter the angle of incidence between the turning tool and the work piece during machining, e.g. from Cycle 800 parameter Angle of incidence? Q531. Input range: -180° to +180° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 600: Measure Hole Outside (Cycle 422, Din/Iso: G422)

    Q152 Actual value of center in minor axis Q153 Actual value of diameter Q161 Deviation at center of reference axis Q162 Deviation at center of minor axis Q163 Deviation from diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 601: Please Note While Programming

    – The TNC monitors the breakage tolerance which is defined in column LBREAK If you reference parameter Q330 to a milling tool, the information of the parameters Q498 and Q531 has no effect. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 602: Cycle Parameters

    Q301=0 ;MOVE TO CLEARANCE measuring points: 0: Move at measuring height between measuring Q277=35.15;MAXIMUM LIMIT points Q278=34.9 ;MINIMUM LIMIT 1: Move at clearance height between measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 603 Q423 No. probe points in plane (4/3)?: Define whether the TNC should measure the stud with 4 or 3 probing points: 4: Use 4 measuring points (standard setting) 3: Use 3 measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 604 Q330 before. Enter the angle of incidence between the turning tool and the work piece during machining, e.g. from Cycle 800 parameter Angle of incidence? Q531. Input range: -180° to +180° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 605: Measure Rectangle Inside (Cycle 423, Din/Iso: G423)

    TNC always starts probing from the center of the pocket. In this case the touch probe does not return to the clearance height between the four measuring points. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 606: Cycle Parameters

    Input range 0 to Q281=1 ;MEASURING LOG 99999.9999 Q309=0 ;PGM STOP TOLERANCE Q287 Min. size limit 2nd side length?: Minimum Q330=0 ;TOOL permissible width of the pocket. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 607 TNC is to monitor the tool (See "Tool monitoring", page 588). Input range 0 to 32767 .9, alternatively tool name with maximum of 16 characters 0: Monitoring inactive >0: Tool number in the tool table TOOL.T HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 608: Measure Rectangle Outside (Cycle 424, Din/Iso: G424)

    Deviation of side length in reference axis Q165 Deviation of side length in minor axis Please note while programming: Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 609: Cycle Parameters

    ;MOVE TO CLEARANCE 99999.9999 Q284=75.1 ;MAX. LIMIT 1ST SIDE Q285 Min. size limit 1st side length?: Minimum permissible length of the stud. Input range 0 to Q285=74.9 ;MIN. LIMIT 1ST SIDE 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 610 0: Monitoring inactive >0: Number or name of the tool that the TNC used for machining. You are able to apply a tool via soft key directly from the tool table. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 611: Measure Inside Width (Cycle 425, Din/Iso: G425)

    Actual value of the centerline Q166 Deviation of the measured length Please note while programming: Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 612: Cycle Parameters

    ;SET-UP CLEARANCE file TCHPR425.TXT as standard in the directory Q301=0 ;MOVE TO CLEARANCE TNC:\. 2: Interrupt program run and output measuring log to the TNC screen. Resume program run with NC Start. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 613 Q301 Move to clearance height (0/1)?: Definition of how the touch probe is to move between the measuring points: 0: Move at measuring height between measuring points 1: Move at clearance height between measuring points HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 614: Measure Ridge Width (Cycle 426, Din/Iso: G426)

    Actual value of the centerline Q166 Deviation of the measured length Please note while programming: Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 615: Cycle Parameters

    1: Create measuring log: The TNC will save the log file TCHPR426.TXT by default in the directory TNC:\. 2: Interrupt the program run and display the measuring log on the TNC screen. Resume program run with NC Start. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 616 0: Monitoring inactive >0: Number or name of the tool that the TNC used for machining. You are able to apply a tool via soft key directly from the tool table. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 617: Measure Coordinate (Cycle 427, Din/Iso: G427)

    – The TNC monitors the breakage tolerance which is defined in column LBREAK If you reference parameter Q330 to a milling tool, the information of the parameters Q498 and Q531 has no effect. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 618: Cycle Parameters

    Q281=1 ;MEASURING LOG TNC:\. 2: Interrupt the program run and display the Q288=5.1 ;MAXIMUM LIMIT measuring log on the TNC screen. Resume Q289=4.95 ;MINIMUM LIMIT program run with NC Start. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 619 Q330 before. Enter the angle of incidence between the turning tool and the work piece during machining, e.g. from Cycle 800 parameter Angle of incidence? Q531. Input range: -180° to +180° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 620: Measure Bolt Hole Circle (Cycle 430, Din/Iso: G430)

    Actual value of center in minor axis Q153 Actual value of bolt hole circle diameter Q161 Deviation at center of reference axis Q162 Deviation at center of minor axis Q163 Deviation of bolt hole circle diameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 621: Please Note While Programming

    (fixtures) can occur. Input Q261=-5 ;MEASURING HEIGHT range -99999.9999 to 99999.9999 Q260=+10 ;CLEARANCE HEIGHT Q288 Maximum limit of size?: Maximum Q288=80.1 ;MAXIMUM LIMIT permissible bolt hole circle diameter. Input range 0 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 622 0: Monitoring inactive >0: Number or name of the tool that the TNC used for machining. You are able to apply a tool via soft key directly from the tool table. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 623: Measure Plane (Cycle 431, Din/Iso: G431)

    Projection angle of the B axis Q170 Spatial angle A Q171 Spatial angle B Q172 Spatial angle C Q173 to Q175 Measured values in the touch probe axis (first to third measurement) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 624: Please Note While Programming

    ;1ST POINT 1ST AXIS Coordinate of the third touch point in the reference Q264=+20 ;1ST POINT 2ND AXIS axis of the working plane. Input range -99999.9999 Q294=-10 ;1ST POINT 3RD AXIS to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 625 1: Create measuring log: The TNC will save the log file TCHPR431.TXT by default in the directory TNC:\. 2: Interrupt the program run and display the measuring log on the TNC screen. Resume program run with NC Start. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 626: 16.14 Programming Examples

    Calculate length in X including the measured deviation 10 FN 2: Q2 = +Q2 - +Q165 Calculate length in Y including the measured deviation 11 L Z+100 R0 FMAX Retract the touch probe, change the tool HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 627 Length in Y variable for roughing and finishing Q220=0 ;CORNER RADIUS Q221=0 ;ALLOWANCE IN 1ST AXS 17 CYCL CALL M3 Cycle call 18 LBL 0 End of subprogram 19 END PGM BEAMS MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 628: Example: Measuring A Rectangular Pocket And Recording The Results

    Do not display an error message in case of a tolerance violation Q330=0 ;TOOL No tool monitoring 4 L Z+100 R0 FMAX M2 Retract the tool, end program 5 END PGM BSMEAS MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 629: Touch Probe Cycles: Special Functions

    Touch Probe Cycles: Special Functions...
  • Page 630: Fundamentals

    HEIDENHAIN only assumes liability for functionality of the probing cycles if HEIDENHAIN touch probes are used. The TNC provides a cycle for the following special purpose: Soft key Cycle Page 3 MEASURING Cycle for defining OEM cycles HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 631: Measure (Cycle 3)

    This rules out any collision during retraction. With function FN17: SYSWRITE ID 990 NR 6 you can set whether the cycle runs through the probe input X12 or X13. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 632: Cycle Parameters

    If mode 1 is selected, the TNC saves the value -1 in the 4th result parameter and continues the cycle: 0: Error message output 1: No error message output HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 633: Measuring In 3-D (Cycle 4)

    Remember that the TNC always writes to four successive Q parameters. If the TNC was not able to determine a valid touch point, the 4th result parameter will have the value –1. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 634: Cycle Parameters

    (ACT), or with respect to the machine coordinate system (REF): 0: Save measuring result to the ACT system 1: Save measuring result to the ref system HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 635: Probing (Cycle 444)

    The TNC saves the measured coordinates of the contact point in Q parameters. 4 Finally, the TNC moves the touch probe back by that value against the probing direction that you defined in the parameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 636 Actual probing direction (as a vector in the input system). The value of the vector corresponds to the configured probing path HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 637: Cycle Parameters

    Input range 0 to 99999.9999 Q260 Clearance height? (absolute): coordinate in the touch probe axis at which no collision between tool and workpiece (fixtures) can occur. Input range -99999.9999 to 99999.9999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 638 An undersize has occurred. On the other hand, there is no error reaction if the value determined along the surface normal vector is greater than the nominal coordinate. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 639: Please Note While Programming

    The TNC writes the measured values to return parameters (See "Cycle run", page 635). The workpiece status good/rework/scrap is set via Q parameter Q^83, independent of parameter Q309 (See "Cycle run", page 635). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 640: Calibrating A Touch Trigger Probe

    Measure the radius and the center offset using a calibration ring Measure the radius and the center offset using a stud or a calibration Measure the radius and the center offset using a calibration sphere HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 641: Displaying Calibration Values

    This is regardless of whether you want to use a touch-probe cycle in automatic mode or Manual operation mode. For more information, see the Chapter Touch probe table HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 642: Calibrate Ts (Cycle 460, Din/Iso: G460)

    6 Once the equator has been determined, the radius calibration begins 7 Finally, the TNC returns the touch probe in the touch-probe axis to the height at which it had been pre-positioned. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 643 5 The deviations determined during the calibration are stored in a 3DTC table. 6 At the end of the cycle the TNC returns the touch probe in the touch-probe axis to the height at which it had been pre- positioned. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 644 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. A measuring log is created automatically during calibration. The log file is named TCHPRAUTO.html. This file is stored in the same location as the original file.
  • Page 645 During 3-D calibration, the deflecting behavior of the touch probe is determined under various angles, and the values are stored in a table. 3D- ToolComp is required for 3-D calibration. Input range 1 to 30 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 646: Calibrate Ts Length (Cycle 461, Din/Iso: G461)

    (column F from the touch probe table). 3 The TNC then returns the touch probe at rapid traverse (column FMAX from the touch probe table) to the start position. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 647 10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. The effective length of the touch probe is always referenced to the tool reference point. The tool reference point is often on the spindle nose (and face of the spindle).
  • Page 648: Calibrate Ts Radius Inside (Cycle 462, Din/Iso: G462)

    (CAL_OF in tchprobe.tp) is determined in addition to the radius by probing from opposite orientations. Any orientation possible (e.g. HEIDENHAIN infrared touch probes): For probing routine, see "orientation possible in two directions." HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 649 HEIDENHAIN touch probes. Other touch probes are configured by the machine tool builder. HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. Q407 RING RADIUS Enter the radius of the ring gauge.
  • Page 650: Calibrate Ts Radius Outside (Cycle 463, Din/Iso: G463)

    (CAL_OF in tchprobe.tp) is determined in addition to the radius by probing from opposite orientations. Any orientation possible (e.g. HEIDENHAIN infrared touch probes): For probing routine, see "orientation possible in two directions." HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 651 HEIDENHAIN touch probes. Other touch probes are configured by the machine tool builder. HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. Q407 Radius of calibr. stud?: Diameter of the ring gauge.
  • Page 652: Fast Probing (Cycle 441, Din/Iso G441)

    (No. 122602). Even if your machine has separate potentiometers for rapid traverse and feed rate, you can control the feed rate, also with Q397=1, only with the potentiometer for feed motions. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 653: Cycle Parameters

    1: Interrupt program run and output measuring results to the screen. Program run can then be continued with NC start HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 655: Visual Setup Control Vsc (Software Option 136)

    Visual Setup Control VSC (Software Option 136)
  • Page 656: Camera-Based Monitoring Of The Setup Situation Vsc (Option 136)

    (e.g. hole at top right), the control can check the clamping situation For documentation purposes you can generate an image of the current workspace (e.g. of a clamping situation that is rarely used) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 657 You can use the cycle for automatic monitor- ing of your working space. In this phase, the control only issues a warning if it finds a deviation when comparing images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 658: Produce Live Image

    These settings can only be made after entering a code number. Go back to the previous screen Manage monitoring data In the Manual operation mode you can manage images from Cycles 600 and 601. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 659 All images: Display all images for this monitoring file Reference images: Only display reference images Images with error: Display all images where you have highlighted an error HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 660 Change monitoring area or highlight an error Further information: "Configuration", page Go back to the previous screen If you change the configuration, the control carries out an image evaluation. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 661: Overview

    The soft-key row shows all available touch probe functions divided into groups. Press the MONITORING WITH CAMERA soft key Soft key Cycle Page 600 GLOBAL WORKING SPACE 601 LOCAL WORKING SPACE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 662: Results Of The Image Evaluation

    Solid circle: You have changed the monitoring data, monitoring is more sensitive. Blank circle: No error message: All deviations saved in the image have been recognized, monitoring has not identified any conflicts. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 663: Configuration

    (For more information See "Results of the image evaluation", page 662) The TNC checks if or how the new settings affect all images: (For more information See "Results of the image evaluation", page 662) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 664 If you changed the configuration, the TNC will perform an image evaluation. (For more information, See "Results of the image evaluation", page 662.) You discard all changes and return to the previously displayed screen. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 665: Defining The Monitoring Area

    The status display at the top right of the image will display information about the minimum number of reference images, about the current number of reference images and the current number of error images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 666: Possible Queries

    9 L X+... Y+... R0 FMAX Program the machining 57 LBL 21 Definition LBL 21 58 STOP Program stop, the operator can check the condition of the workspace 59 LBL 0 60 END PGM 5MM HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 667: Workspace Global (Cycle 600)

    (For more information, See "Configuration"). 7 Press the soft key GO BACK. 8 To complete the operation the TNC will close the camera lid. 9 Press the NC start and run your program as usual. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 668 During evaluation, new images are compared with the mean image under consideration of the variance. Only once all reference images are available does the cycle no longer stop if there are not enough reference images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 669 The status display at the top right of the image will display information about the minimum number of reference images, about the current number of reference images and the current number of error images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 670: Monitoring Phase

    If parameter Q309=0 is set, no image will be displayed on the screen and the program will not be stopped. 6 To complete the operation the TNC will close the camera lid. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 671: Please Note While Programming

    Ask your machine manufacturer to tell you the point that the camera pre-positions to. Your machine tool builder specifies the coordinates which Cycle 600 positions to. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 672: Cycle Parameters

    TNC has generated enough reference images. If an error is detected, the TNC will display a message. Q617 Number of reference images?: Number of reference images that are required by the TNC for monitoring. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 673: Workspace Local (Cycle 601)

    (For more information, See "Configuration"). 7 Press the soft key GO BACK. 8 To complete the operation the TNC will close the camera lid. 9 Press the NC start and run your program as usual. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 674 During evaluation, new images are compared with the mean image under consideration of the variance. Only once all reference images are available does the cycle no longer stop if there are not enough reference images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 675 The status display at the top right of the image will display information about the minimum number of reference images, about the current number of reference images and the current number of error images. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 676: Monitoring Phase

    If parameter Q309=0 is set, no image will be displayed on the screen and the program will not be stopped. 6 Depending on parameter Q613, the TNC either leaves the camera lid open or closes it. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 677: Please Note While Programming

    Danger of contaminating the camera due to open camera lid with parameter Q613. This could lead to blurred images, the camera may be damaged. Close the camera lid before continuing with the process! HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 678: Cycle Parameters

    Cycle 601 with a new monitoring point. Program Q613=0 before continuing with the cutting operation! Q617 Number of reference images?: Number of reference images that are required by the TNC for monitoring. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 679: Touch Probe Cycles: Automatic Kinematics Measurement

    Touch Probe Cycles: Automatic Kinematics Measurement...
  • Page 680: Kinematics Measurement With Ts Touch Probes (Kinematicsopt Option)

    Page 450 SAVE KINEMATICS Automatic saving and restoring of kinematic configurations 451 MEASURE KINEMATICS Automatic checking or optimizing the machine kinematics 452 PRESET COMPENSATION Automatic checking or optimizing the machine kinematics HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 681: 19.2 Prerequisites

    655475-02), which have particularly high rigidity and are designed especially for machine calibration. Please contact HEIDENHAIN if you have any questions in this regard. The kinematics description of the machine must be complete and correct. The transformation values must be entered with an accuracy of approx.
  • Page 682: Please Note While Programming

    10 ROTATION,Cycle 11 SCALING and 26 AXIS-SPECIFIC SCALING Reset any coordinate transformations beforehand HEIDENHAIN only gives warranty for the function of the probing cycles if HEIDENHAIN touch probes are used. If an M function has been defined in machine parameter mStrobeRotAxPos (No.
  • Page 683: Save Kinematics (Cycle 450, Din/Iso: G450, Option)

    Set the preset again if necessary. Saving and restoring with Cycle 450 should only be performed if no tool carrier kinematics with transformations is active HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 684: Cycle Parameters

    TNC has saved. Mode 1: Logging of all transformation entries before and after restoring the kinematics configuration. Mode 2: List of the saved data records. Mode 3: List of the deleted data records. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 685: Notes On Data Management

    Do not change stored data manually. Make a backup of the TNC:\table\DATA450.KD file so that you can restore the file, if necessary (e.g. if the data medium is damaged). HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 686: Measure Kinematics (Cycle 451, Din/Iso: G451, Option)

    Touch Probe Cycle 451 enables you to check and, if required, optimize the kinematics of your machine. Use the 3-D TS touch probe to measure a HEIDENHAIN calibration sphere that you have attached to the machine table. HEIDENHAIN recommends using the calibration...
  • Page 687 Q148 Offset error in Y direction, for manual trans- fer to the corresponding machine parameter Q149 Offset error in Z direction, for manual trans- fer to the corresponding machine parameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 688: Positioning Direction

    Stepping angle resulting from the calculation = (270° – 90°) / (4–1) = +60° Measuring point 1 = +90° Measuring point 2 = +150° Measuring point 3 = +210° Measuring point 4 = +270° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 689: Machines With Hirth-Coupled Axes

    Measuring position 2 = Q411 + 1 * stepping angle = +10° --> 9° Measuring position 3 = Q411 + 2 * stepping angle = +50° --> 51° Measuring position 4 = Q411 + 3 * stepping angle = +90° --> 90° HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 690: Choice Of Number Of Measuring Points

    Check mode. If a measuring point has been defined at 0°, it will be ignored because the reference measurement is always done at 0°. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 691: Choice Of The Calibration Sphere Position On The Machine Table

    3-D touch probe. If required, deactivate the lock on the rotary axes for the duration of the calibration. Otherwise it may falsify the results of measurement. The machine tool manual provides further information. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 692: Notes On Various Calibration Methods

    Determination of the rotary axis backlash Number of measuring points between 8 and 12 The start and end angles should cover the largest possible traverse range of the rotary axes. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 693: Backlash

    699). Backlash measurement is not possible if an M function is set for positioning the rotary axes in machine parameter mStrobeRotAxPos (No. 204803) or if the axis is a Hirth axis. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 694: Please Note While Programming

    (No. 204802) the TNC shows an error message and ends the measurement. Programming in inches: The TNC always records the log data and results of measurement in millimeters. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 695: Cycle Parameters

    Define the positioning speed in parameter Q253 Q253 Feed rate for pre-positioning? Enter the traversing speed of the tool in mm/min during positioning. Input range 0.0001 to 99999.9999; alternatively FMAX, FAUTO, PREDEF HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 696 Input range -359.999 to 359.999 Q421 Angle of incidence in C axis?: Angle of incidence in the C axis at which the other rotary axes are to be measured. Input range -359.999 to 359.999 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 697 = 1/3), then move the touch probe by the safety clearance (Q320 + SET_UP) to a position approximately above the center of the calibration sphere before the start of the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 698: Various Modes (Q406)

    Q419=+90 ;START ANGLE C AXIS Q420=+270 ;END ANGLE C AXIS Q421=0 ;INCID. ANGLE C AXIS Q422=3 ;MEAS. POINTS C AXIS Q423=3 ;NO. OF PROBE POINTS Q431=1 ;PRESET Q432=0.5 ;BACKLASH, ANG. RANGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 699: Logging Function

    (relative to the beginning of the kinematic transformation chain, usually the spindle nose) Position after optimization of the rotary axes checked (relative to the beginning of the kinematic transformation chain, usually the spindle nose) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 700: Preset Compensation (Cycle 452, Din/Iso: G452, Option)

    3 Set the preset on the workpiece, and start machining the workpiece. 4 Use Cycle 452 for preset compensation at regular intervals. The TNC measures the drift of the axes involved and compensates it in the kinematics description. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 701 Q148 Offset error in Y direction, for manual trans- fer to the corresponding machine parameter Q149 Offset error in Z direction, for manual trans- fer to the corresponding machine parameter HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 702: Please Note While Programming

    (No. 204802) the TNC shows an error message and ends the measurement. Programming in inches: The TNC always records the log data and results of measurement in millimeters. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 703: Cycle Parameters

    TNC is to measure the A axis. If the input value = 0, the TNC does not measure the respective axis. Input range 0 to 12 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 704 The traversing angle must be significantly larger than the actual backlash of the rotary axes. If input value = 0, the TNC does not measure the backlash. Input range -3.0000 to +3.0000 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 705: Adjustment Of Interchangeable Heads

    Q419=+90 ;START ANGLE C AXIS Q420=+270 ;END ANGLE C AXIS Q421=0 ;INCID. ANGLE C AXIS Q422=3 ;MEAS. POINTS C AXIS Q423=4 ;NO. OF PROBE POINTS Q431=3 ;PRESET Q432=0 ;BACKLASH, ANG. RANGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 706 ;MEAS. POINTS B AXIS Q419=+90 ;START ANGLE C AXIS Q420=+270 ;END ANGLE C AXIS Q421=0 ;INCID. ANGLE C AXIS Q422=0 ;MEAS. POINTS C AXIS Q423=4 ;NO. OF PROBE POINTS Q432=0 ;BACKLASH, ANG. RANGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 707: Drift Compensation

    Q419=+90 ;START ANGLE C AXIS Q420=+270 ;END ANGLE C AXIS Q421=0 ;INCID. ANGLE C AXIS Q422=3 ;MEAS. POINTS C AXIS Q423=4 ;NO. OF PROBE POINTS Q431=3 ;PRESET Q432=0 ;BACKLASH, ANG. RANGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 708 ;MEAS. POINTS B AXIS Q419=+90 ;START ANGLE C AXIS Q420=+270 ;END ANGLE C AXIS Q421=0 ;INCID. ANGLE C AXIS Q422=3 ;MEAS. POINTS C AXIS Q423=3 ;NO. OF PROBE POINTS Q432=0 ;BACKLASH, ANG. RANGE HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 709: Logging Function

    Position after preset-compensation of the rotary axes checked (relative to the beginning of the kinematic transformation chain, usually the spindle nose) Notes on log data (See "Logging function", page 699) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 710: Kinematics Grid (Cycle 453, Din/Iso: G453, Option)

    The software options No. 48 KinematicsOpt and No. 52 KinematicsComp are needed for this. With this cycle and with a 3-D TS touch probe you measure a HEIDENHAIN calibration sphere that you have attached to the machine table. The cycle then moves the touch probe automatically to positions arranged grid- like around the calibration sphere.
  • Page 711 3 Select the Program Run mode and start the program 4 The cycle is run in accordance with Q406 (-1 = delete / 0 = check / 1 = compensate) HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 712: Various Modes (Q406)

    In principle, you can fix the calibration sphere to any accessible position on the machine table and also on fixtures or workpieces. It is recommended to clamp the calibration sphere as closely as possible to the position intended for subsequent machining. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 713: Please Note While Programming

    If your machine is equipped with a controlled spindle, you should activate the angle tracking in the touch probe table (TRACK column). This generally increases the accuracy of measurements with a 3-D touch probe. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 714: Cycle Parameters

    Also, the TNC moves the touch probe in the working plane to the datum. The touch probe monitor is not active in this mode. Define the positioning speed in parameter Q253 HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 715 (Q431 = 1/3), then move the touch probe by the safety clearance (Q320 + SET_UP) to a position approximately above the center of the calibration sphere before the start of the cycle. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 716: Logging Function

    Number and name of the currently active tool Mode Measured data: Standard deviation and maximum deviation Information at which position in degrees (°) the maximum deviation occurred Number of measuring positions HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 717: Touch Probe Cycles: Automatic Tool Measurement

    Touch Probe Cycles: Automatic Tool Measurement...
  • Page 718: Fundamentals

    Refer to your machine manual. The touch probe cycles are available only with the Touch Probe Functions software option (option 17). If you are using a HEIDENHAIN touch probe, this option is available automatically. In conjunction with the TNC's tool measurement cycles, the tool touch probe enables you to measure tools automatically.
  • Page 719: Differences Between Cycles 31 To 33 And Cycles 481 To 483

    Cycles 481 to 483 are also available in controls for ISO programming under G481 to G483. Instead of a selectable parameter for the status of the measurement, the new cycles use the fixed parameter Q199. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 720: Setting Machine Parameters

    The feed rate for probing is calculated from: v = measuring tolerance • n with Feed rate for probing in mm/min Measuring tolerance Measuring tolerance [mm], depending on maxPeriphSpeedMeas Shaft speed [rpm] HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 721 The feed rate for probing remains constant; the error of measurement, however, rises linearly with the increase in tool radius: Measuring tolerance = r • measureTolerance1/ 5 mm, where Active tool radius in mm measureTolerance1: Maximum permissible error of measurement HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 722: Entries In The Tool Table Tool.t

    Breakage tolerance: radius? Permissible deviation from tool radius R for breakage detection. If the entered value is exceeded, the TNC locks the tool (status l). Input range: 0 to 0.9999 mm HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 723 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 | User’s manual for cycle programming | 10/2017...
  • Page 724: Calibrating The Tt (Cycle 30 Or 480, Din/Iso: G480 Option 17)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 725: Please Note While Programming

    6 TOOL CALL 1 Z (safety zone from safetyDistToolAx). Input range 7 TCH PROBE 480 CALIBRATE TT -99999.9999 to 99999.9999 Q260=+100 ;CLEARANCE HEIGHT HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 726: Calibrating The Wireless Tt 449 (Cycle 484, Din/Iso: G484)

    The calibrating tool should have a diameter of more than 15 mm and protrude approx. 50 mm from the chuck. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 727: Please Note While Programming

    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 | User’s manual for cycle programming | 10/2017...
  • Page 728: Measuring Tool Length (Cycle 31 Or 481, Din/Iso: G481)

    It then measures the length of each tooth by changing the corresponding angle of spindle orientation. To activate this function, program TCH PROBE 31 = 1 for CUTTER MEASUREMENT. HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 729: Please Note While Programming

    (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 | User’s manual for cycle programming | 10/2017...
  • Page 730: Measuring Tool Radius (Cycle 32 Or 482, Din/Iso: G482)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 731: Cycle Parameters

    (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 | User’s manual for cycle programming | 10/2017...
  • Page 732: Measuring Tool Length And Radius (Cycle 33 Or 483, Din/Iso: G483)

    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 | User’s manual for cycle programming | 10/2017...
  • Page 733: Cycle Parameters

    (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 | User’s manual for cycle programming | 10/2017...
  • Page 735: Tables Of Cycles

    Tables of Cycles...
  • Page 736: Overview

    ■ Universal pecking ■ Tapping with a floating tap holder, new ■ Rigid tapping, new ■ Bore milling ■ Tapping with chip breaking ■ Polar pattern ■ Cartesian pattern ■ Engraving HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 737 Thread milling/countersinking ■ Thread drilling/milling ■ Helical thread drilling/milling ■ Outside thread milling ■ Contour train data ■ Trochoidal slot ■ 3-D contour train ■ Coupling turning interpolation ■ Contour turning interpolation HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 738: Turning Cycles

    ■ Thread, contour-parallel ■ Thread, longitudinal ■ Thread, extended ■ Recessing contour, radial ■ Recessing, radial ■ Recessing, radial extended ■ Recessing contour, axial ■ Recessing, axial ■ Recessing, axial extended HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 739: Touch Probe Cycles

    ■ Workpiece—measure rectangle from inside ■ Workpiece—measure rectangle from outside ■ Workpiece—measure inside width (slot) ■ Workpiece—measure outside width (ridge) ■ Workpiece—measure in any selectable axis ■ Workpiece—measure bolt hole circle HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 740 Calibrate the TT ■ Measure/Inspect the tool length ■ Measure/Inspect the tool radius ■ Measure/Inspect the tool length and the tool radius ■ Calibrate TT ■ Global workspace ■ Local workspace HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 741 Kinematics grid......710 Contour cycles......216 Rectangular stud...... 180 Kinematics grid....710 Contour train.... 237, 241, 246 Reference images....657 Kinematics measurement..680 Coordinate transformation..290 Reset rotary coordinate COUPLING INTERPOLATION Kinematics Measurement HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 742 Tool measurement... 718, 722 Calibrate TT......726 Calibrating the TT....724 Machine parameters.... 720 Measuring tool length and radius........732 Tool length......728 Tool radius......730 Tool monitoring......588 Touch probe cycles HEIDENHAIN | User’s manual for cycle programming | 10/2017...
  • Page 743 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 ...

This manual is also suitable for:

Tnc 640 e

Table of Contents

Save PDF