HEIDENHAIN TNC 320 User's Manual For Cycle Programming
Hide thumbs Also See for TNC 320:
Table of Contents

Advertisement

Quick Links

TNC 320
User's manual for
cycle programming
NC Software
771851-04
771855-04
English (en)
9/2016

Advertisement

Table of Contents
loading

Summary of Contents for HEIDENHAIN TNC 320

  • Page 1 TNC 320 User’s manual for cycle programming NC Software 771851-04 771855-04 English (en) 9/2016...
  • Page 3 Fundamentals...
  • Page 4 Would you like any changes, or have you found any errors? We are continuously striving to improve our documentation for you. Please help us by sending your requests to the following e-mail address: tnc-userdoc@heidenhain.de. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 5 TNC 320 User’s Manual. Please contact HEIDENHAIN if you require a copy of this User's Manual. ID of User's Manual for conversational programming: 1096950--xx. ID of User’s Manual for DIN/ISO programming: 1096983--xx. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 6 Fundamentals TNC model, software and features Software options The TNC 320 features various software options that can be enabled by your machine tool builder. Each option is to be enabled separately and contains the following respective functions: Additional Axis (option 0 and option 1)
  • Page 7 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 8 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 320. Even if new, optional parameters ("Optional parameters") have been added to existing cycles, you can normally continue running your programs as usual.
  • Page 9 "SINGLE-LIP DEEP-HOLE DRILLING (Cycle 241, DIN/ISO: G241)", page 87 The probing cycle 4 MEASURING IN 3-D was introduced see "MEASURING IN 3-D (Cycle 4)", page 423 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 10: The Character Set Of The Fixed Cycle 225 Engraving Was

    Q404, see "ROUGHING (Cycle 22, DIN/ISO: G122)", page 196 Cycle 484 was expanded by the optional parameter Q536, see "Calibrating the wireless TT 449 (Cycle 484, DIN/ISO: G484, DIN/ISO: G484)", page 451 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 11: New And Changed Cycle Functions Of Software 77185X

    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 186 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 12 Fundamentals New and changed cycle functions of software 77185x-04 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 13: Table Of Contents

    14 Touch Probe Cycles: Automatic Datum Setting................ 323 15 Touch Probe Cycles: Automatic Workpiece Inspection.............375 16 Touch Probe Cycles: Special Functions..................419 17 Touch Probe Cycles: Automatic Tool Measurement..............443 18 Tables of Cycles..........................459 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 14 Contents HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 15 Fundamentals / Overviews......................41 Introduction............................42 Available Cycle Groups.........................43 Overview of fixed cycles........................43 Overview of touch probe cycles......................44 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 16 Creating a point table..........................60 Hiding single points from the machining process.................. 61 Selecting a point table in the program....................61 Calling a cycle in connection with point tables..................62 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 17 Cycle run..............................77 Please note while programming:......................78 Cycle parameters............................ 79 UNIVERSAL PECKING (Cycle 205, DIN/ISO: G205)................81 Cycle run..............................81 Please note while programming:......................82 Cycle parameters............................ 83 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 18 Cycle run..............................87 Please note while programming:......................87 Cycle parameters............................ 88 3.11 Programming Examples........................90 Example: Drilling cycles.......................... 90 Example: Using drilling cycles in connection with PATTERN DEF............91 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 19 Cycle run............................... 110 Please note while programming:......................111 Cycle parameters..........................112 THREAD DRILLING/MILLING (Cycle 264, DIN/ISO: G264).............. 114 Cycle run............................... 114 Please note while programming:......................115 Cycle parameters..........................116 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 20 Cycle parameters..........................120 4.10 OUTSIDE THREAD MILLING (Cycle 267, DIN/ISO: G267)..............122 Cycle run............................... 122 Please note while programming:......................123 Cycle parameters..........................124 4.11 Programming Examples........................126 Example: Thread milling........................126 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 21 Cycle run............................... 155 Please note while programming:......................156 Cycle parameters..........................157 POLYGON STUD (Cycle 258, DIN/ISO: G258)................... 159 Cycle run............................... 159 Please note while programming:......................160 Cycle parameters..........................161 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 22 FACE MILLING (Cycle 233, DIN/ISO: G233)..................164 Cycle run............................... 164 Please note while programming:......................167 Cycle parameters..........................168 5.10 Programming Examples........................171 Example: Milling pockets, studs and slots................... 171 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 23 Cycle parameters..........................178 LINEAR PATTERN (Cycle 221, DIN/ISO: G221)................. 180 Cycle run............................... 180 Please note while programming:......................180 Cycle parameters..........................181 Programming Examples........................182 Example: Polar hole patterns........................ 182 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 24 Cycle run............................... 200 Please note while programming:......................200 Cycle parameters..........................201 SIDE FINISHING (Cycle 24, DIN/ISO: G124)..................202 Cycle run............................... 202 Please note while programming:......................203 Cycle parameters..........................204 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 25 Please note while programming:......................209 Cycle parameters..........................210 7.12 Programming Examples........................212 Example: Roughing-out and fine-roughing a pocket................212 Example: Pilot drilling, roughing-out and finishing overlapping contours..........214 Example: Contour train......................... 216 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 26 Cycle run............................... 228 Please note while programming:......................229 Cycle parameters..........................230 Programming Examples........................231 Example: Cylinder surface with Cycle 27..................... 231 Example: Cylinder surface with Cycle 28..................... 233 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 27 Example: Roughing and finishing superimposed contours with the contour formula......243 SL cycles with simple contour formula....................246 Fundamentals............................246 Entering a simple contour formula....................... 248 Contour machining with SL Cycles.......................248 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 28 10.6 ROTATION (Cycle 10, DIN/ISO: G73)....................260 Effect..............................260 Please note while programming:......................261 Cycle parameters..........................261 10.7 SCALING (Cycle 11, DIN/ISO: G72....................262 Effect..............................262 Cycle parameters..........................262 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 29 Positioning in a tilted coordinate system....................269 Combining coordinate transformation cycles..................269 Procedure for working with Cycle 19 WORKING PLANE..............270 10.10 Programming Examples........................271 Example: Coordinate transformation cycles..................271 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 30 Characters that cannot be printed......................285 Engraving system variables........................286 11.7 FACE MILLING (Cycle 232, DIN/ISO: G232)..................287 Cycle run............................... 287 Please note while programming:......................289 Cycle parameters..........................290 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 31 Touch trigger probe, rapid traverse for positioning: F_PREPOS in touch probe table......298 Executing touch probe cycles....................... 299 12.3 Touch probe table..........................300 General information..........................300 Editing touch probe tables........................300 touch probe data........................... 301 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 32 13.7 Compensating workpiece misalignment by rotating the C axis (Cycle 405, DIN/ISO: G405)..319 Cycle run............................... 319 Please note while programming:......................320 Cycle parameters..........................320 13.8 Example: Determining a basic rotation from two holes..............322 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 33 Please note while programming:......................347 Cycle parameters..........................348 14.8 DATUM FROM OUTSIDE OF CORNER (Cycle 414, DIN/ISO: G414)..........351 Cycle run............................... 351 Please note while programming:......................352 Cycle parameters..........................353 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 34 14.14Example: Datum setting in center of a circular segment and on top surface of workpiece..372 14.15Example: Datum setting on top surface of workpiece and in center of a bolt hole circle.... 373 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 35 Please note while programming:......................391 Cycle parameters..........................392 15.7 MEASURE RECTANGLE INSIDE (Cycle 423, DIN/ISO: G423)............395 Cycle run............................... 395 Please note while programming:......................395 Cycle parameters..........................396 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 36 Please note while programming:......................413 Cycle parameters..........................414 15.14Programming Examples........................416 Example: Measuring and reworking a rectangular stud............... 416 Example: Measuring a rectangular pocket and recording the results...........418 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 37 16.8 CALIBRATE TS LENGTH (Cycle 461, DIN/ISO: G461)..............436 16.9 CALIBRATE TS RADIUS INSIDE (Cycle 462, DIN/ISO: G462)............438 16.10 CALIBRATE TS RADIUS OUTSIDE (Cycle 463, DIN/ISO: G463)............440 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 38 Please note while programming:......................455 Cycle parameters..........................456 17.6 Measuring tool length and radius (Cycle 33 or 483, DIN/ISO: G483)..........457 Cycle run............................... 457 Please note while programming:......................457 Cycle parameters..........................458 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 39 18 Tables of Cycles..........................459 18.1 Overview.............................. 460 Fixed cycles............................460 Touch probe cycles..........................461 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 41: Fundamentals / Overviews

    Fundamentals / Overviews...
  • Page 42 If you want to delete a block that is part of a cycle, the TNC asks you whether you want to delete the whole cycle. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 43 Special cycles: dwell time, program call, oriented spindle stop, engraving, tolerance If required, switch to machine-specific fixed cycles. These fixed cycles can be integrated by your machine tool builder. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 44 Cycles for automatic tool measurement (enabled by the machine tool builder) If required, switch to machine-specific touch probe cycles. These touch probe cycles can be integrated by your machine tool builder. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 45: Using Fixed Cycles

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

    If you do want to program a DEF-active cycle between the definition and call of a CALL-active cycle, do it only if there is no common use of specific transfer parameters HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 47: Defining A Cycle Using Soft Keys

    Q206=150 ;FEED RATE FOR PLNGNG Q202=5 ;PLUNGING DEPTH Q210=0 ;DWELL TIME AT TOP Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q211=0.25 ;DWELL TIME AT DEPTH Q395=0 ;DEPTH REFERENCE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 48: Calling A Cycle

    PATTERN DEF pattern definition or in a points table. Further Information: "PATTERN DEF pattern definition", page 54 Further Information: "Point tables", page 60 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 49 To cancel the effect of M89, program: M99 in the positioning block in which you move to the last starting point, or Use CYCL DEF to define a new fixed cycle HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 50: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 51: Using Global Def Information

    F positioning: Feed rate at which the TNC traverses the tool within a cycle F retraction: Feed rate at which the TNC retracts the tool. The parameters are valid for all fixed cycles with numbers greater than 2xx. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 52: Global Data For Drilling Operations

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 53: 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 with numbers greater than 4xx. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 54: Pattern Def Pattern Definition

    Press the PATTERN DEF soft key Select the desired machining pattern, e.g. press the "single row" soft key Enter the required definitions, and confirm each entry with the ENT key HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 55: Using Pattern Def

    Enter the X coordinate POS2: X coord. of machining position (absolute or incremental): Enter Y coordinate POS2: X coord. of machining position (absolute or incremental): Enter Z coordinate HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 56: Defining A Single Row

    (e.g. X for tool axis Z). You can enter a positive or negative value Coordinate of workpiece surface (absolute): Enter Z coordinate at which machining is to begin HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 57: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 58: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 59: Defining A Full 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 60: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 61: Hiding Single Points From The Machining Process

    END key. If the point table is not stored in the same directory as the NC program, you must enter the complete path. Example NC block 7 SEL PATTERN "TNC:\DIRKT5\NUST35.PNT" HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 62: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 63: Fixed Cycles: Drilling

    Fixed Cycles: Drilling...
  • Page 64: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 65: Centering (Cycle 240, Din/Iso: G240)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 66: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 67: Drilling (Cycle 200)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 68: Cycle Parameters

    = Depth referenced to the cylindrical part of the Q211=0.1 ;DWELL TIME AT DEPTH tool Q395=0 ;DEPTH REFERENCE 12 L X+30 Y+20 FMAX M3 13 CYCL CALL 14 L X+80 Y+50 FMAX M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 69: Reaming (Cycle 201, Din/Iso: G201)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 70: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 71: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 72: Please Note While Programming

    Set the angle so that the tool tip is parallel to a coordinate axis. During retraction the TNC automatically takes an active rotation of the coordinate system into account. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 73: Cycle Parameters

    ;DISENGAGING DIRECTN retracting it. Input range -360.000 to 360.000 Q336=0 ;ANGLE OF SPINDLE 12 L X+30 Y+20 FMAX M3 13 CYCL CALL 14 L X+80 Y+50 FMAX M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 74: Universal Drilling (Cycle 203, Din/Iso: G203)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 75: Cycle Parameters

    ;DEPTH REFERENCE Q205 Minimum plunging depth? (incremental): If you have entered Q212 DECREMENT,the TNC limits the plunging depth to the value for Q205. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 76 T ANGLE column of the tool table TOOL.T. = Depth referenced to the tool tip = Depth referenced to the cylindrical part of the tool HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 77: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 78: Please Note While Programming

    Set the angle so that the tool tip is parallel to a coordinate axis. Select a disengaging direction in which the tool moves away from the edge of the hole. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 79: 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. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 80 Q336 Angle for spindle orientation? (absolute): Angle at which the TNC positions the tool before it is plunged into or retracted from the bore hole Input range -360.0000 to 360.0000 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 81: Universal Pecking (Cycle 205, Din/Iso: G205)

    If programmed, the tool moves to the 2nd set-up clearance at FMAX. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 82: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 83: Cycle Parameters

    Input range 0 to 99999.9999 Q256 Retract dist. for chip breaking? (incremental): Value by which the TNC retracts the tool during chip breaking. Input range 0.000 to 99999.999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 84 T ANGLE column of the tool table TOOL.T. = Depth referenced to the tool tip = Depth referenced to the cylindrical part of the tool HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 85: Bore Milling (Cycle 208)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 86: Cycle Parameters

    = Climb Q203=+100;SURFACE COORDINATE –1 = Up-cut (if you enter 0, climb milling is Q204=50 ;2ND SET-UP performed) CLEARANCE Q335=25 ;NOMINAL DIAMETER Q342=0 ;ROUGHING DIAMETER Q351=+1 ;CLIMB OR UP-CUT HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 87: Single-Lip Deep-Hole Drilling (Cycle 241, Din/Iso: G241) 3.10

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 88: Cycle Parameters

    ;MIN. PLUNGING DEPTH Q427 Spindle speed of entry/exit?: Rotational speed at which the tool is to rotate when moving into and retracting from the hole Input range 0 to 99999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 89 Input range 0 to 99999.9999 Q205 Minimum plunging depth? (incremental): If you have entered Q212 DECREMENT,the TNC limits the plunging depth to the value for Q205. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 90: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 91: Example: Using Drilling Cycles In Connection With Pattern Def

    Retract the tool, change the tool 9 TOOL CALL 2 Z S5000 Call the drilling tool (radius 2.4) 10 L Z+10 R0 F5000 Move tool to clearance height (enter a value for F) HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 92 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 93: Fixed Cycles: Tapping / Thread Milling

    Fixed Cycles: Tapping / Thread Milling...
  • Page 94: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 95: Tapping With A Floating Tap Holder (Cycle 206, Din/Iso: G206)

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 96: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 97: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 98: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 99: Cycle Parameters

    NC Stop key was pressed. When retracting the tool you can move it in the positive and negative tool axis directions. Please keep this in mind during retraction—danger of collision! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 100: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 101: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 102: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 103 NC Stop key was pressed. When retracting the tool you can move it in the positive and negative tool axis directions. Please keep this in mind during retraction—danger of collision! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 104: Fundamentals Of Thread Milling

    – –1(RR) Right-handed –1(RR) Z– Left-handed – +1(RL) Z– External Pitch Climb/ Work direction thread Up-cut Right-handed +1(RL) Z– Left-handed – –1(RR) Z– Right-handed –1(RR) Left-handed – +1(RL) HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 105 Positioning with MDI operating mode and move the tool on a linear path to the hole center. You can then retract the tool in the infeed axis and replace it. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 106: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 107: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 108: Cycle Parameters

    Input range 0 to 99999.9999 Q201=-20 ;DEPTH OF THREAD Q203 Workpiece surface coordinate? (absolute): Q355=0 ;THREADS PER STEP Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 109 For smaller thread diameters you can decrease Q512=0 ;FEED FOR APPROACH the approaching feed rate in order to reduce the danger of tool breakage. Input range 0 to 99999.999 alternatively FAUTO HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 110: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 111: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 112: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 113 ;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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 114: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 115: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 116: Cycle Parameters

    ;TOTAL HOLE DEPTH positioning when the TNC moves the tool again to Q253=750 ;F PRE-POSITIONING the current plunging depth after retraction from the hole Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 117 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 118: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 119: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 120: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 121 ;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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 122: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 123: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 124: Cycle Parameters

    Q239=+1.5 ;THREAD PITCH Coordinate in the spindle axis at which no collision Q201=-20 ;DEPTH OF THREAD between tool and workpiece (fixtures) can occur. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 125 Input range 0 to 99999.999 Q254=150 ;F COUNTERBORING alternatively FAUTO Q207=500 ;FEED RATE FOR MILLNG Q512=0 ;FEED FOR APPROACH HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 126: 4.11 Programming Examples

    ;DEPTH Q206=150 ;FEED RATE FOR PLNGNG Q202=5 ;PLUNGING DEPTH Q210=0 ;DWELL TIME AT TOP Q203=+0 ;SURFACE COORDINATE 0 must be entered here, effective as defined in point table HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 127 1 +40 +30 +0 2 +90 +10 +0 3 +80 +30 +0 4 +80 +65 +0 5 +90 +90 +0 6 +10 +90 +0 7 +20 +55 +0 [END] HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 129: Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling

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

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 131: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 132: Please Note While Programming

    If you call the cycle with machining operation 2 (only finishing), then the tool is positioned to the first plunging depth + set-up clearance at rapid traverse! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 133: 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 pocket Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 134 PREDEF: The TNC uses the value from the GLOBAL Q351=+1 ;CLIMB OR UP-CUT DEF block Q201=-20 ;DEPTH Q202=5 ;PLUNGING DEPTH Q369=0.1 ;ALLOWANCE FOR FLOOR Q206=150 ;FEED RATE FOR PLNGNG Q338=5 ;INFEED FOR FINISHING HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 135 9 L X+50 Y+50 R0 FMAX M3 M99 side finishing floor finishing; otherwise it refers to the tool path center 3: Feed rate always refers to the cutting edge HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 136: Circular Pocket (Cycle 252, Din/Iso: G252)

    Q200, then retracts at rapid traverse to the 2nd set-up clearance Q200 in the tool axis and returns at rapid traverse to the pocket center. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 137 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 138: Please Note While Programming

    If you call the cycle with machining operation 2 (only finishing), then the tool is positioned to the first plunging depth + set-up clearance at rapid traverse! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 139: Cycle Parameters

    Finishing allowance for the floor Input range 0 to 99999.9999 Q206 Feed rate for plunging?: Traversing speed of the tool in mm/min when plunging to depth. Input range 0 to 99999.999, alternatively FAUTO, FU, FZ HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 140 ;FINISHING FEED RATE to the tool path center Q439=3 ;FEED RATE REFERENCE 3: Feed rate always refers to the cutting edge 9 L X+50 Y+50 R0 FMAX M3 M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 141: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 142: Please Note While Programming

    If you call the cycle with machining operation 2 (only finishing), then the TNC positions the tool to the first plunging depth at rapid traverse! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 143: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 144 Q385 Finishing feed rate?: Traversing speed of the CLEARANCE tool in mm/min during side and floor finishing. Input Q366=1 ;PLUNGE range 0 to 99999.999, alternatively FAUTO, FU, FZ Q385=500 ;FINISHING FEED RATE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 145 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 146: Circular Slot (Cycle 254, Din/Iso: G254)

    The slot side is approached tangentially. 6 Then the TNC finishes the floor of the slot from the inside out. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 147: Please Note While Programming

    If you call the cycle with machining operation 2 (only finishing), then the TNC positions the tool to the first plunging depth at rapid traverse! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 148: Cycle Parameters

    Input range -360.000 to 360.000 Q377 Number of repetitions?: Total number of machining positions on the pitch circle. Input range 1 to 99999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 149 Q203 Workpiece surface coordinate? (absolute): Q378=0 ;STEPPING ANGLE Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 Q377=1 ;NR OF REPETITIONS Q207=500 ;FEED RATE FOR MILLNG Q351=+1 ;CLIMB OR UP-CUT HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 150 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 151: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 152: 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. The end position of the tool after the cycle differs from the starting position! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 153: Cycle Parameters

    4: Tool position = left corner top Q207 Feed rate for milling?: Traversing speed of the tool in mm/min during milling. Input range 0 to 99999.999 alternatively FAUTO, FU, FZ HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 154 Q437=0, then choose another approach Q204=50 ;2ND SET-UP position CLEARANCE Q370=1 ;TOOL PATH OVERLAP Q437=0 ;APPROACH POSITION 9 L X+50 Y+50 R0 FMAX M3 M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 155: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 156: Please Note While Programming

    Q376 in order to determine the exact starting position. If you use the default value -1 the TNC automatically calculates the most favorable starting position. These may vary HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 157: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 158 ;FEED RATE FOR PLNGNG Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q370=1 ;TOOL PATH OVERLAP Q376=0 ;STARTING ANGLE 9 L X+50 Y+50 R0 FMAX M3 M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 159: Polygon Stud (Cycle 258, Din/Iso: G258)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 160: 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. The end position of the tool after the cycle differs from the starting position! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 161: Cycle Parameters

    Input range 3 to 30 Q224 Angle of rotation?: Specify which angle is used to machine the first corner of the polygon. Input range: -360° to +360° HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 162 0 to 99999.9999; alternatively PREDEF Q385=500 ;FINISHING FEED RATE Q203 Workpiece surface coordinate? (absolute): 9 L X+50 Y+50 R0 FMAX M3 M99 Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 163 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 164: Face Milling (Cycle 233, Din/Iso: G233)

    1. 9 If more than one infeed is required, the TNC moves the tool in the tool axis to the next plunging depth at the positioning feed rate. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 165 10 At the end of the cycle, the tool is retracted at FMAX to the 2nd set-up clearance. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 166 For roughing the TNC includes the oversize of the side - for finishing the oversize helps to preposition the tool. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 167: Please Note While Programming

    This means that the tool moves at rapid traverse in the tool axis to set-up clearance below the workpiece surface! HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 168: Cycle Parameters

    STARTNG PNT 2ND AXIS. Input range -99999.9999 to 99999.9999 Q227 Starting point in 3rd axis? (absolute): Coordinate of the workpiece surface used to calculate the infeeds. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 169 ;ALLOWANCE FOR SIDE between tool tip and workpiece surface Input range Q338=0 ;INFEED FOR FINISHING 0 to 99999.9999; alternatively PREDEF 9 L X+0 Y+0 R0 FMAX M3 M99 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 170 Finishing allowance in the machining plane Input range 0 to 99999.9999 Q338 Infeed for finishing? (incremental): Infeed in the spindle axis per finishing cut Q338=0: Finishing in one infeed. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 171: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 172 Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q366=1 ;PLUNGE Q385=500 ;FINISHING FEED RATE Q439=0 ;FEED RATE REFERENCE 12 CYCL CALL FMAX M3 Call SLOT cycle HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 173 Programming Examples 5.10 13 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 14 END PGM C210 MM HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 175: Fixed Cycles: Pattern Definitions

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

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 177: Polar Pattern (Cycle 220, Din/Iso: G220)

    Cycle 220 will be effective. If you run this cycle in the Single Block mode of operation, the control stops between the individual points of a point pattern. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 178: Cycle Parameters

    Q241=8 ;NR OF REPETITIONS 0 to 99999.9999 Q200=2 ;SET-UP CLEARANCE Q203 Workpiece surface coordinate? (absolute): Q203=+30 ;SURFACE COORDINATE Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 179 0: Move in a straight line between machining operations 1: Move in a circular arc on the pitch circle diameter between machining operations HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 180: Linear Pattern (Cycle 221, Din/Iso: G221)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 181: Cycle Parameters

    ;SPACING IN 2ND AXIS operations Q242=6 ;NUMBER OF COLUMNS Q243=4 ;NUMBER OF LINES Q224=+15 ;ANGLE OF ROTATION Q200=2 ;SET-UP CLEARANCE Q203=+30 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q301=1 ;MOVE TO CLEARANCE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 182: Programming Examples

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 183 ;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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 185: Fixed Cycles: Contour Pocket

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

    Always program both axes in the first block of the subprogram 56 LBL 2 If you use Q parameters, then only perform the calculations and assignments within the affected contour subprograms. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 187: Overview

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 188: Contour (Cycle 14, Din/Iso: G37)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 189: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 190: Area Of Inclusion

    B must start inside of A. Surface A: 51 LBL 1 52 L X+10 Y+50 RR 53 CC X+35 Y+50 54 C X+10 Y+50 DR- 55 LBL 0 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 191: Area Of Intersection

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 192: Contour Data (Cycle 20, Din/Iso: G120)

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

    ;SURFACE COORDINATE You can check the machining parameters during a program Q6=2 ;SET-UP CLEARANCE interruption and overwrite them if required. Q7=+80 ;CLEARANCE HEIGHT Q8=0.5 ;ROUNDING RADIUS Q9=+1 ;ROTATIONAL DIRECTION HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 194: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 195: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 196: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 197: Please Note While Programming

    After the end of the cycle, do not position the tool in the plane incrementally, but rather to an absolute position if you have set the ConfigDatum > CfgGeoCycle > posAfterContPocket parameter to ToolAxClearanceHeight. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 198: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 199 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 200: Floor Finishing (Cycle 23, Din/Iso: G123)

    After the end of the cycle, do not position the tool in the plane incrementally, but rather to an absolute position if you have set the ConfigDatum > CfgGeoCycle > posAfterContPocket parameter to ToolAxClearanceHeight. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 201: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 202: Side Finishing (Cycle 24, Din/Iso: G124)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 203: Please Note While Programming

    After the end of the cycle, do not position the tool in the plane incrementally, but rather to an absolute position if you have set the ConfigDatum > CfgGeoCycle > posAfterContPocket parameter to ToolAxClearanceHeight. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 204: Cycle Parameters

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

    HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 206: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 207: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 208: Trochoidal Slot (Cycle 275, Din/Iso: G275)

    Starting from the defined starting point, the TNC approaches the slot wall tangentially. Climb or up-cut are taken into consideration. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 209: Please Note While Programming

    HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 210: Cycle Parameters

    Input range -99999.9999 to 99999.9999 Q202 Plunging depth? (incremental): Infeed per cut; enter a value greater than 0. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 211 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 212: Programming Examples

    ;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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 213 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 214: Example: Pilot Drilling, Roughing-Out And Finishing Overlapping Contours

    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 Q12=350 ;FEED RATE F. ROUGHNG HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 215 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 216: Example: Contour Train

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 217: Fixed Cycles: Cylindrical Surface

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

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 219: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 220: Please Note While Programming

    When you use local QL Q parameters in a contour subprogram you must also assign or calculate these in the contour subprogram. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 221: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 222: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 223: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 224: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 225: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 226: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 227: Cycle Parameters

    Q20 Ridge width?: Width of the ridge to be machined. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 228: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 229: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 230: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 231: Programming Examples

    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 20 L Y+20 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 232 Fixed Cycles: Cylindrical Surface Programming Examples 21 RND R7.5 22 L X+40 Y+20 23 LBL 0 24 END PGM C27 MM HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 233: Example: Cylinder Surface With Cycle 28

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 235: Fixed Cycles: Contour Pocket With Contour Formula

    Fixed Cycles: Contour Pocket with Contour Formula...
  • Page 236: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 237 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 238: Selecting A Program With Contour Definitions

    If you program separate depths for contours, then you must assign a depth to all subcontours (assign the depth 0 if necessary). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 239: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 240: Superimposed Contours

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 241 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 242: 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 187). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 243: Example: Roughing And Finishing Superimposed Contours With The Contour Formula

    ;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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 244 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 245 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 246: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 247 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 248: Entering A Simple Contour Formula

    Contour machining with SL Cycles The complete contour is machined with the SL Cycles 20 to 24 (see "Overview", page 187). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 249: Cycles: Coordinate Transformations

    Cycles: Coordinate Transformations...
  • Page 250: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 251: Datum Shift (Cycle 7, Din/Iso: G54)

    15 CYCL DEF 7.2 Y+40 valid—this can be a datum which has already been shifted. Input range: Up to six NC axes, each from 16 CYCL DEF 7.3 Z-5 –99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 252: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 253: Please Note While Programming

    77 CYCL DEF 7.0 DATUM SHIFT parameter, the TNC activates the datum number 78 CYCL DEF 7.1 #5 entered in the Q parameter. Input range 0 to 9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 254: Selecting A Datum Table In The Part Program

    SHOW .D soft keys Select the desired table or enter a new file name. Edit the file The functions displayed in the soft-key row for editing include: HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 255 Go to beginning of line Go to end of line Copy the current value Insert the copied value Add the entered number of lines (datums) to the end of the table HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 256: Configuring A Datum Table

    ENT key. Otherwise the change may not be included during program run. Status displays In the additional status display, the TNC shows the values of the active datum shift. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 257: Datum Setting (Cycle 247, Din/Iso: G247) 10.4

    Input range 0 to 65535 Status displays In the additional status display (STATUS POS.) the TNC shows the active preset number behind the Datum dialog. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 258: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 259: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 260: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 261: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 262: Scaling

    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 FACTOR 16 CYCL DEF 11.1 SCL 0.75 17 CALL LBL 1 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 263: 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 FACTOR) with reference to the active datum. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 264: Cycle Parameters

    -99999.9999 to 99999.9999 NC blocks 25 CALL LBL 1 26 CYCL DEF 26.0 AXIS-SPECIFIC SCALING 27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+20 28 CALL LBL 1 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 265: Working Plane (Cycle 19, Din/Iso: G80, Software Option 1) 10.9

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 266: Please Note While Programming

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 267: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 268: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 269: Positioning In A Tilted Coordinate System

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 270: Procedure For Working With Cycle 19 Working Plane

    Use the 3-D ROT soft key to set the TILT WORKING PLANE function to INACTIVE. Enter an angular value of 0° for each rotary axis in the menu. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 271: Programming Examples

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 272 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 273: Cycles: Special Functions

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

    The TNC provides the following cycles for the following special purposes: Soft key Cycle Page 9 DWELL TIME 12 Program call 13 Oriented spindle stop 32 TOLERANCE 225 ENGRAVING of texts 232 FACE MILLING HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 275: Dwell Time (Cycle 9, Din/Iso: G04) 11.2

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 276: Program Call (Cycle 12, Din/Iso: G39)

    As a rule, Q parameters are globally effective when called with Cycle 12. So please note that changes to Q parameters in the called program can also influence the calling program. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 277: Cycle Parameters

    \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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 278: Spindle Orientation (Cycle 13, Din/Iso: G36)

    Cycle 13 again in your NC program after one of the machining cycles mentioned above. Cycle parameters Angle of orientation: Enter the angle referenced to the reference axis of the working plane. Input range: 0.0000° to 360.0000° HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 279: Tolerance (Cycle 32, Din/Iso: G62) 11.5

    You will achieve optimal smoothing if in Cycle 32 you choose a tolerance value between 110-% and 200-% of the CAM chord error. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 280: Please Note While Programming

    (set by the machine tool builder). If Cycle 32 is active, the TNC shows the parameters defined for Cycle 32 on the CYC tab of the additional status display. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 281: Cycle Parameters

    Only the position of the rotary axis with respect to the workpiece surface will change. Input range 0 to 179.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 282: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 283: Cycle Parameters

    Input range Q367=+0 ;TEXT POSITION 0 to 99999.9999; alternatively PREDEF Q574=+0 ;TEXT LENGTH Q203 Workpiece surface coordinate? (absolute): Coordinate of the workpiece surface. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 284 0 = Bottom left 1 = Bottom left 2 = Bottom center 3 = Bottom right 4 = Top right 5 = Top center 6 = Top left HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 285: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 286: Engraving System Variables

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 287: Face Milling (Cycle 232, Din/Iso: G232) 11.7

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

    POINT 3RD AXIS are entered as equal values, the TNC does not run the cycle (depth = 0 has been programmed). Program Q227 greater than Q386. Otherwise, the TNC will display an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 290: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 291 ;FINISHING FEED RATE between tool and workpiece (fixtures) can occur. Input range 0 to 99999.9999; alternatively PREDEF Q253=2000;F PRE-POSITIONING Q200=2 ;SET-UP CLEARANCE Q357=2 ;CLEARANCE TO SIDE Q204=2 ;2ND SET-UP CLEARANCE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 293: Using Touch Probe Cycles

    Using Touch Probe Cycles...
  • Page 294: 12.1 General Information About Touch Probe Cycles

    Electronic Handwheel operating modes In the Manual operation and Electronic handwheel modes, the TNC provides touch probe cycles that allow you to: Calibrate the touch probe Compensating workpiece misalignment Setting datums HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 295: Touch Probe Cycles For Automatic Operation

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 296 Q384=+0 ;3RD CO. FOR TS AXIS Cycles for automatic workpiece Q333=+0 ;PRESET inspection Special cycles Calibrate TS Cycles for automatic tool measurement (enabled by the machine tool builder) HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 297: Before You Start Working With Touch Probe Cycles 12.2

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

    FMAX or at rapid traverse. Input value = FMAX_PROBE: Position at feed rate from FMAX Input value = FMAX_MACHINE: Pre-position at rapid traverse HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 299: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 300: Touch Probe Table

    Set the EDIT soft key to ON Using the arrow keys, select the desired setting. Perform desired changes. To leave the touch probe table, press the END soft key. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 301: Touch Probe Data

    In this way the stylus is always deflected in the same direction: ON: Perform spindle tracking OFF: Do not perform spindle tracking HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 303: Touch Probe Cycles: Automatic Measurement Of Workpiece Misalignment

    Touch Probe Cycles: Automatic Measurement of Workpiece Misalignment...
  • Page 304: Touch Probe Cycles: Automatic Measurement Of Workpiece Misalignment

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 305: Characteristics Common To All Touch Probe Cycles For Measuring Workpiece Misalignment

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 306: Basic Rotation (Cycle 400, Din/Iso: G400)

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. The TNC will reset an active basic rotation at the beginning of the cycle. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 307: Cycle Parameters

    Q305=0 ;NUMBER IN TABLE measuring points: 0: Move at measuring height between measuring points 1: Move at clearance height between measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 308 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 309: Basic Rotation Over Two Holes (Cycle 401, Din/Iso: G401) 13.3

    TNC will automatically use the following rotary axes: C for tool axis Z B for tool axis Y A for tool axis X HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 310: Cycle Parameters

    (Q402=1). In this case the misalignment is not saved as an angular value. Input range 0 to 99999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 311 1: Set the angle of the rotary axis to 0 in the table after alignment. The TNC sets the display to 0 only if you have defined Q402=1. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 312: Basic Rotation Over Two Studs (Cycle 402, Din/Iso: G402)

    TNC will automatically use the following rotary axes: C for tool axis Z B for tool axis Y A for tool axis X HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 313: Cycle Parameters

    Q402=0 ;COMPENSATION measuring points: 0: Move at measuring height between measuring Q337=0 ;SET TO ZERO points 1: Move at clearance height between measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 314 1: Set the angle of the rotary axis to 0 in the table after alignment. The TNC sets the display to 0 only if you have defined Q402=1. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 315: Basic Rotation Compensation Via Rotary Axis (Cycle 403, Din/Iso: G403)

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. The TNC stores the measured angle in parameter Q150. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 316: Cycle Parameters

    Q260 Clearance height? (absolute): coordinate in Q320=0 ;SET-UP CLEARANCE the touch probe axis at which no collision between Q260=+20 ;CLEARANCE HEIGHT tool and workpiece (fixtures) can occur. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 317 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 318: Set Basic Rotation (Cycle 404, Din/Iso: G404)

    = Copy the active preset to preset line 0, write the basic rotation to preset line 0 and activate preset 0 >1 = Save the basic rotation to the specified preset. The preset is not activated HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 319: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 320: Please Note While Programming

    Q247=90 ;STEPPING ANGLE distance between measuring point and ball tip. Q320 is added to SET_UP in the touch probe table. Q261=-5 ;MEASURING HEIGHT Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 321 Line number = value of Q337 . If a C-axis shift is registered in the datum table, the TNC adds the measured angular misalignment. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 322: 13.8 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 323: Touch Probe Cycles: Automatic Datum Setting

    Touch Probe Cycles: Automatic Datum Setting...
  • Page 324: 14.1 Fundamentals

    Setting the determined values directly as display values Entering the determined values in the preset table Entering the determined values in a datum table HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 325 419 DATUM IN ONE AXIS (2nd soft-key row) Measuring any position in any axis and defining it as datum HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 326: Characteristics Common To All Touch Probe Cycles For Datum Setting

    TNC saves the datum set in the display by the cycle in line 0 of the preset table. Q305 not equal to 0, Q303 = –1 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 327 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 328: Datum Slot Center (Cycle 408, Din/Iso: G408)

    5 If desired, the TNC subsequently measures the datum 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 329: Please Note While Programming

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 330: Cycle Parameters

    The reference system is the active workpiece coordinate system 1: Write the measured basic rotation into the preset table. The reference system is the machine coordinate system (REF system). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 331 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 332: Datum Ridge Center (Cycle 409, Din/Iso: G409)

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 333: Cycle Parameters

    TNC should also set the datum in the touch probe axis: 0: Do not set the datum in the touch probe axis 1: Set the datum in the touch probe axis HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 334 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 335: Datum 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 336: Please Note While Programming

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 337: Cycle Parameters

    Q332 New datum in minor axis? (absolute): Q333=+1 ;DATUM 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 338 -99999.9999 to 99999.9999 Q333 New datum in TS axis? (absolute): Coordinate at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 339: Datum From Outside Of Rectangle (Cycle 411, Din/Iso: G411) 14.5

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 340: Cycle Parameters

    Coordinate in the minor axis at which the TNC Q383=+50 ;2ND CO. FOR TS AXIS should set the stud center. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 341 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 342: Datum 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 343: Please Note While Programming

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 344: Cycle Parameters

    If Q303=0: If you enter Q305=0, the TNC Q423=4 ;NO. OF PROBE POINTS writes to line 0 of the datum table. Input range 0 to 99999 Q365=1 ;TYPE OF TRAVERSE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 345 Coordinate of the probe point in the touch probe axis, at which point the datum is to be set in the touch probe axis. Only effective if Q381 = 1. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 346 (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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 347: Datum From Outside Of Circle (Cycle 413, Din/Iso: G413) 14.7

    If you set a datum (Q303 = 0) with the touch probe cycle and also use probe in TS axis (Q381 = 1), then no coordinate transformation must be active. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 348: Cycle Parameters

    Q305=15 ;NUMBER IN TABLE 0: Move at measuring height between measuring Q331=+0 ;DATUM points Q332=+0 ;DATUM 1: Move at clearance height between measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 349 Only effective if Q381 = 1. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 350 (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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 351: Datum From Outside Of Corner (Cycle 414, Din/Iso: G414) 14.8

    4 If desired, the TNC subsequently measures the datum 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 352: Please Note While Programming

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 353: Cycle Parameters

    Q301=0 ;MOVE TO CLEARANCE 0: Move at measuring height between measuring Q304=0 ;BASIC ROTATION points Q305=7 ;NUMBER IN TABLE 1: Move at clearance height between measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 354 Only effective if Q381 = 1. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 355 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 356: Datum From Inside Of Corner (Cycle 415, Din/Iso: G415)

    4 If desired, the TNC subsequently measures the datum 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 357: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 358: Cycle Parameters

    If Q303=0: If you enter Q305=0, the TNC writes to line 0 of the datum table. Input range 0 to 99999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 359 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 360: Datum Circle Center (Cycle 416, Din/Iso: G416)

    TS axis (Q381 = 1), then no coordinate transformation must be active. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 361: Cycle Parameters

    Coordinate in the minor axis at which the TNC should set the bolt-hole circle center. Default setting Q383=+50 ;2ND CO. FOR TS AXIS = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 362 Q320 is added to SET_UP (touch probe table), and is only effective when the datum is probed in the touch probe axis. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 363: Datum In Touch Probe Axis (Cycle 417, Din/Iso: G417)

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. The TNC then sets the datum in this axis. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 364: Cycle Parameters

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

    Parameter number Meaning Q151 Actual value of intersection point in reference axis Q152 Actual value of intersection point in minor axis HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 366: Please Note While Programming

    TS axis (Q381 = 1), then no coordinate transformation must be active. Before a cycle definition you must have programmed a tool call to define the touch probe axis. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 367: Cycle Parameters

    Q331 New datum in reference axis? (absolute): Coordinate in the reference axis at which the TNC should set the intersection of the connecting lines. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 368 Q333 New datum in TS axis? (absolute): Coordinate in the touch probe axis at which the TNC should set the datum. Default setting = 0. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 369: Datum In One Axis (Cycle 419, Din/Iso: G419)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 370: Cycle Parameters

    If Q303=0: If you enter Q305=0, the TNC writes to line 0 of the datum table. Input range 0 to 99999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 371 The reference system is the active workpiece coordinate system 1: Write the measured datum into the preset table. The reference system is the machine coordinate system (REF system). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 372: Example: Datum Setting In Center Of A Circular Segment And On Top Surface Of Workpiece

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 373: Example: Datum Setting 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 ;DATUM Q332=+0 ;DATUM HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 374 Safety clearance in addition to SET_UP column 4 CYCL DEF 247 DATUM SETTING Activate new preset with Cycle 247 Q339=1 ;DATUM NUMBER 6 CALL PGM 35KLZ Call part program 7 END PGM CYC416 MM HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 375: Touch Probe Cycles: Automatic Workpiece Inspection

    Touch Probe Cycles: Automatic Workpiece Inspection...
  • Page 376: Fundamentals

    425 MEASURE INSIDE WIDTH (2nd soft-key level) Measuring slot width 426 MEASURE RIDGE WIDTH (2nd soft-key row) Measuring the width of a ridge HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 377: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 378 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 379: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 380: Tool Monitoring

    You can inquire whether re-working is necessary via parameter Q181 in the NC program (Q181=1: must be reworked). HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 381: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 382: Datum Plane (Cycle 0, Din/Iso: G55)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 383: Polar Datum Plane (Cycle 1) 15.3

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 384: Measure Angle (Cycle 420, Din/Iso: G420)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 385: Cycle Parameters

    Q320 is added to SET_UP (touch probe table), and Q267=-1 ;TRAVERSE DIRECTION is only effective when the datum is probed in the Q261=-5 ;MEASURING HEIGHT touch probe axis. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 386 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. Resume program run with NC Start. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 387: Measure Hole (Cycle 421, Din/Iso: G421) 15.5

    If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 388: Cycle Parameters

    Q260 Clearance height? (absolute): coordinate in Q261=-5 ;MEASURING HEIGHT the touch probe axis at which no collision between tool and workpiece (fixtures) can occur. Input range Q320=0 ;SET-UP CLEARANCE -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 389 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 390 If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 391: Measure Hole Outside (Cycle 422, Din/Iso: G422) 15.6

    If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 392: Cycle Parameters

    Input range 0 to Q279=0.05 ;TOLERANCE 1ST CENTER 99999.9999 Q278 Minimum limit of size for stud?: Minimum Q280=0.05 ;TOLERANCE 2ND CENTER permissible diameter for the stud. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 393 Q423 No. probe points in plane (4/3)?: Specify whether the TNC should measure the stud with 4 or 3 probing points: 4: Use 4 measuring points (default setting) 3: Use 3 measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 394 If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 395: Measure Rectangle Inside (Cycle 423, Din/Iso: G423) 15.7

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 396: Cycle Parameters

    Input range 0 to 99999.9999 Q280 Tolerance for center 2nd axis?: Permissible position deviation in the minor axis of the working plane. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 397 380). 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 398: Measure Rectangle Outside (Cycle 424, Din/Iso: G424)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 399: Cycle Parameters

    Q285=74.9 ;MIN. LIMIT 1ST SIDE Q286 Max. size limit 2nd side length?: Maximum Q286=35 ;MAX. LIMIT 2ND SIDE permissible width of the stud. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 400 >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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 401: Measure Inside Width (Cycle 425, Din/Iso: G425) 15.9

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 402: Cycle Parameters

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 403 0: Move at measuring height between measuring points 1: Move at clearance height between measuring points HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 404: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 405: Cycle Parameters

    1: Create a measuring log: The TNC saves the file TCHPR426.TXT as standard in the directory TNC:\. 2: Interrupt program run and output measuring log to the TNC screen. Resume program run with NC Start. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 406 >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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 407: Measure Coordinate (Cycle 427, Din/Iso: G427)

    If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 408: Cycle Parameters

    Q260=+20 ;CLEARANCE HEIGHT TNC:\. Q281=1 ;MEASURING LOG 2: Interrupt program run and output measuring log to the TNC screen. Resume program run with NC Q288=5.1 ;MAXIMUM LIMIT Start. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 409 If, for example, you import a program of the contouring control for turning and milling, TNC 640, you will not receive an error message. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 410: Measure Bolt Hole Circle (Cycle 430, Din/Iso: G430)

    Before a cycle definition you must have programmed a tool call to define the touch probe axis. Cycle 430 only monitors for tool breakage; there is no automatic tool compensation. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 411: Cycle Parameters

    ;TOLERANCE 2ND Q280 Tolerance for center 2nd axis?: Permissible CENTER position deviation in the minor axis of the working Q281=1 ;MEASURING LOG plane. Input range 0 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 412 >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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 413: Measure Plane (Cycle 431, Din/Iso: G431)

    Define the third measuring point in the direction of the positive Y axis to ensure that the position of the tool axis in a clockwise coordinate system is correct. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 414: Cycle Parameters

    Input range -99999.9999 to 99999.9999 Q295 2nd measuring point in 3rd axis? (absolute): Coordinate of the second touch point in the touch probe axis. Input range -99999.9999 to 99999.9999 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 415 1: Create a measuring log: The TNC saves the file TCHPR431.TXT as standard in the directory TNC:\. 2: Interrupt program run and output measuring log to the TNC screen. Resume program run with NC Start. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 416: 15.14 Programming Examples

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 417 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 418: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 419: Touch Probe Cycles: Special Functions

    Touch Probe Cycles: Special Functions...
  • Page 420: 16.1 Fundamentals

    3-D touch probe. The TNC provides a cycle for the following special purpose: Soft key Cycle Page 3 MEASURING Cycle for defining OEM cycles HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 421: Measure (Cycle 3) 16.2

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 422: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 423: Measuring In 3-D (Cycle 4) 16.3

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 424: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 425: Probing (Cycle 444)

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 426 Actual probing direction (as a vector in the input system). The value of the vector corresponds to the configured probing path HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 427: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 428 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 429: Please Note While Programming

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

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 431: Displaying Calibration Values 16.6

    Regardless of whether you want to use a touch probe cycle in automatic mode or Manual operation mode. For more information, see Chapter Touch probe table HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 432: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 433 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 434 If there is no reference to a calibration table (entry in DR2TABLE), then, in dependence of the tool number, a reference and the associated table will be created. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 435 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 436: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 437 Q434 Datum for length? (absolute): Datum for the length (e.g. height of the ring gauge). Input range -99999.9999 to 99999.9999 NC blocks 5 TCH PROBE 461 TS CALIBRATION OF TOOL LENGTH Q434=+5 ;PRESET HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 438: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 439 Input range 0 to 360.0000 NC blocks 5 TCH PROBE 462 CALIBRATION OF A TS IN A RING Q407=+5 ;RING RADIUS Q320=+0 ;SET-UP CLEARANCE Q423=+8 ;NO. OF PROBE POINTS Q380=+0 ;REFERENCE ANGLE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 440: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 441 Input range 0 to 360.0000 Q301=+1 ;MOVE TO CLEARANCE Q423=+8 ;NO. OF PROBE POINTS Q380=+0 ;REFERENCE ANGLE HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 443: Touch Probe Cycles: Automatic Tool Measurement

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

    The following types of tool measurement are provided: Tool measurement while the tool is at standstill Tool measurement while the tool is rotating Measurement of individual teeth HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 445: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 446: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 447 Measuring tolerance = r • measureTolerance1/ 5 mm, where Active tool radius in mm measureTolerance1: Maximum permissible error of measurement HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 448: Entries In The Tool Table Tool.t

    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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 449 10 mm, for because the south pole of radius as the offset so example the ball is to be measured) that the diameter is not measured in the radius) HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 450: Calibrate The Tt (Cycle 30 Or 480, Din/Iso: G480 Option 17)

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

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

    1: No stop before running the cycle. The TNC starts the calibration process from the current position. Before running Cycle 484, you must position the tool above the tool touch probe. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 453: Measuring Tool Length (Cycle 31 Or 481, Din/Iso: G481)

    You can run an individual tooth measurement of tools with up to 20 teeth. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 454: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 455: 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 CfgToolMeasurement. Refer to your machine manual. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 456: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 457: 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 CfgToolMeasurement. Refer to your machine manual. HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 458: 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 | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 459: Tables Of Cycles

    Tables of Cycles...
  • Page 460 Tapping with a floating tap holder, new ■ Rigid tapping, new ■ Bore milling ■ Tapping with chip breaking ■ Polar pattern ■ Cartesian pattern ■ Engraving ■ Face milling HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 461 Basic rotation over two studs ■ Compensate misalignment with rotary axis ■ Set basic rotation ■ Compensate misalignment with the C axis ■ Reference point at slot center (FCL 3 function) HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 462 Calibrate touch probe outside radius ■ Calibrate the TT ■ Measure/Inspect the tool length ■ Measure/Inspect the tool radius ■ Measure/Inspect the tool length and the tool radius ■ Calibrate TT HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 463 Cycle.......... 46 holder....... 97, 100 Calling........48 Thread drilling/milling....114 Define........47 Outside thread milling....122 Thread milling/countersinking... 110 Cycles and point tables....62 Tilting function Cylinder surface HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 464 Tool radius......455 Tool monitoring......380 Touch probe cycles For automatic mode....296 Touch probe data...... 301 Touch probe table..... 300 Universal drilling....74, 81 Workpiece Measurement..376 HEIDENHAIN | TNC 320 | User’s manual for cycle programming | 9/2016...
  • Page 465 DR. JOHANNES HEIDENHAIN GmbH Dr.-Johannes-Heidenhain-Straße 5 83301 Traunreut, Germany { +49 8669 31-0 | +49 8669 32-5061 E-mail: info@heidenhain.de Technical support | +49 8669 32-1000 Measuring systems { +49 8669 31-3104 E-mail: service.ms-support@heidenhain.de TNC support { +49 8669 31-3101 E-mail: service.nc-support@heidenhain.de...

This manual is also suitable for:

Tnc 320 programming station

Table of Contents