Page 1
User’s Manual HEIDENHAIN Conversational Format TNC 620 NC Software 340 560-01 340 561-01 340 564-01 English (en) 9/2008...
Page 2
Controls on the visual display unit Programming path movements Approach/depart contour Split screen layout Switch between machining or FK free contour programming programming modes Soft keys for selecting functions on Straight line screen Circle center/pole for polar coordinates Shift between soft-key rows Machine operating modes Circle with center Manual Operation...
Page 5
TNC users. Touch Probe Cycles User’s Manual: All of the touch probe functions are described in a separate manual. Please contact HEIDENHAIN if you need a copy of this User’s Manual. ID: 661 891-20 HEIDENHAIN TNC 620...
Software options The TNC 620 features various software options that can be enabled by you or your machine tool builder. Each option is to be enabled separately and contains the following respective functions: Hardware options Additional axis for 4 axes and closed-loop spindle...
Page 7
Advanced programming features (option number #19) FK free contour programming Programming in HEIDENHAIN conversational format with graphic support for workpiece drawings not dimensioned for NC Machining cycles Peck drilling, reaming, boring, counterboring, centering (Cycles 201 to 205, 208, 240) Milling of internal and external threads (Cycles 262 to 265, 267)
You can purchase a code number in order to permanently enable the FCL functions. For more information, contact your machine tool builder or HEIDENHAIN. Intended place of operation The TNC complies with the limits for a Class A device in accordance with the specifications in EN 55022, and is intended for use primarily in industrially-zoned areas.
Positioning with Manual Data Input Programming: Fundamentals of File Management, Programming Aids Programming: Tools Programming: Programming Contours Programming: Miscellaneous Functions Programming: Cycles Programming: Subprograms and Program Section Repeats Programming: Q Parameters Test Run and Program Run MOD Functions Technical Information HEIDENHAIN TNC 620...
Page 11
1.4 Status Displays ..37 “General” status display ..37 Additional status displays ..39 1.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels ..42 3-D touch probes ..42 TT 140 tool touch probe for tool measurement ..43 HR electronic handwheels ..
Page 12
2 Manual Operation and Setup ..45 2.1 Switch-On, Switch-Off ..46 Switch-on ..46 Switch-off ..48 2.2 Traversing the Machine Axes ..49 Note ..49 To traverse with the machine axis direction buttons: ..49 Incremental jog positioning ..50 Traversing with the HR 410 electronic handwheel ..
Page 13
3 Positioning with Manual Data Input (MDI) ..67 3.1 Programming and Executing Simple Machining Operations ..68 Positioning with Manual Data Input (MDI) ..68 Protecting and erasing programs in $MDI ..71 HEIDENHAIN TNC 620...
Page 14
The TNC in a network ..94 USB devices on the TNC ..95 4.4 Creating and Writing Programs ..96 Organization of an NC program in HEIDENHAIN conversational format ..96 Define the blank: BLK FORM ..96 Creating a new part program ..97 Programming tool movements in conversational format ..
Page 15
Close the error window ..113 Detailed error messages ..114 INTERNAL INFO soft key ..114 Clearing errors ..115 Error log ..115 Keystroke log ..116 Informational texts ..117 Saving service files ..117 HEIDENHAIN TNC 620...
Page 16
5 Programming: Tools ..119 5.1 Entering Tool-Related Data ..120 Feed rate F ..120 Spindle speed S ..121 5.2 Tool Data ..122 Requirements for tool compensation ..122 Tool numbers and tool names ..122 Tool length L ..122 Tool radius R ..
Page 17
6.5 Path Contours—Polar Coordinates ..171 Overview ..171 Polar coordinate origin: Pole CC ..172 Straight line LP ..172 Circular path CP around pole CC ..173 Circular path CTP with tangential connection ..173 Helical interpolation ..174 HEIDENHAIN TNC 620...
Page 18
6.6 Path Contours—FK Free Contour Programming (Software Option) ..178 Fundamentals ..178 Graphics during FK programming ..180 Initiating the FK dialog ..181 Pole for FK programming ..181 Free programming of straight lines ..182 Free programming of circular arcs ..182 Input possibilities ..
Page 19
Shorter-path traverse of rotary axes: M126 ..213 Reducing display of a rotary axis to a value less than 360°: M94 ..214 Maintaining the position of the tool tip when positioning with tilted axes (TCPM): M128 (software option 2) ..215 HEIDENHAIN TNC 620...
Page 20
8 Programming: Cycles ..217 8.1 Working with Cycles ..218 Machine-specific cycles (Advanced programming features software option) ..218 Defining a cycle using soft keys ..219 Defining a cycle using the GOTO function ..219 Cycles Overview ..220 Calling cycles ..
Page 21
WORKING PLANE (Cycle 19, software option 1) ..355 8.8 Special Cycles ..363 DWELL TIME (Cycle 9) ..363 PROGRAM CALL (Cycle 12) ..364 ORIENTED SPINDLE STOP (Cycle 13) ..365 TOLERANCE (Cycle 32) ..366 HEIDENHAIN TNC 620...
Page 22
9 Programming: Subprograms and Program Section Repeats ..369 9.1 Labeling Subprograms and Program Section Repeats ..370 Labels ..370 9.2 Subprograms ..371 Actions ..371 Programming notes ..371 Programming a subprogram ..371 Calling a subprogram ..371 9.3 Program Section Repeats ..
Page 24
10.10 Entering Formulas Directly ..430 Entering formulas ..430 Rules for formulas ..432 Programming example ..433 10.11 String Parameters ..434 String processing functions ..434 Assigning string parameters ..435 Chain-linking string parameters ..435 Converting a numerical value to a string parameter ..436 Copying a substring from a string parameter ..
Page 25
11.6 Automatic Program Start ..473 Function ..473 11.7 Optional Block Skip ..474 Function ..474 Inserting the “/” character ..474 Erasing the “/” character ..474 11.8 Optional Program-Run Interruption ..475 Function ..475 HEIDENHAIN TNC 620...
Page 26
12.6 Entering Code Numbers ..484 Function ..484 12.7 Setting the Data Interfaces ..485 Serial interface on the TNC 620 ..485 Function ..485 Setting the RS-232 interface ..485 Setting the baud rate (baudRate) ..485 Set the protocol (protocol) ..
Page 27
Function ..498 13.2 Pin Layout and Connecting Cables for Data Interfaces ..506 RS-232-C/V.24 interface for HEIDEHAIN devices ..506 Non-HEIDENHAIN devices ..507 Ethernet interface RJ45 socket ..507 13.3 Technical Information ..508 13.4 Exchanging the Buffer Battery ..515...
Page 30
TNC 4xx and iTNC 530 series of controls. Therefore, machining programs created on HEIDENHAIN contouring controls (starting from the TNC 150 B) may not always run on the TNC 620. If NC blocks contain invalid elements, the TNC will mark them as ERROR blocks...
Soft-key selection keys Shift between soft-key rows Selecting the screen layout Shift key for switchover between machining and programming modes Soft-key selection keys for machine tool builders Switches soft-key rows for machine tool builders USB connection HEIDENHAIN TNC 620...
Sets the screen layout You select the screen layout yourself: In the programming mode of operation, for example, you can have the TNC show program blocks in the left window while the right window displays programming graphics. You could also display status information in the right window instead of the graphics, or display only program blocks in one large window.
Operating panel The TNC 620 is delivered with an integrated keyboard. The figure at right shows the controls and displays of the keyboard: File management Online calculator MOD function HELP function Programming modes Machine operating modes Initiation of programming dialog...
1.3 Operating Modes Manual Operation and Electronic Handwheel The Manual Operation mode is required for setting up the machine tool. In this operating mode, you can position the machine axes manually or by increments and set the datums. The Electronic Handwheel mode of operation allows you to move the machine axes manually with the HR electronic handwheel.
This simulation is supported graphically in different display modes (Advanced graphic features software option). Soft keys for selecting the screen layout: see “Program Run, Full Sequence and Program Run, Single Block,” page 36. HEIDENHAIN TNC 620...
Program Run, Full Sequence and Program Run, Single Block In the Program Run, Full Sequence mode of operation the TNC executes a part program continuously to its end or to a manual or programmed stop. You can resume program run after an interruption. In the Program Run, Single Block mode of operation you execute each block separately by pressing the machine START button.
Program Run, Single Block and Program Run, Full Sequence, except if the screen layout is set to display graphics only, and Positioning with Manual Data Input (MDI). In the Manual mode and Electronic Handwheel mode the status display appears in the large window. HEIDENHAIN TNC 620...
Page 38
Information in the status display Symbol Meaning Actual or nominal coordinates of the current position. ACTL. Machine axes; the TNC displays auxiliary axes in X Y Z lower-case letters. The sequence and quantity of displayed axes is determined by the machine tool builder.
To select an additional status display: Shift the soft-key rows until the STATUS soft keys appear. Select the desired additional status display, e.g. general program information. You can choose between several additional status displays with the following soft keys: HEIDENHAIN TNC 620...
Page 40
General program information Soft key Meaning Name of the active main program Active programs Active machining cycle Circle center CC (pole) Machining time Dwell time counter Positions and coordinates Soft key Meaning Type of position display, e.g. actual position Number of the active datum from the preset table. Tilt angle of the working plane Angle of a basic rotation Information on tools...
Page 41
List of the active M functions with fixed meaning List of the active M functions that are adapted by your machine manufacturer Status of Q parameters Soft key Meaning List of Q parameters defined with the Q PARAM LIST soft key HEIDENHAIN TNC 620...
This makes them highly convenient for use on machines with automatic tool changers. Principle of operation: HEIDENHAIN triggering touch probes feature a wear-resistant optical switch that generates an electrical signal as soon as the stylus is deflected. This signal is transmitted to the control, which stores the current position of the stylus as an actual value.
Electronic handwheels facilitate moving the axis slides precisely by hand. A wide range of traverses per handwheel revolution is available. Apart from the HR 130 and HR 150 integral handwheels, HEIDENHAIN also offers the HR 410 portable handwheel. HEIDENHAIN TNC 620...
2.1 Switch-On, Switch-Off Switch-on Switch-on and crossing of the reference points can vary depending on the machine tool. Refer to your machine manual. Switch on the power supply for control and machine. The TNC then displays the following dialog: SYSTEM STARTUP TNC is started POWER INTERRUPTED TNC message that the power was interrupted—clear...
Page 47
If you use this function, then for non-absolute encoders you must confirm the positions of the rotary axes, which the TNC displays in a pop-up window. The position displayed is the last active position of the rotary axes before switch-off. HEIDENHAIN TNC 620...
Page 48
Switch-off To prevent data from being lost at switch-off, you need to shut down the operating system of the TNC as follows: Select the Manual Operation mode. Select the function for shutting down, confirm again with the YES soft key. ...
You can move several axes at a time with these two methods. You can change the feed rate at which the axes are traversed with the F soft key (see “Spindle Speed S, Feed Rate F and Miscellaneous Functions M,” page 52). HEIDENHAIN TNC 620...
Incremental jog positioning With incremental jog positioning you can move a machine axis by a preset distance. Select the Manual Operation or Electronic Handwheel mode. Select incremental jog positioning: Switch the INCREMENT soft key to ON. LINEAR AXES: Enter the jog increment in mm, e.g. 8 mm, and press the CONFIRM VALUE soft key.
M118 is active (software option 3). Procedure for traversing Select the Electronic Handwheel operating mode. Press and hold a permissive button. Select the axis. Select the feed rate. Move the active axis in the positive or negative direction. HEIDENHAIN TNC 620...
2.3 Spindle Speed S, Feed Rate F and Miscellaneous Functions M Function In the Manual Operation and Electronic Handwheel operating modes, you can enter the spindle speed S, feed rate F and the miscellaneous functions M with soft keys. The miscellaneous functions are described in Chapter 7 “Programming: Miscellaneous Functions.”...
With the override knobs you can vary the spindle speed S and feed rate F from 0% to 150% of the set value. The override knob for spindle speed is only functional on machines with infinitely variable spindle drive. HEIDENHAIN TNC 620...
2.4 Datum Setting (Without a 3-D Touch Probe) Note For datum setting with a 3-D touch probe, refer to the Touch Probe Cycles Manual. You fix a datum by setting the TNC position display to the coordinates of a known position on the workpiece. Preparation ...
Page 55
If you are using a preset tool, set the display of the tool axis to the length L of the tool or enter the sum Z=L+d The TNC automatically saves the datum set with the axis keys in line 0 of the preset table. HEIDENHAIN TNC 620...
Datum management with the preset table You should definitely use the preset table if: Your machine is equipped with rotary axes (tilting table or swivel head) and you work with the function for tilting the working plane Up to now you have been working with older TNC controls with REF-based datum tables You wish to machine identical workpieces that are differently aligned...
Page 57
3-D ROT menu. Line 0 in the preset table is write protected. In line 0, the TNC always saves the datum that you most recently set manually via the axis keys or via soft key. HEIDENHAIN TNC 620...
Page 58
Manually saving the datums in the preset table In order to set datums in the preset table, proceed as follows: Select the Manual Operation mode. Move the tool slowly until it touches (scratches) the workpiece surface, or position the measuring dial correspondingly.
Page 59
This function saves the datum in all axes, and then activates the appropriate row in the table automatically. If inch display is active: enter the value in inches, and the TNC will internally convert the entered values to mm. HEIDENHAIN TNC 620...
Page 60
Editing the preset table Editing function in table mode Soft key Select beginning of table Select end of table Select previous page in table Select next page in table Select the functions for preset entry Display Basic Transformation/Axis Offset selection Activate the datum of the selected line of the preset table Add the entered number of lines to the end of the...
Page 61
To activate datums from the preset table during program run, use Cycle 247. In Cycle 247 you define only the number of the datum that you want to activate (see “DATUM SETTING (Cycle 247)” on page 349). HEIDENHAIN TNC 620...
2.5 Tilting the Working Plane (Software Option 1) Application, function The functions for tilting the working plane are interfaced to the TNC and the machine tool by the machine tool builder. With some swivel heads and tilting tables, the machine tool builder determines whether the entered angles are interpreted as coordinates of the rotary axes or as angular components of a tilted plane.
Page 63
X+ direction of the machine-based coordinate system. In calculating the transformed coordinate system, the TNC considers both the mechanically influenced offsets of the particular swivel head (the so-called “translational” components) and offsets caused by tilting of the tool (3-D tool length compensation). HEIDENHAIN TNC 620...
Traversing the reference points in tilted axes The TNC automatically activates the tilted working plane if this function was enabled when the control was switched off. Then the TNC moves the axes in the tilted coordinate system when an axis- direction key is pressed.
If you use Cycle 19 WORKING PLANE in the machining program, the angle values defined there are in effect. The TNC will then overwrite the angle values entered in the menu with the values from Cycle 19. HEIDENHAIN TNC 620...
The Positioning with Manual Data Input mode of operation is particularly convenient for simple machining operations or pre- positioning of the tool. You can write a short program in HEIDENHAIN conversational programming and execute it immediately. You can also call TNC cycles. The program is stored in the file $MDI. In the Positioning with MDI mode of operation, the additional status displays can also be activated.
Page 69
Retract the tool 6 L Z+200 R0 FMAX M2 7 END PGM $MDI MM End of program Straight line function L, (see “Straight line L” on page 159) DRILLING cycle. (see “DRILLING (Cycle 200)” on page 227). HEIDENHAIN TNC 620...
Page 70
Example 2: Correcting workpiece misalignment on machines with rotary tables Use the 3-D touch probe to rotate the coordinate system (Touch probe function software option). See “Touch Probe Cycles in the Manual and Electronic Handwheel Operating Modes,” section “Compensating workpiece misalignment,” in the Touch Probe Cycles User’s Manual.
Enter the name under which you want to save the current contents of the $MDI file. Copy the file. Press the END soft key to close the file manager. For more information, see “Copying a single file,” page 87. HEIDENHAIN TNC 620...
4.1 Fundamentals Position encoders and reference marks The machine axes are equipped with position encoders that register the positions of the machine table or tool. Linear axes are usually equipped with linear encoders, rotary tables and tilting axes with angle encoders.
X direction, and the index finger in the positive Y direction. As an option, the TNC 620 can control up to 5 axes. The axes U, V and W (which are not presently supported by the TNC 620) are secondary linear axes parallel to the main axes X, Y and Z, respectively.
Polar coordinates If the production drawing is dimensioned in Cartesian coordinates, you also write the part program using Cartesian coordinates. For parts containing circular arcs or angles it is often simpler to give the dimensions in polar coordinates. While the Cartesian coordinates X, Y and Z are three-dimensional and can describe points in space, polar coordinates are two-dimensional and describe points in a plane.
Y = 10 mm Absolute and incremental polar coordinates Absolute polar coordinates always refer to the pole and the reference axis. Incremental polar coordinates always refer to the last programmed nominal position of the tool. +IPR +IPA +IPA 0° HEIDENHAIN TNC 620...
The fastest, easiest and most accurate way of setting the datum is by using a 3-D touch probe from HEIDENHAIN. See “Setting the Datum with a 3-D Touch Probe” in the Touch Probe Cycles User’s Manual.
Page 79
With the TNC you can manage and save files up to a total size of 300 MB. Depending on the setting, the TNC generates a backup file (*.bak) after editing and saving of NC programs. This can reduce the memory space available to you. HEIDENHAIN TNC 620...
Page 80
File names When you store programs, tables and texts as files, the TNC adds an extension to the file name, separated by a point. This extension indicates the file type. PROG20 File name File type File names should not exceed 25 characters, otherwise the TNC cannot display the entire file name.
We recommend saving newly written programs and files on a PC at regular intervals. HEIDENHAIN provides a backup function for this purpose in the data transfer software TNCremoNT. Your machine tool builder can provide you with a copy of TNCBACK.EXE.
4.3 Working with the File Manager Directories If you save many programs in the TNC, we recommend that you save your files in directories (folders) so that you can easily find your data. You can divide a directory into further directories, which are called subdirectories.
Protect a file against editing and erasure Cancel file protection Create new file Sort files by properties Copy a directory Delete directory with all its subdirectories Display all the directories of a particular drive Rename directory Create a new directory HEIDENHAIN TNC 620...
Calling the file manager Press the PGM MGT key: the TNC displays the file management window (The figure at right shows the factory default setting. If the TNC displays a different screen layout, press the WINDOW soft key.) The narrow window on the left shows the available drives and directories.
Select a drive: Press the SELECT soft key or the ENT key. Step 2: Select a directory Move the highlight to the desired directory in the left-hand window— the right-hand window automatically shows all files stored in the highlighted directory. HEIDENHAIN TNC 620...
Step 3: Select a file Press the SELECT TYPE soft key. Press the soft key for the desired file type, or Press the SHOW ALL soft key to display all files, or Move the highlight to the desired file in the right window The selected file is opened in the operating mode from which you have called the File Manager.
Move the cursor into the desired selection box and press the GOTO Use the arrow keys to position the cursor to the required setting With the OK soft key you confirm the value, and with the CANCEL soft key you discard the selection HEIDENHAIN TNC 620...
Choosing one of the last 10 files selected Call the file manager Display the last 10 files selected: Press the LAST FILES soft key. Use the arrow keys to move the highlight to the file you wish to select: Moves the highlight up and down within a window. Select a file: Press the OK soft key or ENT Deleting a file ...
To copy the marked files, with the back soft key, leave the TAG function To copy the marked files, select the COPY soft key To delete the marked files, press the back soft key to exit the marking function and then press the DELETE soft key HEIDENHAIN TNC 620...
Renaming a file Move the highlight to the file you wish to rename. Select the renaming function. Enter the new file name; the file type cannot be changed. To rename: Press the OK soft key or the ENT key File sorting ...
Moves the highlight from the left to the right window, and vice versa. If you wish to copy from the TNC to the external data medium, move the highlight in the left window to the file to be transferred. HEIDENHAIN TNC 620...
Page 92
To transfer a single file, position the highlight on the desired file, or To transfer several files: Press the TAG soft key (in the second soft-key row, see “Marking files,” page 89) and mark the corresponding files. With the back soft key, exit the TAG function again.
Use the TAG function to overwrite the file anyway: To overwrite two or more files, mark them in the “existing files” pop-up window and press the OK soft key To leave the files as they are, press the CANCEL soft key HEIDENHAIN TNC 620...
The TNC in a network To connect the Ethernet card to your network, see “Ethernet Interface,” page 490. The TNC logs error messages during network operation (see “Ethernet Interface” on page 490). If the TNC is connected to a network, it also displays the connected network drives in the directory window (left half of the screen).
Page 95
TNC removes the USB device from the directory tree. Exit the file manager. In order to re-establish a connection with a USB device that has been removed, press the following soft key: Select the function for reconnection of USB devices. HEIDENHAIN TNC 620...
4.4 Creating and Writing Programs Organization of an NC program in HEIDENHAIN conversational format A part program consists of a series of program blocks. The figure at right illustrates the elements of a block. The TNC numbers the blocks in ascending sequence.
Enter the spindle axis. DEF BLK FORM: MIN CORNER? Enter in sequence the X, Y and Z coordinates of the MIN point. DEF BLK FORM: MAX CORNER? Enter in sequence the X, Y and Z coordinates of the MAX point. HEIDENHAIN TNC 620...
Page 98
Example: Display the BLK form in the NC program 0 BEGIN PGM NEW MM Program begin, name, unit of measure 1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Spindle axis, MIN point coordinates 2 BLK FORM 0.2 X+100 Y+100 Z+0 MAX point coordinates Program end, name, unit of measure 3 END PGM NEW MM...
ENT. MISCELLANEOUS FUNCTION M? Enter the miscellaneous function M3 “spindle ON.” Pressing the ENT key terminates this dialog. The program-block window displays the following line: 3 L X+10 Y+5 R0 F100 M3 HEIDENHAIN TNC 620...
Possible feed rate input Functions for setting the feed rate Soft key Rapid traverse Traverse feed rate automatically calculated in TOOL CALL Move at the programmed feed rate (unit of measure is mm/min) Functions for conversational guidance Ignore the dialog question End the dialog immediately Abort the dialog and erase the block Actual position capture...
Move from one block to the next Select individual words in a block To select a certain block, press the GOTO key, enter the desired block number, and confirm with the ENT key. HEIDENHAIN TNC 620...
Page 102
Function Soft key/key Set the selected word to zero Erase an incorrect number Clear a (non-blinking) error message Delete the selected word Delete the selected block Erase cycles and program sections Delete individual characters Insert the block that was last edited or deleted Inserting blocks at any desired location ...
Page 103
To select the search function, press the FIND soft key. The TNC displays the Find text: dialog prompt. Enter the text that you wish to find. To find the text, press the FIND soft key. HEIDENHAIN TNC 620...
Page 104
Marking, copying, deleting and inserting program sections The TNC provides certain functions for copying program sections within an NC program or into another NC program—see the table below. To copy a program section, proceed as follows: Select the soft-key row containing the marking functions. ...
Start the search process: The TNC moves to the next block containing the text you are searching for. Repeat the search process: The TNC moves to the next block containing the text you are searching for. End the search function. HEIDENHAIN TNC 620...
Page 106
Find/Replace any text The find/replace function is not possible if a program is protected the program is currently being run by the TNC. When using the REPLACE ALL function, ensure that you do not accidentally replace text that you do not want to change.
Soft key Generate a complete graphic Generate interactive graphic blockwise Generate a complete graphic or complete it after RESET + START Stop the programming graphics. This soft key only appears while the TNC is generating the interactive graphics HEIDENHAIN TNC 620...
Block number display ON/OFF Shift the soft-key row (see figure at upper right). To show block numbers: Set the SHOW OMIT BLOCK NR. soft key to SHOW. To omit block numbers: Set the SHOW OMIT BLOCK NR. soft key to OMIT. Erasing the graphic ...
If you are scrolling through the program structure window block by block, the TNC at the same time automatically moves the corresponding NC blocks in the program window. This way you can quickly skip large program sections. HEIDENHAIN TNC 620...
4.7 Adding Comments Function You can add comments to a part program to explain program steps or make general notes. If the TNC cannot show the entire comment on the screen, the >> sign is displayed. Adding a comment line ...
Add value to buffer memory Save the value to buffer memory Recall from buffer memory Delete buffer memory contents Natural logarithm Logarithm Exponential function Check algebraic sign Form the absolute value Truncate decimal places Truncate integers FRAC HEIDENHAIN TNC 620...
Page 112
Function Shortcut (Soft Key) Modulus operator Select view View Delete value Unit of measure MM or INCH Display mode for angle values DEG (degree) or RAD (radian measure) Display mode for numeric values DEC (decimal) or HEX (hexadecimal) To transfer the calculated value into the program, ...
Press the ERR key. The TNC opens the error window and displays all accumulated error messages. Close the error window Press the END soft key—or Press the ERR key. The TNC closes the error window. HEIDENHAIN TNC 620...
Detailed error messages The TNC displays possible causes of the error and suggestions for solving the problem: Open the error window. Information on the error cause and corrective action: Position the highlight on the error message and press the MORE INFO soft key.
FILE soft key. If you need the current log file, press the CURRENT FILE soft key. The oldest entry is at the beginning of the error log file, and the most recent entry is at the end. HEIDENHAIN TNC 620...
Keystroke log The TNC stores keystrokes and important events (e.g. system startup) in a keystroke log. The capacity of the keystroke log is limited. If the keystroke log is full, the control switches to a second keystroke log. If this second file becomes full, the first keystroke log is cleared and written to again, and so on.
If you repeat the “Save service data” function, the previously saved group of service data files is overwritten. Saving service files: Open the error window. Press the LOG FILES soft key. To save service files, press the SAVE SERVICE FILES soft key. HEIDENHAIN TNC 620...
5.1 Entering Tool-Related Data Feed rate F The feed rate F is the speed (in millimeters per minute or inches per minute) at which the tool center point moves. The maximum feed rates can be different for the individual axes and are set in machine parameters.
Enter the new spindle speed for the dialog question Spindle speed S= ?, and confirm with END. Changing during program run You can adjust the spindle speed during program run with the spindle- speed override knob S. HEIDENHAIN TNC 620...
5.2 Tool Data Requirements for tool compensation You usually program the coordinates of path contours as they are dimensioned in the workpiece drawing. To allow the TNC to calculate the tool center path—i.e. the tool compensation—you must also enter the length and radius of each tool you are using. Tool data can be entered either directly in the part program with TOOL DEF or separately in a tool table.
Tool radius: Compensation value for the tool radius In the programming dialog, you can transfer the value for tool length and tool radius directly into the input line by pressing the desired axis soft key. Example 4 TOOL DEF 5 L+10 R+5 HEIDENHAIN TNC 620...
Entering tool data in the table You can define and store up to 9999 tools and their tool data in a tool table. Also see the Editing Functions later in this Chapter. In order to be able to assign various compensation data to a tool (indexing tool number), insert a line and extend the tool number by a point and a number from 1 to 9 (e.g.
Page 125
Point angle of the tool. Is used by the Centering cycle (Cycle 240) Point angle in order to calculate the centering depth from the diameter entry. PTYP Tool type for evaluation in the pocket table Tool type for pocket table? HEIDENHAIN TNC 620...
Page 126
Tool table: Tool data required for automatic tool measurement For a description of the cycles governing automatic tool measurement, see the Touch Probe Cycles Manual, Chapter 4. Abbr. Inputs Dialog Number of teeth (20 teeth maximum) Number of teeth? LTOL Permissible deviation from tool length L for wear detection.
Page 127
Cancel filter: Press the tool type selected before again or select another tool type The machine tool builder adapts the functional range of the filter function to the requirements of your machine. The machine tool manual provides further information. HEIDENHAIN TNC 620...
Page 128
To open any other tool table Select the Programming mode of operation Call the file manager. Press the SELECT TYPE soft key to select the file type. Press the SHOW .T soft key to show type .T files. ...
Page 129
Show all taps/thread cutters in the tool table Show all touch probes in the tool table Leaving the tool table Call the file manager and select a file of a different type, such as a part program. HEIDENHAIN TNC 620...
Pocket table for tool changer The machine tool builder adapts the functional range of the pocket table to the requirements of your machine. The machine tool manual provides further information. For automatic tool changing you need the pocket table tool_p.tch. The TNC can manage several pocket tables with any file names.
Page 131
LOCKED_BELOW Box magazine: Lock the pocket below Lock the pocket below? Box magazine: Lock the pocket at left LOCKED_LEFT Lock the pocket at left? LOCKED_RIGHT Box magazine: Lock the pocket at right Lock the pocket at right? HEIDENHAIN TNC 620...
Page 132
Editing functions for pocket tables Soft key Select beginning of table Select end of table Select previous page in table Select next page in table Reset pocket table Reset tool number column T Go to beginning of the line Go to end of the line Simulate a tool change Select a tool from the tool table: The TNC shows the contents of the tool table.
Tool preselection with tool tables If you are working with tool tables, use TOOL DEF to preselect the next tool. Simply enter the tool number or a corresponding Q parameter, or type the tool name in quotation marks. HEIDENHAIN TNC 620...
5.3 Tool Compensation Introduction The TNC adjusts the spindle path in the spindle axis by the compensation value for the tool length. In the working plane, it compensates the tool radius. If you are writing the part program directly on the TNC, the tool radius compensation is effective only in the working plane.
DR in the tool table. Contouring without radius compensation: R0 The tool center moves in the working plane along the programmed path or to the programmed coordinates. Applications: Drilling and boring, pre-positioning. HEIDENHAIN TNC 620...
Page 136
Tool movements with radius compensation: RR and RL The tool moves to the right on the programmed contour The tool moves to the left on the programmed contour The tool center moves along the contour at a distance equal to the radius.
Page 137
The permissible tool radius, therefore, is limited by the geometry of the programmed contour. To prevent the tool from damaging the contour, be careful not to program the starting or end position for machining inside corners at a corner of the contour. HEIDENHAIN TNC 620...
Page 138
5.4 Three-Dimensional Tool Compensation (Software Option 2) Introduction The TNC can carry out a three-dimensional tool compensation (3-D compensation) for straight-line blocks. Apart from the X, Y and Z coordinates of the straight-line end point, these blocks must also contain the components NX, NY and NZ of the surface-normal vector (see figure and explanation further down on this page).
The TNC will not display an error message if an entered tool oversize would cause damage to the contour. MP7680 defines whether the CAM system has calculated the tool length compensation from the center of sphere P or the south pole of the sphere P (see figure). HEIDENHAIN TNC 620...
Permissible tool forms You can describe the permissible tool shapes in the tool table via tool radius R and R2 (see figure): Tool radius R: Distance from the tool center to the tool circumference. Tool radius 2 R2: Radius of the curvature between tool tip and tool circumference.
180°. In this case, make sure that the tool head does not collide with the workpiece or the clamps. Example: Block format with surface-normal vectors without tool orientation LN X+31.737 Y+21.954 Z+33.165 NX+0.2637581 NY+0.0078922 NZ–0.8764339 F1000 M128 HEIDENHAIN TNC 620...
Example: Block format with surface-normal vectors and tool orientation LN X+31.737 Y+21.954 Z+33.165 NX+0.2637581 NY+0.0078922 NZ0.8764339 TX+0.0078922 TY–0.8764339 TZ+0.2590319 F1000 M128 Straight line with 3-D compensation Compensated coordinates of the straight-line end point X, Y, Z: NX, NY, NZ: Components of the surface-normal vector TX, TY, TZ: Components of the normalized vector for workpiece orientation Feed rate...
Page 143
1 L X+31.737 Y+21.954 Z+33.165 B+12.357 C+5.896 RL F1000 M128 Straight line Compensated coordinates of the straight-line end point X, Y, Z: Straight line B, C: Coordinates of the rotary axes for tool orientation Radius compensation Feed rate Miscellaneous function HEIDENHAIN TNC 620...
6.1 Tool Movements Path functions A workpiece contour is usually composed of several contour elements such as straight lines and circular arcs. With the path functions, you can program the tool movements for straight lines and circular arcs. FK free contour programming (Advanced programming features software option) If a production drawing is not dimensioned for NC and the dimensions given are not sufficient for creating a part program, you can program...
The tool retains the Z coordinate and moves in the XY plane to the position X=70, Y=50 (see figure). Three-dimensional movement The program block contains three coordinates. The TNC thus moves the tool in space to the programmed position. Example: L X+80 Y+0 Z-10 HEIDENHAIN TNC 620...
Page 148
Circles and circular arcs The TNC moves two axes simultaneously on a circular path relative to the workpiece. You can define a circular movement by entering the circle center CC. When you program a circle, the control assigns it to one of the main planes.
Page 149
CALL block, press the F AUTO soft key. MISCELLANEOUS FUNCTION M? Enter a miscellaneous function (here, M3), and terminate the dialog with ENT. The part program now contains the following line: L X+10 Y+5 R0 F100 M3 HEIDENHAIN TNC 620...
6.3 Contour Approach and Departure Overview: Types of paths for contour approach and departure The functions for contour approach APPR and departure DEP are activated with the APPR/DEP key. You can then select the desired path function with the corresponding soft key: Function Approach Departure...
With the APPR LCT function, the TNC moves to the auxiliary point P at the feed rate programmed with the APPR block. If no feed rate is programmed before the approach block, the TNC generates an error message. HEIDENHAIN TNC 620...
Page 152
Polar coordinates You can also program the contour points for the following approach/ departure functions over polar coordinates: APPR LT becomes APPR PLT APPR LN becomes APPR PLN APPR CT becomes APPR PCT APPR LCT becomes APPR PLCT DEP LCT becomes DEP PLCT Select by soft key an approach or departure function, then press the orange P key.
7 L X+40 Y+10 RO FMAX M3 with radius comp. RR 8 APPR LN X+10 Y+20 Z-10 LEN15 RR F100 End point of the first contour element 9 L X+20 Y+35 Next contour element 10 L ... HEIDENHAIN TNC 620...
Approaching on a circular path with tangential connection: APPR CT The tool moves on a straight line from the starting point P to an auxiliary point P . It then moves to the first contour point P following a circular arc that is tangential to the first contour element. The arc from P to P is determined through the radius R and the...
Page 155
Approach P without radius compensation with radius comp. RR, radius R=10 8 APPR LCT X+10 Y+20 Z-10 R10 RR F100 End point of the first contour element 9 L X+20 Y+35 Next contour element 10 L ... HEIDENHAIN TNC 620...
Departing on a straight line with tangential connection: DEP LT The tool moves on a straight line from the last contour point P to the end point P . The line lies on the extension of the last contour element. P is separated from P by the distance LEN.
Last contour element: P with radius compensation 23 L Y+20 RR F100 Coordinates P , arc radius=8 mm 24 DEP LCT X+10 Y+12 R+8 F100 Retract in Z, return to block 1, end program 25 L Z+100 FMAX M2 HEIDENHAIN TNC 620...
6.4 Path Contours—Cartesian Coordinates Overview of path functions Function Path function key Tool movement Required input Page Line L Straight line Coordinates of the end points of the straight line Chamfer CHF Chamfer between two Chamfer side length straight lines Circle Center CC None Coordinates of the circle...
Switch the screen display to programming. Select the program block after which you want to insert the L block. Press the ACTUAL-POSITION-CAPTURE key: The TNC generates an L block with the actual position coordinates. HEIDENHAIN TNC 620...
Inserting a chamfer CHF between two straight lines The chamfer enables you to cut off corners at the intersection of two straight lines. The blocks before and after the CHF block must be in the same working plane. The radius compensation before and after the chamfer block must be the same.
A feed rate programmed in the RND block is effective only in that block. After the RND block, the previous feed rate becomes effective again. You can also use an RND block for a tangential contour approach if you do not want to use an APPR function. HEIDENHAIN TNC 620...
Circle center CC You can define a circle center CC for circles that are programmed with the C key (circular path C). This is done in the following ways: Entering the Cartesian coordinates of the circle center in the working plane, or Using the circle center defined in an earlier block, or Capturing the coordinates with the ACTUAL-POSITION-CAPTURE key.
The starting and end points of the arc must lie on the circle. Input tolerance: up to 0.016 mm (selected through the circleDeviation machine parameter). Smallest possible circle that the TNC can traverse: 0.0016 µm. DR HEIDENHAIN TNC 620...
Circular path CR with defined radius The tool moves on a circular path with the radius R. Coordinates of the arc end point Radius R Note: The algebraic sign determines the size of the arc! Direction of rotation DR Note: The algebraic sign determines whether the arc E 1 =S S 1 =E...
Page 165
The distance from the starting and end points of the arc diameter cannot be greater than the diameter of the arc. The maximum radius is 99.9999 m. You can also enter rotary axes A, B and C. HEIDENHAIN TNC 620...
Circular path CT with tangential connection The tool moves on an arc that starts tangentially to the previously programmed contour element. A transition between two contour elements is called tangential when there is no kink or corner at the intersection between the two contours—the transition is smooth.
Move to last contour point 1, second straight line for corner 4 Depart the contour on a straight line with tangential connection 14 DEP LT LEN10 F1000 Retract in the tool axis, end program 15 L Z+250 R0 FMAX M2 16 END PGM LINEAR MM HEIDENHAIN TNC 620...
Example: Circular movements with Cartesian coordinates 0 BEGIN PGM CIRCULAR MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 Define blank form for graphic workpiece simulation 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL CALL 1 Z X4000 Call tool in the spindle axis and with the spindle speed S 4 L Z+250 R0 FMAX Retract tool in the spindle axis at rapid traverse FMAX 5 L X-10 Y-10 R0 FMAX...
Page 169
Move to last contour point 1 16 DEP LCT X-20 Y-20 R5 F1000 Depart the contour on a circular arc with tangential connection 17 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 18 END PGM CIRCULAR MM HEIDENHAIN TNC 620...
Example: Full circle with Cartesian coordinates 0 BEGIN PGM C-CC MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 Definition of workpiece blank 2 BLK FORM 0.2 X+100 Y+100 Z+0 Tool call 3 TOOL CALL 1 Z S3150 Define the circle center 4 CC X+50 Y+50 Retract the tool 5 L Z+250 R0 FMAX...
Helical Combination of a circular and a Polar radius, polar angle of the interpolation linear movement arc end point, coordinate of the end point in the tool axis HEIDENHAIN TNC 620...
Polar coordinate origin: Pole CC You can define the pole CC anywhere in the part program before blocks containing polar coordinates. Enter the pole in Cartesian coordinates as a circle center in a CC block. Coordinates CC: Enter Cartesian coordinates for the pole, or If you want to use the last programmed position, do not enter any coordinates.
Example NC blocks 30° 12 CC X+40 Y+35 13 L X+0 Y+35 RL F250 M3 14 LP PR+25 PA+120 15 CTP PR+30 PA+30 16 L Y+0 The pole CC is not the center of the contour arc! HEIDENHAIN TNC 620...
Helical interpolation A helix is a combination of a circular movement in a main plane and a linear movement perpendicular to this plane. You program the circular path in a main plane. A helix is programmed only in polar coordinates. Application Large-diameter internal and external threads Lubrication grooves...
Page 175
Clockwise helix: DR– Counterclockwise helix: DR+ Example NC blocks: Thread M6 x 1 mm with 5 revolutions 12 CC X+40 Y+25 13 L Z+0 F100 M3 14 LP PR+3 PA+270 RL F50 15 CP IPA-1800 IZ+5 DR- HEIDENHAIN TNC 620...
Example: Linear movement with polar coordinates 60° 0 BEGIN PGM LINEARPO MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 Definition of workpiece blank 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL CALL 1 Z S4000 Tool call 4 CC X+50 Y+50 Define the datum for polar coordinates Retract the tool 5 L Z+250 R0 FMAX...
9 CP IPA+3240 IZ+13.5 DR+ F200 Helical interpolation 10 DEP CT CCA180 R+2 Depart the contour on a circular arc with tangential connection 11 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 12 END PGM HELIX MM HEIDENHAIN TNC 620...
Page 178
6.6 Path Contours—FK Free Contour Programming (Software Option) Fundamentals Workpiece drawings that are not dimensioned for NC often contain ¬36 unconventional coordinate data that cannot be entered with the gray 88.15° path function keys. You may, for example, have only the following data on a specific contour element: Known coordinates on the contour element or in its proximity Coordinate data that are referenced to another contour element...
Page 179
Creating FK programs for TNC 4xx: For a TNC 4xx to be able to load FK programs created on an TNC 620, the individual FK elements within a block must be in the same sequence as displayed in the soft-key row.
Graphics during FK programming If you wish to use graphic support during FK programming, select the PROGRAM + GRAPHICS screen layout (see “Programming and Editing” on page 35). Incomplete coordinate data often are not sufficient to fully define a workpiece contour. In this case, the TNC indicates the possible solutions in the FK graphic.
FPOL soft key. The TNC then displays the axis soft keys of the active working plane. Enter the pole coordinates using these soft keys The pole for FK programming remains active until you define a new one using FPOL. HEIDENHAIN TNC 620...
Free programming of straight lines Straight line without tangential connection To display the soft keys for free contour programming, press the FK key. To initiate the dialog for free programming of straight lines, press the FL soft key. The TNC displays additional soft keys.
Gradient angle AN of an entry tangent Center angle of an arc Example NC blocks 27 FLT X+25 LEN 12.5 AN+35 RL F200 28 FC DR+ R6 LEN10 AN-45 29 FCT DR- R15 LEN 15 35° 45° HEIDENHAIN TNC 620...
Page 184
Circle center CC, radius and direction of rotation in the FC/FCT block The TNC calculates a circle center for free-programmed arcs from the data you enter. This makes it possible to program full circles in an FK program block. If you wish to define the circle center in polar coordinates you must use FPOL, not CC, to define the pole.
Page 185
FK section. CLSD+ Beginning of contour: CLSD+ End of contour: CLSD– Example NC blocks 12 L X+5 Y+35 RL F500 M3 CLSD 13 FC DR- R15 CLSD+ CCX+20 CCY+35 17 FCT DR- R+15 CLSD- HEIDENHAIN TNC 620...
Auxiliary points You can enter the coordinates of auxiliary points that are located on the contour or in its proximity for both free-programmed straight lines and free-programmed circular arcs. Auxiliary points on a contour The auxiliary points are located on a straight line or on the extension of a straight line, or on a circular arc.
N Polar coordinates relative to block N Example NC blocks 12 FPOL X+10 Y+10 13 FL PR+20 PA+20 14 FL AN+45 15 FCT IX+20 DR- R20 CCA+90 RX 13 16 FL IPR+35 PA+0 RPR 13 HEIDENHAIN TNC 620...
Page 188
Data relative to block N: Direction and distance of the contour element Known data Soft key Angle between a straight line and another element or between the entry tangent of the arc and another element Straight line parallel to another contour element 220°...
Page 189
Depart the contour on a circular arc with tangential connection 15 DEP CT CCA90 R+5 F1000 16 L X-30 Y+0 R0 FMAX Retract in the tool axis, end program 17 L Z+250 R0 FMAX M2 18 END PGM FK1 MM HEIDENHAIN TNC 620...
Page 190
Example: FK programming 2 60° 0 BEGIN PGM FK2 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 Definition of workpiece blank 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL CALL 1 Z S4000 Tool call 4 L Z+250 R0 FMAX Retract the tool 5 L X+30 Y+30 R0 FMAX Pre-position the tool...
Page 191
18 FSELECT 2 Depart the contour on a circular arc with tangential connection 19 DEP LCT X+30 Y+30 R5 Retract in the tool axis, end program 20 L Z+250 R0 FMAX M2 21 END PGM FK2 MM HEIDENHAIN TNC 620...
Page 192
Example: FK programming 3 0 BEGIN PGM FK3 MM 1 BLK FORM 0.1 Z X-45 Y-45 Z-20 Definition of workpiece blank 2 BLK FORM 0.2 X+120 Y+70 Z+0 3 TOOL CALL 1 Z S4500 Tool call 4 L Z+250 R0 FMAX Retract the tool 5 L X-70 Y+0 R0 FMAX Pre-position the tool...
Page 193
30 DEP CT CCA90 R+5 F1000 Depart the contour on a circular arc with tangential connection 31 L X-70 R0 FMAX 32 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 33 END PGM FK3 MM HEIDENHAIN TNC 620...
7.1 Entering Miscellaneous Functions M and STOP Fundamentals With the TNC’s miscellaneous functions—also called M functions— you can affect: Program run, e.g., a program interruption Machine functions, such as switching spindle rotation and coolant supply on and off The path behavior of the tool The machine tool builder may add some M functions that are not described in this User’s Manual.
Page 197
You can also enter an M function in a STOP block: To program an interruption of program run, press the STOP key. Enter a miscellaneous function M. Example NC blocks 87 STOP M6 HEIDENHAIN TNC 620...
Page 198
7.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant Overview Effect Effective at block... Start Stop program run Spindle STOP Coolant OFF Optional program STOP Stop program run Spindle STOP Coolant OFF Go to block 1 Clear the status display (dependent on the clearMode machine parameter) Spindle ON clockwise...
NC block, then enter the coordinates with respect to the current tool position. The coordinate values on the TNC screen are referenced to the machine datum. Switch the display of coordinates in the status display to REF (see “Status Displays,” page 37). HEIDENHAIN TNC 620...
Page 200
Behavior with M92—Additional machine datum In addition to the machine datum, the machine tool builder can also define an additional machine-based position as a reference point. For each axis, the machine tool builder defines the distance between the machine datum and this additional machine datum.
This can lead to problems in fixed cycles with absolute pre-positioning. The function M130 is allowed only if the tilted working plane function is active. Effect M130 functions blockwise in straight-line blocks without tool radius compensation. HEIDENHAIN TNC 620...
7.4 Miscellaneous Functions for Contouring Behavior Machining small contour steps: M97 Standard behavior The TNC inserts a transition arc at outside corners. If the contour steps are very small, however, the tool would damage the contour. In such cases the TNC interrupts program run and generates the error message “Tool radius too large.”...
Page 203
14 L IY-0.5 ... R... F... Move to contour point 15 15 L IX+100 ... Machine small contour step 15 to 16 16 L IY+0.5 ... R... F... M97 Move to contour point 17 17 L X... Y... HEIDENHAIN TNC 620...
Machining open contours: M98 Standard behavior The TNC calculates the intersections of the cutter paths at inside corners and moves the tool in the new direction at those points. If the contour is open at the corners, however, this will result in incomplete machining.
Page 205
The initial state is restored after finishing or aborting a machining cycle. Effect M109 and M110 become effective at the start of block. To cancel M109 and M110, enter M111. HEIDENHAIN TNC 620...
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 (software option 3) Standard behavior If the tool radius is larger than the contour step that is to be machined with radius compensation, the TNC interrupts program run and generates an error message. M97 (see “Machining small contour steps: M97”...
Page 207
APPR LCT. The block with APPR LCT must contain only coordinates of the working plane. If you want to depart the contour on a tangential path, use the function DEP LCT. The block with DEP LCT must contain only coordinates of the working plane. HEIDENHAIN TNC 620...
Page 208
Superimposing handwheel positioning during program run: M118 (software option 3) Standard behavior In the program run modes, the TNC moves the tool as defined in the part program. Behavior with M118 M118 permits manual corrections by handwheel during program run. Just program M118 and enter an axis-specific value (linear or rotary axis) in millimeters.
Block 251: Move the tool to the limit of the traverse range. 250 L X+0 Y+38.5 F125 M140 MB 50 F750 251 L X+0 Y+38.5 F125 M140 MB MAX With M140 MB MAX you can only retract in positive direction. HEIDENHAIN TNC 620...
Suppressing touch probe monitoring: M141 Standard behavior When the stylus is deflected, the TNC outputs an error message as soon as you attempt to move a machine axis. Behavior with M141 The TNC moves the machine axes even if the touch probe is deflected.
. In the CfgLiftOff machine parameter you can also switch off the function. Effect M148 remains in effect until deactivated with M149. M148 becomes effective at the start of block, M149 at the end of block. HEIDENHAIN TNC 620...
7.5 Miscellaneous Functions for Rotary Axes Feed rate in mm/min on rotary axes A, B, C: M116 (software option 1) Standard behavior The TNC interprets the programmed feed rate in a rotary axis in degrees per minute. The contouring feed rate therefore depends on the distance from the tool center to the center of the rotary axis.
360°. Examples: Actual position Nominal position Traverse 350° 10° +20° 10° 340° –30° Effect M126 becomes effective at the start of block. To cancel M126, enter M127. At the end of program, M126 is automatically canceled. HEIDENHAIN TNC 620...
Reducing display of a rotary axis to a value less than 360°: M94 Standard behavior The TNC moves the tool from the current angular value to the programmed angular value. Example: Current angular value: 538° Programmed angular value: 180° Actual distance of traverse: –358°...
(at the tool center point, TCP). In doing so, the TNC takes into account the distance of the TCP from the center of the rotary axis. HEIDENHAIN TNC 620...
Page 216
M128 on tilting tables If you program a tilting table movement while M128 is active, the TNC rotates the coordinate system accordingly. If, for example, you rotate the C axis by 90° (through a positioning command or datum shift) and then program a movement in the X axis, the TNC executes the movement in the machine axis Y.
Page 218
(see “Test run” on page 462). Machine-specific cycles (Advanced programming features software option) In addition to the HEIDENHAIN cycles, many machine tool builders offer their own cycles in the TNC. These cycles are available in a separate cycle-number range:...
Example NC blocks 7 CYCL DEF 200 DRILLING Q200=2 ;SET-UP CLEARANCE Q201=3 ;DEPTH Q206=150 ;FEED RATE FOR PLUNGING Q202=5 ;PLUNGING DEPTH Q210=0 ;DWELL TIME AT TOP Q203=+0 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q211=0.25 ;DWELL TIME AT DEPTH HEIDENHAIN TNC 620...
Page 220
Cycles Overview Group of cycles Soft key Page Cycles for pecking, reaming, boring, counterboring, tapping and thread milling Cycles for milling pockets, studs and slots Cycles for producing point patterns, such as circular or linear hole patterns SL (Subcontour List) cycles which allow the contour-parallel machining of relatively complex contours consisting of several overlapping subcontours,...
Cycle 220 for point patterns on circles and Cycle 221 for point patterns on lines SL Cycle 14 CONTOUR GEOMETRY SL Cycle 20 CONTOUR DATA Cycle 32 TOLERANCE Coordinate Transformation Cycles Cycle 9 DWELL TIME You can call all other cycles with the functions described as follows. HEIDENHAIN TNC 620...
Page 222
Calling a cycle with CYCL CALL The CYCL CALL function calls the fixed cycle that was last defined. The starting point of the cycle is the position that was programmed last before the CYCL CALL block. To program the cycle call, press the CYCL CALL key. ...
Page 223
2nd set-up clearance 207 RIGID TAPPING NEW Without a floating tap holder, with automatic pre-positioning, 2nd set-up clearance 209 TAPPING W/ CHIP BREAKING Without a floating tap holder, with automatic pre-positioning, 2nd set-up clearance, chip breaking HEIDENHAIN TNC 620...
Page 224
Cycle Soft key Page 262 THREAD MILLING Cycle for milling a thread in pre-drilled material 263 THREAD MILLING/CNTSNKG Cycle for milling a thread in pre-drilled material and machining a countersunk chamfer 264 THREAD DRILLING/MILLING Cycle for drilling into the solid material with subsequent milling of the thread with a tool 265 HEL.THREAD DRILLING/MILLING...
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive diameter or depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 226
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. Enter a 10 L Z+100 R0 FMAX positive value. Input range: 0 to 99999.9999 11 CYCL DEF 240 CENTERING Select Depth/Diameter (0/1) Q343: Select whether centering is based on the entered diameter or depth.
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 228
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. Enter a 10 L Z+100 R0 FMAX positive value. 11 CYCL DEF 200 DRILLING Depth Q201 (incremental value): Distance between workpiece surface and bottom of hole (tip of drill Q200=2 ;SET-UP CLEARANCE taper).
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 230
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. 10 L Z+100 R0 FMAX Depth Q201 (incremental value): Distance between 11 CYCL DEF 201 REAMING workpiece surface and bottom of hole. Q200=2 ;SET-UP CLEARANCE ...
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 232
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. 10 L Z+100 R0 FMAX Depth Q201 (incremental value): Distance between 11 CYCL DEF 202 BORING workpiece surface and bottom of hole. Q200=2 ;SET-UP CLEARANCE ...
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 234
Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. Q206 Q208 Depth Q201 (incremental value): Distance between workpiece surface and bottom of hole (tip of drill taper). Q210 Feed rate for plunging Q206: Traversing speed of Q204 Q200 the tool during drilling in mm/min.
Q252 When calculating the starting point for boring, the TNC considers the tooth length of the boring bar and the thickness of the material. Q255 Q254 Q214 HEIDENHAIN TNC 620...
Page 236
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. 11 CYCL DEF 204 BACK BORING Depth of counterbore Q249 (incremental value): Q200=2 ;SET-UP CLEARANCE Distance between underside of workpiece and the top of the hole. A positive sign means the hole will be Q249=+5 ;DEPTH OF COUNTERBORE bored in the positive spindle axis direction.
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 238
Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. Q206 Depth Q201 (incremental value): Distance between workpiece surface and bottom of hole (tip of drill taper). Feed rate for plunging Q206: Traversing speed of Q204 Q200 the tool during drilling in mm/min.
Page 239
TNC merely changes the starting point of the infeed Q379=7.5 ;STARTING POINT movement. Retraction movements are not changed by Q253=750 ;F PRE-POSITIONING the TNC, therefore they are calculated with respect to the coordinate of the workpiece surface. HEIDENHAIN TNC 620...
BORE MILLING (Cycle 208, Advanced programming features software option) 1 The TNC positions the tool in the spindle axis at rapid traverse FMAX to the programmed set-up clearance above the workpiece surface and then moves the tool to the bore hole circumference on a rounded arc (if enough space is available).
Page 241
Climb or up-cut Q351: Type of milling operation with Q201=-80 ;DEPTH +1 = climb milling Q206=150 ;FEED RATE FOR PLUNGING –1 = up-cut milling Q334=1.5 ;PLUNGING DEPTH Q203=+100 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE Q335=25 ;NOMINAL DIAMETER Q342=0 ;ROUGHING DIAMETER Q351=+1 ;CLIMB OR UP-CUT HEIDENHAIN TNC 620...
TAPPING NEW with floating tap holder (Cycle 206) 1 The TNC positions the tool in the spindle axis at rapid traverse FMAX to the programmed set-up clearance above the workpiece surface. 2 The tool drills to the total hole depth in one movement. 3 Once the tool has reached the total hole depth, the direction of spindle rotation is reversed and the tool is retracted to the set-up clearance at the end of the dwell time.
Page 243
Q203=+25 ;SURFACE COORDINATE Retracting after a program interruption Q204=50 ;2ND SET-UP CLEARANCE 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 620...
Page 244
RIGID TAPPING without a floating tap holder NEW (Cycle 207) Machine and control must be specially prepared by the machine tool builder for use of this cycle. This cycle is effective only for machines with controlled spindle. The TNC cuts the thread without a floating tap holder in one or more passes.
Page 245
If you press the MANUAL OPERATION key, you can retract the tool Q201=-20 ;DEPTH under program control. Simply press the positive axis direction button Q239=+1 ;PITCH of the active spindle axis. Q203=+25 ;SURFACE COORDINATE Q204=50 ;2ND SET-UP CLEARANCE HEIDENHAIN TNC 620...
Page 246
TAPPING WITH CHIP BREAKING (Cycle 209, Advanced programming features software option) Machine and control must be specially prepared by the machine tool builder for use of this cycle. This cycle is effective only for machines with controlled spindle. The tool machines the thread in several passes until it reaches the programmed depth.
Page 247
2nd set-up clearance Q204 (incremental value): Coordinate in the spindle axis at which no collision between tool and workpiece (clamping devices) can occur. Infeed depth for chip breaking Q257 (incremental value): Depth at which TNC carries out chip breaking HEIDENHAIN TNC 620...
Page 248
Example: NC blocks Retraction rate for chip breaking Q256: The TNC multiplies the pitch Q239 by the programmed value 26 CYCL DEF 209 TAPPING W/ CHIP BRKG and retracts the tool by the calculated value during chip breaking. If you enter Q256 = 0, the TNC retracts Q200=2 ;SET-UP CLEARANCE the tool completely from the hole (to the set-up...
Internal thread Pitch Climb/Up-cut Work direction Right-handed +1(RL) Left-handed – –1(RR) Right-handed –1(RR) Z– Left-handed – +1(RL) Z– External thread Pitch Climb/Up-cut Work direction Right-handed +1(RL) Z– Left-handed – –1(RR) Z– Right-handed –1(RR) Left-handed – +1(RL) HEIDENHAIN TNC 620...
Page 250
Danger of collision! Always program the same algebraic sign for the infeeds: Cycles comprise several sequences of operation that are independent of each other. The order of precedence according to which the work direction is determined is described with the individual cycles. For example, if you only want to repeat the countersinking process of a cycle, enter 0 for the thread depth.
Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! HEIDENHAIN TNC 620...
Page 252
Nominal diameter Q335: Nominal thread diameter. Thread pitch Q239: Pitch of the thread. The algebraic Q239 sign differentiates between right-hand and left-hand Q253 threads: + = right-hand thread – = left-hand thread Q204 Q200 Thread depth Q201 (incremental value): Distance between workpiece surface and root of thread.
Page 253
9 Then the tool moves tangentially on a helical path to the thread diameter and mills the thread with a 360° helical motion. 10 After this, the tool departs the contour tangentially and returns to the starting point in the working plane. HEIDENHAIN TNC 620...
Page 254
11 At the end of the cycle, the TNC retracts the tool at rapid traverse to the set-up clearance, or—if programmed—to the 2nd set-up clearance. Before programming, note the following Program a positioning block for the starting point (hole center) in the working plane with radius compensation R0. The algebraic sign of the cycle parameters depth of thread, countersinking depth or sinking depth at front determines the working direction.
Page 255
Q203 Countersinking offset at front Q359 (incremental value): Distance by which the TNC moves the tool center away from the hole center. Q359 Q358 Q357 HEIDENHAIN TNC 620...
Page 256
Example: NC blocks Workpiece surface coordinate Q203 (absolute value): Coordinate of the workpiece surface. 25 CYCL DEF 263 THREAD MLLNG/CNTSNKG 2nd set-up clearance Q204 (incremental value): Q335=10 ;NOMINAL DIAMETER Coordinate in the spindle axis at which no collision between tool and workpiece (clamping devices) can Q239=+1.5 ;PITCH occur.
Page 257
10 Then the tool moves tangentially on a helical path to the thread diameter and mills the thread with a 360° helical motion. 11 After this, the tool departs the contour tangentially and returns to the starting point in the working plane. HEIDENHAIN TNC 620...
Page 258
12 At the end of the cycle, the TNC retracts the tool at rapid traverse to the set-up clearance, or—if programmed—to the 2nd set-up clearance. Before programming, note the following Program a positioning block for the starting point (hole center) in the working plane with radius compensation R0. The algebraic sign of the cycle parameters depth of thread, countersinking depth or sinking depth at front determines the working direction.
Page 259
Countersinking offset at front Q359 (incremental Q358 value): Distance by which the TNC moves the tool center away from the hole center. HEIDENHAIN TNC 620...
Page 260
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. 25 CYCL DEF 264 THREAD DRILLNG/MLLNG Workpiece surface coordinate Q203 (absolute Q335=10 ;NOMINAL DIAMETER value): Coordinate of the workpiece surface. Q239=+1.5 ;PITCH 2nd set-up clearance Q204 (incremental value): Coordinate in the spindle axis at which no collision Q201=-16 ;DEPTH OF THREAD...
Page 261
8 After this, the tool departs the contour tangentially and returns to the starting point in the working plane. 9 At the end of the cycle, the TNC retracts the tool at rapid traverse to the set-up clearance, or—if programmed—to the 2nd set-up clearance. HEIDENHAIN TNC 620...
Page 262
Before programming, note the following Program a positioning block for the starting point (hole center) in the working plane with radius compensation R0. The algebraic sign of the cycle parameters depth of thread or sinking depth at front determines the working direction. The working direction is defined in the following sequence: 1st: Depth of thread...
Page 263
Countersink Q360: Execution of the chamfer Q253 0 = before thread machining 1 = after thread machining Set-up clearance Q200 (incremental value): Distance Q204 Q200 between tool tip and workpiece surface. Q201 Q203 Q359 Q358 HEIDENHAIN TNC 620...
Page 264
Example: NC blocks Workpiece surface coordinate Q203 (absolute value): Coordinate of the workpiece surface. 25 CYCL DEF 265 HEL. THREAD DRLG/MLG 2nd set-up clearance Q204 (incremental value): Q335=10 ;NOMINAL DIAMETER Coordinate in the spindle axis at which no collision between tool and workpiece (clamping devices) can Q239=+1.5 ;PITCH occur.
Page 265
10 After this, the tool departs the contour tangentially and returns to the starting point in the working plane. HEIDENHAIN TNC 620...
Page 266
11 At the end of the cycle, the TNC retracts the tool in rapid traverse to set-up clearance, or—if programmed—to the 2nd set-up clearance. Before programming, note the following Program a positioning block for the starting point (stud center) in the working plane with radius compensation R0. The offset required before countersinking at the front should be determined ahead of time.
Page 267
Q335 Climb or up-cut Q351: Type of milling operation with Q204 M03. Q200 +1 = climb milling –1 = up-cut milling Q201 Q203 Q239 Q355 = 0 Q355 > 1 Q355 = 1 HEIDENHAIN TNC 620...
Page 268
Example: NC blocks Set-up clearance Q200 (incremental value): Distance between tool tip and workpiece surface. 25 CYCL DEF 267 OUTSIDE THREAD MLLNG Depth at front Q358 (incremental value): Distance Q335=10 ;NOMINAL DIAMETER between tool tip and the top surface of the workpiece for countersinking at the front of the tool.
POCKET MILLING (Cycle 4) Cycles 1, 2, 3, 4, 5, 17, 18 are in a group of cycles called special cycles. Here in the second soft-key row, select the OLD CYCLS soft key. 1 The tool penetrates the workpiece at the starting position (pocket center) and advances to the first plunging depth.
Page 274
POCKET FINISHING (Cycle 212, Advanced programming features software option) 1 The TNC automatically moves the tool in the spindle axis to the set-up clearance, or—if programmed—to the 2nd set-up clearance, and subsequently to the center of the pocket. 2 From the pocket center, the tool moves in the working plane to the starting point for machining.
Page 275
Q219=60 ;SECOND SIDE LENGTH Allowance in 1st axis Q221 (incremental value): Q220=5 ;CORNER RADIUS Allowance for pre-positioning in the reference axis of the working plane referenced to the length of the Q221=0 ;OVERSIZE pocket. HEIDENHAIN TNC 620...
Page 276
STUD FINISHING (Cycle 213, Advanced programming features software option) 1 The TNC moves the tool in the spindle axis to the set-up clearance, or—if programmed—to the 2nd set-up clearance, and subsequently to the center of the stud. 2 From the stud center, the tool moves in the working plane to the starting point for machining.
Page 277
Corner radius Q220: Radius of the stud corner. Allowance in 1st axis Q221 (incremental value): Allowance for pre-positioning in the reference axis of the working plane referenced to the length of the stud. HEIDENHAIN TNC 620...
Page 278
CIRCULAR POCKET (Cycle 5) Cycles 1, 2, 3, 4, 5, 17, 18 are in a group of cycles called special cycles. Here in the second soft-key row, select the OLD CYCLS soft key. 1 The tool penetrates the workpiece at the starting position (pocket center) and advances to the first plunging depth.
Page 280
CIRCULAR POCKET FINISHING (Cycle 214, Advanced programming features software option) 1 The TNC automatically moves the tool in the spindle axis to the set-up clearance, or—if programmed—to the 2nd set-up clearance, and subsequently to the center of the pocket. 2 From the pocket center, the tool moves in the working plane to the starting point for machining.
Page 281
Finished part diameter Q223: Diameter of the finished pocket. Enter the diameter of the finished part to be greater than the workpiece blank diameter and greater than the tool diameter. HEIDENHAIN TNC 620...
Page 282
CIRCULAR STUD FINISHING (Cycle 215, Advanced programming features software option) 1 The TNC automatically moves the tool in the spindle axis to the set-up clearance, or—if programmed—to the 2nd set-up clearance, and subsequently to the center of the stud. 2 From the stud center, the tool moves in the working plane to the starting point for machining.
Page 283
Enter the workpiece blank diameter to be greater than the diameter of the finished part. Diameter of finished part Q223: Diameter of the finished stud. Enter the diameter of the finished part to be less than the workpiece blank diameter. HEIDENHAIN TNC 620...
Page 284
SLOT (oblong hole) with reciprocating plunge- cut (Cycle 210, Advanced programming features software option) Roughing 1 At rapid traverse, the TNC positions the tool in the spindle axis to the 2nd set-up clearance and subsequently to the center of the left circle.
Page 285
Second side length Q219 (value parallel to the minor Q216 axis of the working plane): Enter the slot width. If you enter a slot width that equals the tool diameter, the TNC will carry out the roughing process only (slot milling). HEIDENHAIN TNC 620...
Page 286
Example: NC blocks Angle of rotation Q224 (absolute value): Angle by which the entire slot is rotated. The center of rotation 51 CYCL DEF 210 SLOT RECIP. PLNG lies in the center of the slot. Q200=2 ;SET-UP CLEARANCE Infeed for finishing Q338 (incremental value): Infeed per cut.
Page 287
The cutter diameter must not be larger than the slot width and not smaller than a third of the slot width. The cutter diameter must be smaller than half the slot length. The TNC otherwise cannot execute this cycle. HEIDENHAIN TNC 620...
Page 288
Use the machine parameter displayDepthErr to define whether, if a positive depth is entered, the TNC should output an error message (on) or not (off). Danger of collision! Keep in mind that the TNC reverses the calculation for pre- positioning when a positive depth is entered. This means that the tool moves at rapid traverse in the tool axis at safety clearance below the workpiece surface! ...
Page 292
Q338=5 ;INFEED FOR FINISHING Q206=150 ;FEED RATE FOR PLNG 18 CYCL CALL M3 Call cycle for slot 1 19 FN 0: Q245 = +225 New starting angle for slot 2 20 CYCL CALL Call cycle for slot 2 21 L Z+250 R0 F MAX M2 Retract in the tool axis, end program 22 END PGM C210 MM...
CIRCULAR PATTERN (Cycle 220, Advanced programming features software option) 1 The TNC moves the tool at rapid traverse from its current position to the starting point for the first machining operation. N = Q241 Sequence: Move to the 2nd set-up clearance (spindle axis) Q247 Approach the starting point in the spindle axis.
Page 295
Type of traverse? Line=0/Arc=1 Q365: Definition of the path function with which the tool is to move between machining operations. 0: Move between operations on a straight line 1: Move between operations on the pitch circle HEIDENHAIN TNC 620...
LINEAR PATTERN (Cycle 221, Advanced programming features software option) Before programming, note the following Cycle 221 is DEF active, which means that Cycle 221 automatically calls the last defined fixed cycle. If you combine Cycle 221 with one of the fixed cycles 200 to 209, 212 to 215, 261 to 267, the set-up clearance, workpiece surface and 2nd set-up clearance that you defined in Cycle 221 will be effective for the selected fixed...
Page 297
(clamping devices) can occur. Moving to clearance height Q301: Definition of how the tool is to move between machining processes. 0: Move to the set-up clearance between operations. 1: Move to the 2nd set-up clearance between machining operations. HEIDENHAIN TNC 620...
Page 298
Example: Circular hole patterns 30° 0 BEGIN PGM PATTERN MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Definition of workpiece blank 2 BLK FORM 0.2 Y+100 Y+100 Z+0 3 TOOL CALL 1 Z S3500 Tool call 4 L Z+250 R0 FMAX M3 Retract the tool 5 CYCL DEF 200 DRILLING Cycle definition: drilling...
Page 299
;QUANTITY Q200=2 ;SET-UP CLEARANCE Q203=+0 ;SURFACE COORDINATE Q204=100 ;2ND SET-UP CLEARANCE Q301=1 ;MOVE TO CLEARANCE Q365=0 ;TYPE OF TRAVERSE 8 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 9 END PGM PATTERN MM HEIDENHAIN TNC 620...
Page 300
8.5 SL Cycles Fundamentals Example: Program structure: Machining with SL SL cycles enable you to form complex contours by combining up to 12 cycles subcontours (pockets or islands). You define the individual subcontours in subprograms. The TNC calculates the total contour 0 BEGIN PGM SL2 MM from the subcontours (subprogram numbers) that you enter in Cycle 14 CONTOUR GEOMETRY.
Page 301
(for spindle axis Z, for example, the arc may be in the Z/X plane). 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 620...
Label numbers for the contour: Enter all label numbers for the individual subprograms that are to be superimposed to define the contour. Confirm every label number with the ENT key. When you have entered all numbers, conclude entry with the END key. HEIDENHAIN TNC 620...
Overlapping contours Pockets and islands can be overlapped to form a new contour. You can thus enlarge the area of a pocket by another pocket or reduce it by an island. Subprograms: Overlapping pockets The subsequent programming examples are contour subprograms that are called by Cycle 14 CONTOUR GEOMETRY in a main program.
Page 305
52 L X+10 Y+50 RR 53 CC X+35 Y+50 54 C X+10 Y+50 DR- 55 LBL 0 Surface B: 56 LBL 2 57 L X+90 Y+50 RL 58 CC X+65 Y+50 59 C X+90 Y+50 DR- 60 LBL 0 HEIDENHAIN TNC 620...
Page 306
Area of intersection Only the area where A and B overlap is to be machined. (The areas covered by A or B alone are to be left unmachined.) A and B must be pockets A must start inside of B Surface A: 51 LBL 1 52 L X+60 Y+50 RR...
Page 307
Machining direction for pockets. Q4=+0.1 ;ALLOWANCE FOR FLOOR Q9 = –1 up-cut milling for pocket and island Q5=+30 ;SURFACE COORDINATE Q9 = +1 climb milling for pocket and island Q6=2 ;SET-UP CLEARANCE Q7=+80 ;CLEARANCE HEIGHT Q8=0.5 ;ROUNDING RADIUS Q9=+1 ;DIRECTION HEIDENHAIN TNC 620...
Page 308
PILOT DRILLING (Cycle 21, Advanced programming features software option) When calculating the infeed points, the TNC does not account for the delta value DR programmed in a TOOL CALL block. In narrow areas, the TNC may not be able to carry out pilot drilling with a tool that is larger than the rough-out tool.
Page 309
This allows another distribution of cuts, which often provides the desired results. During fine roughing the TNC does not take a defined wear value DR of the coarse roughing tool into account. HEIDENHAIN TNC 620...
Page 310
Plunging depth Q10 (incremental value): Dimension by which the tool plunges in each infeed. Feed rate for plunging Q11: Traversing speed of the tool in mm/min during penetration. Feed rate for milling Q12: Traversing speed for milling in mm/min. ...
Page 311
Q208 = 0, the TNC retracts the tool at the feed rate in Q12. Input range: 0 to 99999.9999 Example: NC blocks alternatively 60 CYCL DEF 23 FLOOR FINISHING Q11=100 ;FEED RATE FOR PLUNGING Q12=350 ;FEED RATE FOR ROUGHING Q208=99999 ;RETRACTION FEED RATE HEIDENHAIN TNC 620...
Page 312
SIDE FINISHING (Cycle 24, Advanced programming features software option) The subcontours are approached and departed on a tangential arc. Each subcontour is finish-milled separately. Before programming, note the following The sum of allowance for side (Q14) and the radius of the finish mill must be smaller than the sum of allowance for side (Q3, Cycle 20) and the radius of the rough mill.
Page 313
Move the tool to defined (absolute) positions in all main axes, since the position of the tool at the end of the cycle is not identical to the position of the tool at the start of the cycle. HEIDENHAIN TNC 620...
Page 314
Milling depth Q1 (incremental value): Distance between workpiece surface and contour floor. Finishing allowance for side Q3 (incremental value): Finishing allowance in the working plane. Workpiece surface coordinate Q5 (absolute value): Absolute coordinate of the workpiece surface referenced to the workpiece datum.
Page 315
This cycle can also be used in a tilted working plane. The set-up clearance must be greater than the tool radius. The machining time can increase if the contour consists of many non-tangential contour elements. HEIDENHAIN TNC 620...
Page 316
CYLINDER SURFACE (Cycle 27, software option 1) Machine and control must be specially prepared by the machine tool builder for use of this cycle. Before programming, note the following: Program defaults for cylindrical surface machining cycles (see page 315) This cycle enables you to program a contour in two dimensions and then roll it onto a cylindrical surface for 3-D machining.
Page 317
Cylinder radius Q16: Radius of the cylinder on which the contour is to be machined. Dimension type ? (ANG/LIN) Q17: The dimensions for the rotary axis (X coordinates) of the subprogram are given either in degrees (0) or in mm/inches (1). HEIDENHAIN TNC 620...
Page 318
CYLINDER SURFACE slot milling (Cycle 28, software option 1) Machine and control must be specially prepared by the machine tool builder for use of this cycle. Before programming, note the following: Program defaults for cylindrical surface machining cycles (see page 315) This cycle enables you to program a guide notch in two dimensions and then transfer it onto a cylindrical surface.
Page 319
The smaller the tolerance is defined, the more exact the slot is and the longer the remachining takes. Recommendation: Use a tolerance of 0.02 mm. Function inactive: Enter 0 (default setting) HEIDENHAIN TNC 620...
Page 320
CYLINDER SURFACE ridge milling (Cycle 29, software option 1) Machine and control must be specially prepared by the machine tool builder for use of this cycle. Before programming, note the following: Program defaults for cylindrical surface machining cycles (see page 315) This cycle enables you to program a ridge in two dimensions and then transfer it onto a cylindrical surface.
Page 321
Dimension type ? (ANG/LIN) Q17: The dimensions for the rotary axis (X coordinates) of the subprogram are given either in degrees (0) or in mm/inches (1). Ridge width Q20: Width of the ridge to be machined. HEIDENHAIN TNC 620...
Example: Pilot drilling, roughing-out and finishing overlapping contours 0 BEGIN PGM C21 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Definition of workpiece blank 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL DEF 2 L+0 R+6 Define the tool for roughing/finishing 4 TOOL CALL 1 Z S2500 Call tool: drill 5 L Z+250 R0 FMAX...
Page 323
Q10=5 ;PLUNGING DEPTH Q11=100 ;FEED RATE FOR PLUNGING Q12=400 ;FEED RATE FOR ROUGHING Q14=+0 ;ALLOWANCE FOR SIDE 18 CYCL CALL Cycle call: Side finishing 19 L Z+250 R0 FMAX M2 Retract in the tool axis, end program HEIDENHAIN TNC 620...
Page 324
20 LBL 1 Contour subprogram 1: left pocket 21 CC X+35 Y+50 22 L X+10 Y+50 RR 23 C X+10 DR- 24 LBL 0 25 LBL 2 Contour subprogram 2: right pocket 26 CC X+65 Y+50 27 L X+90 Y+50 RR 28 C X+90 DR- 29 LBL 0 Contour subprogram 3: square left island...
;CLEARANCE HEIGHT Q10=5 ;PLUNGING DEPTH Q11=100 ;FEED RATE FOR PLUNGING Q12=200 ;FEED RATE FOR MILLING Q15=+1 ;CLIMB OR UP-CUT Cycle call 8 CYCL CALL M3 Retract in the tool axis, end program 9 L Z+250 R0 FMAX M2 HEIDENHAIN TNC 620...
Page 326
10 LBL 1 Contour subprogram 11 L X+0 Y+15 RL 12 L X+5 Y+20 13 CT X+5 Y+75 14 L Y+95 15 RND R7.5 16 L X+50 17 RND R7.5 18 L X+100 Y+80 19 LBL 0 20 END PGM C25 MM...
Page 327
Retract in the tool axis, end program 9 L Y+250 R0 FMAX M2 Contour subprogram, description of the midpoint path 10 LBL 1 Data for the rotary axis are entered in mm (Q17=1) 11 L X+40 Y+0 RR HEIDENHAIN TNC 620...
Page 328
12 L Y+35 13 L X+60 Y+52.5 14 L Y+70 15 LBL 0 16 END PGM C28 MM...
Page 329
;TYPE OF DIMENSION Q20=10 ;SLOT WIDTH Q21=0.02 ;TOLERANCE Remachining active 7 L C+0 R0 FMAX M3 Pre-position rotary table 8 CYCL CALL Cycle call 9 L Y+250 R0 FMAX M2 Retract in the tool axis, end program HEIDENHAIN TNC 620...
Page 330
10 LBL 1 Contour subprogram 11 L X+40 Y+20 RL Data for the rotary axis are entered in mm (Q17=1) 12 L X+50 13 RND R7.5 14 L Y+60 15 RND R7.5 16 L IX-20 17 RND R7.5 18 L Y+20 19 RND R7.5 20 L X+40 21 LBL 0...
Surfaces that are inclined in any way Twisted surfaces Cycle Soft key Page 230 MULTIPASS MILLING For flat rectangular surfaces 231 RULED SURFACE For oblique, inclined or twisted surfaces 232 FACE MILLING For level rectangular surfaces, with indicated oversizes and multiple infeeds HEIDENHAIN TNC 620...
Page 332
MULTIPASS MILLING (Cycle 230, Advanced programming features software option) 1 From the current position in the working plane, the TNC positions the tool at rapid traverse FMAX to the starting point 1; the TNC moves the tool by its radius to the left and upward. 2 The tool then moves at FMAX in the spindle axis to the set-up clearance.
Page 333
Q226=+12 ;STARTING POINT 2ND AXIS Q227=+2.5 ;STARTING POINT 3RD AXIS Q218=150 ;FIRST SIDE LENGTH Q219=75 ;SECOND SIDE LENGTH Q240=25 ;NUMBER OF CUTS Q206=150 ;FEED RATE FOR PLUNGING Q207=500 ;FEED RATE FOR MILLING Q209=200 ;STEPOVER FEED RATE Q200=2 ;SET-UP CLEARANCE HEIDENHAIN TNC 620...
Page 334
RULED SURFACE (Cycle 231, Advanced programming features software option) 1 From the current position, the TNC positions the tool in a linear 3-D movement to the starting point 2 The tool subsequently advances to the stopping point at the feed rate for milling.
Page 335
3rd point in 2nd axis Q232 (absolute value): Q226 Coordinate of point in the minor axis of the working Q207 plane. 3rd point in 3rd axis Q233 (absolute value): Coordinate of point in the spindle axis HEIDENHAIN TNC 620...
Page 336
Example: NC blocks 4th point in 1st axis Q234 (absolute value): Coordinate of point in the reference axis of the 72 CYCL DEF 231 RULED SURFACE working plane. Q225=+0 ;STARTING POINT 1ST AXIS 4th point in 2nd axis Q235 (absolute value): Coordinate of point in the minor axis of the working Q226=+5...
8 The process is repeated until all infeeds have been machined. In the last infeed, simply the finishing allowance entered is milled at the finishing feed rate. 9 At the end of the cycle, the TNC retracts the tool at FMAX to the 2nd set-up clearance. HEIDENHAIN TNC 620...
Page 338
Strategy Q389=1 3 The tool then advances to the stopping point at the feed rate for milling. The end point lies within the surface. The control calculates the end point from the programmed starting point, the programmed length and the tool radius. 4 The TNC offsets the tool to the starting point in the next pass at the pre-positioning feed rate.
Page 339
Second side length Q219 (incremental value): Length of the surface to be machined in the minor axis of the working plane. Use the algebraic sign to specify the direction of the first stepover in reference to the starting point in the 2nd axis. HEIDENHAIN TNC 620...
Page 340
Maximum plunging depth Q202 (incremental value): Maximum amount that the tool is advanced each time. The TNC calculates the actual plunging depth from the difference between the end point and starting point of the tool axis (taking the finishing allowance into account), so that uniform plunging Q204 depths are used each time.
Page 341
(clamping devices) can occur. Q369=0.5 ;ALLOWANCE FOR FLOOR Q370=1 ;MAX. OVERLAP Q207=500 ;FEED RATE FOR MILLING Q385=800 ;FEED RATE FOR FINISHING Q253=2000 ;F PRE-POSITIONING Q200=2 ;SET-UP CLEARANCE Q357=2 ;CLEARANCE TO SIDE Q204=2 ;2ND SET-UP CLEARANCE HEIDENHAIN TNC 620...
Page 342
Example: Multipass milling 0 BEGIN PGM C230 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z+0 Definition of workpiece blank 2 BLK FORM 0.2 X+100 Y+100 Z+40 3 TOOL CALL 1 Z S3500 Tool call 4 L Z+250 R0 FMAX Retract the tool 5 CYCL DEF 230 MULTIPASS MILLING Cycle definition: MULTIPASS MILLING...
Page 343
6 L X-25 Y+0 R0 FMAX M3 Pre-position near the starting point 7 CYCL CALL Cycle call 8 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 9 END PGM C230 MM HEIDENHAIN TNC 620...
Page 344
8.7 Coordinate Transformation Cycles Overview Once a contour has been programmed, you can position it on the workpiece at various locations and in different sizes through the use of coordinate transformations. The TNC provides the following coordinate transformation cycles: Cycle Soft key Page 7 DATUM SHIFT...
DATUM SHIFT with datum tables (Cycle 7) The datum table used depends on the operating mode or is selectable: Program Run operating modes: “zeroshift.d” table Test-Run operating mode: “simzeroshift.d” table Datums from a datum table are referenced to the current datum.
Page 347
Select beginning of table Select end of table Go to previous page Go to next page Insert line (only possible at end of table) Delete line Find Go to beginning of line Go to end of line HEIDENHAIN TNC 620...
Page 348
Function Soft key Copy the present value Insert the copied value Add the entered number of lines (reference points) to the end of the table Configuring the datum table If you do not wish to define a datum for an active axis, press the DEL key.
Cycle 247 is not functional in Test Run mode. Example: NC blocks Status display 13 CYCL DEF 247 DATUM SETTING In the additional status display (POS. DISP. STATUS) the TNC shows the active preset number behind the datum dialog. Q339=4 ;DATUM NUMBER HEIDENHAIN TNC 620...
MIRROR IMAGE (Cycle 8) The TNC can machine the mirror image of a contour in the working plane. Effect The mirror image cycle becomes effective as soon as it is defined in the program. It is also effective in the Positioning with MDI mode of operation.
Page 351
You can enter up to three axes. Cancellation Program the MIRROR IMAGE cycle once again with NO ENT. Example: NC blocks 79 CYCL DEF 8.0 MIRROR IMAGE 80 CYCL DEF 8.1 X Y Z HEIDENHAIN TNC 620...
Page 352
ROTATION (Cycle 10) The TNC can rotate the coordinate system about the active datum in the working plane within a program. Effect The ROTATION cycle becomes effective as soon as it is defined in the program. It is also effective in the Positioning with MDI mode of operation.
AXIS-SPECIFIC SCALING (Cycle 26) Before programming, note the following Coordinate axes sharing coordinates for arcs must be enlarged or reduced by the same factor. You can program each coordinate axis with its own axis- specific scaling factor. In addition, you can enter the coordinates of a center for all scaling factors.
Page 355
With two spatial angles, every tool position in space can be defined exactly. Note that the position of the tilted coordinate system, and therefore also all movement in the tilted system, are dependent on your description of the tilted plane. HEIDENHAIN TNC 620...
Page 356
If you program the position of the working plane via spatial angles, the TNC will calculate the required angle positions of the tilted axes automatically and will store these in the parameters Q120 (A axis) to Q122 (C axis). If two solutions are possible, the TNC will choose the shorter path from the zero position of the rotary axes.
Page 357
13 CYCL DEF 19.0 WORKING PLANE Define the angle for calculation of the compensation 14 CYCL DEF 19.1 B+15 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 620...
Page 358
Position display in the tilted system On activation of Cycle 19, the displayed positions (ACTL and NOML) and the datum indicated in the additional status display are referenced to the tilted coordinate system. The positions displayed immediately after cycle definition might not be the same as the coordinates of the last programmed position before Cycle 19.
Page 359
3 Preparations in the operating mode Positioning with Manual Data Input (MDI) Pre-position the rotary axis/axes to the corresponding angular value(s) for setting the datum. The angular value depends on the selected reference plane on the workpiece. HEIDENHAIN TNC 620...
Page 360
Manually by touching the workpiece with the tool in the untilted coordinate system (see “Datum Setting (Without a 3-D Touch Probe),” page 54). Controlled with a HEIDENHAIN 3-D touch probe (see the Touch Probe Cycles Manual, chapter 2). Automatically by using a HEIDENHAIN 3-D touch probe (see the Touch Probe Cycles Manual, chapter 3).
Page 362
20 L Z+250 R0 FMAX M2 Retract in the tool axis, end program 21 LBL 1 Subprogram 1 22 L X+0 Y+0 R0 FMAX Define milling operation 23 L Z+2 R0 FMAX M3 24 L Z-5 R0 F200 25 L X+30 RL 26 L IY+10 27 RND R5 28 L IX+20...
Dwell time in seconds: Enter the dwell time in seconds. Input range: 0 to 3600 s (1 hour) in steps of 0.001 seconds Example: NC blocks 89 CYCL DEF 9.0 DWELL TIME 90 CYCL DEF 9.1 DWELL 1.5 HEIDENHAIN TNC 620...
PROGRAM CALL (Cycle 12) Routines that you have programmed (such as special drilling cycles or geometrical modules) can be written as main programs and then called like fixed cycles. CYCL DEF 12.0 BEGIN PGM Before programming, note the following PGM CALL LOT31 MM The program you are calling must be stored on the hard CYCL DEF 12.1...
The TNC can control the machine tool spindle and rotate it to a given angular position. Oriented spindle stops are required for Tool changing systems with a defined tool change position Orientation of the transmitter/receiver window of HEIDENHAIN 3-D touch probes with infrared transmission Example: NC blocks Effect 93 CYL DEF13.0 ORIENTATION...
Page 366
TOLERANCE (Cycle 32) Machine and control must be specially prepared by the machine tool builder for use of this cycle. With the entries in Cycle 32 you can influence the result of HSC machining with respect to accuracy, surface definition and speed, inasmuch as the TNC has been adapted to the machine’s characteristics.
Page 367
0 if required. As the tolerance value increases, the diameter of circular movements usually decreases. If the HSC filter is active on your machine (ask your machine manufacturer, if necessary), the circle can also become larger. HEIDENHAIN TNC 620...
Page 368
Example: NC blocks Tolerance value T: Permissible contour deviation in mm (or inches with inch programming) 95 CYCL DEF 32.0 TOLERANCE HSC MODE, Finishing=0, Roughing=1: Activate filter: 96 CYCL DEF 32.1 T0.05 Input value 0: 97 CYC DEF 32.2 HSC MODE:1 TA5 Milling with increased contour accuracy.
9.1 Labeling Subprograms and Program Section Repeats Subprograms and program section repeats enable you to program a machining sequence once and then run it as often as desired. Labels The beginnings of subprograms and program section repeats are marked in a part program by labels (LBL). A LABEL is identified by a number between 1 and 65 534 or by a name you define.
Repeat REP: Ignore the dialog question with the NO ENT key. Repeat REP is used only for program section repeats. CALL LBL 0 is not permitted (Label 0 is only used to mark the end of a subprogram). HEIDENHAIN TNC 620...
9.3 Program Section Repeats Label LBL The beginning of a program section repeat is marked by the label LBL. The end of a program section repeat is identified by CALL LBL ... REP. 0 BEGIN PGM ... Actions LBL1 1 The TNC executes the part program up to the end of the program section (CALL LBL ...
Page 373
You can also call a program with CYCLE 12 PGM CALL. As a rule, Q parameters are effective globally with a PGM CALL. So please note that changes to Q parameters in the called program can also influence the calling program. HEIDENHAIN TNC 620...
9.5 Nesting Types of nesting Subprograms within a subprogram Program section repeats within a program section repeat Subprograms repeated Program section repeats within a subprogram Nesting depth The nesting depth is the number of successive levels in which program sections or subprograms can call further program sections or subprograms.
Page 375
4 Subprogram 1 is executed from block 40 up to block 45. End of subprogram 1 and return jump to the main program SUBPGMS. 5 Main program SUBPGMS is executed from block 18 up to block 35. Return jump to block 1 and end of program. HEIDENHAIN TNC 620...
Repeating program section repeats Example NC blocks 0 BEGIN PGM REPS MM Beginning of program section repeat 1 15 LBL 1 20 LBL 2 Beginning of program section repeat 2 27 CALL LBL 2 REP 2 The program section between LBL 2 and this block (block 20) is repeated twice 35 CALL LBL 1 REP 1 The program section between LBL 1 and this block...
2 Subprogram 2 is called and executed. 3 Program section between block 10 and block 12 is repeated twice. Subprogram 2 is repeated twice. 4 Main program SPGREP is executed from block 13 to block 19. End of program. HEIDENHAIN TNC 620...
9.6 Programming Examples Example: Milling a contour in several infeeds Program sequence Pre-position the tool to the workpiece surface Enter the infeed depth in incremental values Contour milling Repeat downfeed and contour-milling 0 BEGIN PGM PGMWDH MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-40 2 BLK FORM 0.2 X+100 Y+100 Z+0 Tool call 3 TOOL CALL 1 Z S500...
Page 379
Return jump to LBL 1; section is repeated a total of 4 times. 19 CALL LBL 1 REP 4 Retract in the tool axis, end program 20 L Z+250 R0 FMAX M2 21 END PGM PGMWDH MM HEIDENHAIN TNC 620...
Example: Groups of holes Program sequence Approach the groups of holes in the main program Call the group of holes (subprogram 1) Program the group of holes only once in subprogram 1 0 BEGIN PGM SP1 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL CALL 1 Z S5000 Tool call...
Page 381
15 L IX.20 R0 FMAX M99 Move to 3rd hole, call cycle 16 L IY+20 R0 FMAX M99 Move to 4th hole, call cycle 17 L IX-20 R0 FMAX M99 End of subprogram 1 18 LBL 0 19 END PGM SP1 MM HEIDENHAIN TNC 620...
Example: Group of holes with several tools Program sequence Program the fixed cycles in the main program Call the entire hole pattern (subprogram 1) Approach the groups of holes in subprogram 1, call group of holes (subprogram 2) Program the group of holes only once in subprogram 2 0 BEGIN PGM SP2 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20...
Page 383
28 L IX+20 R0 FMAX M99 Move to 3rd hole, call cycle 29 L IY+20 R0 FMAX M99 Move to 4th hole, call cycle 30 L IX-20 R0 FMAX M99 End of subprogram 2 31 LBL 0 32 END PGM SP2 MM HEIDENHAIN TNC 620...
10.1 Principle and Overview You can program an entire family of parts in a single part program. You do this by entering variables called Q parameters instead of fixed numerical values. Q parameters can represent information such as: Coordinate values Feed rates Spindle speeds Cycle data...
10.2 Part Families—Q Parameters in Place of Numerical Values The Q parameter function FN0: ASSIGN assigns numerical values to Q parameters. This enables you to use variables in the program instead of fixed numerical values. Example NC blocks 15 FNO: Q10=25 Assign Q10 is assigned the value 25...
Page 389
To the right of the “=” character you can enter the following: Two numbers Two Q parameters A number and a Q parameter The Q parameters and numerical values in the equations can be entered with positive or negative signs. HEIDENHAIN TNC 620...
Programming fundamental operations Example: Program blocks in the TNC Example: 16 FN0: Q5 = +10 Call the Q parameter functions by pressing the Q key. 17 FN3: Q12 = +Q5 * +7 To select the mathematical functions, press the BASIC ARITHMETIC soft key. To select the Q parameter function ASSIGN, press the FN0 X = Y soft key.
α = arc tan (a / b) = arc tan (sin α / cos α) Example: a = 25 mm b = 50 mm α = arctan (a / b) = arctan 0.5 = 26.57° Furthermore: a² + b² = c² (where a² = a x a) (a² + b²) HEIDENHAIN TNC 620...
Programming trigonometric functions Press the ANGLE FUNCTION soft key to call the angle functions. The TNC then displays the following soft keys: Programming: Compare “Example: Programming fundamental operations.” Function Soft key FN6: SINE Example FN6: Q20 = SIN–Q5 Calculates and assigns the sine of an angle in degrees (°) FN7: COSINE Example FN7: Q21 = COS–Q5...
Page 393
Z) in parameter Q20, the circle center in the minor axis (Y if spindle axis is Z) in parameter Q21, and the circle radius in parameter Q22. Note that FN23 and FN24 automatically overwrite not only the result parameters, but also the two subsequent parameters. HEIDENHAIN TNC 620...
10.6 If-Then Decisions with Q Parameters Function The TNC can make logical If-Then decisions by comparing a Q parameter with another Q parameter or with a numerical value. If the condition is fulfilled, the TNC continues the program at the label that is programmed after the condition (for information on labels, see “Labeling Subprograms and Program Section Repeats,”...
10.7 Checking and Changing Q Parameters Procedure You can check Q parameters when writing, testing and running programs in all operating modes and, except in the test run, edit them. If you are in a program run, interrupt it if required (for example, by pressing the machine STOP button and the INTERNAL STOP soft key).
Send values to the PLC FN20:WAIT FOR Page 416 Synchronize NC and PLC FN29:PLC Page 418 Transfer up to eight values to the PLC FN37:EXPORT Page 418 Export local Q parameters or QS parameters into a calling program HEIDENHAIN TNC 620...
With the function FN14: ERROR you can call messages under program control. The messages were programmed by the machine tool builder or by HEIDENHAIN. Whenever the TNC comes to a block with FN 14 in the Program Run or Test Run mode, it interrupts the program run and displays a message.
Page 399
Position error: center in axis 2 1046 Hole diameter too small 1047 Hole diameter too large 1048 Stud diameter too small 1049 Stud diameter too large 1050 Pocket too small: rework axis 1 1051 Pocket too small: rework axis 2 HEIDENHAIN TNC 620...
Page 400
Error number Text 1052 Pocket too large: scrap axis 1 1053 Pocket too large: scrap axis 2 1054 Stud too small: scrap axis 1 1055 Stud too small: scrap axis 2 1056 Stud too large: rework axis 1 1057 Stud too large: rework axis 2 1058 TCHPROBE 425: length exceeds max 1059...
Page 401
Tool not defined 1093 Tool number not permitted 1094 Tool name not allowed 1095 Software option not active 1096 Kinematics cannot be restored 1097 Function not permitted 1098 Contradictory workpc. blank dim. 1099 Measuring position not allowed HEIDENHAIN TNC 620...
FN 16: F-PRINT: Formatted output of text and Q parameter values With FN 16, you can also output to the screen any messages from the NC program. Such messages are displayed by the TNC in a pop-up window. The function FN 16: F-PRINT transfers Q-parameter values and texts in a selectable format through the data interface, for example to a printer.
Page 403
Display text only in Czech conversational L_FRENCH Display text only in French conversational L_ITALIAN Display text only in Italian conversational L_SPANISH Display text only in Spanish conversational L_SWEDISH Display text only in Swedish conversational L_DANISH Display text only in Danish conversational HEIDENHAIN TNC 620...
Page 404
Keyword Function L_FINNISH Display text only in Finnish conversational L_DUTCH Display text only in Dutch conversational L_POLISH Display text only in Polish conversational L_PORTUGUE Display text only in Portuguese conversational L_HUNGARIA Display text only in Hungarian conversational L_RUSSIAN Display text only in Russian conversational L_SLOVENIAN Display text only in Slovenian conversational L_ALL...
Page 405
If you enter only the file name for the path of the log file, the TNC saves the log file in the directory in which the NC program with the FN 16 function is located. You can output up to 32 Q parameters per line in the format description file. HEIDENHAIN TNC 620...
Page 406
Displaying messages on the TNC screen You can also use the function FN 16 to display any messages from the NC program in a pop-up window on the TNC screen. This makes it easy to display explanatory texts, including long texts, at any point in the program in a way that the user has to react to it.
Channel data, 25 Channel number Cycle parameter, 30 Set-up clearance of active fixed cycle Drilling depth / milling depth of active fixed cycle Plunging depth of active fixed cycle Feed rate for pecking in active fixed cycle HEIDENHAIN TNC 620...
Page 408
Group name, ID number Number Index Meaning 1st side length for rectangular pocket cycle 2nd side length for rectangular pocket cycle 1st side length for slot cycle 2nd side length for slot cycle Radius for circular pocket cycle Feed rate for milling in active fixed cycle Direction of rotation for active fixed cycle Dwell time for active fixed cycle Thread pitch for Cycles 17, 18...
Page 409
Tool magazine number Values programmed immediately Tool number T after TOOL CALL, 60 Active tool axis 0 = X 6 = U 1 = Y 7 = V 2 = Z 8 = W Spindle speed S HEIDENHAIN TNC 620...
Page 410
Group name, ID number Number Index Meaning Oversize in tool length DL Oversize in tool radius DR Automatic TOOL CALL 0 = yes, 1 = no Oversize in tool radius DR2 Tool index Active feed rate Values programmed immediately Tool number T after TOOL DEF, 61 Length Radius...
Page 411
Negative software limit switch in axes 1 to 9 1 to 9 Positive software limit switch in axes 1 to 9 Software limit switch on or off: 0 = on, 1 = off Nominal position in the REF X axis system, 240 HEIDENHAIN TNC 620...
Page 412
Group name, ID number Number Index Meaning Y axis Z axis A axis B axis C axis U axis V axis W axis Current position in the active X axis coordinate system, 270 Y axis Z axis A axis B axis C axis U axis V axis...
Page 413
0 = not locked, 1 = locked Number of replacement tool RT Maximum tool age TIME1 Maximum tool age TIME2 Current tool age CUR. TIME PLC status Maximum tooth length LCUTS Maximum plunge angle ANGLE TT: Number of teeth CUT HEIDENHAIN TNC 620...
Page 414
Group name, ID number Number Index Meaning TT: Wear tolerance in length LTOL TT: Wear tolerance in radius RTOL TT: Direction of rotation DIRECT 0 = positive, –1 = negative TT: Offset in plane R-OFFS TT: Offset in length L-OFFS TT: Break tolerance for length LBREAK TT: Break tolerance in radius RBREAK PLC value...
The function FN 19: PLC transfers up to two numerical values or Q parameters to the PLC. Increments and units: 0.1 µm or 0.0001° Example: Transfer the numerical value 10 (which means 1 µm or 0.001°) to the PLC 56 FN19: PLC=+10/+Q3 HEIDENHAIN TNC 620...
FN20: WAIT FOR: NC and PLC synchronization This function may only be used with the permission of your machine tool builder. With function FN 20: WAIT FOR you can synchronize the NC and PLC with each other during a program run. The NC stops machining until the condition that you have programmed in the FN 20 block is fulfilled.
Page 417
NC program has actually reached that block. Example: Stop program run until the PLC sets marker 4095 to 1 32 FN20: WAIT FOR M4095==1 Example: Stop program run until the PLC sets the symbolic operand to 1 32 FN20: APISPIN[0].NN_SPICONTROLINPOS==1 HEIDENHAIN TNC 620...
FN29: PLC: Transferring values to the PLC The function FN 29: PLC transfers up to eight numerical values or Q parameters to the PLC. Increments and units: 0.1 µm or 0.0001° Example: Transfer the numerical value 10 (which means 1 µm or 0.001°) to the PLC 56 FN29: PLC=+10/+Q3/+Q8/+7/+1/+Q5/+Q2/+15 FN37:EXPORT...
“intermediate memory,” which temporarily assumes the set of selected columns and rows. Synonym: This term defines a name used for a table instead of its path and file name. Synonyms are specified by the machine manufacturer in the configuration data. HEIDENHAIN TNC 620...
Page 420
A Transaction In principle, a transaction consists of the following actions: Address table (file), select rows and transfer them to the result set. Read rows from the result set, change rows or insert new rows. Conclude transaction: If changes/insertions were made, the rows from the result set are placed in the table (file).
Page 421
Columns that are not bound to Q parameters are not included in the read-/write-processes. If a new table row is generated with SQL INSERT..., the columns not bound to Q parameters are filled with default values. HEIDENHAIN TNC 620...
Page 422
Programming SQL commands Program SQL commands in the Programming mode: Call the SQL functions by pressing the SQL soft key. Select an SQL command via soft key (see overview) or press the SQL EXECUTE soft key and program the SQL command.
Page 423
Table name: Synonym or path and file name of this table. The synonym is entered directly, whereas the path and file name are entered in single quotation marks. Column designation: Designation of the table column as given in the configuration data. HEIDENHAIN TNC 620...
SQL SELECT SQL SELECT selects table rows and transfers them to the result set. The SQL server places the data in the result set row-by-row. The rows are numbered in ascending order, starting from 0. This row number, called the INDEX, is used in the SQL commands "Fetch" and "Update." Enter the selection criteria in the SQL SELECT...WHERE...
Page 425
If neither ASC nor DESC are programmed, then ascending order is used as the default setting. The TNC places the selected rows in the indicated column. Optional: FOR UPDATE (keyword): The selected rows are locked against write- accesses from other processes. HEIDENHAIN TNC 620...
Page 426
Condition Programming Equal to Not equal to <> Less than < Less than or equal to <= Greater than > Greater than or equal to >= Linking multiple conditions: Logical AND Logical OR...
If you do not enter an index, the first row is read (n=0)..Either enter the row number directly or program the 30 SQL FETCH Q1 HANDLE Q5 INDEX5 Q parameter containing the index. HEIDENHAIN TNC 620...
SQL UPDATE Example: Row number is transferred in a SQL UPDATE transfers the data prepared in the Q parameters into the Q parameter row of the result set addressed with INDEX. The existing row in the result set is completely overwritten. 11 SQL BIND Q881 "TAB_EXAMPLE.MEAS_NO"...
(also see SQL SELECT). Data bank: Index for SQL result: Row that is to remain in the result set. Either enter the row number directly or program the Q parameter containing the index. HEIDENHAIN TNC 620...
10.10 Entering Formulas Directly Entering formulas You can enter mathematical formulas that include several operations directly into the part program by soft key. Press the FORMULA soft key to call the formula functions. The TNC displays the following soft keys in several soft-key rows: Mathematical function Soft key Addition...
Page 431
Example: Q12 = SGN Q50 If result for Q12 = 1, then Q50 >= 0 If result for Q12 = –1, then Q50 < 0 Calculate modulo value Example: Q12 = 400 % 360 Result: Q12 = 40 HEIDENHAIN TNC 620...
Shift the soft-key row and select the arc tangent function. Shift the soft-key row and open the parentheses. Enter Q parameter number 12. Select division. Enter Q parameter number 13. Close parentheses and conclude formula entry. Example NC block Q25 = ATAN (Q12/Q13) HEIDENHAIN TNC 620...
10.11 String Parameters String processing functions You can use the QS parameters to create variable character strings. You can output such character strings for example through the FN16:F-PRINT function to create variable logs. You can assign a linear sequence of characters (letters, numbers, special characters and spaces) to a string parameter.
Conclude with the END key. Example: QS10 is to include the complete text of QS12, QS13 and QS14 37 QS10 = QS12 || QS13 || QS14 Parameter contents: QS12: Workpiece QS13: Status: QS14: Scrap QS10: Workpiece Status: Scrap HEIDENHAIN TNC 620...
Converting a numerical value to a string parameter With the TOCHAR function, the TNC converts a numerical value to a string parameter. This enables you to chain numerical values with string variables. Select Q parameter functions. Select the STRING FORMULA function. ...
Remember that the first character of a text sequence starts internally with the zeroth place. Example: A four-character substring (LEN4) is read from the string parameter QS10 beginning with the third character (BEG2). 37 QS13 = SUBSTR ( SRC_QS10 BEG2 LEN4 ) HEIDENHAIN TNC 620...
Converting a string parameter to a numerical value The TONUMB function converts a string parameter to a numerical value. The value to be converted should be only numerical. The QS parameter must contain only one numerical value. Otherwise the TNC will output an error message. ...
Example: Search through QS10 for the text saved in parameter QS13. Begin the search at the third place. 37 Q50 = INSTR ( SRC_QS10 SEA_QS13 BEG2 ) HEIDENHAIN TNC 620...
Finding the length of a string parameter The STRLEN function returns the length of the text saved in a selectable string parameter. Select Q parameter functions. Select the FORMULA function. Enter the number of the Q parameter in which the TNC is to save the ascertained string length.
+1: The first QS parameter precedes the second QS parameter alphabetically. –1: The first QS parameter follows the second QS parameter alphabetically. Example: QS12 and QS14 are compared for alphabetic priority 37 Q52 = STRCOMP ( SRC_QS12 SEA_QS14 ) HEIDENHAIN TNC 620...
10.12 Preassigned Q Parameters The Q parameters Q100 to Q122 are assigned values by the TNC. The following are assigned to Q parameters: Values from the PLC Tool and spindle data Data on operating status, etc. Values from the PLC: Q100 to Q107 The TNC uses the parameters Q100 to Q107 to transfer values from the PLC to an NC program.
Page 443
Dimensional data of the main program Parameter value Metric system (mm) Q113 = 0 Inch system (inches) Q113 = 1 Tool length: Q114 The current value for the tool length is assigned to Q114. HEIDENHAIN TNC 620...
Coordinates after probing during program run The parameters Q115 to Q119 contain the coordinates of the spindle position at the moment of contact during programmed measurement with the 3-D touch probe. The coordinates refer to the datum point that is active in the Manual operating mode. The length of the stylus and the radius of the ball tip are not compensated in these coordinates.
Page 445
Deviation of actual from nominal value Parameter value Tool length Q115 Tool radius Q116 Tilting the working plane with mathematical angles: rotary axis coordinates calculated by the Coordinates Parameter value A axis Q120 B axis Q121 C axis Q122 HEIDENHAIN TNC 620...
Page 446
Measurement results from touch probe cycles (see also User’s Manual for Touch Probe Cycles) Measured actual values Parameter value Angle of a straight line Q150 Center in reference axis Q151 Center in minor axis Q152 Diameter Q153 Pocket length Q154 Pocket width Q155 Length of the axis selected in the cycle...
Page 447
Number of the last active measuring cycle Q198 Status of tool measurement with TT Parameter value Tool within tolerance Q199 = 0.0 Tool is worn (LTOL/RTOL is exceeded) Q199 = 1.0 Tool is broken (LBREAK/RBREAK is Q199 = 2.0 exceeded) HEIDENHAIN TNC 620...
10.13 Programming Examples Example: Ellipse Program sequence The contour of the ellipse is approximated by many short lines (defined in Q7). The more calculation steps you define for the lines, the smoother the curve becomes. The machining direction can be altered by changing the entries for the starting and end angles in the plane: Clockwise machining direction:...
Page 449
42 CYCL DEF 7.0 DATUM SHIFT Reset the datum shift 43 CYCL DEF 7.1 X+0 44 CYCL DEF 7.2 Y+0 Move to set-up clearance 45 L Z+Q12 R0 FMAX End of subprogram 46 LBL 0 47 END PGM ELLIPSE MM HEIDENHAIN TNC 620...
Example: Concave cylinder machined with spherical cutter Program sequence Program functions only with a spherical cutter. The tool length refers to the sphere center. The contour of the cylinder is approximated by many short line segments (defined in Q13). The more line segments you define, the smoother the curve becomes.
Page 451
48 CYCL DEF 10.1 ROT+0 Reset the datum shift 49 CYCL DEF 7.0 DATUM SHIFT 50 CYCL DEF 7.1 X+0 51 CYCL DEF 7.2 Y+0 52 CYCL DEF 7.3 Z+0 53 LBL 0 End of subprogram 54 END PGM CYLIN HEIDENHAIN TNC 620...
Example: Convex sphere machined with end mill Program sequence This program requires an end mill. The contour of the sphere is approximated by many short lines (in the Z/X plane, defined in Q14). The smaller you define the angle increment, the smoother the curve becomes. You can determine the number of contour cuts through the angle increment in the plane (defined in Q18).
Page 453
Set pole in the X/Y plane for pre-positioning 36 LP PR+Q26 PA+Q8 R0 FQ12 Pre-position in the plane 37 CC Z+0 X+Q108 Set pole in the Z/X plane, offset by the tool radius 38 L Y+0 Z+0 FQ12 Move to working depth HEIDENHAIN TNC 620...
Page 454
39 LBL 2 40 LP PR+Q6 PA+Q24 FQ12 Move upward in an approximated “arc” 41 FN 2: Q24 = +Q24 - +Q14 Update solid angle 42 FN 11: IF +Q24 GT +Q5 GOTO LBL 2 Inquire whether an arc is finished. If not finished, return to LBL 2 43 LP PR+Q6 PA+Q5 Move to the end angle in space 44 L Z+Q23 R0 F1000...
Page 456
11.1 Graphics (Advanced Graphic Features Software Option) Function In the program run modes of operation as well as in the Test Run mode, the TNC provides the following three display modes: Using soft keys, select whether you desire: Plan view Projection in three planes 3-D view The TNC graphic depicts the workpiece as if it were being machined...
The machining process is continued, however. Plan view This is the fastest of the three graphic display modes. Press the soft key for plan view. Regarding depth display, remember: The deeper the surface, the darker the shade. HEIDENHAIN TNC 620...
Projection in 3 planes Similar to a workpiece drawing, the part is displayed with a plan view and two sectional planes. Details can be isolated in this display mode for magnification (see “Magnifying details,” page 460). In addition, you can shift the sectional planes with the corresponding soft keys: ...
Page 459
Shift the soft-key row until the soft-key for the rotation functions appears. Select the functions for rotation: Function Soft keys Rotate in 15° steps about the vertical axis Rotate in 15° steps about the horizontal axis HEIDENHAIN TNC 620...
Magnifying details You can magnify details in the Test Run mode as well as a Program Run operating mode in the projection in 3 planes and the 3-D display modes. The graphic simulation or the program run, respectively, must first have been stopped.
Page 461
Shift the sectional plane to reduce or magnify the blank form Select the isolated detail After a new workpiece detail magnification is selected, the control “forgets” previously simulated machining operations. The TNC then displays machined areas as unmachined areas. HEIDENHAIN TNC 620...
Repeating graphic simulation A part program can be graphically simulated as often as desired, either with the complete workpiece or with a detail of it. Function Soft key Restore workpiece blank to the detail magnification in which it was last shown. Reset detail magnification so that the machined workpiece or workpiece blank is displayed as it was programmed with BLK FORM.
Page 463
Soft keys Shift workpiece blank in positive/negative X direction Shift workpiece blank in positive/negative Y direction Shift workpiece blank in positive/negative Z direction Show workpiece blank referenced to the set datum Switch monitoring function on or off HEIDENHAIN TNC 620...
11.3 Functions for Program Display Overview In the Program Run modes of operation as well as in the Test Run mode, the TNC provides the following soft keys for displaying a part program in pages: Functions Soft key Go back in the program by one screen Go forward in the program by one screen Go to the beginning of the program Go to the end of the program...
Page 465
PLC, and positioning movements that lead to a pallet change. HEIDENHAIN therefore recommends proceeding with caution for every new program, even when the program test did not output any error message, and no visible damage to the workpiece occurred.
Page 466
Running a program test If the central tool file is active, a tool table must be active (status S) to run a program test. Select a tool table via the file manager (PGM MGT) in the Test Run mode of operation. ...
Interrupt program run Start program run from a certain block Optional block skip Editing the tool table TOOL.T Check and change Q parameters Superimpose handwheel positioning Functions for graphic display (with advanced graphic features software option) Additional status display HEIDENHAIN TNC 620...
Running a part program Preparation 1 Clamp the workpiece to the machine table. 2 Set the datum. 3 Select the necessary tables and pallet files (status M). 4 Select the part program (status M) You can adjust the feed rate and spindle speed with the override knobs.
Move the axes with the machine axis direction buttons. On some machines you may have to press the machine START button after the MANUAL OPERATION soft key to enable the axis direction buttons. Refer to your machine manual. HEIDENHAIN TNC 620...
Resuming program run after an interruption If a program run is interrupted during a fixed cycle, the program must be resumed from the beginning of the cycle. This means that some machining operations will be repeated. If you interrupt a program run during execution of a subprogram or program section repeat, use the RESTORE POS.
The stretch filter is active Pallet management is used The program is started in a threading cycle (Cycles 17, 18, 19, 206, 207 and 209) or the subsequent program block Touch-probe cycles 0, 1 and 3 are used before program start HEIDENHAIN TNC 620...
To go to the first block of the current program to start a block scan, enter GOTO “0”. To select mid-program startup, press the RESTORE POS AT N soft key. Start-up at N: Enter the block number N at which the block scan should end.
Time (h:min:sec): Time of day at which the program is to be started. Date (DD.MM.YYYY): Date at which the program is to be started. To activate the start, select OK HEIDENHAIN TNC 620...
11.7 Optional Block Skip Function In a test run or program run, the TNC can skip over blocks that begin with a slash “/”: To run or test the program without the blocks preceded by a slash, set the soft key to ON. ...
Do not interrupt Program Run or Test Run at blocks containing M01: Set soft key to OFF. Interrupt Program Run or Test Run at blocks containing M01: Set soft key to ON. HEIDENHAIN TNC 620...
12.1 Selecting MOD Functions The MOD functions provide additional input possibilities and displays. The available MOD functions depend on the selected operating mode. Selecting the MOD functions Call the operating mode in which you wish to change the MOD functions. ...
Show active tool table in the test run Show active datum table in the test run In all other modes: Display software numbers Select position display Unit of measurement (mm/inches) Programming language for MDI Select the axes for actual position capture Display operating times HEIDENHAIN TNC 620...
The following software numbers are displayed on the TNC screen after the MOD functions have been selected: Control model: Designation of the control (managed by HEIDENHAIN) NC software: Number of the NC software (managed by HEIDENHAIN) Feature Content Level (FCL): Development level of the software installed on the control (see “Feature Content Level (upgrade...
With the MOD function Position display 1, you can select the position display in the status display. With the MOD function Position display 2, you can select the position display in the status display. HEIDENHAIN TNC 620...
12.4 Unit of Measurement Function This MOD function determines whether the coordinates are displayed in millimeters (metric system) or inches. To select the metric system (e.g. X = 15.789 mm), set the Change mm/inches function to mm. The value is displayed to 3 decimal places.
Meaning Control ON Operating time of the control since being put into service Machine ON Operating time of the machine tool since being put into service Duration of controlled operation since being Program Run put into service HEIDENHAIN TNC 620...
12.6 Entering Code Numbers Function The TNC requires a code number for the following functions: Function Code number Select user parameters Enable access to Ethernet configuration NET123 Enable special functions for 555343 Q parameter programming...
12.7 Setting the Data Interfaces Serial interface on the TNC 620 The TNC 620 automatically uses the LSV2 transmission protocol for serial data transfer. The LSV2 protocol is permanent and cannot be changed except for setting the baud rate (machine parameter baudRateLsv2).
Page 486
Set the data bits (dataBits) By setting the data bits you define whether a character is transmitted with 7 or 8 data bits. Parity check (parity) The parity bit helps the receiver to detect transmission errors. The parity bit can be formed in three different ways: No parity (NONE): There is no error detection Even parity (EVEN): Here there is an error if the receiver finds that it has received an odd number of set bits...
Page 487
The functions “Transfer all files,” “Transfer selected file,” and “Transfer directory” are not available in the FE2 and FEX modes. External device Mode Symbol PC with HEIDENHAIN data transfer LSV2 software TNCremoNT HEIDENHAIN floppy disk units Non-HEIDENHAIN devices such as punchers, PC without TNCremoNT...
For transfer of files to and from the TNC, we recommend using the HEIDENHAIN TNCremoNT data transfer software. With TNCremoNT, data transfer is possible with all HEIDENHAIN controls via the serial interface or the Ethernet interface. You can download the current version of TNCremoNT free of charge from the HEIDENHAIN Filebase (www.heidenhain.de, <service>, <download area>,...
Page 489
91) and transfer the desired files. End TNCremoNT Select the menu items <File>, <Exit>. Refer also to the TNCremoNT context-sensitive help texts where all of the functions are explained in more detail. The help texts must be called with the F1 key. HEIDENHAIN TNC 620...
12.8 Ethernet Interface Introduction The TNC is shipped with a standard Ethernet card to connect the control as a client in your network. The TNC transmits data via the Ethernet card with the smb protocol (server message block) for Windows operating systems, or the TCP/IP protocol family (Transmission Control Protocol/Internet Protocol) and with support from the NFS (Network File System).
Page 491
MOD code number NET123.) Configures the network address of the control. (Selectable only after entry of the MOD code number NET123.) Deletes an existing network connection. (Selectable only after entry of the MOD code number NET123.) HEIDENHAIN TNC 620...
Page 492
Configuring the control's network address Connect the TNC (port X26) with a network or a PC. In the file manager (PGM MGT), select the Network soft key. Press the MOD key. Then enter the keyword NET123. Press the CONFIGURE NETWORK soft key to enter the network setting for a specific device (see figure at center right).
Page 493
Time in tenths of a second, after which the control repeats an unanswered Remote Procedure Call. soft: If YES is entered, the Remote Procedure Call is repeated until the NFS server answers. If NO is entered, it is not repeated HEIDENHAIN TNC 620...
Page 494
Devices not automatically mounted can be mounted anytime later in the program management. You do not need to indicate the protocol with the TNC 620. It uses the transmission protocol according to RFC 894.
Page 495
PC network settings on the iTNC, e.g. 160.1.180.1 Enter 255.255.0.0 in the <Subnet mask> input field. Confirm the settings with <OK>. Save the network configuration with <OK>. You may have to restart Windows now. HEIDENHAIN TNC 620...
13.1 Machine-Specific User Parameters Function To enable you to set machine-specific functions, your machine tool builder can define which machine parameters are available as user parameters. Furthermore, your machine tool builder can integrate additional machine parameters, which are not described in the following, into the TNC.
Page 499
The icons have the following meanings: Branch exists but is closed Branch is open Empty object, cannot be opened Initialized machine parameter Uninitialized (optional) machine parameter Can be read but not edited Cannot be read or edited HEIDENHAIN TNC 620...
Page 500
Displaying help texts The HELP key enables you to call a help text for each parameter object or attribute. If the help text does not fit on one page (1/2 is then displayed at the upper right, for example), press the HELP PAGE soft key to scroll to the second page.
Page 501
Inch: Use inch system DisplaySettings Format of the NC programs and cycle display Program entry in HEIDENHAIN plain language or in DIN/ISO HEIDENHAIN: Program entry in plain language in MDI mode ISO: Program entry in DIN /ISO in MDI mode...
Page 502
Parameter Settings DisplaySettings NC and PLC conversational language settings NC conversational language ENGLISH GERMAN CZECH FRENCH ITALIAN SPANISH PORTUGUESE SWEDISH DANISH FINNISH DUTCH POLISH HUNGARIAN RUSSIAN CHINESE CHINESE_TRAD PLC conversational language See NC conversational language Language for PLC error messages See NC conversational language Language for online help See NC conversational language...
Page 503
Set-up clearance above the stylus for pre-positioning 0.001 to 99 999.9999 [mm]: Set-up clearance in tool-axis direction Safety zone around the stylus for pre-positioning 0.001 to 99 999.9999 [mm]: Set-up clearance in the plane perpendicular to the tool axis HEIDENHAIN TNC 620...
Page 504
Parameter Settings ChannelSettings CH_NC Active kinematics Kinematic to be activated List of machine kinematics Geometry tolerances Permissible deviation from the radius 0.0001 to 0.016 [mm]: Permissible deviation of the radius at the circle end-point compared with the circle start-point Configuration of the fixed cycles Overlap factor for pocket milling 0.001 to 1.414: Overlap factor for Cycle 4 POCKET MILLING and Cycle 5 CIRCULAR POCKET MILLING...
Page 505
List of drives and/or directories Drives or directories entered here are shown in the TNC’s file manager Universal Time (Greenwich Mean Time) Time difference to universal time [h] -12 to 13: Time difference in hours relative to Greenwich Mean Time HEIDENHAIN TNC 620...
Page 506
13.2 Pin Layout and Connecting Cables for Data Interfaces RS-232-C/V.24 interface for HEIDEHAIN devices The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” When using the 25-pin adapter block: Adapter block Connecting cable 365 725-xx Connecting cable 274 545-xx 310 085-01 Male...
Non-HEIDENHAIN devices The connector pin layout of a non-HEIDENHAIN device may differ considerably from that on a HEIDENHAIN device. It depends on the unit and the type of data transfer. The table below shows the connector pin layout on the adapter block.
Approaching and departing Via straight line: tangential or perpendicular the contour Via circular arc FK free contour programming FK free contour programming in HEIDENHAIN conversational format with graphic support for workpiece drawings not dimensioned for NC Program jumps Subroutines Program-section repeats...
Page 509
Graphic simulation of real-time machining in plan view / projection in 3 planes / Display modes 3-D view Machining time Calculating the machining time in the Test Run mode of operation Display of the current machining time in the Program Run modes HEIDENHAIN TNC 620...
Page 510
User functions Returning to the contour Mid-program startup in any block in the program, returning the tool to the calculated nominal position to continue machining Program interruption, contour departure and return Datum tables Multiple datum tables, for storing workpiece-related datums Touch probe cycles Touch probe calibration Compensation of workpiece misalignment, manual or automatic...
Page 511
One each RS-232-C /V.24 max. 115 kilobaud Expanded data interface with LSV-2 protocol for remote operation of the TNC through the data interface with the HEIDENHAIN software TNCremo Ethernet interface 100BaseT approx. 2 to 5 megabaud (depending on file type and network load) 2 x USB 1.1...
Page 512
Communication with external PC applications over COM component Advanced programming features (option number #19) FK free contour programming Programming in HEIDENHAIN conversational format with graphic support for workpiece drawings not dimensioned for NC Machining cycles Peck drilling, reaming, boring, counterboring, centering (Cycles 201 to 205, 208, 240)
Page 513
Input resolution and display For linear axes to 0.01 µm step Angular axes to 0.00001° Double speed (option number #49) Double-speed control loops are used primarily for high-speed spindles as well as linear motors and torque motors HEIDENHAIN TNC 620...
Page 514
Input format and unit of TNC functions Positions, coordinates, circle radii, chamfer –99 999.9999 to +99 999.9999 lengths (5.4: places before and after the decimal point) [mm] Tool numbers 0 to 32 767.9 (5.1) Tool names 16 characters, enclosed by quotation marks with TOOL CALL. Permitted special characters: #, $, %, &, - Delta values for tool compensation –99.9999 to +99.9999 (2.4) [mm]...
2 Remove the five screws of the MC 6110 housing cover 3 Remove the cover 4 The buffer battery is at the edge of the PCB 5 Exchange the battery. The socket accepts a new battery only in the correct orientation. HEIDENHAIN TNC 620...
Page 517
TNC 320 ... 91 FN19: PLC: Transfer values to the Conversational programming ... 99 PLC ... 415 Coordinate transformation ... 344 FN20: WAIT FOR NC and PLC Copying program sections ... 104 synchronization ... 416 Corner rounding ... 161 HEIDENHAIN TNC 620...
Page 518
FN23: CIRCLE DATA: Calculating a Miscellaneous functions Path functions circle from 3 points ... 393 Entering ... 196 Fundamentals ... 146 FN24: CIRCLE DATA: Calculating a For contouring behavior ... 202 Circles and circular arcs ... 148 circle from 4 points ... 393 For program run control ...
Page 519
Teach in ... 100, 159 For 3-D touch probes ... 500 Rotation ... 352 Test Run Machine-specific ... 498 Rough out: See SL Cycles: Rough-out Test run Ruled surface ... 334 Executing ... 466 Overview ... 464 HEIDENHAIN TNC 620...
Page 520
Version numbers ... 484 Visual display unit ... 31 Working plane, tilting the ..355 Manually ... 62 Workpiece blank, defining a ..97 Workpiece positions Absolute ... 77 Incremental ... 77 Workpiece presetting ... 54 Workspace monitoring ... 463, 466...
Page 521
Page 227 Reaming Page 229 Boring Page 231 Universal drilling Page 233 Back boring Page 235 Universal pecking Page 237 Tapping with a floating tap holder, new Page 242 Rigid tapping, new Page 244 Bore milling Page 240 HEIDENHAIN TNC 620...
Page 522
Cycle DEF- CALL- Cycle designation Page number active active Tapping with chip breaking Page 246 Slot with reciprocating plunge Page 284 Circular slot Page 287 Rectangular pocket finishing Page 274 Rectangular stud finishing Page 276 Circular pocket finishing Page 280 Circular stud finishing Page 282 Circular point pattern...
Page 523
Feed rate for rotary tables in mm/minn Page 212 M117 Cancel M116 M118 Superimpose handwheel positioning during program run Page 208 M120 Pre-calculate radius-compensated contour (LOOK AHEAD) Page 206 M126 Shortest-path traverse of rotary axes Page 213 M127 Cancel M126 HEIDENHAIN TNC 620...
Page 524
Effect Effective at block... Start Page M128 Retain position of tool tip when positioning tilting axes (TCPM) Page 215 M129 Cancel M128 M130 Within the positioning block: Points are referenced to the untilted coordinate Page 201 system M140 Retraction from the contour in the tool-axis direction Page 209 M141 Suppress touch probe monitoring...
Comparison: Functions of the TNC 620, TNC 310 and iTNC 530 Comparison: User functions Function TNC 620 iTNC 530 Program entry with HEIDENHAIN conversational programming Program entry according to DIN/ISO Program entry with smarT.NC – Position data: Nominal positions for lines and arcs in Cartesian coordinates...
Page 526
Context-sensitive help: Help function for error messages TNCguide: Browser-based, context-sensitive help system Calculator Entry of text and special characters: On the TNC 620 via on-screen keyboard, on the iTNC 530 via regular keyboard Comment blocks in NC program Structure blocks in NC program Save As function –...
Page 527
15, Pilot drilling (SL I) – 16, Contour milling (SL I) – 17, Tapping (controlled spindle) 18, Thread cutting 19, Working plane (option of TNC 620) Option #08 Option #08 for MC420 20, Contour data Option #19 21, Pilot drilling...
Page 528
Cycle TNC 620 iTNC 530 27, Contour surface Option #08 Option #08 for MC420 28, Cylinder surface Option #08 Option #08 for MC420 29, Cylinder surface ridge Option #08 Option #08 for MC420 30, 3-D data – 32, Tolerance 32, Tolerance with HSC mode and TA)
Comparison: Miscellaneous functions Effect TNC 620 iTNC 530 Stop program/Spindle STOP/Coolant OFF Optional program STOP STOP program run/Spindle STOP/Coolant OFF/CLEAR status display (depending on machine parameter)/Go to block 1 Spindle ON clockwise Spindle ON counterclockwise Spindle STOP Tool change/STOP program run (machine-dependent function)/Spindle...
Page 531
NOMINAL positions at end of block Option #09 for M145 Cancel M144 MC420 M148 Retract the tool automatically from the contour at NC stop M149 Cancel M148 M150 Suppress limit switch message – M200 Laser cutting functions – M204 HEIDENHAIN TNC 620...
Page 532
Comparison: Touch probe cycles in the Manual and Electronic Handwheel modes Cycle TNC 620 iTNC 530 Calibrate the effective length Option #17 Calibrate the effective radius Option #17 Measure a basic rotation using a line Option #17 Set the reference point in any axis...
Page 533
415, Datum at inside corner Option #17 416, Datum circle center Option #17 417, Datum in touch probe axis Option #17 418, Datum at center of 4 holes Option #17 419, Datum in one axis Option #17 HEIDENHAIN TNC 620...
Page 535
Overview of DIN/ISO Functions of the TNC 620 M Functions M Functions M136 Feed rate F in millimeters per spindle revolution Program STOP/Spindle STOP/Coolant OFF M137 Cancel M136 Optional program STOP STOP program run/Spindle STOP/Coolant OFF/ M138 Select tilting axes...
Page 537
G Functions G Functions Touch probe cycles for datum setting (software option) Unit of measure G408 Slot center reference point Inches (set at start of program) G409 Reference point at center of hole Millimeters (set at start of program) G410 Datum from inside of rectangle Other G functions G411...
Page 538
Radius compensation of the contour subprograms Addresses Polar coordinate radius Contour Programming Sequence Radius Circular radius with G02/G03/G05 of the Contour Elements Compensation Rounding radius with G25/G26/G27 Intnl. Clockwise (CW) G42 (RR) Tool radius with G99 (pocket) Counterclockwise (CCW) G41 (RL) Spindle speed Extnl.
Page 539
E-Mail: service.nc-pgm@heidenhain.de PLC programming { +49 (8669) 31-3102 E-Mail: service.plc@heidenhain.de Lathe controls { +49 (8669) 31-3105 E-Mail: service.lathe-support@heidenhain.de www.heidenhain.de 3-D Touch Probe Systems from HEIDENHAIN help you to reduce non-cutting time: For example in • workpiece alignment • datum setting •...
Need help?
Do you have a question about the TNC 620 and is the answer not in the manual?
Questions and answers