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...
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 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 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 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...
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...
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...
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...
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...
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...
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...
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...
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...
(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...
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...
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...
(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...
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...
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...
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...
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...
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...
= 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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 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...
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...
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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 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...
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...
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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
(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...
(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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
\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...
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...
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...
(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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
(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...
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...
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...
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...
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...
= 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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
;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...
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...
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...
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...
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...
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...
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...
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...
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...
(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...
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...
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...
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...
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...
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...
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...
(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...
(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...
(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...
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...
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...
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...
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...
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...
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...
(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...
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...
(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...
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...
(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 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...
Need help?
Do you have a question about the TNC 320 and is the answer not in the manual?
Questions and answers