User’s ManualHEIDENHAIN Conversational ProgrammingTNC 320NC Software340 551-01English (en)3/2006
10 2.1 Switch-On, Switch-Off ... 40Switch-on ... 40Switch-off ... 412.2 Moving the Machine Axes ... 42Note ... 42To traverse with the machi
100 5 Programming: Tools5.2 Tool DataEntering tool data in the tableYou can define and store up to 9999 tools and their tool data in a tool table. Als
HEIDENHAIN TNC 320 1015.2 Tool DataTYPE Tool type: Press the SELECT TYPE (3rd soft-key row); the TNC superimposes a window where you can select the ty
102 5 Programming: Tools5.2 Tool DataEditing tool tablesThe tool table that is active during execution of the part program is designated TOOL.T and mu
HEIDENHAIN TNC 320 1035.2 Tool DataLeaving the tool table8 Call the file manager and select a file of a different type, such as a part program.Move to
104 5 Programming: Tools5.2 Tool DataPocket table for tool changerFor automatic tool changing you need the pocket table TOOL_P.TCH. The TNC can manage
HEIDENHAIN TNC 320 1055.2 Tool DataEditing functions for pocket tables Soft keySelect beginning of tableSelect end of tableSelect previous page in tab
106 5 Programming: Tools5.2 Tool DataCalling tool dataA TOOL CALL block in the part program is defined with the following data:8 Select the tool call
HEIDENHAIN TNC 320 1075.2 Tool DataTool changeTool change positionThe tool change position must be approachable without collision. With the miscellane
108 5 Programming: Tools5.2 Tool DataAutomatic tool change if the tool life expires: M101The TNC automatically changes the tool if the tool life TIME2
HEIDENHAIN TNC 320 1095.3 Tool Compensation5.3 Tool CompensationIntroductionThe TNC adjusts the spindle path in the tool axis by the compensation valu
HEIDENHAIN TNC 320 113.1 Programming and Executing Simple Machining Operations ... 50Positioning with Manual Data Input (MDI) ... 50Protecting and
110 5 Programming: Tools5.3 Tool CompensationTool radius compensationThe NC block for programming a tool movement contains: RL or RR for radius compe
HEIDENHAIN TNC 320 1115.3 Tool CompensationTool movements with radius compensation: RR and RLThe tool center moves along the contour at a distance equ
112 5 Programming: Tools5.3 Tool CompensationRadius compensation: Machining corners Outside cornersIf you program radius compensation, the TNC moves
6Programming:Programming Contours
114 pV"hhamV9pV"hhamVpmp¤6.1 Tool Movements6.1 Tool MovementsPath functions§pczaF4F4pmp¤a¤¤"dd©4phzpF=pOF¦
¢¬ 1156.2 Fundamentals of Path Functions6.2 Fundamentals of Path FunctionsProgramming tool movements for workpiece machining p¤4F&qu
116 pV"hhamV9pV"hhamVpmp¤6.2 Fundamentals of Path FunctionsCircles and circular arcs^Fhp¦F§p"¨Fah¤d"mF
¢¬ 1176.2 Fundamentals of Path FunctionsRadius compensation^F"=a¤4phzFm"apmh¤*Fam^F*dp4cam§^a4^©p¤hp¦Fp
118 pV"hhamV9pV"hhamVpmp¤6.2 Fundamentals of Path FunctionsmF"ha4Fdd"mFp¤O¤m4apm|^FF:}:"m=Fha
¢¬ 1196.3 Contour Approach and Departure6.3 Contour Approach and DepartureOverview: Types of paths for contour approach and departure
12 4.1 Fundamentals ... 54Position encoders and reference marks ... 54Reference system ... 54Reference system on milling machines ... 55Polar
120 pV"hhamV9pV"hhamVpmp¤6.3 Contour Approach and Departure m=zpam^FzpaapmdaFp¤a=FpO^F4pmp¤"m=
¢¬ 1216.3 Contour Approach and DepartureApproaching on a straight line with tangential connection: APPR LT^Fppdhp¦Fpm"
122 pV"hhamV9pV"hhamVpmp¤6.3 Contour Approach and DepartureApproaching on a circular path with tangential connection: APPR CT
¢¬ 1236.3 Contour Approach and DepartureExample NC blocksDeparting on a straight line with tangential connection: DEP LT^Fppdhp¦F
124 pV"hhamV9pV"hhamVpmp¤6.3 Contour Approach and DepartureDeparture on a circular path with tangential connection: DEP CT^F
¢¬ 1256.4 Path Contours—Cartesian Coordinates6.4 Path Contours—Cartesian CoordinatesOverview of path functionsStraight Line L^Fh
126 pV"hhamV9pV"hhamVpmp¤6.4 Path Contours—Cartesian CoordinatesExample NC blocksActual position capture p¤4"m"dp
¢¬ 1276.4 Path Contours—Cartesian CoordinatesCorner Rounding RND^FO¤m4apma¤F=Opp¤m=amVpOO4pmF^Fppdhp¦Fpm&q
128 pV"hhamV9pV"hhamVpmp¤6.4 Path Contours—Cartesian CoordinatesCircle center CC p¤4"m=FOamF"4a4dF4FmFOp
¢¬ 1296.4 Path Contours—Cartesian CoordinatesCircular path C around circle center CCFOpFzpV"hhamV"4a4¤d"z&quo
HEIDENHAIN TNC 320 134.5 Interactive Programming Graphics ... 85Generating / Not generating graphics during programming: ... 85Generating a graphi
130 pV"hhamV9pV"hhamVpmp¤6.4 Path Contours—Cartesian CoordinatesCentral angle CCA and arc radius R^F"amV"m=F
¢¬ 1316.4 Path Contours—Cartesian CoordinatesCircular Path CT with Tangential Connection^Fppdhp¦Fpm"m"4^"
132 pV"hhamV9pV"hhamVpmp¤6.4 Path Contours—Cartesian CoordinatesExample: Linear movements and chamfers with Cartesian coordina
¢¬ 1336.4 Path Contours—Cartesian CoordinatesExample: Circular movements with Cartesian coordinates0 BEGIN PGM CIRCULAR MM1 BLK FORM 0
134 pV"hhamV9pV"hhamVpmp¤6.4 Path Contours—Cartesian Coordinates16LX+5p¦Fpd"4pmp¤zpams17 DEP LCT X-20 Y-20 R5
¢¬ 1356.4 Path Contours—Cartesian CoordinatesExample: Full circle with Cartesian coordinates0 BEGIN PGM C-CC MM1 BLK FORM 0.1 Z X+0 Y+
136 pV"hhamV9pV"hhamVpmp¤6.5 Path Contours—Polar Coordinates6.5 Path Contours—Polar CoordinatesOverviewa^zpd"4pp=am
¢¬ 1376.5 Path Contours—Polar CoordinatesStraight line LP^Fppdhp¦Fam""aV^damFOpha4¤Fmzpaapmp^F
138 pV"hhamV9pV"hhamVpmp¤6.5 Path Contours—Polar CoordinatesCircular Path CTP with Tangential Connection^Fppdhp¦Fpm&quo
¢¬ 1396.5 Path Contours—Polar CoordinatesShape of the helix^F"*dF*Fdp§add¤"Fam§^a4^§"©^F^"zFpO
14 5.1 Entering Tool-Related Data ... 96Feed rate F ... 96Spindle speed S ... 975.2 Tool Data ... 98Requirements for tool compensation ...
140 pV"hhamV9pV"hhamVpmp¤6.5 Path Contours—Polar CoordinatesExample: Linear movement with polar coordinates0 BEGIN PGM LINEARP
¢¬ 1416.5 Path Contours—Polar Coordinatesp4¤"^F"=§a^hpF^"msF¦pd¤apmExample: Helix0 BEGIN PGM HELIX M
142 pV"hhamV9pV"hhamVpmp¤6.5 Path Contours—Polar Coordinates12 CALL LBL 1 REP 24pV"h^Fm¤h*FpOFzF"|^F&
¢¬ 1436.6 Path Contours—FK Free Contour Programming6.6 Path Contours—FK Free Contour ProgrammingFundamentalspczaF4F="§amV^
144 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingGraphics during FK programmingm4phzdFF4pp=am"F
¢¬ 1456.6 Path Contours—FK Free Contour ProgrammingInitiating the FK dialogO©p¤zF^FV"©*¤pm:^F=azd"©
146 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingFree programming of straight linesStraight line without
¢¬ 1476.6 Path Contours—FK Free Contour ProgrammingInput possibilitiesEnd point coordinatesExample NC blocksDirection and length of co
148 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingCircle center CC, radius and direction of rotation in th
¢¬ 1496.6 Path Contours—FK Free Contour ProgrammingClosed contours p¤4"ma=FmaO©^F*FVammamV"m=Fm=pO"4dpF=4p
HEIDENHAIN TNC 320 156.1 Tool Movements ... 114Path functions ... 114FK Free Contour Programming ... 114Miscellaneous functions M ... 114Subpr
150 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingAuxiliary points p¤4"mFmF^F4pp=am"F
¢¬ 1516.6 Path Contours—FK Free Contour ProgrammingRelative data""§^pF¦"d¤F"F*"F=pm"mp^F4
152 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingData relative to block N: Direction and distance of the
¢¬ 1536.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 10 BEGIN PGM FK1 MM1 BLK FORM 0.1 Z X+0 Y+0 Z-20FOamF^F
154 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 20 BEGIN PGM FK2 MM1 BLK FORM 0.
¢¬ 1556.6 Path Contours—FK Free Contour Programming9 APPR LCT X+0 Y+30 R5 RR F350zzp"4^^F4pmp¤pm"4a4¤d"&qu
156 pV"hhamV9pV"hhamVpmp¤6.6 Path Contours—FK Free Contour ProgrammingExample: FK programming 30 BEGIN PGM FK3 MM1 BLK FORM 0.
¢¬ 1576.6 Path Contours—FK Free Contour Programming8 APPR CT X-40 Y+0 CCA90 R+5 RL F250zzp"4^^F4pmp¤pm"4a4¤d"
7Programming: Miscellaneous Functions
16 6.6 Path Contours—FK Free Contour Programming ... 143Fundamentals ... 143Graphics during FK programming ... 144Initiating the FK dialog ...
160 7 Programming: Miscellaneous Functions7.1 Entering Miscellaneous Functions M and STOP7.1 Entering Miscellaneous Functions M and STOPFundamentalsWi
HEIDENHAIN TNC 320 1617.1 Entering Miscellaneous Functions M and STOPEntering an M function in a STOP blockIf you program a STOP block, the program ru
162 7 Programming: Miscellaneous Functions7.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant7.2 Miscellaneous Functions for Prog
HEIDENHAIN TNC 320 1637.3 Programming machine-referenced coordinates: M91/M927.3 Programming machine-referenced coordinates: M91/M92Programming machin
164 7 Programming: Miscellaneous Functions7.3 Programming machine-referenced coordinates: M91/M92Behavior with M92—Additional machine datumIf you want
HEIDENHAIN TNC 320 1657.4 Miscellaneous Functions for Contouring Behavior7.4 Miscellaneous Functions for Contouring BehaviorMachining small contour st
166 7 Programming: Miscellaneous Functions7.4 Miscellaneous Functions for Contouring BehaviorExample NC blocks5 TOOL DEF L ... R+20Large tool radius..
HEIDENHAIN TNC 320 1677.4 Miscellaneous Functions for Contouring BehaviorMachining open contours: M98Standard behaviorThe TNC calculates the intersect
168 7 Programming: Miscellaneous Functions7.4 Miscellaneous Functions for Contouring BehaviorCalculating the radius-compensated path in advance (LOOK
HEIDENHAIN TNC 320 1697.4 Miscellaneous Functions for Contouring BehaviorSuperimposing handwheel positioning during program run: M118Standard behavior
HEIDENHAIN TNC 320 177.1 Entering Miscellaneous Functions M and STOP ... 160Fundamentals ... 1607.2 Miscellaneous Functions for Program Run Contro
170 7 Programming: Miscellaneous Functions7.4 Miscellaneous Functions for Contouring BehaviorInputIf you enter M140 in a positioning block, the TNC co
HEIDENHAIN TNC 320 1717.4 Miscellaneous Functions for Contouring BehaviorDelete basic rotation: M143Standard behaviorThe basic rotation remains in eff
172 7 Programming: Miscellaneous Functions7.5 Miscellaneous Functions for Rotary Axes7.5 Miscellaneous Functions for Rotary AxesFeed rate in mm/min on
HEIDENHAIN TNC 320 1737.5 Miscellaneous Functions for Rotary AxesShorter-path traverse of rotary axes: M126Standard behaviorThe standard behavior of t
174 7 Programming: Miscellaneous Functions7.5 Miscellaneous Functions for Rotary AxesReducing display of a rotary axis to a value less than 360°: M94S
8Programming: Cycles
176 8 Programming: Cycles8.1 Working with Cycles8.1 Working with CyclesFrequently recurring machining cycles that comprise several working steps are s
HEIDENHAIN TNC 320 1778.1 Working with CyclesDefining a cycle using soft keys8 The soft-key row shows the available groups of cycles.8 Press the soft
178 8 Programming: Cycles8.1 Working with CyclesGroup of cycles Soft keyCycles for pecking, reaming, boring, counterboring, tapping and thread milling
HEIDENHAIN TNC 320 1798.1 Working with CyclesCalling cyclesThe following cycles become effective automatically as soon as they are defined in the part
18 8.1 Working with Cycles ... 176Machine-specific cycles ... 176Defining a cycle using soft keys ... 177Defining a cycle using the GOTO functi
180 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8.2 Cycles for Drilling, Tapping and Thread MillingOverviewCycle Soft key
HEIDENHAIN TNC 320 1818.2 Cycles for Drilling, Tapping and Thread Milling 264 THREAD DRILLING/MLLNGCycle for drilling into the solid material with sub
182 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingDRILLING (Cycle 200)1 The TNC positions the tool in the tool axis at rapid
HEIDENHAIN TNC 320 1838.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
184 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingREAMING (Cycle 201)1 The TNC positions the tool in the tool axis at rapid
HEIDENHAIN TNC 320 1858.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
186 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingBORING (Cycle 202)1 The TNC positions the tool in the tool axis at rapid t
HEIDENHAIN TNC 320 1878.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
188 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingUNIVERSAL DRILLING (Cycle 203)1 The TNC positions the tool in the tool axi
HEIDENHAIN TNC 320 1898.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
HEIDENHAIN TNC 320 198.5 SL Cycles ... 254Fundamentals ... 254Overview of SL Cycles ... 256CONTOUR (Cycle 14) ... 256Overlapping contours ...
190 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingBACK BORING (Cycle 204)This cycle allows holes to be bored from the unders
HEIDENHAIN TNC 320 1918.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
192 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingUNIVERSAL PECKING (Cycle 205)1 The TNC positions the tool in the tool axis
HEIDENHAIN TNC 320 1938.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and wo
194 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Infeed depth for chip breaking Q257 (incremental value): Depth at which
HEIDENHAIN TNC 320 1958.2 Cycles for Drilling, Tapping and Thread MillingBORE MILLING (Cycle 208)1 The TNC positions the tool in the tool axis at rapi
196 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool lower e
HEIDENHAIN TNC 320 1978.2 Cycles for Drilling, Tapping and Thread MillingTAPPING NEW with floating tap holder (Cycle 206)1 The TNC positions the tool
198 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip (at
HEIDENHAIN TNC 320 1998.2 Cycles for Drilling, Tapping and Thread MillingRIGID TAPPING without a floating tap holder NEW (Cycle 207)The TNC cuts the t
Controls on the visual display unitzda4FFmd"©p¤§a4^*F§FFmh"4^amamVpzpV"hhamVhp=FpOcF©OpFdF4amVO¤m4apm
20 9.1 Labeling Subprograms and Program Section Repeats ... 298Labels ... 2989.2 Subprograms ... 299Operating sequence ... 299Programming not
200 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip (at
HEIDENHAIN TNC 320 2018.2 Cycles for Drilling, Tapping and Thread MillingTAPPING WITH CHIP BREAKING (Cycle 209)The tool machines the thread in several
202 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip (at
HEIDENHAIN TNC 320 2038.2 Cycles for Drilling, Tapping and Thread MillingFundamentals of thread millingPrerequisites Your machine tool should feature
204 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingDanger of collision!Always program the same algebraic sign for the infeeds
HEIDENHAIN TNC 320 2058.2 Cycles for Drilling, Tapping and Thread MillingTHREAD MILLING (Cycle 262)1 The TNC positions the tool in the tool axis at ra
206 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Nominal diameter Q335: Nominal thread diameter.8 Thread pitch Q239: Pitc
HEIDENHAIN TNC 320 2078.2 Cycles for Drilling, Tapping and Thread MillingTHREAD MILLING/COUNTERSINKING (Cycle 263)1 The TNC positions the tool in the
208 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling11 At the end of the cycle, the TNC retracts the tool at rapid traverse to
HEIDENHAIN TNC 320 2098.2 Cycles for Drilling, Tapping and Thread Milling8 Nominal diameter Q335: Nominal thread diameter.8 Thread pitch Q239: Pitch o
HEIDENHAIN TNC 320 2110.1 Principle and Overview ... 314Programming notes ... 315Calling Q parameter functions ... 31510.2 Part Families—Q Param
210 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Workpiece surface coordinate Q203 (absolute value): Coordinate of the wo
HEIDENHAIN TNC 320 2118.2 Cycles for Drilling, Tapping and Thread MillingTHREAD DRILLING/MILLING (Cycle 264)1 The TNC positions the tool in the tool a
212 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingUse the machine parameter suppressDepthErr to define whether, if a positiv
HEIDENHAIN TNC 320 2138.2 Cycles for Drilling, Tapping and Thread Milling8 Nominal diameter Q335: Nominal thread diameter.8 Thread pitch Q239: Pitch o
214 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and
HEIDENHAIN TNC 320 2158.2 Cycles for Drilling, Tapping and Thread MillingHELICAL THREAD DRILLING/MILLING (Cycle 265)1 The TNC positions the tool in th
216 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread MillingUse the machine parameter suppressDepthErr to define whether, if a positiv
HEIDENHAIN TNC 320 2178.2 Cycles for Drilling, Tapping and Thread Milling8 Nominal diameter Q335: Nominal thread diameter.8 Thread pitch Q239: Pitch o
218 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Workpiece surface coordinate Q203 (absolute value): Coordinate of the wo
HEIDENHAIN TNC 320 2198.2 Cycles for Drilling, Tapping and Thread MillingOUTSIDE THREAD MILLING (Cycle 267)1 The TNC positions the tool in the tool ax
22 10.9 Accessing Tables with SQL Commands ... 345Introduction ... 345A Transaction ... 346Programming SQL commands ... 348Overview of the so
220 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling11 At the end of the cycle, the TNC retracts the tool at rapid traverse to
HEIDENHAIN TNC 320 2218.2 Cycles for Drilling, Tapping and Thread Milling8 Nominal diameter Q335: Nominal thread diameter.8 Thread pitch Q239: Pitch o
222 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and
HEIDENHAIN TNC 320 2238.2 Cycles for Drilling, Tapping and Thread MillingExample: Drilling cycles0 BEGIN PGM C200 MM1 BLK FORM 0.1 Z X+0 Y+0 Z-20Defin
224 8 Programming: Cycles8.2 Cycles for Drilling, Tapping and Thread Milling7 L X+10 Y+10 R0 FMAX M3Approach hole 1, spindle ON8 CYCL CALLCall the cyc
HEIDENHAIN TNC 320 2258.3 Cycles for Milling Pockets, Studs and Slots8.3 Cycles for Milling Pockets, Studs and SlotsOverviewCycle Soft key4 POCKET MIL
226 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsPOCKET MILLING (Cycle 4)Cycles 1, 2, 3, 4, 5, 17, 18 are in a group of cycles
HEIDENHAIN TNC 320 2278.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance 1 (incremental value): Distance between tool tip (at starting
228 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsPOCKET FINISHING (Cycle 212)1 The TNC M automatically moves the tool in the to
HEIDENHAIN TNC 320 2298.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and workpi
HEIDENHAIN TNC 320 2311.1 Graphics ... 376Function ... 376Overview of display modes ... 377Plan view ... 377Projection in 3 planes ... 3783-
230 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsSTUD FINISHING (Cycle 213)1 The TNC moves the tool in the tool axis to the set
HEIDENHAIN TNC 320 2318.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and workpi
232 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsCIRCULAR POCKET (Cycle 5)Cycles 1, 2, 3, 4, 5, 17, 18 are in a group of cycles
HEIDENHAIN TNC 320 2338.3 Cycles for Milling Pockets, Studs and Slots8 Feed rate for plunging: Traversing speed of the tool during penetration8 Circul
234 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsCIRCULAR POCKET FINISHING (Cycle 214)1 The TNC M automatically moves the tool
HEIDENHAIN TNC 320 2358.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and workpi
236 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsCIRCULAR STUD FINISHING (Cycle 215)1 The TNC automatically moves the tool in t
HEIDENHAIN TNC 320 2378.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and workpi
238 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsSLOT (oblong hole) with reciprocating plunge-cut (Cycle 210)Roughing1 At rapid
HEIDENHAIN TNC 320 2398.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and workpi
24 12.1 MOD Functions ... 396Selecting the MOD functions ... 396Changing the settings ... 396Exiting the MOD functions ... 396Overview of MOD
240 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and Slots8 Angle of rotation Q224 (absolute value): Angle by which the entire slot is r
HEIDENHAIN TNC 320 2418.3 Cycles for Milling Pockets, Studs and SlotsCIRCULAR SLOT (oblong hole) with reciprocating plunge-cut (Cycle 211)Roughing1 At
242 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and Slots8 Set-up clearance Q200 (incremental value): Distance between tool tip and wor
HEIDENHAIN TNC 320 2438.3 Cycles for Milling Pockets, Studs and Slots8 Angular length Q248 (incremental value): Enter the angular length of the slot.8
244 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsExample: Milling pockets, studs and slots0 BEGIN PGM C210 MM1 BLK FORM 0.1 Z X
HEIDENHAIN TNC 320 2458.3 Cycles for Milling Pockets, Studs and Slots7 CYCL DEF 213 STUD FINISHINGDefine cycle for machining the contour outsideQ200=2
246 8 Programming: Cycles8.3 Cycles for Milling Pockets, Studs and SlotsQ338=5 ;INFEED FOR FINISHINGQ206=150 ;FEED RATE FOR PLUNGING19 CYCL CALL M3Cal
HEIDENHAIN TNC 320 2478.4 Cycles for Machining Point Patterns8.4 Cycles for Machining Point PatternsOverviewThe TNC provides two cycles for machining
248 8 Programming: Cycles8.4 Cycles for Machining Point PatternsCIRCULAR PATTERN (Cycle 220)1 At rapid traverse, the TNC moves the tool from its curre
HEIDENHAIN TNC 320 2498.4 Cycles for Machining Point Patterns8 Stepping angle Q247 (incremental value): Angle between two machining operations on a pi
HEIDENHAIN TNC 320 2513.1 Introduction ... 416Overview ... 416Selecting probe cycles ... 41613.2 Calibrating a Touch Trigger Probe ... 417Intr
250 8 Programming: Cycles8.4 Cycles for Machining Point PatternsLINEAR PATTERN (Cycle 221)1 The TNC automatically moves the tool from its current posi
HEIDENHAIN TNC 320 2518.4 Cycles for Machining Point Patterns8 Starting point 1st axis Q225 (absolute value): Coordinate of the starting point in the
252 8 Programming: Cycles8.4 Cycles for Machining Point PatternsExample: Circular hole patterns0 BEGIN PGM PATTERN MM1 BLK FORM 0.1 Z X+0 Y+0 Z-40Defi
HEIDENHAIN TNC 320 2538.4 Cycles for Machining Point Patterns7 CYCL DEF 220 POLAR PATTERNDefine cycle for circular pattern 1, CYCL 200 is called autom
254 8 Programming: Cycles8.5 SL Cycles8.5 SL CyclesFundamentalsSL Cycles enable you to form complex contours by combining up to 12 subcontours (pocket
HEIDENHAIN TNC 320 2558.5 SL CyclesCharacteristics of the fixed cycles The TNC automatically positions the tool to the set-up clearance before a cycl
256 8 Programming: Cycles8.5 SL CyclesOverview of SL CyclesCONTOUR (Cycle 14)All subprograms that are superimposed to define the contour are listed in
HEIDENHAIN TNC 320 2578.5 SL CyclesOverlapping contoursPockets and islands can be overlapped to form a new contour. You can thus enlarge the area of a
258 8 Programming: Cycles8.5 SL CyclesArea of inclusionBoth surfaces A and B are to be machined, including the overlapping area: The surfaces A and B
HEIDENHAIN TNC 320 2598.5 SL CyclesArea of intersectionOnly the area where A and B overlap is to be machined. (The areas covered by A or B alone are t
26 14.1 Pin Layout and Connecting Cable for the Data Interfaces ... 436RS-232-C/V.24 interface for HEIDENHAIN devices ... 436Non-HEIDENHAIN devic
260 8 Programming: Cycles8.5 SL CyclesCONTOUR DATA (Cycle 20) Machining data for the subprograms describing the subcontours are entered in Cycle 20.8
HEIDENHAIN TNC 320 2618.5 SL CyclesPILOT DRILLING (Cycle 21)Process1 The tool drills from the current position to the first plunging depth at the prog
262 8 Programming: Cycles8.5 SL CyclesROUGH-OUT (Cycle 22)1 The TNC positions the tool over the cutter infeed point, taking the allowance for side int
HEIDENHAIN TNC 320 2638.5 SL Cycles8 Coarse roughing tool number Q18: Number of the tool with which the TNC has already coarse-roughed the contour. If
264 8 Programming: Cycles8.5 SL CyclesSIDE FINISHING (Cycle 24)The subcontours are approached and departed on a tangential arc. Each subcontour is fin
HEIDENHAIN TNC 320 2658.5 SL CyclesExample: Pilot drilling, roughing-out and finishing overlapping contours0 BEGIN PGM C21 MM1 BLK FORM 0.1 Z X+0 Y+0
266 8 Programming: Cycles8.5 SL Cycles10 CYCL DEF 21.0 PILOT DRILLINGCycle definition: Pilot drillingQ10=5 ;PLUNGING DEPTHQ11=250 ;FEED RATE FOR PLUNG
HEIDENHAIN TNC 320 2678.5 SL Cycles21 LBL 1Contour subprogram 1: left pocket22 CC X+35 Y+5023LX+10Y+50RR24CX+10DR-25 LBL 026 LBL 2Contour subprogram 2
268 8 Programming: Cycles8.6 Cycles for Multipass Milling8.6 Cycles for Multipass MillingOverviewThe TNC offers four cycles for machining surfaces wi
HEIDENHAIN TNC 320 2698.6 Cycles for Multipass Milling8 Starting point in 1st axis Q225 (absolute value): Minimum point coordinate of the surface to b
1Introduction
270 8 Programming: Cycles8.6 Cycles for Multipass MillingRULED SURFACE (Cycle 231)1 From the current position, the TNC positions the tool in a linear
HEIDENHAIN TNC 320 2718.6 Cycles for Multipass Milling8 Starting point in 1st axis Q225 (absolute value): Starting point coordinate of the surface to
272 8 Programming: Cycles8.6 Cycles for Multipass Milling8 4th point in 1st axis Q234 (absolute value): Coordinate of point 4 in the reference axis of
HEIDENHAIN TNC 320 2738.6 Cycles for Multipass MillingFACE MILLING (Cycle 232)Cycle 232 is used to face mill a level surface in multiple infeeds while
274 8 Programming: Cycles8.6 Cycles for Multipass MillingStrategy Q389=13 The tool then advances to the stopping point 2 at the feed rate for milling.
HEIDENHAIN TNC 320 2758.6 Cycles for Multipass MillingStrategy Q389=23 The tool then advances to the stopping point 2 at the feed rate for milling. Th
276 8 Programming: Cycles8.6 Cycles for Multipass Milling8 Machining strategy (0/1/2) Q389: Specify how the TNC is to machine the surface:0: Meander m
HEIDENHAIN TNC 320 2778.6 Cycles for Multipass Milling8 Maximum plunging depth Q202 (incremental value): Maximum amount that the tool is advanced each
278 8 Programming: Cycles8.6 Cycles for Multipass Milling8 Set-up clearance Q200 (incremental value): Distance between tool tip and the starting posit
HEIDENHAIN TNC 320 2798.6 Cycles for Multipass MillingExample: Multipass milling0 BEGIN PGM C230 MM1 BLK FORM 0.1 Z X+0 Y+0 Z+0Define the workpiece bl
28 1 Introduction1.1 The TNC 3201.1 The TNC 320HEIDENHAIN TNC controls are workshop-oriented contouring controls that enable you to program convention
280 8 Programming: Cycles8.6 Cycles for Multipass Milling7 L X+-25 Y+0 R0 FMAX M3Pre-position near the starting point8 CYCL CALLCall the cycle9LZ+250R
HEIDENHAIN TNC 320 2818.7 Coordinate Transformation Cycles8.7 Coordinate Transformation CyclesOverviewOnce a contour has been programmed, you can posi
282 8 Programming: Cycles8.7 Coordinate Transformation CyclesDATUM SHIFT (Cycle 7)A DATUM SHIFT allows machining operations to be repeated at various
HEIDENHAIN TNC 320 2838.7 Coordinate Transformation CyclesDATUM SHIFT with datum tables (Cycle 7)FunctionDatum tables are used for frequently recurri
284 8 Programming: Cycles8.7 Coordinate Transformation CyclesEdit the datum table in the Programming and Editing mode of operation.Select the datum ta
HEIDENHAIN TNC 320 2858.7 Coordinate Transformation CyclesConfiguring the datum tableIf you do not wish to define a datum table for an active axis, pr
286 8 Programming: Cycles8.7 Coordinate Transformation CyclesMIRROR IMAGE (Cycle 8)The TNC can machine the mirror image of a contour in the working pl
HEIDENHAIN TNC 320 2878.7 Coordinate Transformation Cycles8 Mirrored axis?: Enter the axis to be mirrored. You can mirror all axes, including rotary a
288 8 Programming: Cycles8.7 Coordinate Transformation CyclesROTATION (Cycle 10)The TNC can rotate the coordinate system about the active datum in the
HEIDENHAIN TNC 320 2898.7 Coordinate Transformation CyclesSCALING FACTOR (Cycle 11)The TNC can increase or reduce the size of contours within a progra
HEIDENHAIN TNC 320 291.2 Visual Display Unit and Operating Panel1.2 Visual Display Unit and Operating PanelVisual display unitThe TNC is delivered wit
290 8 Programming: Cycles8.7 Coordinate Transformation CyclesAXIS-SPECIFIC SCALING (Cycle 26)EffectThe SCALING FACTOR becomes effective as soon as it
HEIDENHAIN TNC 320 2918.7 Coordinate Transformation CyclesExample: Coordinate transformation cyclesProgram sequence Program the coordinate transforma
292 8 Programming: Cycles8.7 Coordinate Transformation Cycles20 L Z+250 R0 FMAX M2Retract in the tool axis, end program21 LBL 1Subprogram 122LX+0Y+0R0
HEIDENHAIN TNC 320 2938.8 Special Cycles8.8 Special CyclesDWELL TIME (Cycle 9)This causes the execution of the next block within a running program to
294 8 Programming: Cycles8.8 Special CyclesPROGRAM CALL (Cycle 12)Routines that you have programmed (such as special drilling cycles or geometrical mo
HEIDENHAIN TNC 320 2958.8 Special CyclesORIENTED SPINDLE STOP (Cycle 13)The control can control the machine tool spindle and rotate it to a given angu
9Programming: Subprograms and Program Section Repeats
298 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.1 Labeling Subprograms and Program Section Repeats9.1 Labeling Su
¢¬ 2999.2 Subprograms9.2 SubprogramsOperating sequence1 ^FF¨F4¤F^Fz"zpV"h¤zp^F*dp4cam§^a4^"¤
30 1 Introduction1.2 Visual Display Unit and Operating PanelOperating panelThe TNC 320 is delivered with an integrated keyboard. The figure at right s
300 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.3 Program Section Repeats9.3 Program Section RepeatsLabel LBL^F
¢¬ 3019.4 Separate Program as Subprogram9.4 Separate Program as SubprogramOperating sequence1 ^FF¨F4¤F^Fz"zpV&quo
302 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.4 Separate Program as SubprogramCalling any program as a subprogr
¢¬ 3039.5 Nesting9.5 NestingTypes of nesting ¤*zpV"h§a^am"¤*zpV"h pV"hF4apmFzF"§a^am
304 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.5 NestingProgram execution1 "amzpV"haF¨F
¢¬ 3059.5 NestingRepeating a subprogramExample NC blocksProgram execution1 "amzpV"haF¨F4¤F=¤zp*dp4css2
306 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.6 Programming ExamplesExample: Milling a contour in several infee
¢¬ 3079.6 Programming Examples8 LBL 1Fd"*FdOpzpV"hF4apmFzF"9 L IZ-4 R0 FMAXmOFF==Fz^amam4FhFm"
308 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.6 Programming ExamplesExample: Groups of holespV"hF¤Fm
¢¬ 3099.6 Programming Examples7 L X+15 Y+10 R0 FMAX M3p¦Fp"amVzpamOpVp¤zs8 CALL LBL 1"dd^F¤*zpV"h
HEIDENHAIN TNC 320 311.3 Modes of Operation1.3 Modes of OperationManual operation and electronic handwheelThe Manual Operation mode is required for se
310 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"9.6 Programming ExamplesExample: Group of holes with several tools
¢¬ 3119.6 Programming Examples10 L Z+250 R0 FMAX M6ppd4^"mVF11 TOOL CALL 2 Z S4000"ddppd9=add12 FN 0: Q201 = -25F§=
10Programming: Q Parameters
314 10 Programming: Q Parameters10.1 Principle and Overview10.1 Principle and OverviewYou can program an entire family of parts in a single part progr
HEIDENHAIN TNC 320 31510.1 Principle and OverviewProgramming notesYou can mix Q parameters and fixed numerical values within a program.Calling Q param
316 10 Programming: Q Parameters10.2 Part Families—Q Parameters in Place of Numerical Values10.2 Part Families—Q Parameters in Place of Numerical Valu
HEIDENHAIN TNC 320 31710.3 Describing Contours through Mathematical Operations10.3 Describing Contours through Mathematical OperationsFunctionThe Q pa
318 10 Programming: Q Parameters10.3 Describing Contours through Mathematical OperationsProgramming fundamental operationsExample:Call the Q parameter
HEIDENHAIN TNC 320 31910.4 Trigonometric Functions10.4 Trigonometric FunctionsDefinitionsSine, cosine and tangent are terms designating the ratios of
32 1 Introduction1.3 Modes of OperationTest RunIn the Test Run mode of operation, the TNC checks programs and program sections for errors, such as geo
320 10 Programming: Q Parameters10.4 Trigonometric FunctionsProgramming trigonometric functionsPress the ANGLE FUNCTION soft key to call the angle fun
HEIDENHAIN TNC 320 32110.5 Calculating Circles10.5 Calculating CirclesFunctionThe TNC can use the functions for calculating circles to calculate the c
322 10 Programming: Q Parameters10.6 If-Then Decisions with Q Parameters10.6 If-Then Decisions with Q ParametersFunctionThe TNC can make logical If-Th
HEIDENHAIN TNC 320 32310.6 If-Then Decisions with Q ParametersAbbreviations used:IF :IfEQU : EqualsNE : Not equalGT : Greater thanLT : Less thanGOTO :
324 10 Programming: Q Parameters10.7 Checking and Changing Q Parameters10.7 Checking and Changing Q ParametersProcedureYou can check Q parameters when
HEIDENHAIN TNC 320 32510.8 Additional Functions10.8 Additional FunctionsOverviewPress the DIVERSE FUNCTION soft key to call the additional functions.
326 10 Programming: Q Parameters10.8 Additional FunctionsFN14: ERROR: Displaying error messagesWith the function FN14: ERROR you can call messages und
HEIDENHAIN TNC 320 32710.8 Additional FunctionsError number Text1042 Traverse direction not defined1043 No datum table active1044 Position error: cent
328 10 Programming: Q Parameters10.8 Additional FunctionsFN16: F-PRINT: Formatted output of texts or Q parameter valuesThe function FN16: F-PRINT tran
HEIDENHAIN TNC 320 32910.8 Additional FunctionsWhen you create a text file, use the following formatting functions:The following functions allow you t
HEIDENHAIN TNC 320 331.4 Status Displays1.4 Status Displays“General” status displayThe status display 1 informs you of the current state of the machin
330 10 Programming: Q Parameters10.8 Additional FunctionsIn the part program, program FN 16: F-PRINT, to activate the output:The TNC then outputs the
HEIDENHAIN TNC 320 33110.8 Additional FunctionsFN18: SYS-DATUM READ Read system dataWith the function FN 18: SYS-DATUM READ you can read system data a
332 10 Programming: Q Parameters10.8 Additional Functions5 - 1st side length for rectangular pocket cycle6 - 2nd side length for rectangular pocket cy
HEIDENHAIN TNC 320 33310.8 Additional Functions12 Tool no. PLC status13 Tool no. Maximum tooth length LCUTS14 Tool no. Maximum plunge angle ANGLE15 To
334 10 Programming: Q Parameters10.8 Additional Functions4 - Oversize for tool length DL5 - Oversize for tool radius DR6 - Automatic TOOL CALL 0 = yes
HEIDENHAIN TNC 320 33510.8 Additional Functions+1: X axis mirrored+2: Y axis mirrored+4: Z axis mirrored+64: U axis mirrored+128: V axis mirrored+256:
336 10 Programming: Q Parameters10.8 Additional Functions3 1 to 9 Positive software limit switch in axes 1 to 95 - Software limit switch on or off:0 =
HEIDENHAIN TNC 320 33710.8 Additional Functions54 - Direction of center misalignment with respect to spindle 0°2 Center misalignment in minor axis55 1
338 10 Programming: Q Parameters10.8 Additional FunctionsExample: Assign the value of the active scaling factor for the Z axis to Q258 - Number of rep
HEIDENHAIN TNC 320 33910.8 Additional FunctionsFN19: PLC: Transferring values to the PLCThe function FN 19: PLC transfers up to two numerical values o
34 1 Introduction1.4 Status DisplaysAdditional status displaysThe additional status displays contain detailed information on the program run. They can
340 10 Programming: Q Parameters10.8 Additional FunctionsFN20: WAIT FOR: NC and PLC synchronizationWith function FN 20: WAIT FOR you can synchronize t
HEIDENHAIN TNC 320 34110.8 Additional FunctionsExample: Stop program run until the PLC sets marker 4095 to 1Example: Stop program run until the PLC se
342 10 Programming: Q Parameters10.8 Additional FunctionsFN 25: PRESET: Setting a new datumWith the function FN 25: PRESET, it is possible to set a ne
HEIDENHAIN TNC 320 34310.8 Additional FunctionsFN29: PLC: Transferring values to the PLCThe function FN 29: PLC transfers up to eight numerical values
344 10 Programming: Q Parameters10.8 Additional FunctionsFN37:EXPORTYou need the FN37: EXPORT function if you want to create your own cycles and integ
HEIDENHAIN TNC 320 34510.9 Accessing Tables with SQL Commands10.9 Accessing Tables with SQL CommandsIntroductionAccessing of tables is programmed on t
346 10 Programming: Q Parameters10.9 Accessing Tables with SQL CommandsA TransactionIn principle, a transaction consists of the following actions:– Ad
HEIDENHAIN TNC 320 34710.9 Accessing Tables with SQL CommandsResult setThe selected rows are numbered in ascending order within the result set, starti
348 10 Programming: Q Parameters10.9 Accessing Tables with SQL CommandsProgramming SQL commandsProgram SQL commands in the Programming and Editing mod
HEIDENHAIN TNC 320 34910.9 Accessing Tables with SQL CommandsSQL BINDSQL BIND binds a Q parameter to a table column. The SQL commands "Fetch,&quo
HEIDENHAIN TNC 320 351.4 Status DisplaysPositions and coordinatesInformation on toolsSoft key Assignment Meaning1 Type of position display, e.g. actua
350 10 Programming: Q Parameters10.9 Accessing Tables with SQL CommandsSQL SELECTSQL SELECT selects table rows and transfers them to the result set.Th
HEIDENHAIN TNC 320 35110.9 Accessing Tables with SQL Commands8 Parameter no. for result: Q parameter for the handle. The SQL server returns the handle
352 10 Programming: Q Parameters10.9 Accessing Tables with SQL CommandsCondition ProgrammingEqual to ===Not equal to !=<>Less than <Less than
HEIDENHAIN TNC 320 35310.9 Accessing Tables with SQL CommandsSQL FETCHSQL FETCH reads the row addressed with INDEX from the result set, and places the
354 10 Programming: Q Parameters10.9 Accessing Tables with SQL CommandsSQL UPDATESQL UPDATE transfers the data prepared in the Q parameters into the r
HEIDENHAIN TNC 320 35510.9 Accessing Tables with SQL CommandsSQL COMMITSQL COMMIT transfers all rows in the result set back to the table. A lock set w
356 10 Programming: Q Parameters10.10 Entering Formulas Directly10.10 Entering Formulas DirectlyEntering formulasYou can enter mathematical formulas t
HEIDENHAIN TNC 320 35710.10 Entering Formulas DirectlyArc tangentInverse of the tangent. Determine the angle from the ratio of the opposite to the adj
358 10 Programming: Q Parameters10.10 Entering Formulas DirectlyRules for formulasMathematical formulas are programmed according to the following rule
HEIDENHAIN TNC 320 35910.10 Entering Formulas DirectlyProgramming exampleCalculate an angle with the arc tangent from the opposite side (Q12) and adja
36 1 Introduction1.4 Status DisplaysCoordinate transformationsSee “Coordinate Transformation Cycles” on page 281. Active miscellaneous functions MSta
360 10 Programming: Q Parameters10.11 Preassigned Q Parameters10.11 Preassigned Q ParametersThe Q parameters Q100 to Q122 are assigned values by the T
HEIDENHAIN TNC 320 36110.11 Preassigned Q ParametersSpindle status: Q110The value of Q110 depends on which M function was last programmed for the spin
362 10 Programming: Q Parameters10.11 Preassigned Q ParametersCoordinates after probing during program runThe parameters Q115 to Q119 contain the coor
HEIDENHAIN TNC 320 36310.12 String Parameters10.12 String ParametersWorking with string parametersYou need string processing mainly to be able to read
364 10 Programming: Q Parameters10.12 String ParametersString processing functionsThe STRING FORMULA or FORMULA functions contain various functions fo
HEIDENHAIN TNC 320 36510.12 String ParametersExporting machine parametersBecause of the organization of the configuration data, access to machine para
366 10 Programming: Q Parameters10.12 String ParametersChecking a string parameter With the INSTR function you can check whether a string parameter is
HEIDENHAIN TNC 320 36710.13 Programming ExamplesExample: EllipseProgram sequence The contour of the ellipse is approximated by many short lines (defi
368 10 Programming: Q Parameters10.13 Programming Examples20 LBL 10Subprogram 10: Machining operation21 CYCL DEF 7.0 DATUM SHIFTShift datum to center
HEIDENHAIN TNC 320 36910.13 Programming ExamplesExample: Concave cylinder machined with spherical cutterProgram sequence Program functions only with
HEIDENHAIN TNC 320 371.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels1.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic
370 10 Programming: Q Parameters10.13 Programming Examples20 CALL LBL 10Call machining operation21 L Z+100 R0 FMAX M2Retract in the tool axis, end pro
HEIDENHAIN TNC 320 37110.13 Programming ExamplesExample: Convex sphere machined with end millProgram sequence This program requires an end mill. The
372 10 Programming: Q Parameters10.13 Programming Examples18 CALL LBL 10Call machining operation19 FN 0: Q10 = +0Reset allowance20 FN 0: Q18 = +5Angle
HEIDENHAIN TNC 320 37310.13 Programming Examples40 LBL 241 LP PR+Q6 PA+Q24 R9 FQ12Move upward in an approximated “arc”42 FN 2: Q24 = +Q24 - +Q14Update
11Test Run and Program Run
376 11 Test Run and Program Run11.1 Graphics11.1 GraphicsFunctionIn the program run modes of operation as well as in the Test Run mode, the TNC provid
HEIDENHAIN TNC 320 37711.1 GraphicsOverview of display modesThe control displays the following soft keys in the Program Run and Test Run modes of oper
378 11 Test Run and Program Run11.1 GraphicsProjection in 3 planesSimilar to a workpiece drawing, the part is displayed with a plan view and two secti
HEIDENHAIN TNC 320 37911.1 Graphics3-D viewThe workpiece is displayed in three dimensions, and can be rotated about the vertical axis.You can rotate t
380 11 Test Run and Program Run11.1 GraphicsMagnifying detailsYou can magnify details in the Test Run and a program run operating modes and in the pro
HEIDENHAIN TNC 320 38111.1 GraphicsRepeating graphic simulationA part program can be graphically simulated as often as desired, either with the comple
382 11 Test Run and Program Run11.1 GraphicsMeasuring the machining timeProgram Run modes of operationThe timer counts and displays the time from prog
HEIDENHAIN TNC 320 38311.2 Showing the Workpiece in the Working Space11.2 Showing the Workpiece in the Working SpaceFunctionThis MOD function enables
384 11 Test Run and Program Run11.3 Functions for Program Display11.3 Functions for Program DisplayOverviewIn the Program Run modes of operation as we
HEIDENHAIN TNC 320 38511.4 Test Run11.4 Test RunFunctionIn the Test Run mode of operation you can simulate programs and program sections to prevent er
386 11 Test Run and Program Run11.4 Test RunRunning a program testIf the central tool file is active, a tool table must be active (status S) to run a
HEIDENHAIN TNC 320 38711.5 Program Run11.5 Program RunFunctionIn the Program Run, Full Sequence mode of operation the TNC executes a part program cont
388 11 Test Run and Program Run11.5 Program RunInterrupting machiningThere are several ways to interrupt a program run: Programmed interruptions Pre
HEIDENHAIN TNC 320 38911.5 Program RunResuming program run after an interruptionIf you interrupt a program run during execution of a subprogram or pro
2Manual Operation and Setup
390 11 Test Run and Program Run11.5 Program RunMid-program startup (block scan)With the RESTORE POS. AT feature (block scan) you can start a part prog
HEIDENHAIN TNC 320 39111.5 Program Run8 To go to the first block of the current program to start a block scan, enter GOTO “0”.8 To select mid-program
392 11 Test Run and Program Run11.6 Automatic Program Start11.6 Automatic Program StartFunctionIn a Program Run operating mode, you can use the AUTOST
HEIDENHAIN TNC 320 39311.7 Optional Block Skip11.7 Optional Block SkipFunctionIn a test run or program run, the TNC can skip over blocks that begin wi
394 11 Test Run and Program Run11.8 Optional Program-Run Interruption11.8 Optional Program-Run InterruptionFunctionThe TNC optionally interrupts the p
12MOD Functions
396 12 MOD Functions12.1 MOD Functions12.1 MOD FunctionsThe MOD functions provide additional input possibilities and displays. The available MOD funct
HEIDENHAIN TNC 320 39712.1 MOD FunctionsOverview of MOD functionsDepending on the selected mode of operation, you can make the following changes:Progr
398 12 MOD Functions12.2 Software Numbers12.2 Software NumbersFunctionThe following software numbers are displayed on the TNC screen after the MOD fun
HEIDENHAIN TNC 320 39912.3 Entering Code Numbers12.3 Entering Code NumbersFunctionThe TNC requires a code number for the following functions:Function
40 2 Manual Operation and Setup2.1 Switch-On, Switch-Off2.1 Switch-On, Switch-OffSwitch-onSwitch on the power supply for control and machine. The TNC
400 12 MOD Functions12.4 Machine-Specific User Parameters12.4 Machine-Specific User ParametersFunctionTo enable you to set machine-specific functions,
HEIDENHAIN TNC 320 40112.5 Position Display Types12.5 Position Display TypesFunctionIn the Manual Operation mode and in the Program Run modes of opera
402 12 MOD Functions12.6 Unit of Measurement12.6 Unit of MeasurementFunctionThis MOD function determines whether the coordinates are displayed in mil
HEIDENHAIN TNC 320 40312.7 Display Operating Times12.7 Display Operating TimesFunctionThe MACHINE TIME soft key enables you to see various types of op
404 12 MOD Functions12.8 Setting the Data Interfaces12.8 Setting the Data InterfacesSerial interface on the TNC 320The TNC 320 automatically uses the
HEIDENHAIN TNC 320 40512.8 Setting the Data InterfacesSet the data bits (dataBits)By setting the data bits you define whether a character is transmitt
406 12 MOD Functions12.8 Setting the Data InterfacesSetting the operating mode of the external device (fileSystem)The functions “Transfer all files,”
HEIDENHAIN TNC 320 40712.8 Setting the Data InterfacesSoftware for data transferFor transfer of files to and from the TNC, we recommend using the HEID
408 12 MOD Functions12.8 Setting the Data InterfacesData transfer between the TNC and TNCremoNTCheck whether the TNC is connected to the correct seria
HEIDENHAIN TNC 320 40912.9 Ethernet Interface12.9 Ethernet Interface IntroductionThe TNC is shipped with a standard Ethernet card to connect the contr
HEIDENHAIN TNC 320 412.1 Switch-On, Switch-OffThe TNC is now ready for operation in the Manual Operation mode.Switch-offTo prevent data being lost at
410 12 MOD Functions12.9 Ethernet InterfaceConnecting the control to the networkFunction overview of network configuration8 In the file manager (PGM M
HEIDENHAIN TNC 320 41112.9 Ethernet InterfaceConfiguring the network address of the control.8 Connect the TNC (port X26) with a network or a PC8 In th
412 12 MOD Functions12.9 Ethernet InterfaceConfiguring network access to other devices (mount)8 Connect the TNC (port X26) with a network or a PC8 In
HEIDENHAIN TNC 320 41312.9 Ethernet InterfaceSMB option Options that concern the SMB file system type: Options are given without space characters, sep
414 12 MOD Functions12.9 Ethernet InterfaceSettings on a PC with Windows 20008 To open Network Connections, click <Start>, <Control Panel>
13Touch Probe Cycles in the Manual and Electronic Handwheel Modes
416 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.1 Introduction13.1 IntroductionOverviewThe following functions are available
HEIDENHAIN TNC 320 41713.2 Calibrating a Touch Trigger Probe13.2 Calibrating a Touch Trigger ProbeIntroductionThe touch probe must be calibrated in th
418 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.2 Calibrating a Touch Trigger ProbeCalibrating the effective radius and compe
HEIDENHAIN TNC 320 41913.2 Calibrating a Touch Trigger ProbeDisplaying calibration valuesThe TNC stores the effective length and radius, as well as th
42 2 Manual Operation and Setup2.2 Moving the Machine Axes2.2 Moving the Machine AxesNoteTo traverse with the machine axis direction buttons:Select th
420 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.3 Compensating Workpiece Misalignment13.3 Compensating Workpiece Misalignment
HEIDENHAIN TNC 320 42113.3 Compensating Workpiece MisalignmentDisplaying a basic rotationThe angle of the basic rotation appears after ROTATION ANGLE
422 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.4 Setting the Datum with a 3-D Touch Probe13.4 Setting the Datum with a 3-D T
HEIDENHAIN TNC 320 42313.4 Setting the Datum with a 3-D Touch ProbeCorner as datum—using points already probed for a basic rotation (see figure at rig
424 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.4 Setting the Datum with a 3-D Touch ProbeCircle center as datumWith this fun
HEIDENHAIN TNC 320 42513.5 Measuring Workpieces with a 3-D Touch Probe13.5 Measuring Workpieces with a 3-D Touch ProbeIntroductionYou can also use the
426 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.5 Measuring Workpieces with a 3-D Touch ProbeTo measure workpiece dimensions8
HEIDENHAIN TNC 320 42713.5 Measuring Workpieces with a 3-D Touch ProbeTo find the angle between the angle reference axis and a side of the workpiece8
428 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.6 Touch Probe Data Management13.6 Touch Probe Data ManagementIntroductionTo m
HEIDENHAIN TNC 320 42913.6 Touch Probe Data ManagementFeed for probingFeed rate at which the TNC is to probe the workpiece. Set-up clearanceIn the set
HEIDENHAIN TNC 320 432.2 Moving the Machine AxesIncremental jog positioningWith incremental jog positioning you can move a machine axis by a preset di
430 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.7 Automatic Workpiece Measurement13.7 Automatic Workpiece MeasurementOverview
HEIDENHAIN TNC 320 43113.7 Automatic Workpiece Measurement8 Parameter number for result: Enter the number of the Q parameter to which you want to assi
432 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes13.7 Automatic Workpiece MeasurementDATUM PLANE touch probe cycle 1Touch probe c
HEIDENHAIN TNC 320 43313.7 Automatic Workpiece MeasurementMEASURING (touch probe cycle 3)Touch probe cycle 3 measures any position on the workpiece in
14Tables and Overviews
436 14 Tables and Overviews14.1 Pin Layout and Connecting Cable for the Data Interfaces14.1 Pin Layout and Connecting Cable for the Data InterfacesRS-
HEIDENHAIN TNC 320 43714.1 Pin Layout and Connecting Cable for the Data InterfacesNon-HEIDENHAIN devicesThe connector pin layout of a non-HEIDENHAIN d
438 14 Tables and Overviews14.2 Technical Information14.2 Technical InformationExplanation of symbols Standardz Axis optionUser functionsDescription
HEIDENHAIN TNC 320 43914.2 Technical InformationFixed cycles Drilling cycles for drilling, pecking, reaming, boring, tapping with a floating tap hol
44 2 Manual Operation and Setup2.2 Moving the Machine AxesTraversing with the HR 410 electronic handwheelThe portable HR 410 handwheel is equipped wit
440 14 Tables and Overviews14.2 Technical InformationTouch Probe Cycles Calibrating a touch probe Compensation of workpiece misalignment, manual or
HEIDENHAIN TNC 320 44114.2 Technical InformationAccessoriesElectronic handwheels One HR 410 portable handwheel or One HR 130 panel-mounted handwhee
442 14 Tables and Overviews14.2 Technical InformationInput format and unit of TNC functionsPositions, coordinates, circle radii, chamfer lengths–99 99
HEIDENHAIN TNC 320 44314.3 Exchanging the Buffer Battery14.3 Exchanging the Buffer BatteryA buffer battery supplies the TNC with current to prevent th
HEIDENHAIN TNC 320 445IndexSYMBOLE3-D touch probesCalibratingTriggering ... 4173-D view ... 379AAccessories ... 37Actual position capture ... 79, 126A
446 IndexFFN20: WAIT FOR NC and PLC synchronization ... 340FN23: CIRCLE DATA: Calculating a circle from 3 points ... 321FN24: CIRCLE DATA: Calculatin
HEIDENHAIN TNC 320 447IndexQQ parameter programming ... 314, 363Additional functions ... 325Basic arithmetic (assign, add, subtract, multiply, divide,
448 IndexUUniversal drilling ... 188, 192USB devices, connecting/removing ... 74User parametersMachine-specific ... 400VVersion numbers ... 399Visual
HEIDENHAIN TNC 320 449Table of CyclesCycle number Cycle designationDEF-activeCALL-activePage1 Pecking 2 Tapping 3 Slot milling 4 Pocket milling P
HEIDENHAIN TNC 320 452.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions M2.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions MFunct
450 206 Tapping with a floating tap holder, new Page 197207 Rigid tapping, new Page 199208 Bore milling Page 195209 Tapping with chip breaking
HEIDENHAIN TNC 320 451Table of Miscellaneous FunctionsM Effect Effective at block Start End PageM00 Stop program/Spindle STOP/Coolant OFF Page 162
452 M120 Pre-calculate radius-compensated contour (LOOK AHEAD) Page 168M126M127Shortest-path traverse of rotary axesCancel M126Page 173M140 Retra
HEIDENHAIN TNC 320 453Comparison: Functions of the TNC 320, TNC 310 and iTNC 530Comparison: User functionsFunction TNC 320 TNC 310 iTNC 530Program ent
454 Machining graphics: Plan view, projection in 3 planes, 3-D view JDatum tables, for storing workpiece-related datums Preset table, for saving
HEIDENHAIN TNC 320 455Comparison: CyclesCycle TNC 320 TNC 310 iTNC 5301, Pecking 2, Tapping 3, Slot milling 4, Pocket milling 5, Circular
456 29, Cylinder surface ridge JJ30, 3-D data JJ32, Tolerance JJ39, Cylinder surface external contour JJ200, Drilling 201, Reaming 202, Bor
HEIDENHAIN TNC 320 457253, Slot (complete) JJ254, Circular slot (complete) JJ262, Thread milling J263, Thread milling/counter sinking J264, Thre
458 Comparison: Miscellaneous functionsM Effect TNC 320 TNC 310 iTNC 530M00 Stop program/Spindle STOP/Coolant OFF M01 Optional program STOP M0
HEIDENHAIN TNC 320 459M112M113Enter contour transition between two contour elementsCancel M112JJM114M115Automatic compensation of machine geometry wh
46 2 Manual Operation and Setup2.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions MChanging the spindle speed and feed rateWith the override
460 Comparison: Touch probe cycles in the Manual and Electronic Handwheel modesCycle TNC 320 TNC 310 iTNC 530Calibrate the effective length Calibr
HEIDENHAIN TNC 320 461Comparison: Touch probe cycles for automatic workpiece inspectionCycle TNC 320 TNC 310 iTNC 5300, Reference plane J1, Polar da
462 423, Measure rectangle inside JJ424, Measure rectangle outside JJ425, Measure inside width JJ426, Measure ridge outside JJ427, Boring JJ430,
Ve 00550 671-20 · SW01 · 5 · 3/2006 · F&W · Printed in Germany · Subject to change without noticeDR. JOHANNES HEIDENHAIN GmbHDr.-Johannes-Heidenha
HEIDENHAIN TNC 320 472.4 Datum Setting (Without a 3-D Touch Probe)2.4 Datum Setting (Without a 3-D Touch Probe)NoteYou fix a datum by setting the TNC
3Positioning with Manual Data Input (MDI)
HEIDENHAIN TNC 320 5TNC Model, Software and FeaturesThis manual describes functions and features provided by TNCs as of the following NC software numb
50 3 Positioning with Manual Data Input (MDI)3.1 Programming and Executing Simple Machining Operations3.1 Programming and Executing Simple Machining O
HEIDENHAIN TNC 320 513.1 Programming and Executing Simple Machining OperationsStraight line function L, (see “Straight Line L” on page 125) DRILLING c
52 3 Positioning with Manual Data Input (MDI)3.1 Programming and Executing Simple Machining OperationsProtecting and erasing programs in $MDIThe $MDI
4Programming: Fundamentals of NC, File Management, Programming Aids
54 4 Programming: Fundamentals of NC, File Management, Programming Aids4.1 Fundamentals4.1 FundamentalsPosition encoders and reference marksThe machin
HEIDENHAIN TNC 320 554.1 FundamentalsReference system on milling machinesWhen using a milling machine, you orient tool movements to the Cartesian coor
56 4 Programming: Fundamentals of NC, File Management, Programming Aids4.1 FundamentalsPolar coordinatesIf the production drawing is dimensioned in Ca
HEIDENHAIN TNC 320 574.1 FundamentalsAbsolute and incremental workpiece positionsAbsolute workpiece positionsAbsolute coordinates are position coordin
58 4 Programming: Fundamentals of NC, File Management, Programming Aids4.1 FundamentalsSetting the datumA production drawing identifies a certain form
HEIDENHAIN TNC 320 594.2 File Management: Fundamentals4.2 File Management: FundamentalsFilesWhen you write a part program on the TNC, you must first e
60 4 Programming: Fundamentals of NC, File Management, Programming Aids4.2 File Management: FundamentalsScreen keypadYou can enter letters and special
HEIDENHAIN TNC 320 614.3 Working with the File Manager4.3 Working with the File ManagerDirectoriesIf you save many programs in the TNC, we recommend t
62 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerOverview: Functions of the file managerFunctio
HEIDENHAIN TNC 320 634.3 Working with the File ManagerCalling the file managerPress the PGM MGT key: the TNC displays the file management window (Figu
64 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerSelecting drives, directories and filesCall th
HEIDENHAIN TNC 320 654.3 Working with the File ManagerStep 3: Select a filePress the SELECT TYPE soft key.Press the soft key for the desired file type
66 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerCopying a single file8 Move the highlight to t
HEIDENHAIN TNC 320 674.3 Working with the File ManagerChoosing one of the last 10 files selectedCall the file manager.Display the last 10 files select
68 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerMarking filesSome functions, such as copying o
HEIDENHAIN TNC 320 694.3 Working with the File ManagerRenaming a file8 Move the highlight to the file you wish to rename.8 Select the renaming functio
HEIDENHAIN TNC 320 7ContentsIntroduction1Manual Operation and Setup2Positioning with Manual Data Input (MDI)3Programming: Fundamentals of File Managem
70 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerData transfer to or from an external data medi
HEIDENHAIN TNC 320 714.3 Working with the File ManagerPress the COPY soft keyConfirm with the OK soft key or with the ENT key. For long programs, a st
72 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerCopying files into another directory8 Select t
HEIDENHAIN TNC 320 734.3 Working with the File ManagerThe TNC in a networkIf the TNC is connected to a network, the TNC displays the connected drives
74 4 Programming: Fundamentals of NC, File Management, Programming Aids4.3 Working with the File ManagerUSB devices on the TNC Backing up data from or
HEIDENHAIN TNC 320 754.4 Creating and Writing Programs4.4 Creating and Writing ProgramsOrganization of an NC program in HEIDENHAIN conversational form
76 4 Programming: Fundamentals of NC, File Management, Programming Aids4.4 Creating and Writing ProgramsCreating a new part programYou always enter a
HEIDENHAIN TNC 320 774.4 Creating and Writing ProgramsEnter in sequence the X, Y and Z coordinates of the MAX point.Example: Display the BLK form in t
78 4 Programming: Fundamentals of NC, File Management, Programming Aids4.4 Creating and Writing ProgramsProgramming tool movements in conversational f
HEIDENHAIN TNC 320 794.4 Creating and Writing ProgramsActual position captureThe TNC enables you to transfer the current tool position into the progra
80 4 Programming: Fundamentals of NC, File Management, Programming Aids4.4 Creating and Writing ProgramsEditing a programWhile you are creating or edi
HEIDENHAIN TNC 320 814.4 Creating and Writing ProgramsInserting blocks at any desired location8 Select the block after which you want to insert a new
82 4 Programming: Fundamentals of NC, File Management, Programming Aids4.4 Creating and Writing ProgramsThe word that is highlighted in the new block
HEIDENHAIN TNC 320 834.4 Creating and Writing ProgramsThe TNC search functionWith the search function of the TNC, you can search for any text within a
84 4 Programming: Fundamentals of NC, File Management, Programming Aids4.4 Creating and Writing ProgramsFind/Replace any text8 If required, select the
HEIDENHAIN TNC 320 854.5 Interactive Programming Graphics4.5 Interactive Programming GraphicsGenerating / Not generating graphics during programming:W
86 4 Programming: Fundamentals of NC, File Management, Programming Aids4.5 Interactive Programming GraphicsBlock number display ON/OFF8 Shift the soft
HEIDENHAIN TNC 320 874.6 Adding Comments4.6 Adding CommentsFunctionYou can add comments to a part program to explain program steps or make general not
88 4 Programming: Fundamentals of NC, File Management, Programming Aids4.7 Integrated Pocket Calculator4.7 Integrated Pocket CalculatorOperationThe TN
HEIDENHAIN TNC 320 894.7 Integrated Pocket CalculatorTo transfer the calculated value into the program,8 Select the word into which the calculated val
HEIDENHAIN TNC 320 91.1 The TNC 320 ... 28Programming: HEIDENHAIN conversational format ... 28Compatibility ... 281.2 Visual Display Unit and Op
90 4 Programming: Fundamentals of NC, File Management, Programming Aids4.8 The Error Messages4.8 The Error MessagesDisplay of errorsThe TNC generates
HEIDENHAIN TNC 320 914.8 The Error MessagesDetailed error messagesThe TNC displays possible causes of the error and suggestions for solving the proble
92 4 Programming: Fundamentals of NC, File Management, Programming Aids4.8 The Error MessagesError log fileThe TNC stores errors and important events
HEIDENHAIN TNC 320 934.8 The Error MessagesOverview of the buttons and soft keys for viewing the log files:Informational textsAfter a faulty operation
5Programming: Tools
96 5 Programming: Tools5.1 Entering Tool-Related Data5.1 Entering Tool-Related DataFeed rate FThe feed rate F is the speed (in millimeters per minute
HEIDENHAIN TNC 320 975.1 Entering Tool-Related DataSpindle speed SThe spindle speed S is entered in revolutions per minute (rpm) in a TOOL CALL block.
98 5 Programming: Tools5.2 Tool Data5.2 Tool DataRequirements for tool compensationYou usually program the coordinates of path contours as they are di
HEIDENHAIN TNC 320 995.2 Tool DataTool radius RYou can enter the tool radius R directly. Delta values for lengths and radiiDelta values are offsets in
Commentaires sur ces manuels