Page 1
TNC 640 User’s Manual ISO programming NC Software 340590-08 340591-08 340595-08 English (en) 10/2017...
Page 2
Controls and displays Programming modes Controls and displays Function Keys Programming If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Test run Further information: "Operating the Touchscreen", page 127 Entering and editing coordinate...
Page 3
Navigate up one page Potentiometer for feed rate Navigate down one page and spindle speed Feed rate Spindle speed Select the next tab in forms Up/down one dialog box or button HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Signal word indicating the hazard severity Type and source of hazard Consequences of ignoring the hazard, e.g.: "There is danger of collision during subsequent machining operations" Escape – Hazard prevention measures HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 7
Would you like any changes, or have you found any errors? We are continuously striving to improve our documentation for you. Please help us by sending your requests to the following e-mail address: tnc-userdoc@heidenhain.de HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 8
All of the cycle functions (touch probe cycles and fixed cycles) are described in the Cycle Programming User's Manual. If you need this user's manual, please contact HEIDENHAIN if required. ID: 892905-xx HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 9
Fundamentals | Control model, software and features Software options The TNC 640 features various software options that can be enabled by your machine tool builder. Each option is to be enabled separately and contains the following respective functions: Additional Axis (options 0 to 7)
Page 11
Active Vibration Damping – AVD (option 46) Active vibration damping Damping of machine oscillations to improve the workpiece surface Batch Process Manager (option 154) Batch process manager Planning of production orders HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 12
Legal information This product uses open source software. Further information is available on the control under: Programming operating mode MOD function LICENSE INFO soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
New function for rounding corners, see "Rounding corners: M197", page 478 External access to the control can now be blocked with an MOD function, see "External access", page 796 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 14
With the manual Basic Rotation touch probe cycle, workpiece misalignment can now be compensated for via a table rotation, see "Compensation of workpiece misalignment by rotating the table", page 717 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 15
DEPTH REFERENCE has been introduced in order to evaluate the T ANGLE, see Cycle Programming User's Manual Probing Cycle 4 MEASURING IN 3-D has been introduced, see Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 16
Cycle Programming User's Manual In Cycle 205 Universal Pecking you can now use parameter Q208 to define a feed rate for retraction, see Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 17
Transfer from CAD Files", page 327 New software option 96 Advanced Spindle Interpolation, see "Software options", page 9 New software option 131 Spindle Synchronism, see "Software options", page 9 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 18
Machine parameter maxLineGeoSearch (no. 105408) has been increased to max. 100000, see "Machine-specific user parameters", page 830 The names of software options number 8, 9 and 21 have changed, see "Software options", page 9 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 19
ENH.REC.TURNING, AX. have been expanded by plunge feed rate Q488 Eccentric turning with Cycle G800 ADJUST XZ SYSTEM is possible with option 50 Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
New software option 136 Visual Setup Control (camera-based monitoring of the setup situation), see "Software options", page 9,see "Camera-based monitoring of the setup situation VSC (option 136)", page 739. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 21
999.9999, see "Managing presets", page 689 Tilting is permitted in combination with mirroring, see "The PLANE function: Tilting the working plane (option 8)", page 553 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 22
Cycle 205 performs deburring on the coordinate surface With SL cycles, M110 is now taken into account with circles compensated inwards if it is active during machining Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 23
SWITCH soft key, see "Editing an NC program", page 165 File management displays vertical scrollbars and supports scrolling with the mouse, see "Calling the file manager", page 176 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 24
In the Test Run operating mode you can hide the rapid traverse movements with the FMAX PATHS soft key, see "3-D view in the Test Run operating mode", page 758 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 25
With functions NC/PLC Backup and NC/PLC Restore you can save and restore single directories or the complete TNC drive, see "Backup and restore", page 115 Touchscreens operation is supported, see "Operating the Touchscreen", page 127 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 26
M124 no longer triggers an error message but only a warning. This enables NC programs with programmed M124 to run through without interruption Upper and lower cases for a file name can be modified in the file management HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 27
"Entering the program at any point: Mid-program startup", page 782 Mid-program startup operation and dialog guidance has been improved, also for pallet tables, see "Entering the program at any point: Mid-program startup", page 782 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 28
Cycle 251 has been expanded by parameter Q439. The finishing strategy was also revised The finishing strategy was revised with cycle 252 Cycle 275 has been expanded with parameters Q369 and Q439 Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 29
The machine tool builder can define update rules that make it possible, for example, to automatically remove umlauts from tables and NC programs when importing a table, see "Importing tool tables", page 248 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 30
The D18 functions have been expanded, see "D18 – Reading system data", page 395 New machine parameter iconPrioList (no. 100813) for defining the order of icons in the status display, see "Machine-specific user parameters", page 830 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 31
"Machine-specific user parameters", page 830 The control now supports up to 24 control loops, including a maximum of four spindles. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 32
"General status display", page 94 The icon for FUNCTION TCPM was modified, see "General status display", page 94 The icon for the AFC function was modified, see "General status display", page 94 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 33
In the machine parameter decimalCharakter (no. 100805) you can define whether a period or a comma will be used as the decimal separator, see "Machine-specific user parameters", page 830 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 34
New SERIAL column in the touch probe table Enhancement of the contour train: Cycle 25 with Residual Material Machining, Cycle 276 Three-D Contour Train Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
16 Turning............................623 17 Manual Operation and Setup......................663 18 Positioning with Manual Data Input..................747 19 Test Run and Program Run......................753 20 MOD Functions..........................791 21 Tables and Overviews........................829 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 37
Presetting with a 3-D touch probe......................85 Running the first program........................86 Selecting the correct operating mode....................86 Choosing the program you want to run....................86 Starting the program..........................86 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 38
Configuring the connection – VNC...................... 121 Shutting down or rebooting an external computer................122 Starting and stopping the connection....................123 Accessories: HEIDENHAIN 3-D touch probes and electronic handwheels........124 3-D touch probes..........................124 HR electronic handwheels........................125 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 39
Navigating in the table and NC programs................... 130 Operating the simulation........................131 Using the HEROS menu........................132 Operating the CAD viewer........................133 Functions in the taskbar........................138 Touchscreen Calibration........................138 Touchscreen Configuration........................138 Touchscreen Cleaning.......................... 139 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 40
Renaming a file............................ 185 Sorting files............................185 Additional functions..........................186 Additional tools for management of external file types...............187 Additional tools for ITCs........................195 Data transfer to or from an external data carrier.................197 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 41
Contents The control in a network........................199 USB devices on the control.........................200 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 42
Opening the error window........................220 Closing the error window........................220 Detailed error messages........................221 INTERNAL INFO soft key........................221 FILTER soft key............................ 221 Clearing errors............................222 Error log..............................222 Keystroke log............................223 Informational texts..........................224 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 43
Contents Saving service files..........................224 Calling the TNCguide help system...................... 224 TNCguide context-sensitive help system..................225 Application............................225 Working with TNCguide........................226 Downloading current help files......................230 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 44
Tool length compensation........................262 Tool radius compensation........................263 Tool management (option number 93)....................266 Basics..............................266 Calling tool management........................267 Editing tool management........................268 Available tool types..........................272 Importing and exporting tool data....................... 274 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 45
Datum for polar coordinates: pole I, J....................307 Straight line in rapid traverse G10 or straight line with feed rate F G11..........307 Circular path G12/G13/G15 around pole I, J..................308 Circle G16 with tangential connection....................308 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 46
Initiating the FK dialog......................... 316 Pole for FK programming........................316 Free straight line programming......................317 Free circular path programming......................318 Input possibilities..........................319 Auxiliary points............................. 322 Relative data............................323 Example: FK programming 1....................... 325 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 47
Using the CAD viewer......................... 330 Opening the CAD file...........................330 Basic settings............................331 Setting layers............................333 Setting a preset............................334 Defining the datum..........................336 Selecting and saving a contour......................339 Selecting and saving machining positions................... 343 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 48
Repeating program section repeats.....................362 Repeating a subprogram........................363 Programming examples........................364 Example: Milling a contour in several infeeds..................364 Example: Groups of holes........................365 Example: Group of holes with several tools..................366 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 49
D38 – Send information from NC program..................428 10.9 Entering formulas directly......................... 429 Entering formulas..........................429 Rules for formulas..........................431 Example of entry..........................432 10.10 String parameters..........................433 String processing functions......................... 433 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 50
Measurement results from touch probe cycles.................. 449 Checking the setup situation: Q601.....................450 10.12 Programming examples........................451 Example: Ellipse........................... 451 Example: Concave cylinder machined with spherical cutter..............453 Example: Convex sphere machined with end mill................455 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 51
Retraction from the contour in the tool-axis direction: M140..............473 Suppressing touch probe monitoring: M141..................475 Deleting basic rotation: M143......................476 Automatically retracting the tool from the contour at an NC stop: M148........... 477 Rounding corners: M197........................478 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 52
Recording a teach-in cut........................519 Activating and deactivating AFC......................524 Log file..............................526 Tool wear monitoring........................... 527 Tool load monitoring..........................527 12.6 Active Chatter Control ACC (option 145)..................528 Application............................528 Activating/deactivating ACC........................529 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 53
12.13 Dwell time FUNCTION DWELL......................547 Programming dwell time........................547 12.14 Lift off tool at NC stop: FUNCTION LIFTOFF.................. 548 Programming tool lift-off with FUNCTION LIFTOFF................548 Resetting the lift-off function....................... 550 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 54
From 3-D model to NC program......................594 Consider with post processor configuration..................595 Please note the following for CAM programming................597 Possibilities for intervention on the control..................599 ADP motion control..........................600 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 55
Processing pallet table......................... 607 14.2 Pallet preset management........................ 609 Fundamentals............................609 Using pallet presets..........................609 14.3 Tool-oriented machining........................610 Fundamentals............................610 Sequence of tool-oriented machining....................612 Mid-program startup with block scan....................613 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 56
15.1 Batch Process Manager (option 154)....................616 Fundamentals............................616 Application............................616 Opening the Batch Process Manager....................619 Creating a job list..........................619 Editing a job list........................... 621 Executing the job list........................... 622 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 57
16.5 Turning program functions (option 50).................... 647 Recessing and undercutting.........................647 Blank form update TURNDATA BLANK....................653 Inclined turning.............................654 Using a facing slide..........................656 Cutting force monitoring with the AFC function................. 660 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 58
Recording measured values from the touch probe cycles..............705 Writing measured values from the touch probe cycles to a datum table..........706 Writing measured values from the touch-probe cycles to the preset table.........707 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 59
17.12 Camera-based monitoring of the setup situation VSC (option 136)..........739 Basics..............................739 Overview.............................. 741 Produce live image..........................742 Manage monitoring data........................743 Configuration............................745 Results of the image evaluation......................746 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 60
Contents 18 Positioning with Manual Data Input..................747 18.1 Programming and executing simple machining operations............748 Positioning with manual data input (MDI)................... 749 Protecting programs in $MDI......................752 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 61
Returning to the contour........................787 19.6 Automatic program start........................788 Application............................788 19.7 Skipping blocks..........................789 Application............................789 Delete / symbol............................ 789 Delete / symbol............................ 789 19.8 Optional program-run interruption....................790 Application............................790 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 62
Check parity (parity no. 106704)......................807 Set stop bits (stopBits no. 106705)..................... 807 Set handshake (flowControl no. 106706).....................808 File system for file operation (fileSystem no. 106707)................ 808 Block check character (bccAvoidCtrlChar no. 106708)................. 808 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 63
Application............................825 Assigning the handwheel to a specific handwheel holder..............825 Setting the transmission channel......................826 Selecting the transmitter power......................826 Statistical data............................827 20.16 Load machine configuration......................828 Application............................828 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 64
Software options..........................853 Accessories............................856 21.4 Overview tables..........................857 Fixed cycles............................857 Miscellaneous functions........................859 21.5 Functions of the TNC 640 and the iTNC 530 compared..............861 Comparison: Specifications........................861 Comparison: Data interfaces........................861 Comparison: PC software........................862 Comparison: User functions........................ 862 Comparison: Miscellaneous functions....................
Read and follow the safety precautions and safety symbols Use the safety devices Refer to your machine manual. Switching on the machine and traversing the reference points can vary depending on the machine tool. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 67
The control is now ready for operation in the Manual operation mode. Further information on this topic Approaching reference points Further information: "Switch-on", page 664 Operating modes Further information: "Programming", page 92 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
First Steps with the TNC 640 | Programming the first part Programming the first part Selecting the correct operating mode You can write programs only in Programming mode: Press the operating mode key The control switches to the Programming mode of operation.
First Steps with the TNC 640 | Programming the first part Opening a new program/file management Press the PGM MGT key The control opens the file manager. The file management of the control is arranged much like the file management on a PC with Windows Explorer.
First Steps with the TNC 640 | Programming the first part Defining a workpiece blank After you have created a new program you can define a workpiece blank. For example, define a cuboid by entering the MIN and MAX points, each with reference to the selected preset.
First Steps with the TNC 640 | Programming the first part Program layout NC programs should be arranged consistently in a similar manner. This makes it easier to find your place, accelerates programming and reduces errors. Recommended program layout for simple, conventional...
Page 72
First Steps with the TNC 640 | Programming the first part Recommended program layout for simple cycle programs Example %BSBCYC G71 * N10 G30 G71 X... Y... Z...* N20 G31 X... Y... Z..* N30 T5 G17 S5000* N40 G00 G40 G90 Z+250* N50 G200...*...
First Steps with the TNC 640 | Programming the first part Programming a simple contour The contour shown to the right is to be milled once to a depth of 5 mm. You have already defined the workpiece blank. After you have initiated a dialog through a function key, enter all the data requested by the control in the screen header.
Page 74
First Steps with the TNC 640 | Programming the first part Move tool to working depth: Press the orange axis key Z and enter the value for the position to be approached, e.g. -5. Press the ENT key Activate no radius compensation: Press the G40...
Page 75
First Steps with the TNC 640 | Programming the first part Press the L key to open an NC block for a linear movement Press the G00 soft key if you want to enter a rapid traverse motion Retract tool: Press the orange axis key Z to retract in the tool axis, and enter the value for the position to be approached, e.g.
First Steps with the TNC 640 | Programming the first part Creating a cycle program The holes (depth of 20 mm) shown in the figure at right are to be drilled with a standard drilling cycle. You have already defined the workpiece blank.
Page 77
First Steps with the TNC 640 | Programming the first part Example %C200 G71 * N10 G30 G17 X+0 Y+0 Z-40* Workpiece blank definition N20 G31 X+100 Y+100 Z+0* N30 T5 G17 S4500* Tool call N40 G00 G90 Z+250 G40*...
First Steps with the TNC 640 | Graphically testing the first part Graphically testing the first part Selecting the correct operating mode You can test programs in the Test Run operating mode: Press the operating mode key The control switches to the Test Run mode of operation.
First Steps with the TNC 640 | Graphically testing the first part Choosing the program you want to test Press the PGM MGT key The control opens the file manager. Press the LAST FILES soft key The control opens a pop-up window with the most recently selected files.
First Steps with the TNC 640 | Graphically testing the first part Starting the test run Press the RESET + START soft key The control resets the previously active tool data The control simulates the active program up to a...
When measuring on the machine: store the tools in the tool changer Further information: "The pocket table TOOL_P .TCH", page 83 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
"Modes of operation", page 91 Working with the tool table Further information: "Entering tool data into the table", page 238 Using the tool management (option 93) Further information: "Calling tool management", page 267 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Further information on this topic Operating modes of the control Further information: "Modes of operation", page 91 Working with the pocket table Further information: "Pocket table for tool changer", page 251 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Presetting with a 3-D touch probe Further information: "Presetting with a 3-D touch probe ", page 722 Presetting without 3-D touch probe Further information: "Presetting without a 3-D touch probe", page 697 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To set to 0: Press the SET PRESET soft key Press the END soft key to close the menu Further information on this topic Presetting Further information: "Presetting with a 3-D touch probe ", page 722 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
First Steps with the TNC 640 | Running the first program Running the first program Selecting the correct operating mode You can run programs either in the Program run, single block or the Program run, full sequence mode: Press the operating mode key...
Compatibility Machining programs created on HEIDENHAIN contouring controls (starting from the TNC 150 B) may not always run on the TNC 640. If the NC blocks contain invalid elements, the control will mark these as ERROR blocks or with error messages when the file is opened.
Soft-key selection keys for machine tool builders Keys for switching the soft keys for machine tool builders If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen",...
Mouse buttons USB connection The functions of the individual keys are described on the inside front cover. If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen", page 127 Refer to your machine manual.
Axes are moving under a basic rotation Axes are moving under a 3-D basic rotation Axes are moving in a tilted working plane Axes are mirrored and moved The M128 is active HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 95
The order of icons can be changed with the optional machine parameter iconPrioList (no. 100813). The control-in-operation symbol and the DCM icon (option 40) are always visible and cannot be configured. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tool information Active M functions Active coordinate transformations Active subprogram Active program section repeat Program called with % Current machining time Name and path of the active main program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 97
Active subprograms with block number in which the subprogram was called and the label number that was called HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 98
Positions and coordinates (POS tab) Soft key Meaning Type of position display, e.g. actual position Tilt angle of the working plane Angle of basic transformations Active kinematics HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 99
(TAB) and FUNCTION TURNDATA CORR (PGM) Tool life, maximum tool life (TIME 1) and maximum tool life for TOOL CALL (TIME 2) Display of programmed tool and replacement tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 100
In the optional machine parameter CfgDisplayCoordSys (no. 127501) you can specify the coordinate system in which the status display shows an active datum shift. Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 101
Shift (mW-CS) Rotation (WPL-CS) Feed rate factor Further information: "Global Program Settings (option 44)", page 497 The values of the Handwheel superimp. setting are displayed on the POS HR tab. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 102
Current deviation of the speed Current machining time Line diagram, in which the current spindle load and the value commanded by the control for the feed rate override are shown HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In this case, switch to the window manager and correct the problem. If required, refer to your machine manual. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
HEIDENHAIN symbol between the workspaces by pressing and holding the left mouse button. Click the green HEIDENHAIN symbol to open a menu in which you can get information, make settings or start applications. The following functions are available:...
Page 105
"VNC", page 113 WindowManagerConfig: Available only to authorized specialists Firewall: Configure the firewall Further information: "Firewall", page 818 HePacketManager: Available only to authorized specialists HePacketManager Custom: Available only to authorized specialists HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 106
The applications available under tools can be started directly by selecting the corresponding file type in the file management of the control Further information: "Additional tools for management of external file types", page 187 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the Diagnostic menu item Select the Portscan menu item The control opens the HeRos Portscan pop-up window. Press the Automatic update on key Set the time interval with the slider HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With an NC software installation a temporary certificate is automatically installed on the control. An installation, also in the form of an update, may only be carried out by a service technician from the machine tool builder. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 109
Press the green HEIDENHAIN button to open the JH menu Select the Diagnostic menu item Select the RemoteService menu item Enter the Session key of the machine tool builder HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
FN functions, e.g. during probing. Standard printer Select to define the standard printer in case several printers are available. Is defined automatically when creating the first printer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 111
Using the FN 16: F-PRINT function Further information: "Printing messages", page 394 List of printable files: Text files Graphic files PDF files The connected printer must be PostScript-enabled. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Starting the SELinux configuration: The configuration of SELinux is usually password-protected by your machine manufacturer; refer here to the relevant machine manual HEIDENHAIN recommends activating SELinux because it provides additional protection against attacks from outside. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Manual Manually entered client Denied This client is not permitted to connect TeleService/IPC 61xx Client via TeleService connection DHCP Other computer that obtains an IP address from this computer HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 114
This dialog makes it possible to refuse that the focus be given to the requesting client. If this does not occur, the focus changes to the requesting client after the set time limit. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the green HEIDENHAIN button to open the JH menu Select the Tools menu item Open the NC/PLC Backup or NC/PLC Restore menu item The control opens the pop-up window. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 116
Select the next step with the FORWARD soft key The control generates the backup file. Confirm with the OK soft key The control concludes the backup process and restarts the NC software. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 117
Stop the control if required with the STOP NC SOFTWARE soft Extract the archive The control restores the files. Confirm with the OK soft key The control restarts the NC software. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
HEIDENHAIN assures a functioning connection between HEROS 5 and the IPC 6641. No guarantee is given for other combinations and connections. If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen",...
Select the desired operating system Win XP Win 7 Win 8.X Win 10 Another Windows Press OK The control opens the Edit the connection pop-up window. Edit the connection HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 120
This prevents that two users access the control simultaneously. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Host name or IP address of the external computer. In the recom- Required mended configuration of the IPC 6641, the IP address 192.168.254.3 is used Password Password for connecting to the VNC server Required HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control switches to the desktop of the connection. Single click with the right mouse button The control displays the connection menu. Move to the following Not active with this connection – workspace HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
A wear-resistant optical switch generates the trigger signal. With the TT 160, signal transmission is by cable. The TT 460 supports infrared and radio transmission. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Several electronic handwheels can also be connected simultaneously and used alternatively on controls with the (HSCI: HEIDENHAIN Serial Controller Interface) serial interface for control components. Configuration is performed via the machine tool builder. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tap on the operating mode in the header modes Shift the soft-key row Swipe horizontally over the soft-key row Soft-key selection keys Tap on the function in the touchscreen HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Continuous contact of fingertip on the screen Swipe Flowing motion over the screen Drag A combination of long-press and then swipe, moving a finger over the screen when the starting point is clear- ly defined HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can navigate in an NC program or a table as follows: Symbol Gesture Function Mark the NC block or table line Stop scrolling Double tap Activate the table line Swipe Scroll through the NC program or table HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Function Double tap Set the graphic to its original size Drag Rotate the graphic (only 3-D graphics) Two-finger drag Move graphics Spread Magnify the graphic Pinch Reduce the graphic HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Gesture Function Select the measuring point Using the HEROS menu You can use the HEROS menu as follows: Symbol Gesture Function Select the application Long press Open the application HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Activate Add and double-tap on Reset the graphic or 3-D model to its original size and the background angle Drag Rotate the graphic or 3-D model (only in the Layer Setting mode) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 134
Select element Tap on an element in the list- Select or deselect an element view window Activate Add and tap on an Part, shorten, or lengthen and element element HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 135
Reset the graphic to its original size Swipe over an element Show a preview of selected elements Show element information Two-finger drag Move graphics Spread Magnify the graphic Pinch Reduce the graphic HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 136
Show a preview of selected elements Show element information Activate Add and drag Spread a fast selection area Activate Remove and drag Spread an area for deselection of elements Two-finger drag Move graphics HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 137
The third desktop stays active in the background Switch as follows back to the Programming mode of operation: Press the DIADUR key Select work surface 2 in the taskbar HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Disable Touchfingers to hide the touch points Enable Single Touchfinger to show the touch point Enable Full Touchfingers to show the touch points of all fingers involved Confirm with OK HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control locks the screen for 90 seconds. Clean the screen If you would like to stop the cleaning mode: Pull the displayed sliders apart at the same time HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With absolute encoders, an absolute position value is transmitted to the control immediately upon switch-on. In this way the assignment of the actual position to the machine slide position is re-established directly after switch-on. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tool Coordinate System All reference systems build up on each other. They are subject to the kinematic chain of the specific machine tool. The machine coordinate system is the reference system. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 144
Refer to the machine tool builder's documentation Use pallet presets only in conjunction with pallets Check the display of the PAL tab before you start machining HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 145
The ACTL. and NOML. displays show movements of the Y axis and Z axis in the input coordinate system. The user can program positions related to the machine datum, e.g. by using the miscellaneous function M91. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 146
Refer to the machine tool builder's documentation Use pallet presets only in conjunction with pallets Check the display of the PAL tab before you start machining HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 147
3D ROT functions B-CS PLANE functions Cycle 19 WORKING PLANE Cycle 7 DATUM SHIFT (shifting before tilting the working plane) Cycle 8 MIRROR IMAGE (mirroring before tilting the working plane) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 148
Other transformations are of course possible in the working plane coordinate system. Further information: "Working plane coordinate system WPL-CS", page 149 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 149
Turning function (option 50). I-CS Transformations in the working plane coordinate system: Cycle 7 DATUM SHIFT Cycle 8 MIRROR IMAGE Cycle 10 ROTATION Cycle 11 SCALING Cycle 26 AXIS-SPECIFIC SCALING PLANE RELATIVE HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 150
3-axis machine tools or with pure 3-axis machining. The BASE TRANSFORM. values of the active line of the preset table have a direct effect on the input coordinate system with this assumption. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 151
Orientation of the tool coordinate system can be way you need. performed in various reference systems. Further information: "Tool coordinate system T-CS", page 152 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 152
Tool angle of inclination in the machine coordinate system: Example W-CS N70 G01 X+10 Y+45 A+10 C+5 R0 M128* T-CS HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 153
+ DR PROG PROG → toroid cutter or toroidal cutter Without the TCPM function or miscellaneous function M128, orientation of the tool coordinate system and input coordinate system is identical. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The pole is set by entering two Cartesian coordinates in one of the three planes. These coordinates also set the reference axis for the polar angle H. Coordinates of the pole Reference axis of the angle (plane) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Absolute and incremental polar coordinates Absolute coordinates always refer to the pole and the angle reference axis. Incremental polar coordinates always refer to the last programmed nominal position of the tool. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
X=450 Y=750. By using the Datum shift cycle you can shift the datum temporarily to the position X=450, Y=750 and program the holes to 7) without further calculations. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control does not automatically check whether collisions can occur between the tool and the workpiece. There is danger of collision during the approach movement after a tool change! If necessary, program an additional safe auxiliary position HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N10 G30 G17 X+0 Y+0 Z-40* Spindle axis, MIN point coordinates N20 G31 X+100 Y+100 Z+0* MAX point coordinates N99999999 %NEW G71 * Program end, name, unit of measure HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 159
If you define a rotationally symmetric blank with incremental coordinates, the dimensions are then independent of the diameter programming. The subprogram can be designated with a number, an alphanumeric name, or a QS parameter. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 160
N70 G01 X+70* N80 G01 Z-100* N90 G01 X+0* N100 G01 Z+1* Contour end N110 G98 L0 * End of subprogram N99999999 %NEW G71 * Program end, name, unit of measure HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control automatically generates the first and last blocks of the NC program. If you do not wish to define a blank form, cancel the dialog at Working plane in graphic: XY using the DEL key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Enter 40 and confirm with ENT to traverse without tool radius compensation, Move the tool to the left or to the right of the programmed contour: Press the G41 or G42 soft HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 163
MISCELLANEOUS FUNCTION M ? 3 (enter the miscellaneous function M3 Spindle on) With the END key, the control ends this dialog. Example N30 G01 G40 X+10 Y+5 F100 M3* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(e.g. for radius compensation), then the control closes the soft-key row for axis selection. The actual-position-capture function is not allowed if the Tilt working plane function is active. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
ENT key. Or: Press the GOTO key, enter the block number step and jump up or down the number of entered lines by pressing the N LINES soft HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 166
Confirm with the OK soft key or the ENT key, or press the CANCEL soft key to abort The file saved with SAVE AS can also be found in the file management by pressing the LAST FILES soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 167
If you start a search in a very long NC program, the control shows a progress indicator. You can cancel the search at any time, if necessary. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 168
Using the arrow keys, select the block after which you wish to insert the copied (cut) program section Insert the saved program section: Press the INSERT BLOCK soft To end the marking function, press the CANCEL SELECTION soft HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Repeat the search process The control moves to the next block containing the text you are searching for. Terminate the search function: Press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 170
To replace all text occurrences, press the REPLACE ALL soft key. To skip the text and move to its next occurrence press the FIND soft key Terminate the search function: Press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
2 GB in size. Depending on the setting, the control generates backup files with the extension *.bak after editing and saving of NC programs. This reduces the available memory space. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 172
The maximum permitted path length is 255 characters. The path length consists of the drive characters, the directory name and the file name, including the extension. Further information: "Paths", page 174 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Depending on operating conditions (e.g. vibration load), hard disks generally have a higher failure rate after three to five years of service. HEIDENHAIN therefore recommends having the hard disk inspected after three to five years. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
PROG1.H was copied into it. The part program now has the following path: TNC:\AUFTR1\NCPROG\PROG1.I The chart at right illustrates an example of a directory display with different paths. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Customize table view Manage network drives Select the editor Sort files by properties Copy a directory Delete directory with all its subdirectories Refresh directory Rename a directory Create a new directory HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Date that the file was last edited Time Time that the file was last edited To display the dependent files, set the machine parameter dependentFiles (no. 122101) to MANUAL. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Step 1: Select drive Move the highlight to the desired drive in the left window To select a drive, press the SELECT soft key, or Press the ENT key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 178
If you enter the first letter of the file you are looking for in file management, the cursor automatically jumps to the first program with the same letter. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The original file is retained. When you start the copying process with the ENT key or the OK soft key, the control displays a pop-up window with a progress indicator. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To leave the files as they are, press the CANCEL soft key If you want to overwrite a protected file, select the Protected files field or cancel the process. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the TAG soft key Select additional lines, if required Press the SAVE AS soft key Enter a name for the table in which the selected lines are to be saved HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control asks whether you want to delete the file. To confirm the deletion, press the OK soft key; or To cancel deletion, press the CANCEL soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control asks you whether you really want to delete the directory and all its subdirectories and files. To confirm the deletion, press the OK soft key; or To cancel deletion, press the CANCEL soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To copy tagged files: Leave the active soft-key row Press the COPY soft key To delete tagged files: Leave the active soft-key row Press the DELETE soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the SORT soft key Select the soft key with the corresponding display criterion SORT BY NAME SORT BY SIZE SORT BY DATE SORT BY TYPE SORT BY STATUS UNSORTED HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To remove a USB device, proceed as follows: Move the cursor to the left-hand window Press the MORE FUNCTIONS soft key Remove the USB device Further information: "USB devices on the control", page 200 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Adjust the setting in the TNCremo data transfer software, if required (menu item >Extras > Configuration > Mode). If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen",...
Page 188
Press the key for switching the soft keys opens the File pull-down menu. PDF viewer Move the cursor to the Close menu item. Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 189
Press the key for switching the soft keys additional tool opens the File pull- Gnumeric down menu. Move the cursor to the Close menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 190
If you position the mouse pointer over a button, a brief tool tip explaining the function of this button will be displayed. More information on how to use is available in Help. Browser HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 191
Press the ENT key The control returns to the file management. Do not change the Web Browser version. Otherwise, the security settings of SELinux will block the execution of Web Browser. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 192
Press the key for switching the soft keys opens the ARCHIVE pull-down menu. Xarchiver Move the cursor to the Exit menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 193
Select the Tools and Leafpad menu items in the pull-down menu Proceed as follows to exit Leafpad: Use the mouse to select the File menu item Select Exit The control returns to the file management. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 194
Press the key for switching the soft keys opens the File pull-down menu. ristretto Move the cursor to the Exit menu item Press the ENT key The control returns to the file management. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Using the additional ITC Gestures tool, the machine manufacturer configures the gesture control on the touch screen. Refer to your machine manual. This function may only be used with the permission of your machine manufacturer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 196
Start the tool in control using the task bar The ITC opens a pop-up window with three options Select Touch Sensitivity Press the OK button The ITC closes the pop-up window HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Use the arrow keys to move the cursor to the file you wish to transfer: Moves the cursor up and down within a window Moves the cursor from the right to the left window, and vice versa HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 198
A status window appears on the control, informing about the copying progress, or Stop transfer: Press the WINDOW soft key The control displays the standard file manager window again. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 199
Auto column if the connec- tion is established automatically Set up new network connection Remove Delete existing network connection Copy Copy network connection Edit Edit network connection Clear Delete the status window HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 200
The dialog is closed with the HIDE soft key and file transfer is continued in the background. The control displays a warning until file transfer is completed. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 201
Fundamentals, File Management | Working with the file manager Removing USB devices To remove a USB device, proceed as follows: Move the cursor to the left-hand window Press the MORE FUNCTIONS soft key Remove the USB device HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the INSERT COMMENT soft key Alternative: Press the < key on the alphabetic keyboard The control inserts a semicolon ; at the beginning of the block. Press the END key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Jump to the beginning of a word. Use a space to separate words Jump to the end of a word. Use a space to separate words Switch between paste and overwrite mode HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control opens a new NC block. Add the desired syntax Confirm your entry with END After confirmation, the control checks the syntax. Errors will result in ERROR blocks. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Screen content can be shifted with the mouse using the scroll bar at the right edge of the program window. In addition, the size and position of the scrollbar indicates program length and cursor position. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Displaying the program structure window / Changing the active window Display structure window: For this screen layout press the PROGRAM + STRUCTURE soft key Change the active window: Press the CHANGE WINDOW soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you are scrolling through the program structure window block by block, the control 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 640 | ISO Programming User's Manual | 10/2017...
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 the algebraic sign Form the absolute value HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 211
The calculator remains in effect even after a change in operating modes. Press the END soft key to close the calculator. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 212
Open the cutting data calculator You can also shift the calculator with the arrow keys on your keyboard. If you have connected a mouse you can also position the calculator with this. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Window for spindle speed calculation: Code letter Meaning Tool radius (mm) Cutting speed (m/min) Result for spindle speed (rev/min) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 214
Load the feed per tooth from the open dialog field into the cutting data calculator form Load the value from an open dialog field into the cutting data calculator form Switch to the pocket calculator HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 215
Programming Aids | Cutting data calculator Soft key Function Move the cutting data calculator in the direction of the arrow Use inch values in the cutting data calculator Close the cutting data calculator HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Shift the soft-key row Erase the graphics: Press the CLEAR GRAPHICS soft key Showing grid lines Shift the soft-key row Show grid lines: Press the Show grid lines soft HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
After you release the left mouse button, the control zooms in on the defined area. To rapidly magnify or reduce any area, rotate the mouse wheel backwards or forwards. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control opens the error window and displays all accumulated error messages. Closing the error window Press the END soft key; or Press the ERR key The control closes the error window. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Open the error window Press the MORE FUNCTIONS soft key Press the FILTER soft key The control filters the identical warnings Leave Filter: Press the GO BACK soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Set the current error log if required: Press the CURRENT FILE soft key The oldest entry is at the beginning of the log file, and the most recent entry is at the end. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Soft key/Keys Function Go to beginning of keystroke log Go to end of keystroke log Find text Current keystroke log Previous keystroke log Up/down one line Return to main menu HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
There you will find further, more detailed information on the error message concerned. Call the help for HEIDENHAIN error messages Call the help for HEIDENHAIN machine-specific error messages, if available HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
.chm files. As an option, your machine tool builder can embed machine-specific documentation in the TNCguide. These documents then appear as a separate book in the main.chm file. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the HELP key. The control opens the Help system and shows the description of the active function. This does not apply for miscellaneous functions or cycles from your machine manufacturer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 227
Select the page last shown Page forward if you have used the Select page last shown function Move up by one page Move down by one page HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 228
The control synchronizes the subject index and creates a list in which you can find the subject more easily. Use the ENT key to call the information on the selected keyword HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 229
If you activate the Search only in titles function, the control searches only through headings and ignores the body text. To activate the function, use the mouse or select it and then press the space bar to confirm. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
When using TNCremo to transfer the .chm files to the control, select the binary mode for files with the .chm extension. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 231
Danish TNC:\tncguide\fi Finnish TNC:\tncguide\nl Dutch TNC:\tncguide\pl Polish TNC:\tncguide\hu Hungarian TNC:\tncguide\ru Russian TNC:\tncguide\zh Chinese (simplified) TNC:\tncguide\zh-tw Chinese (traditional) TNC:\tncguide\sl Slovenian TNC:\tncguide\no Norwegian TNC:\tncguide\sk Slovak TNC:\tncguide\kr Korean TNC:\tncguide\tr Turkish TNC:\tncguide\ro Romanian HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can adjust the feed rate during the program run with the feed rate potentiometer F . The feed rate potentiometer lowers the programmed feed rate, not the feed rate calculated by the control. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Changing during program run You can adjust the spindle speed during program run with the spindle speed potentiometer S. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The entire tool length is essential for the control in order to perform numerous functions involving multi-axis machining. Tool radius R You can enter the tool radius R directly. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
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 N40 G99 T5 L+10 R+5* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can select the table view with the Screen Layout key. You can choose between a list view and a form view. Other settings, such as HIDE/ SORT/ COLUMNS, can be made after the file is open. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 239
The Dynamic Collision Monitoring (DCM) function also uses the length and radius data for displaying the active tool and for collision monitoring. Incomplete or incorrect tool definitions may lead to premature or false collision warnings. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 240
Current age of the tool in minutes: The control automati- cally counts the current tool life (CUR_TIME: For CURrent TIME) A starting value can be entered for used tools HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 241
The control immediately uses the value given for regula- tion, meaning a teach-in cut is dropped. The value should be previously determined with a teach-in cut. Further information: "Recording a teach-in cut", page 519 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 242
Tool life expired Time for exceeding the tool life in minutes Further information: "Overtime for tool life", page 258 Function is defined by the machine manufacturer. Refer to your machine manual. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 243
If the entered value is exceeded, the control locks the tool (status L). Input range: 0 to 0.9999 mm For a description of the cycles governing automatic tool measurement, Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 244
Select the table start Select the table end Select the previous page in the table Select the next page in the table Find the text or number Go to beginning of line HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 245
Delete the current line (tool) Sort the tools according to the content of a column Select possible entries from a pop-up window Reset the value Place the cursor in the current cell HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 246
Show all drills in the tool table Show all cutters in the tool table Show all taps/thread cutters in the tool table Show all touch probes in the tool table HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 247
The control provides special tool management for turning tools to support this definition process. Further information: "Tool data", page 638 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you export a tool table from an iTNC 530 and import it into a TNC 640, you have to adapt its format and content before you can use the tool table. On the TNC 640, you can adapt the tool table conveniently with the ADAPT NC PGM / TABLE function. The control converts the contents of the imported tool table to a format valid for the TNC 640 and saves the changes to the selected file.
Page 249
When iTNC 530 tool tables are imported, all defined tool types are transferred as well. Tool types not present are imported as type Undefined. Check the tool table after the import. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(e.g. TST.T) is overwritten. All other tool data of the table TOOL.T remains unchanged. The procedure for copying tool tables using the file manager is described in the file management. Further information: "Copying a table", page 181 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the POCKET TABLE soft key Set the EDIT soft key to ON. On your machine this might not be necessary or even possible. Refer to your machine manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 252
Box magazine: Lock the pocket below below? LOCKED_LEFT Lock the pocket at Box magazine: Lock the pocket at left left? LOCKED_RIGHT Lock the pocket at Box magazine: Lock the pocket at right right? HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 253
Place the cursor in the current cell Sort the view Refer to your machine manual. The machine manufacturer defines the features, properties and designations of the various display filters. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the tool axis is also entered in the T block, the control will insert a replacement tool if a replacement tool was defined. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 255
If you are working with tool tables, use a G51 block 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 640 | ISO Programming User's Manual | 10/2017...
Directly before and after G24 and G25 During execution of macros During execution of a tool change Directly after a T block or G99 During execution of SL cycles HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 257
If you want to reset the current age of a tool (e.g. after changing the indexable inserts), enter the value 0 in the CUR_TIME column. The M101 function is not available for turning tools and in turning mode. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 258
(DR) either in the tool table or in the T block. With deviations, the control displays an error message and does not replace the tool. You can suppress this message with the M function M107, and reactivate it with M108. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Completely run the NC program in the Program Run, Full Sequence/Single Block operating modes In the Test Run operating mode, press the GENERATE TOOL USAGE FILE soft key (also possible without simulation) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 260
Minimum feed rate override that occurred during machining. The control enters the value -1 during the test run NAMEPROG 0: The tool number is programmed 1: The tool name is programmed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 261
Press the OK soft key The control closes the pop-up window. Alternative: Press the ENT key You can query the tool usage test with the D18 ID975 NR1 function. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tool length L from G99 block or tool table : Oversize for length DL in the T block CALL T block Oversize for length DL in the tool table HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Oversize for radius DR in the tool table Contouring without radius compensation: G40 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 640 | ISO Programming User's Manual | 10/2017...
Page 264
Select tool movement to the right of the contour: Press the G42 soft key, or Select tool movement without radius compensation or cancel radius compensation: Select function G40 Terminate the block: Press the END key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 265
Incorrect positions can lead to contour damage. Danger of collision during machining! Program safe approach and departure positions at a sufficient distance from the contour Consider the tool radius Consider the approach strategy HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you edit a tool in tool management, the selected tool is locked. If this tool is required in the NC program being used, the control shows the message: Tool table locked. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
"Tool usage test", page 259 If a pallet table is selected in the Program Run operating mode, the Tooling list and T usage order are calculated for the entire pallet table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
SHIFT COLUMN active: The column can be moved by drag and drop Reset the manually changed settings (move columns) to the original condition HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 269
EDIT ON/OFF soft key to ON HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 270
Calculate the measured values of tool compensation (only active for turning tools) Add tool index Delete tool index Copy the tool data of the selected tool Insert the copied tool data in the selected tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 271
Regularly back up important data to external drives The tool data of tools still stored in the pocket table cannot be deleted. The tools must be removed from the magazine first. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Use the arrow keys or mouse to select the file to be imported and confirm with the ENT key The control shows a pop-up window with the content of the CSV file Start the import procedure with the EXECUTE soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 275
Example T,L,R,DL,DR Line 1 with column names 4,125.995,7.995,0,0 Line 2 with tool data 9,25.06,12.01,0,0 Line 3 with tool data 28,196.981,35,0,0 Line 4 with tool data HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 276
The control shows a pop-up window with the status of the export process Terminate the export process by pressing the END key or soft By default the control stores the exported CSV file in the TNC:\system\tooltab directory. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With the control's miscellaneous functions you can affect the program run, e.g., a program interruption the machine functions, such as switching spindle rotation and coolant supply on and off the path behavior of the tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In addition, programming with Q parameters enables you to measure with the 3-D touch probe during the program run. Further information: "Programming Q Parameters", page 369 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the NC block contains two coordinates, the control moves the tool in the programmed plane. Example N50 G00 X+70 Y+50* The tool retains the Z coordinate and moves on the XY plane to the position X=70, Y=50. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 281
When a circular path has no tangential transition to another contour element, enter the direction of rotation as follows: Clockwise direction of rotation: G02/G12 Counterclockwise direction of rotation: G03/G13 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 282
There is danger of collision during the approach movement! Program a suitable pre-position Check the sequence and contour with the aid of the graphic simulation HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If danger of collision exists, approach the starting point in the spindle axis separately. Example N40 G00 Z-10* N30 G01 X+20 Y+30 G41 F350* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 284
Example in the figure on the right: If you set the end point in the dark gray area, the contour will be damaged when the contour is approached/departed. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The radius for G26 and G27 must be selected so that the control can execute the circular path between the starting point and the first contour point, as well as the last contour point and the end point. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The tool approaches and departs a helix on its extension by moving in a circular arc that connects tangentially to the contour. You program helical approach and departure with the APPR CT and DEP CT functions. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
There is danger of collision during the approach movement! Program a suitable pre-position Check the auxiliary point P , the sequence and the contour with the aid of the graphic simulation HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 288
If you program APPR LN or APPR CT with G40, the control stops the machining/simulation with an error message. This method of function differs from the iTNC 530 control! HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N80 APPR LN X+10 Y+20 Z-10 LEN15 G24 F100* PA with radius comp. G42 N90 G01 X+20 Y+35* End point of the first contour element N100 G01 ...* Next contour element HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N80 APPR CT X+10 Y+20 Z-10 CCA180 R+10 G42 F100* PA with radius comp. G42, radius R=10 N90 G01 X+20 Y+35* End point of the first contour element N100 G01 ...* Next contour element HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N80 APPR LCT X+10 Y+20 Z-10 R10 G42 F100* PA with radius comp. G42, radius R=10 N90 G01 X+20 Y+35* End point of the first contour element N100 G01 ...* Next contour element HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Last contour element: PE with radius compensation N30 DEP LN LEN+20 F100* Depart perpendicular to contour by LEN=20 mm N40 G00 Z+100 M2* Retract in Z, return to block 1, end program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Last contour element: PE with radius compensation N30 DEP LCT X+10 Y+12 R+8 F100* Coordinates PN, arc radius=8 mm N40 G00 Z+100 M2* Retract in Z, return to block 1, end program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you enter DIN/ISO functions via a connected USB keyboard, make sure that capitalization is active. At the start of the block the control automatically writes in capitals. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the NC block after which you want to insert the straight line block Press the actual position capture key The control generates a straight-line block with the actual position coordinates. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
A feed rate programmed in the G24 block is effective only in that CHF block. After the G24 block, the previous feed rate becomes effective again. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
A feed rate programmed in the G25 block is effective only in that G25 block. After the G25 block, the previous feed rate becomes effective again. You can also use an G25 block for a tangential contour approach. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The only effect of I and J is to define a position as circle center: The tool does not move to this position. The circle center is also the pole for polar coordinates. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The maximum value for input tolerance is 0.016 mm. Set the input tolerance in the machine parameter circleDeviation (no. 200901). Smallest possible circle that the control can traverse: 0.016 mm. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
However, you can also program circular arcs that do not lie in the active working plane. By simultaneously rotating these circular movements you can create spatial arcs (arcs in three axes). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
A tangential arc is a two-dimensional operation: the coordinates in the G06 block and in the contour element preceding it must be in the same plane of the arc! HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N180 G40 X-20 Y-20 F1000* Retract the tool in the working plane, cancel radius compensation N190 G00 Z+250 M2* Retract the tool in the tool axis, end of program N99999999 %CIRCULAR G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N120 G01 G40 X-40 Y-50 F1000* Retract the tool in the working plane, cancel radius compensation N130 G00 Z+250 M2* Retract the tool in the tool axis, end of program N99999999 %C-CC G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Combination of a circular and a Polar radius, polar angle of the linear movement arc end point, coordinate of the end point in the tool axis HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the angle from the angle reference axis to R is clockwise: H<0 Example N120 I+45 J+45* N130 G11 G42 R+30 H+0 F300 M3* N140 H+60* N150 G91 H+60* N160 G90 H+180* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The pole is the center of the contour arc! Example N120 I+40 J+35* N130 G01 G42 X+0 Y+35 F250 M3* N140 G11 R+25 H+120* N150 G16 R+30 H+30* N160 G01 Y+0* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N170 G40 R+60 H+180 F1000* Retract the tool in the working plane, cancel radius compensation N180 G00 Z+250 M2* Retract in the spindle axis, end of program N99999999 %LINEARPO G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
FK programming graphics. The figure at upper right shows a workpiece drawing for which FK programming is the most convenient programming method. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 314
NC blocks with the gray path function keys to fully define the direction of contour approach. Do not program an FK contour immediately after an L command. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Showing block numbers in the graphic window To show a block number in the graphic window: Set the SHOW OMIT BLOCK NR. soft key to SHOW (soft-key row 3) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control 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 640 | ISO Programming User's Manual | 10/2017...
To display the soft keys for free contour programming, press the FK key To initiate the dialog, press the FLT soft key Enter all known data in the block by using the soft keys HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To display the soft keys for free contour programming, press the FK key To initiate the dialog, press the FCT soft key Enter all known data in the block by using the soft keys HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Adapt imported NC programs if required Example N20 FLT X+25 LEN 12.5 AN+35 G41 F200* N30 FC DR+ R6 LEN 10 AN-45* N40 FCT DR- R15 LEN 15* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 320
Rotational direction of the arc Radius of an arc Example N10 FC CCX+20 CCY+15 DR+ R15* N20 FPOL X+20 Y+15* N30 FL AN+40* N40 FC DR+ R15 CCPR+35 CCPA+40* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 321
FK section. Beginning of CLSD+ contour: End of contour: CLSD– Example N10 G01 X+5 Y+35 G41 F500 M3* N20 FC DR- R15 CLSD+ CCX+20 CCY+35* N30 FCT DR- R+15 CLSD-* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
X and Y coordinates of an auxiliary point near a circular arc Distance of auxiliary point to circu- lar arc Example N10 FC DR- R10 P1X+42.929 P1Y+60.071* N20 FLT AN-70 PDX+50 PDY+53 D10* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N150 DEP CT CCA90 R+5 F2000* Depart the contour on a circular arc with tangential connection N160 G00 X-30 Y+0* N170 G00 Z+250 M2* Retract the tool, end program N99999999 %FK1 G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control displays the following file formats: File Type Format Step .STP and .STEP AP 203 AP 214 IGES .IGS and .IGES Version 5.3 .DXF R10 to 2015 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Further information: "File names", page 172 The control does not support binary DXF format. Save the DXF file in ASCII format in the CAD or drawing program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Klartext program by copy and paste using the clipboard. If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen",...
The active + symbol is the same as the pressed Shift key, and the active – symbol is the same as the pressed CTRL key. The active cursor symbol is the same as the mouse HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 332
In addition, you must remove the comments that the CAD-Viewer inserts into the contour program. The control displays the active basic settings in the status bar of the screen. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Alternatively, use the space key Show a layer: Select the layer with the left mouse button, and click its check box to show it Alternatively, use the space key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control sets the preset symbol at the selected location. You can adjust the orientation of the coordinate system, if required. Further information: "Adjusting the orientation of the coordinate system", page 335 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 335
In the Element Information window, the control shows how far the preset you have chosen is located from the drawing datum, and how this reference system is oriented with respect to the drawing. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control sets the preset symbol at the selected location. You can adjust the orientation of the coordinate system, if required. Further information: "Adjusting the orientation of the coordinate system", page 337 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 337
Left-click an element that is approximately in the positive Y direction The control aligns the Y and Z axes and displays them in green and blue in the list view. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 338
Data Transfer from CAD Files | CAD import (option 42) Element information In the Element Information window, the control shows how far the datum you have chosen is located from the workpiece preset. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Layer: Indicates the layer you are currently on Type: Indicates the current element type, e.g. line Coordinates: Shows the starting point and end point of an element, and circle center and radius where appropriate HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 340
The control saves the contour program to the selected directory. If you want to select more contours, press the Cancel Selected Elements soft key and select the next contour as described above HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 341
If the contour element to be extended or shortened is a circular arc, then the control extends or shortens the contour element along the same arc. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 342
To rapidly magnify or reduce any area: Rotate the mouse wheel backwards or forwards To return to the standard display: Double-click with the right mouse key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(L X... Y... Z... F MAX M99). You can also transfer this program to older TNC controls and run it there. The point tables (.PNT) of the TNC 640 and iTNC 530 are not compatible. Transferring and processing on the other control type in each case may lead to problems and unforeseen performance.
Page 344
The control saves the contour program to the selected directory. If you want to select more machining positions, press the Cancel Selected Elements icon and select as described above HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 345
The control saves the contour program to the selected directory. If you want to select more machining positions, press the Cancel Selected Elements icon and select as described above HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 346
The control saves the contour program to the selected directory. If you want to select more machining positions, press the Cancel Selected Elements icon and select as described above HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 347
Display the next larger diameter found Display the largest diameter found (default setting) You can have the tool paths displayed by clicking the SHOW TOOL PATH icon. Further information: "Basic settings", page 331 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 348
To return to the standard display, press the shift key and simultaneously double-click with the right mouse button. The rotation angle is maintained if you only double-click with the right mouse button HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Do not use a label number or label name more than once! Label 0 (G98 L0) is used exclusively to mark the end of a subprogram and can therefore be used as often as desired. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Write subprograms after the block with M2 or M30 If subprograms are located before the block with M2 or M30 in the part program, they will be executed at least once even if they are not called HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
LBL NAME soft key to switch to text entry. L 0 is not permitted (Label 0 is only used to mark the end of a subprogram). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The total number of times the program section is executed is always one more than the programmed number of repeats, because the first repeat starts after the first machining process. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you want to use a LABEL name, press the LBL NAME soft key to switch to text entry Enter the number of repeats REP and confirm with the ENT key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select an NC program with %:PGM: Call the last selected file with %<>% Select any NC program with G: : as a fixed cycle Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the called NC program contains the miscellaneous functions M2 or M30, then the control displays a warning. The control automatically clears the warning as soon as you select another NC program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
As a rule, Q parameters are effective globally with a program call with %. So please note that changes to Q parameters in the called program also influence the calling program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 358
Enter the path name with the keyboard Press the SELECT FILE soft key The control shows a selection window that allows you to select the program to be called. Press the ENT key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 359
D18 function (ID10 NR110 and NR111) Further information: "D18 – Reading system data", page 395 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Maximum nesting depth for subprograms: 19 Maximum nesting depth for main program calls: 19, where a G79 acts like a main program call You can nest program section repeats as often as desired HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
45. End of subprogram 1 and return jump to the main program UPGMS. 5 Main program UPGMS is executed from block 18 up to block 35. Return jump to block 1 and end of program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(including the program section repeat between 20 and block 27). 5 Main program REPS is executed from block 36 to block 50. Return jump to block 1 and end of program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This means that subprogram 2 is repeated twice. 4 Main program UPGREP is executed from block 13 up to block 19. Return jump to block 1 and end of program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Retract tool N200 L1,4* Return jump to label 1; section is repeated a total of 4 times N200 G00 Z+250 M2* Retract the tool, end program N99999999 %PGMWDH G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
0 to 99 Parameters for users 100 to 199 Parameters for HEIDENHAIN functions (e.g., cycles) 200 to 499 Parameters for the machine tool builder (e.g., cycles) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 371
Only use Q parameter ranges recommended by HEIDENHAIN. Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. Check the machining sequence using a graphic simulation HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can reset Q parameters to the status Undefined. If a position is programmed with a Q parameter that is undefined, the control ignores this movement. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Then you define the parameter number. If you have a USB keyboard connected, you can press the Q key to open the dialog for entering a formula. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can enter the following to the right of the = sign: 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 640 | ISO Programming User's Manual | 10/2017...
FIRST VALUE / PARAMETER? Enter Q5 as the first value and confirm with the ENT key. SECOND VALUE / PARAMETER? Enter 7 as the second value and confirm with the ENT key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 377
The D00 function also supports transfer of the value Undefined. If you wish to transfer the undefined Q parameter without D00, the control shows the error message Invalid value. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Calculate and assign an angle with the arc tangent from the opposite and adjacent sides or with the sine and cosine of the angle (0 < angle < 360°) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(Y if spindle axis is Z) in parameter Q21, and the circle radius in parameter Q22. Note that D23 and D24 automatically overwrite the resulting parameter and the two following parameters. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
D12: IF LESS, JUMP e. g. D12 P01 +Q5 P02 +0 P03 "ANYNAME" * If the first value or parameter is smaller than the second value or parameter, jump to specified label HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you want to check or edit local, global or string parameters, press the SHOW PARAMETERS Q QL QR QS soft key. The control then displays the specific parameter type. The functions previously described also apply. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 383
The result of Q1 = COS 89.999 * 0.001 is shown by the control as +1.74532925e-08, whereby e-08 corresponds to the factor of 10 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Read from a freely definable table Transfer up to eight values to the D37Export local Q parameters or QS parameters into a calling program Send information from the NC program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With the D14 error function, you can output error messages under program control. The messages are predefined by the machine tool builder or by HEIDENHAIN. If, during a program run or test run, the control encounters a block with D14, then the control will interrupt the program run or test run and display an error message.
Page 386
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 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 387
1089 Slot position 0 not allowed 1090 Enter an infeed not equal to 0 1091 Switchover of Q399 not allowed 1092 Tool not defined 1093 Tool number not permitted HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 388
Plunging type is not possible 1105 Plunge angle incorrectly defined 1106 Angular length is undefined 1107 Slot width is too large 1108 Scaling factors not equal 1109 Tool data inconsistent HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Format for text variable QS Format for integer Separation character between output format and parameter End of block character Line break Q parameter value, right-aligned Q parameter value, left-aligned HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 390
Outputs text only for Polish conversational language L_HUNGARIA Outputs text only for Hungarian conversa- tional language L_CHINESE Outputs text only for Chinese conversational language L_CHINESE_TRAD Outputs text only for Chinese (traditional) conversational language HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 391
"MEASURING LOG OF IMPELLER CENTER OF GRAVITY"; "DATE: %02d.%02d.%04d",DAY,MONTH,YEAR4; "TIME: %02d:%02d:%02d",HOUR,MIN,SEC; "NO. OF MEASURED VALUES: = 1"; "X1 = %9.3F", Q31; "Y1 = %9.3F", Q32; "Z1 = %9.3F", Q33; HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 392
D18 (e.g., the number of the last touch probe cycle used). Further information: "D18 – Reading system data", page 395 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 393
D16 function with the following syntax: Input Function :'QS1' Set the QS parameter with preceding colon and between single quotation marks :'QL3'.txt Specify additional file name extension for the target file if required HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 394
Printer:\ as the name of the log file and then enter the corresponding file name. The control saves the file in the PRINTER: path until the file is printed. Example N90 D16 P01 TNC:\MASKE\MASKE1.A/PRINTER:\DRUCK1 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This function eliminates relative file paths. QS parameter Is there a directory with the name QS(IDX)? number 0 = no, 1 = Yes Only absolute directory paths are possible. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 396
Programmed cutting speed in turning opera- tion Spindle mode in turning mode: 0 = constant speed 1 = constant cutting speed Coolant status M7: 0 = inactive, 1 = active HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 397
Q parameter number for the result (touch probe cycles 30 to 33) Q parameter type for the result (touch probe cycles 30 to 33) 1 = Q, 2 = QL, 3 = QR HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 398
TT: Breakage tolerance for radius, RBREAK Tool no. Maximum speed NMAX Tool no. Point angle TANGLE Tool no. LIFTOFF allowed (0 = No, 1 = Yes) Tool no. Wear tolerance for radius R2TOL HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 399
Timestamp of last use Tool no. Tool no. Pitch for thread cycles Tool no. AFC: reference load Tool no. AFC: overload early warning Tool no. AFC: overload NC stop HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 400
Oversize for tool length DL Tool radius oversize DR Automatic TOOL CALL 0 = Yes, 1 = No Tool radius oversize DR2 Tool index Active feed rate Cutting speed [mm/min] HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 401
13 = Unload external tool, 14 = Unload internal tool, 15 = Unload special tool Tool number T Length Radius Index Tool data programmed in TOOL DEF 1 = Yes, 0 = No HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 402
0. Index 99 = active spindle Tool compensation 1 = without Active radius oversize 2 = with oversize 3 = with HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 403
Projects the angle specified in the QL parameter from the input coordinate system to the tool coordinate system. If IDX is omitted, the angle 0 is used for projection. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 404
Read the current position in the active coordinate system Axis Current nominal position in the input system Read the current position in the active coordinate system, including offsets (handwheel, etc.) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 405
Axis Current system time System time in seconds that has elapsed since 01.01.1970, 00:00:00 (real time). System time in seconds that has elapsed since 01.01.1970, 00:00:00 (look-ahead calcu- lation). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 406
January 1, 1970 (look-ahead calculation) Format: YYYY-MM-DD hh:mm:ss Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (real time) Format: YYYY-MM-DD hh:mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 407
00:00:00 UTC on January 1, 1970 (look-ahead calculation) Format: D.MM.YY Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (real time) Format: YYYY-MM-DD HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 408
00:00:00 UTC on January 1, 1970 (real time) Format: h:mm Formatting of: System time in seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (look-ahead calculation) Format: h:mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 409
3 = Working plane coordinate system WPL - GPS: Shift in the workpiece system 0 = Off, 1 = On GPS: Axis offset 0 = Off, 1 = On HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 410
Rapid traverse Measuring feed rate Feed rate for pre-positioning: FMAX_PROBE or FMAX_MACHINE Maximum measuring range Set-up clearance Spindle orientation possible 0=No, 1=Yes Angle of spindle orientation in degrees HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 411
Coordinate / Readout of the measurement results in the axis form of coordinates / axis values in the input system from probing operations. Compensation: only length Oriented spindle stop HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 412
NC error 12 = Continuation with the row in the pallet table in which the NC error arose 13 = Continuation with the next pallet HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 413
Feed-rate limit for high speeds (MP_maxG1Feed) in mm/min Max. jerk at low speeds (MP_maxPathJerk) in m/s Max. jerk at high speeds (MP_maxPath- JerkHi) in m/s Tolerance at low speeds (MP_pathTolerance) in mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 414
DCM: Maximum tolerance for linear axes in cal axis mm (MP_maxLinearTolerance) Index of physi- DCM: Maximum angle tolerance in [°] cal axis (MP_maxAngleTolerance) Index of physi- Tolerance monitoring for successive threads cal axis (MP_threadTolerance) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 415
(MP_maxPathAccHi) Index of physi- Compensation of following error in the jerk cal axis phase (MP_IpcJerkFact) Index of physi- kv factor of the position controller in 1/s cal axis (MP_kvFactor) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 416
Oversize for tool length DL Tool radius oversize DR Tool radius oversize DR2 Tool locked TL 0 = not locked, 1 = locked Number of the replacement tool RT Maximum tool age TIME1 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 417
Read and write data of current turning tool Tool number Tool length XL Tool length YL Tool length ZL Tool length oversize DXL Oversize in tool length DYL Tool length oversize DZL Tooth radius (RS) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 418
Z component of the Z direction X component of the X direction Y component of the X direction Z component of the X direction Type of angle definition: Angle 1 Angle 2 Angle 3 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 419
If the tool selected by these rules is locked, a replacement tool will be returned. –1: No tool with the specified name found in the tool table or all qualifying tools are locked. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 420
0 = simulation 2-D graphics during programming active? 1 = yes 0 = no Generate graphics during programming (soft key AUTO DRAW) active? 1 = yes 0 = no HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 421
0 = no 1 = yes M101 active (visible condition)? 0 = no 1 = yes M136 active? 0 = no 1 = yes HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 422
FOR SYNC. Input no. PLC input Output no. PLC output Counter no. PLC counter Timer no. PLC timer Byte no. PLC byte Word no. PLC word Double-word PLC double word HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 423
TS probe type from TYPE column of the touch probe table (tchprobe.tp) Type of TT tool touch probe from CfgTT/type. Key name of the active tool touch probe TT from CfgProbes/activeTT. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 424
Read data of the current tool (system string) 10950 Current tool name. Example: Assign the value of the active scaling factor for the Z axis to Q25. N55 D18 Q25 ID210 NR4 IDX3* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. The D19 function transfers up to two numerical values or Q parameters to the PLC. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
NC program has actually reached that block. Example: Pause internal look-ahead calculation, read current position in the X axis N32 D20 SYNC N33 D18 Q1 ID270 NR1 IDX1* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Comply with the documentation from HEIDENHAIN, the machine tool builder, and suppliers. The D29 function transfers up to eight numerical values or Q parameters to the PLC. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
For more detailed information, consult the Remo Tools SDK manual. Example Document values from Q1 and Q23 in the log. D38* /"Q parameter Q1: %f Q23: %f" P02 +Q1 P02 +Q23* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Q10 = ASIN 0.75 Arc cosine Inverse function of the cosine; determine the angle from the ratio of the adjacent side to the hypotenuse e.g., Q11 = ACOS Q40 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 430
When return value Q12 = 1, then Q50 > 0 When return value Q12 = -1, then Q50 < 0 Calculate modulo value (division remainder) e.g., Q12 = 400 % 360 result: Q12 = 40 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
2 Calculation step 3 to the third power = 27 3 Calculation 100 – 27 = 73 Distributive law Law of distribution with parentheses calculation a * (b + c) = a * b + a * c HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
OPENING PARENTHESIS soft key Enter 12 (Q parameter number) Select division Enter 13 (Q parameter number) Close parentheses and conclude formula entry Example N10 Q25 = ATAN (Q12/Q13) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
When you use the STRING FORMULA function, the result of the arithmetic operation is always a string. When you use the FORMULA function, the result of the arithmetic operation is always a numeric value. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The first character of a text string starts internally at the 0-position Example: A four-character substring (LEN4) is read from the string parameter QS10 beginning with the third character (BEG2) N37 QS13 = SUBSTR ( SRC_QS10 BEG2 LEN4 ) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Information for unbalance cycle, Path of the unbalance calibration table belonging to 10855 the active kinematics Tool data, 10950 Tool name DOC entry of the tool AFC control setting Tool-carrier kinematics HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Close the parenthetical expression with the ENT key and confirm your entry with the END key Example: Convert string parameter QS11 to a numerical parameter Q82 N37 Q82 = TONUMB ( SRC_QS11 ) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Example: Search through QS10 for the text saved in parameter QS13. Begin the search at the third place. N37 Q50 = INSTR ( SRC_QS10 SEA_QS13 BEG2 ) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
END key Example: Find the length of QS15 N37 Q52 = STRLEN ( SRC_QS15 ) If the selected string parameter is not defined the control returns the result -1. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
+1: The first QS parameter follows the second QS parameter alphabetically Example: QS12 and QS14 are compared for alphabetic priority N37 Q52 = STRCOMP ( SRC_QS12 SEA_QS14 ) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
KEY_QS: Group name (key) of the machine parameter TAG_QS: Object name (entity) of the machine parameter ATR_QS: Name (attribute) of the machine parameter IDX: Index of the machine parameter HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 444
Assign string parameter for key 15 QS12 = "CfgDisplaydata" Assign string parameter for entity 16 QS13 = "axisDisplay" Assign string parameter for parameter name 17 QS1 = Read out machine parameter CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 IDX3 ) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 445
Assign string parameter for key N20 QS12 = "CfgGeoCycle" Assign string parameter for entity N30 QS13 = "pocketOverlap" Assign string parameter for parameter name N40 Q50 = CFGREAD( KEY_QS11 TAG_QS12 ATR_QS13 ) Read out machine parameter HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tool radius R (tool table or G99 block) Delta value DR from the tool table Delta value DR from the T block The control remembers the current tool radius even if the power is interrupted. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Dimensional data of the main program Parameter value Metric system (mm) Q113 = 0 Imperial system (inch) Q113 = 1 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tilting the working plane with spatial (workpiece) angles instead of spindle head angles: Coordinates for rotary axes calculated by the control. Coordinates Parameter value A axis Q120 B axis Q121 C axis Q122 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Parameter value Rotation about the A axis Q170 Rotation about the B axis Q171 Rotation about the C axis Q172 Workpiece status Parameter value Good Q180 Rework Q181 Scrap Q182 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Q601 = 1 Error Q601 = 2 No monitoring area defined or not enough Q601 = 3 reference images Internal errs (no signal, camera fault, etc) Q601 = 10 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N280 G54 X+Q1 Y+Q2 Z-Q16* Shift datum to center of sphere N290 G73 G90 H+Q8* Account for starting angle of rotational position in the plane N300 G98 L1* Pre-position in the spindle axis HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 456
N460 D09 P01 +Q28 P02 +Q9 P03 1* N470 G73 G90 H+0* Reset the rotation N480 G54 X+0 Y+0 Z+0* Reset the datum shift N490 G98 L0* End of subprogram N99999999 %SPHERE G71 * HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In this case, the dialog is continued for the parameter input. In the Manual operation and Electronic handwheel operating modes, the M functions are entered with the M soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 459
M (miscellaneous) function in a STOP block: To program an interruption of program run, press the STOP key Enter a miscellaneous function M Example N87 G38 M6* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
■ Tool change Spindle STOP Program STOP ■ Coolant ON ■ Coolant OFF ■ Spindle ON clockwise Coolant ON ■ Spindle ON counterclockwise Coolant ON ■ Same as M2 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The coordinate values on the control screen reference the machine datum. Switch the display of coordinates in the status display to REF . Further information: "Status displays", page 94 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 462
Further information: "Showing the workpiece blank in the working space ", page 764 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the M130 function is combined with a cycle call, the control will interrupt the execution with an error message. Effect M130 functions blockwise in straight-line blocks without tool radius compensation. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Move to contour point 15 N160 Y+0.5 ... F ... M97* Machine small contour step 15 to 16 N170 G90 X ... Y ... * Move to contour point 17 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Example: Move to the contour points 10, 11 and 12 in succession N100 G01 G41 X ... Y ... F ...* N110 X ... G91 Y ... M98* N120 X+ ...* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The feed rate for plunging is to be 20% of the feed rate in the plane. Actual contouring feed rate (mm/min): N170 G01 G41 X+20 Y+20 F500 M103 F20* N180 Y+50* N190 G91 Z-2.5* N200 Y+5 Z-5* N210 X+50* N220 G90 Z+5* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you change the spindle speed by using the spindle override, the control changes the feed rate accordingly. Effect M136 becomes effective at the start of the block. You can cancel M136 by programming M137. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The initial state is restored after finishing or canceling a machining cycle. Effect M109 and M110 become effective at the start of the block. M109 and M110 can be canceled with M111. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M120 is programmed without LA another program is called with % the working plane is tilted with Cycle G80 or with the PLANE function M120 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 470
Before using the functions listed below, you have to cancel M120 and the radius compensation: Cycle G60 Tolerance Cycle G80 Working plane PLANE function M114 M128 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The coordinates are entered with the orange axis direction buttons or the ASCII keyboard. Effect To cancel handwheel positioning, program M118 once again without coordinate input. M118 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 472
For this purpose, program at least the spindle axis with its permitted range of traverse in the M118 function (e.g. M118 Z5) and select the VT axis on the handwheel. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Effect M140 is effective only in the NC block in which itis programmed. M140 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 474
There is a danger of collision during these compensating movements! Do not combine M118 with M140 when using machines with head rotation axes. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M141 functions only for movements with straight-line blocks. Effect M141 is effective only in the NC block in which M141 is programmed. M141 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M143 becomes effective at the start of the block. M143 deletes the entries in columns SPA, SPB, and SPC in the preset table; reactivating the corresponding preset table line does not activate the deleted basic rotation. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
When a power interruption occurs Effect M148 remains in effect until deactivated with M149. M148 becomes effective at the start of the block, M149 at the end of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Effect The M197 function acts blockwise and is only effective on outside corners. Example G01 X... Y... RL M197 DL0.876* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can rapidly navigate with the cursor or mouse and select functions in the tree diagram. The control displays online help for the selected function in the window on the right. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select a contour definition See Cycle- Programming User's Manual Define a complex contour See Cycle- formula Programming User's Manual Select the point file with machin- See Cycle- ing positions Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
There is a danger of collision during execution! Check the machining sequence using a graphic simulation Carefully test the NC program or program section in the Program run, single block operating mode HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Modify the graphic display of the collision objects in the Test Run operating mode as follows: Press the FURTHER VIEW OPTIONS soft key Modify the graphic display of the collision objects using the following functions HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 485
To return to the standard display: Press the shift key and simultaneously double-click with the right mouse key. The rotation angle is maintained if you only double-click with the right mouse key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Further information: "Activating and deactivating collision monitoring", page 490 Note the general limitations of the Dynamic Collision Monitoring (DCM) function. Further information: "Function", page 483 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the Test Run operating mode Press the Collision Monitoring ON soft key You can toggle collision monitoring only after the simulation has been stopped. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(e.g. for eccentric turning), the control cannot perform collision monitoring. If at least one axis operates with following error or is not referenced, the control cannot perform collision monitoring. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 489
Special Functions | Dynamic Collision Monitoring (option 40) Note the general limitations of the Dynamic Collision Monitoring (DCM) function. Further information: "Function", page 483 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the Go to soft key Select the condition for which the selected operating modes should apply: Inactive: Deactivate collision monitoring Active: Activate collision monitoring Press the Ok soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 491
490 Symbols Symbols in the status display show the condition of collision monitoring: Icon Function Collision monitoring active Collision monitoring is not available Collision monitoring is not active HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The tool carrier templates may consist of several sub- files. If the sub-files are incomplete, the control will display an error message. Do not use incomplete tool carrier templates! HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the tool carrier template does not contain any transformation vectors, names, test points and measurement points, the additional ToolHolderWizard tool does not execute any function when the corresponding icons are activated. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 494
Output file area Press the GENERATE FILE button If required, reply to the message on the control Press the CLOSE icon The control closes the additional tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 495
Output file area Press the GENERATE FILE button If required, reply to the message on the control Press the CLOSE icon The control closes the additional tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the desired tool carrier using the preview screen Press the OK soft key The control copies the name of the selected tool carrier to the KINEMATIC column Exit the tool table HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 498
(DCM), then the control must be in a stopped or interrupted state. Further information: "General status display", page 94 As an alternative you can deactivate Dynamic Collision Monitoring (DCM). Further information: "Activating and deactivating collision monitoring", page 490 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
NC program is selected in the file management. Then you can simply acknowledge the message with Ok or call the form directly with CHANGE DATA. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 500
As an alternative, use form elements to deactivate a setting possibility Further information: "Using the form", page 501 Press the Ok soft key The control applies the settings and closes the form HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 501
Apply actual values of Handwheel superimp.: to the shifts Prerequisite: The coordinate system for Handwheel superimp.: and for Displacement concur You can also easily navigate through the form with a mouse. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
There is a danger of collision during subsequent machining! Test the behavior at the machine If necessary, reset the preset after the offsets have been activated (mandatory for table rotary axes) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 503
The control considers the 180° rotation for all C axis positioning movements. The control takes the modified tool position into account. The position of the C axis does not affect the preset position. The preset remains unchanged! HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Open the Global Program Settings function Activate the Additive basic rotat. (W-CS) option, specifying 90° Reselect the NC program The control considers the 90° rotation for all axis positioning movements. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Global Program Settings function) The Shift (W-CS) values are displayed on the GS tab of the additional status display, the values from the NC program on the TRANS tab. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With PLANE AXIAL, the mirroring of rotary axes is irrelevant. For the TCPM function with axis angles, all axes to be mirrored must be marked explicitly in the form. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
NC program (e.g. Cycle 7 DATUM SHIFT), the same way as it is done for an active Shift (W-CS). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The value is added to the rotation defined in the NC program (e.g. Cycle 10 ROTATION). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If no coordinate system transformations were activated using either the NC program or the Global Program Settings function, Handwheel superimp.: is effective in the same way in all coordinate systems. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 510
Handwheel superimp.: and during the subsequent machining operations! Before exiting the form, always make sure to explicitly select the Machine Coordinate System (M-CS). Test the behavior at the machine HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 511
M118 from the NC program, you should activate Handwheel superimp.: in the Global Program Settings function prior to selecting the program. This ensures that the control uses the Global Program Settings function rather than M118. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 512
Handwheel superimp.: in virtual axis direction VT requires neither one of the PLANE functions nor the TCPM function. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Program Settings function) Result of all modifications = current feed rate The control displays the value of the feed rate factor on the GS tab of the additional status display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Cutting conditions are changed particularly by: Tool wear Fluctuating cutting depths that occur especially with cast parts Fluctuating hardness caused by material flaws HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 515
This helps to prevent further damage after a tool breaks or is worn out. Protection of the machine’s mechanical elements Timely feed rate reduction and shutdown responses help to avoid machine overload. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Feed rate for traverse when the tool moves into or out of the material. Enter the value in percent with respect to the programmed feed rate. Maximum input value: 100 % HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 517
Value that the control is to transfer to the PLC at the beginning of a machining step. The machine manufacturer defines the function, so refer to your machine manual. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 518
The control displays a list with table formats. table format and confirm with the ENT key Select the AFC.TAB The control creates the table that contains the control settings. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
LOAD value with the FUNCTION AFC CUT BEGIN function. If you program both values, the control will use the value programmed in the NC program! HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 520
AFC column. Further information: "Defining basic AFC settings", page 516 Besides the data from the AFC.TAB table, the control also saves the following additional information in the <name>.I.AFC.DEP file: HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 521
Enter the desired control setting for all tools in the AFC column of the tool table TOOL.T Select the program for teach-in Activate the AFC function via the soft key Further information: "Activating and deactivating AFC", page 524 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 522
If the determined reference load is greater than 2 %, the control changes the status from teach-in (L) to controlling (C). Adaptive feed control is not possible for smaller values. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 523
In order to edit the <name>.I.AFC.DEP file, you must first set the file manager so that all file types can be displayed (SELECT TYPE soft key). Further information: "Files", page 171 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
ON—the control displays the AFC symbol in the position display Further information: "Status displays", page 94 To deactivate the adaptive feed control: Set the soft key to OFF HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 525
The control shows various pieces of information in the additional status display when adaptive feed control is on. Further information: "Additional status displays", page 96 In addition, the control shows the icon in the position display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control enters the results of the evaluation between the key words total and saved in the last line of the log file. Where the time balance is positive, the percentage value is also positive. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the AFC.TAB columns FMIN and FMAX each have a value of 100%, adaptive feed control is deactivated but cut-related tool load monitoring remains active. Further information: "Entering tool data into the table", page 238 and page 516 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
ACC is also advantageous during standard roughing. When you use the ACC feature, you must enter the number of tool cuts CUT for the corresponding tool in the TOOL.T tool table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Further information: "Status displays", page 94 To deactivate ACC: Set the soft key to OFF If ACC is active, the control shows the icon in the position display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Y coordinate of the circle center/pole Label call for subprogram and program section repeat Miscellaneous function Block number Tool call Polar coordinate angle Z coordinate of the circle center/pole Polar coordinate radius Spindle speed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Set the counter to the desired value Input value: 0–9999 Increment the counter by the desired value Input value: 0–9999 Repeat the NC program starting from this label if more parts are to be machined. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 532
N510 FUNCTION COUNT INC* Increment the counter value N520 FUNCTION COUNT REPEAT LBL 11* Repeat the machining operations if more parts are to be machined. N530 M30* N540 %COUNT G71* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Move cursor one word to the right Move cursor one word to the left Go to next screen page Go to previous screen page Cursor at beginning of file Cursor at end of file HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Soft key Function Delete and temporarily store a line Delete and temporarily store a word Delete and temporarily store a character Insert a line or word from temporary storage HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the READ FILE soft key. The control displays the File name = dialog message. Enter the path and name of the file you want to insert HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Find text : dialog prompt Enter the text that you wish to find To find text: press the FIND soft key. Exit the search function: Press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
TNC:\system\proto directory. Then your template will also be available in the list box for table templates when you create a new table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Navigation using the control's keyboard: Press the navigation keys to go to the entry fields. Use the arrow keys to navigate within an entry field. To open pop-down menus, press the GOTO key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This moves the cursor to the left window, and you can select the desired line with the arrow keys. Press the green navigation key to switch back to the input window. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The table to be opened must have the extension .TAB. Example: Open the table TAB1.TAB, which is saved in the directory TNC:\DIR1. N56 D26 TNC:\DIR1\TAB1.TAB HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The names of tables and table columns must start with a letter and must not contain an arithmetic operator (e.g., +). Due to SQL commands, these characters can cause problems when inputting data or reading it out. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Define speed change SCALE The control never exceeds a programmed speed limit. The spindle speed is maintained until the sinusoidal curve of the S-PULSE FUNCTION falls below the maximum speed once more. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Proceed as follows for the definition: Show the soft-key row with special functions Press the PROGRAM FUNCTIONS soft key Press the FUNCTION SPINDLE soft key Press the RESET SPINDLE-PULSE soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the PROGRAM FUNCTIONS soft key Press the FUNCTION FEED soft key Press the FEED DWELL soft key Define the interval duration for dwelling D-TIME Define the interval duration for cutting F-TIME HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the RESET FEED DWELL soft key You can also reset the dwell time by entering D-TIME 0. The control automatically resets the FUNCTION FEED DWELL function at the end of a program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the PROGRAM FUNCTIONS soft key FUNCTION DWELL soft key Press the DWELL TIME soft key Define the duration in seconds Alternatively, press the DWELL REVOLUTIONS soft key Define the number of spindle revolutions HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Lift-off in the tool axis direction with M148 Further information: "Automatically retracting the tool from the contour at an NC stop: M148", page 477 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 549
Show the soft-key row with special functions Press the PROGRAM FUNCTIONS soft key Press the FUNCTION LIFTOFF soft key Press the LIFTOFF ANGLE TCS soft key Enter the SPB angle HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the FUNCTION LIFTOFF soft key Press the LIFTOFF RESET soft key You can also reset the lift-off with M149. The control automatically resets the FUNCTION LIFTOFF function at the end of a program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Shortest-path traverse of rotary axes Reduce display value of rotary axes M128 Define the behavior of the control when positioning the rotary axes M138 Selection of tilted axes M144 Calculate machine kinematics HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The mirrored rotary axis has no effect on the tilt specified in the PLANE function used, because only the movement of the rotary axis is mirrored HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 554
0. The control only supports tilting the working plane with spindle axis Z. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
PLANE function. While the animation plays, the control highlights the soft key of the selected PLANE function with a blue color. Soft key Function Switch on the animation mode Select the desired animation (highlighted in blue) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In the Distance-To-Go display (ACTDST and REFDST) the control shows, during tilting (MOVE or TURN mode) in the rotary axis, the distance to go to the calculated final position of the rotary axis. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
It does not need to be defined more than once. Deactivate tilting in the Manual operation operating mode in the 3D ROT menu. Further information: "Activating manual tilting:", page 736 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The result is identical for both perspectives, as the following comparison shows. Example PLANE SPATIAL SPA+45 SPB+0 SPC+90 ... A-B-C C-B-A Home position A0° B0° C0° Home position A0° B0° C0° A+45° C+90° B+0° B+0° C+90° A+45° HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 559
Spatial angle C?: Rotational angle SPC about the (non-tilted) Z axis. Input range from -359.9999 to +359.9999 Continue with the positioning properties Further information: "Specifying the positioning behavior of the PLANE function", page 572 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can select the desired positioning behavior. Further information: "Specifying the positioning behavior of the PLANE function", page 572 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 561
"Specifying the positioning behavior of the PLANE function", page 572 Example N50 PLANE PROJECTED PROPR+24 PROMIN+24 ROT+30 ..* Abbreviations used: PROJECTED Projected PROPR Principal plane PROMIN Minor plane Rotation HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The 0° axis is the X axis Continue with the positioning properties Further information: "Specifying the positioning behavior of the PLANE function", page 572 Example N50 PLANE EULER EULPR45 EULNU20 EULROT22 ..* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 563
X axis shift- ed by the precession angle EULROT Rotation angle: angle describing the rotation of the tilted machining plane around the tilted Z axis HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This behavior is independent of the configuration of the machine parameters. You can select the desired positioning behavior. Further information: "Specifying the positioning behavior of the PLANE function", page 572 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 565
If the normal vector has no X component, the base vector corresponds to the original X axis If the normal vector has no Y component, the base vector corresponds to the original Y axis HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 566
N50 PLANE VECTOR BX0.8 BY-0.4 BZ-0.42 NX0.2 NY0.2 NT0.92 ..* Abbreviations used Abbreviation Meaning VECTOR Vector BX, BY, BZ Base vector : X, Y, and components NX, NY, NZ Normal vector : X, Y, and components HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Point 1 and Point 2 (right-hand rule). You can select the desired positioning behavior. Further information: "Specifying the positioning behavior of the PLANE function", page 572 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 568
"Specifying the positioning behavior of the PLANE function", page 572 Example N50 PLANE POINTS P1X+0 P1Y+0 P1Z+20 P2X+30 P2Y+31 P2Z+20 P3X+0 P3Y+41 P3Z+32.5 ..* Abbreviations used Abbreviation Meaning POINTS Points HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Continue with the positioning properties Further information: "Specifying the positioning behavior of the PLANE function", page 572 Example N50 PLANE RELATIV SPB-45 ..* Abbreviations used Abbreviation Meaning RELATIVE Relative to HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The SEQ, TABLE ROT and COORD ROT functions have no effect in conjunction with PLANE AXIAL. The PLANE AXIAL function does not take basic rotation into account. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 571
Input range: –99999.9999° to +99999.9999° Continue with the positioning properties Further information: "Specifying the positioning behavior of the PLANE function", page 572 Abbreviations used Abbreviation Meaning AXIAL In the axial direction HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The mirrored rotary axis has no effect on the tilt specified in the PLANE function used, because only the movement of the rotary axis is mirrored HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 573
FAUTO (feed rate from the T block). If you use PLANE together with STAY, you have to position the rotary axes in a separate block after the PLANE function. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 574
MB MAX positions the tool just before the software limit switch. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 575
Define and activate the PLANE function N30 G01 A+Q120 C+Q122 F2000* Position the rotary axis with the values calculated by the control. Define machining in the tilted working plane HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 576
3 If only one solution is within the traverse range, the control selects this solution 4 If neither solution is within the traverse range, the control displays the Entered angle not permitted error message. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 577
If no free rotary axis is created in a tilting situation, the COORD ROT and TABLE ROT transformation types have no effect With the PLANE AXIAL function the COORD ROT and TABLE ROT transformation types have no effect HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 578
If no transformation type was specified, the control uses the COORD ROT transformation type for the PLANE functions HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 579
B axis before tilting the working plane is maintained Because the workpiece was not positioned, the control aligns the working plane coordinate system according to the programmed spatial angle SPB+20 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N10 T 5 G17 S4500* N20 PLANE SPATIAL SPA+0 SPB-90 SPC+0 STAY* The tilt angle must be precisely adapted to the tool angle, otherwise the control will generate an error message. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M116 is effective in the working plane. Reset M116 with M117. At the end of the program, M116 is automatically canceled. M116 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
10° +20° 10° 340° –30° Effect M126 becomes effective at the start of the block. To cancel M126, enter M127. At the end of program, M126 is automatically canceled. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
C axis to the programmed value M50 G00 C+180 M94* Effect M94 is effective only in the NC block where it is programmed. M94 becomes effective at the start of the block. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If M128 is active, the control shows the TCPM symbol in the status display The TCPM or M128 function cannot be used in conjunction with the Dynamic Collision Monitoring (DCM) function and the additional M118 function HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M138 becomes effective at the start of the block. You can cancel M138 by reprogramming it without specifying any axes. Example Perform the above-mentioned functions only in the tilting axis C. N50 G00 Z+100 G40 M138 C* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
M144 becomes effective at the start of the block. M144 does not work in connection with M128 or the Tilt Working Plane function. You can cancel M144 by programming M145. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Carefully test the NC program or program section in the Program run, single block operating mode You can define the tool orientation in a G01 block as described below. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
DR2 for 3-D radius compensation. If you activate FUNCTION PROG PATH, the interpretation of the programmed path as the contour is effective for 3-D compensation movements until you deactivate the function. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
NR: Consecutive line number ANGLE: Measured angle in degrees DR2: Radius deviation from the nominal value The control evaluates a maximum of 100 lines in the compensation value table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 593
NC program output at the south pole of the sphere requires tools measured on the tool tip NC program output at the center of the sphere requires tools measured on the tool center HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The basis for this is the real-time operating system HeROS 5 in conjunction with the ADP (Advanced Dynamic Prediction) function of the TNC 640. This enables the control to also efficiently process NC programs with high point densities. From 3-D model to NC program...
Avoid the output of the feed rate in every NC block. This would negatively influence the control’s velocity profile HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 596
3 Q52 = 1350 ; FEED RATE FOR MILLING 25 L Z+250 R0 FMAX 26 L X+235 Y-25 FQ50 27 L Z+35 28 L Z+33.2571 FQ51 29 L X+321.7562 Y-24.9573 Z+33.3978 FQ52 30 L X+320.8251 Y-24.4338 Z+33.8311 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Normal tolerance in Cycle G62: Between 0.010 mm and 0.020 mm Normal chord error in the CAM system: Smaller than 0.005 mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 598
L and permissible contour tolerance TA: T ~ K x L x TA K = 0.0175 [1/°] Example: L = 10 mm, TA = 0.1°: T = 0.0175 mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Improved reaction to negative effects (e.g. short, step-like stages, coarse chord tolerances, heavily rounded block end- point coordinates) in NC programs generated by CAM system Precise compliance to dynamic characteristics even in difficult conditions HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Without a pallet changer you can use pallet tables to process NC programs with different presets in sequence with just one press of NC Start. The file name of a pallet table must always begin with a letter. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 603
Number of the pallet preset Optional field This entry is only required if pallet presets are used. W-STATUS Execution status Optional field This entry is only required for tool- oriented machining. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 604
Insert as last line in the table Delete the last line in the table Add several lines at end of table Copy the current value Insert the copied value Select beginning of line HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 605
Select end of line Find text or value Sort or hide table columns Edit the current field Sort by column contents Miscellaneous functions, e.g. saving Open file path selection HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Using the arrow keys, select the desired column. Press the INSERT COLUMN soft key Press the ENT key You can remove the column with the DELETE COLUMN soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Scroll through the NC program with the arrow keys Press the END PGM PAL soft key The control returns to the pallet table. A machine parameter defines how the control is to react after an error. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 608
If you interrupt the processing of pallet tables, the control always suggests the previously selected NC block of the interrupted NC program for the BLOCK SCAN function. Further information: "Block scan in pallet programs", page 786 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If necessary, check the active pallet preset in the PAL tab Check the traverse movements of the machine Use pallet presets only in conjunction with pallets HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Changing the machine statuses with a miscellaneous function (e.g. M13) Writing to the configuration (e.g. WRITE KINEMATICS) Traverse range switchover Cycle G62 Tolerance Cycle 800 Tilting the working plane HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 611
SP-B, SP-C, You can enter safety positions for the axes. The SP-U, SP-V, control only approaches these positions if the SP-W machine tool builder processes them in the NC macros. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you want to start machining again, change the W-STATUS to BLANK. If you change the status in the PAL line, all FIX and PGM lines below this line are automatically changed, too. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Changing the machine statuses with a miscellaneous function (e.g. M13) Writing to the configuration (e.g. WRITE KINEMATICS) Traverse range switchover Cycle G62 Tolerance Cycle 800 Tilting the working plane HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Times at which manual interventions in the machine are required The tool usage test function has to be enabled and switched on to ensure you get all information! Further information: "Tool usage test", page 259 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 617
Pallet, Fixture or Program is locked Pallet or Fixture is not enabled for machin- This line is currently being processed in Program run, single block or Program run, full sequence and cannot be edited HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 618
Edit opened job list Collapse or expand tree structure INSERT REMOVE Shows the soft keys INSERT BEFORE, INSERT AFTER and REMOVE Insert a new Pallet, Fixture or Program before the cursor position HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In the pallet management Further information: "Pallet Management", page 601 The control opens the pallet table (.p) in the Batch Process Manager as a job list. Directly in the Batch Process Manager HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 620
Locked: Lock the selected line Editing possible: The selected line cannot be edited Confirm your entries by pressing the ENT key. Repeat the steps if required Press the EDIT soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The following entries can be changed: Name Datum table Preset Locked Editing possible Confirm the edited entries by pressing the ENT key. The control adopts the changes. Press the EDIT soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can execute the job list using the pallet management Further information: "Processing pallet table", page 607 The control opens the job list as a pallet table in the pallet management (.p). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This makes NC programs with turning functions largely exchangeable and independent of the machine model. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Clamp the workpiece in the spindle center Clamp workpiece securely Program low spindle speeds (increase as required) Limit the spindle speed (increase as required) Eliminate unbalance (calibrate) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 626
In turning mode the measured values correspond to the X axis diameter values. You can also use the smartSelect function to define the turning functions. Further information: "Overview of special functions", page 480 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 627
Press the SELECT KINEMATICS soft key Example 11 FUNCTION MODE TURN "AC_TABLE" Activate turning mode N120 FUNCTION MODE TURN* Activate turning mode N130 FUNCTION MODE MILL "B_HEAD"* Activate milling mode HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
S: Nominal speed if no constant cutting speed is active (optional) S MAX: Maximum speed with constant cutting speed (optional). Reset with S MAX 0 GEARRANGE: Gear range for the turning spindle (optional) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 630
N30 FUNCTION TURNDATA SPIN VCONST:ON VC:100 Definition of a constant cutting speed in gear range 2 GEARRANGE:2* N30 FUNCTION TURNDATA SPIN VCONST:OFF S550* Definition of a constant spindle speed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
N30 G01 X+87 F200* Movement at a feed rate of 200 mm/min N40 M136* Feed rate in millimeters per revolution N50 G01 X+154 F0.2* Movement at a feed rate of 0.2 mm/1 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Clamp the workpiece in the spindle center Clamp workpiece securely Program low spindle speeds (increase as required) Limit the spindle speed (increase as required) Eliminate unbalance (calibrate) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 633
Unbalance Monitor function when you switch to turning mode. The unbalance monitor is effective until you switch back to milling mode. Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Operating notes: To compensate an unbalance, several balancing weights at different positions may be required. After clamping a balancing weight, the unbalance must be checked again in a measurement. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With unbalance calibration, the rotary table is operated at various speeds with a defined weight mounted at a defined radial position. The measurement is repeated with different weights. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In addition to the tool number and tool name, the control also shows the ZL and XL columns from the turning tool table. Example N40 FUNCTION MODE TURN* Turning mode selection N50 T301* Tool call HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Show the soft-key row with special functions Press the TURNING PROGRAM FUNCTIONS soft Press the FUNCTION TURNDATA soft key Press the TURNDATA CORR soft key. Example N210 FUNCTION TURNDATA CORR-TCS:Z/X DZL:0.1 DXL:0.05* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the machine operating mode, e.g. Manual operation Press the TOOL TABLE soft key Press the TURNING TOOLS soft key Edit the turning tool table: Set the EDIT soft key to ON HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 640
Current value of DXL Current calculated value for the tool New value of DZL New calculated value for the tool New value of DXL New calculated value for the tool HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 641
Further information: Cycle Programming User's Manual Example Input: Compens. value WPL-Z: 1 Compensation ØWPL-X: 1 Inclination angle ß: 90 Reverse the tool: Yes Result: DZL: +0.5 DXL: +1 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 642
Cutting radius Required Tool orientation Required Angle of orienta- Orientation angle Required tion CUTWIDTH Width of the recessing Required tool Oversize f. recessing tool Optional width TYPE Tool type Required HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 643
Wear compensation YL Optional Cutting radius Required Tool orientation Required Angle of orienta- Orientation angle Required tion T-ANGLE Tool angle Required P-ANGLE Point angle Required TYPE Tool type Required HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 644
Wear compensation XL Optional Wear compensation YL Optional Tool orientation Required Angle of orienta- Orientation angle Required tion T-ANGLE Tool angle Required P-ANGLE Point angle Required TYPE Tool type Required HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Theoretical tool tip The theoretical tool tip is effective in the tool coordinate system. When the tool is inclined, the position of the tool tip rotates with the tool. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 646
The virtual tool tip enables you to perform inclined paraxial longitudinal and transverse machining operations with high contour accuracy even without radius compensation. Further information: "Simultaneous turning", page HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Programming recessing and undercutting: Show the soft-key row with special functions Press the TURNING PROGRAM FUNCTIONS soft Press the RECESS/ UNDERCUT soft key Press the GRV (recess) or UDC (undercut) soft HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 648
Z coordinate, use a negative sign Example: Radial recess with depth=5, width=10, pos.= Z-15 N30 G01 X+40 Z+0* N40 G01 Z-30* N50 GRV RADIAL CENTER-15 DEPTH-5 BREADTH10 CHF1 FAR_CHF1* N60 G01 X+60* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 649
UDC THREAD: Thread undercut in compliance with DIN 76 The control always interprets undercuts as form elements in the longitudinal direction. No undercuts are possible in the plane direction. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 650
Example: Undercut form F with depth = 2, width = 15, depth of face = 1 N30 G01 X+40 Z+0* N40 G01 Z-30* N50 UDC TYPE_F R1 DEPTH2 BREADTH15 FACEDEPTH1* N60 G01 X+60* HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Show the soft-key row with special functions Press the TURNING PROGRAM FUNCTIONS soft Press the FUNCTION TURNDATA soft key Press the TURNDATA BLANK soft key Press the BLANK OFF soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(+90°, or –90°). Tool compensation FUNCTION TURNDATA CORR- TCS is always effective in the tool coordinate system, even during inclined machining. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 655
M128 then tool-tip radius compensation without a cycle, i.e. in traversing blocks with G41/G42, is not possible. If you activate inclined machining via M144 then this limitation does not apply. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The COORD ROT and TABLE ROT functions, as well as SEQ refer to the XY plane. HEIDENHAIN recommends using the TURN positioning behavior. The MOVE positioning behavior is not the best option in combination with the facing slide. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 657
In the Manual operation mode, move the facing slide with the U axis key. As the Tilt the working plane function is possible, pay attention to the 3-D ROT status HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 658
Enter enter the feed rate, if required Example N70 FACING HEAD POS* Activating without clearance height N70 FACING HEAD POS HEIGHT+100 F1000* Activating with positioning to clearance height Z+100 at rapid traverse 1000 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 659
Press the SPEC FCT key Press the TURNING PROGRAM FUNCTIONS soft Press the FACING SLIDE soft key Press the ENT key Example N70 FUNCTION FACING HEAD OFF* Deactivating the facing slide HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In turning mode it is not possible to insert replace- ment tools. If you define the overload reaction M, the control outputs an error message. POUT Entering the minimum load Pmin for tool breakage monitoring HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 661
1 in the SENS column. Further information: "Tool wear monitoring", page 527 Further information: "Tool load monitoring", page 527 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control carries out a self-test. If the control does not register an error, it displays the Traverse reference points dialog. If the control registers an error, it issues an error message. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 665
Only confirm the pop-up window with YES if the axis positions match Despite confirmation, at first only move the axis carefully If there are discrepancies or you have any doubts, contact your machine tool builder HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press and hold the axis direction button for each axis until the reference point has been traversed The control is now ready for operation in the Manual operation mode. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 667
If the machine does not have any absolute encoders, the position of the rotary axes must be confirmed. The position shown in the pop-up window is the last position before the control was switched off. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Always shut down the control Only turn off the main switch after being prompted on the screen HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
"Spindle speed S, feed rate F and miscellaneous function M", page 682 If a moving task is active on the machine, the control displays the control in operation symbol. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you are in the Jog increment menu, you can switch off incremental jog positioning with the SWITCH OFF soft key. The input range for the infeed is from 0.001 mm to 10 mm. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
An active handwheel must be deactivated before another handwheel can be selected. Refer to your machine manual. This feature must be enabled and adapted by the machine tool builder. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 672
NC STOP key (machine-dependent function, key can be exchanged by the machine manufacturer) Handwheel Spindle speed potentiometer Feed rate potentiometer Cable connection, not available with the HR 550FS wireless handwheel HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 673
STEP ON or OFF: Incremental jog active or inactive. If the function is active, the control additionally displays the current traversing step Soft-key row: Selection of various functions, described in the following sections HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 674
If this happens you must reduce the distance to the handwheel holder in which the radio receiver is integrated. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 675
To save the configuration and exit the configuration menu, press END The MOD operating mode includes a function for commissioning and configuring the handwheel. Further information: "Configuring the HR 550FS wireless handwheel", page 825 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 676
(only when incremental jog is not active). Selectable sensitivity levels: 0.001/0.002/0.005/0.01/0.02/0.05/0.1/0.2/0.5/1 [mm/revolution or degrees/revolution] Selectable sensitivity levels: 0.00005/0.001/0.002/0.004/0.01/0.02/0.03 [in mm/revolution or degrees/revolution] HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 677
Move the active axis in the negative direction with the - key To deactivate the handwheel, press the handwheel key on the HR 5xx Now you can operate the control via the operating panel again. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 678
Press the KBD soft key to activate the potentiometers of the machine operating panel The control issues a warning if the handwheel potentiometers are still active after the handwheel has been deactivated. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 679
10. By also pressing the CTRL key, you can increase the counting increment by a factor of 100 when pressing F1 or F2. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 680
NC block after which the new traversing block is to be inserted Activate the handwheel Press the Generate NC block key on the handwheel The control inserts a complete traversing block containing all axis positions selected through the MOD function. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 681
Further information: "Returning to the contour", page 787 On/off switch for the Tilt working plane function (handwheel soft keys MOP and then 3D) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
When 3D ROT is active the machining feed rate is shown if several axes are moved If 3D ROT is not active, the feed drive display remains empty if several axes are moved HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
To activate the feed rate limit F MAX, proceed as follows: Operating mode: Press the Positioning w/ Manual Data Input key Press the F MAX soft key Enter the desired maximum feed rate Press the OK soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
In this chapter you will find explanations of the functions that are additionally available on a control with functional safety. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Safe operating stop. Provides protection against unexpected start of the drives Safely-limited speed. Prevents the drives from exceeding the specified speed limits when the protective door is opened HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If necessary, move to a safe position before approaching the test positions Watch out for possible collisions Refer to your machine manual. The location of the test position is specified by your machine tool builder. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
SOM_1 is active, the axes and spindles are brought to a stop, because only then will you be allowed to open the guard doors in SOM_1. Select the Manual operation mode Shift the soft-key row Switch on/off feed rate limit HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Never change the number of rows in the copied tables! If you want to reactivate the table, this may lead to problems. To activate the preset table copied to another directory you have to copy it back to the TNC:\table\ directory HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 690
If the preset set manually is active, the control displays the text PR MAN(0) in the status display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 691
(the row number is the preset number) If needed, select the column in the preset table that you want to change Use the soft keys to select one of the available entry possibilities HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 692
If inch display is active: Enter the value in inches, and the control will internally convert the entered values to mm HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 693
(2nd soft-key row) Insert a single line at the end of the table (2nd soft- key row) Delete a single line at the end of the table (2nd soft-key row) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the LOCK / UNLOCK PASSWORD soft key Enter the password in the pop-up window Confirm with the OK soft key or with the ENT key: The control writes ### in the LOCKED column. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 695
Press the LOCK / UNLOCK PASSWORD soft key Enter the password in the pop-up window Confirm with the OK soft key or with the ENT key The control rescinds the write-protection. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Use Cycle G247 in order to activate presets from the preset table during program run. In Cycle G247 you define the number of the preset to be activated. Further information: Cycle Programming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If the tool in the tool axis has already been set, set the display of the tool axis to the length L of the tool or enter the sum Z=L+d. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you try to set a preset in a locked axis, the control will issue either a warning or an error message, depending on what the machine tool builder has defined. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Always set a preset in all three principal axes. This clearly and correctly defines the preset. That way you also taken into account possible deviations resulting from the tilting of the axes. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Setting the preset on any axis Set a corner as preset Set a circle center as preset Setting the centerline as preset Touch probe system data See Cycle Program- management ming User's Manual HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 701
The control closes the pop-up window. Probe the second touch point If necessary, set the preset End the probing function If the handwheel is active you cannot start the probing cycles. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Probe hole (inside circle) automatically Probe stud (outside circle) automatically Probe a model circle (center point of several elements) Select a paraxial probing direction for probing of holes, studs and model circles HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 703
Number of touch Number of probing operations (3 to 8) points? Angular length? Probing a full circle (360°) or a circle segment (angular length<360°) Automatic probing routine: Pre-position touch probe HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 704
Take the starting angle of the first probing process into account in pre-positioning; for example, at a starting angle of 0° the control will first probe in the positive direction of the reference axis. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
FN16DefaultPath (no. 102202), the control will store the TCHPRMAN.html file in the TNC:\ main directory. Operating notes: If you run several touch probes cycles in a row, the control stores the measured values below each other. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Enter the datum number in the Number in table? input field Press the ENTER IN DATUM TABLE soft key The control saves the datum in the indicated datum table under the entered number. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
ENTRY IN LOCKED LINE soft key and enter the password to overwrite the active preset The control displays a note if a table row cannot be written to because of disabling. The probing function itself is not interrupted. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Measure the radius and the center offset using a stud or a calibration pin Measure the radius and the center offset using a calibration sphere 3-D calibrating (option 92) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the OK soft key for the values to take effect Press the CANCEL soft key to terminate the calibrating function. The control logs the calibration process in the TCHPRMAN.html file. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
180°, and then executes another probing routine. The center offset (CAL_OF in tchprobe.tp) is determined in addition to the radius by probing from opposite orientations. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 711
The control logs the calibration process in the TCHPRMAN.html file. Refer to your machine manual. In order to be able to determine ball-tip center misalignment, the control needs to be specially prepared by the machine manufacturer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 712
The control logs the calibration process in the TCHPRMAN.html file. Refer to your machine manual. In order to be able to determine ball-tip center misalignment, the control needs to be specially prepared by the machine manufacturer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 713
The control logs the calibration process in the TCHPRMAN.html file. Refer to your machine manual. In order to be able to determine ball-tip center misalignment, the control needs to be specially prepared by the machine manufacturer. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This is regardless of whether you want to use a touch-probe cycle in automatic mode or Manual operation mode. For more information about the touch probe table, refer to the User’s Manual for Cycle Programming HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
SET BASIC ROTATION or SET TABLE ROTATION soft key. The behavior of the control during presetting depends on the setting in the machine parameter chkTiltingAxes (no. 204601). Further information: "Introduction", page 699 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the BASIC ROT. IN PRESET TABLE soft key If appropriate, the control opens the Overwrite active preset? menu. Press the OVERWRITE PRESET soft key The control saves the basic rotation in the preset table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control deletes the basic rotation from the preset table, and inserts the offset. Or press KEEP BASIC ROT. The control inserts the offset in the preset table, and the basic rotation also remains. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Or enter Offset of rotary table: 0 Apply with the SET BASIC ROTATION soft key Or apply with the SET TABLE ROTATION soft key To terminate the probe function, press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
2nd point is on the reference axis, in a positive direction from the first point 3rd point is on the minor axis, in a positive direction of the desired workpiece coordinate system HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 720
Press the BASIC ROT. IN PRESET TABLE soft key To terminate the probe function, press the END soft key The control saves the 3-D basic rotation in the columns SPA, SPB, and SPC of the preset table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 721
Select the probe function by pressing the PROBING PL soft key Enter 0 for all angles Press the SET BASIC ROTATION soft key To terminate the probe function, press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With an active datum shift the determined value is with respect to the current preset (possibly a manual preset from the Manual operation mode). The datum shift is included in the position display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
706 Further information: "Writing measured values from the touch-probe cycles to the preset table", page 707 To terminate the probe function, press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
706 Further information: "Writing measured values from the touch-probe cycles to the preset table", page 707 To terminate the probe function, press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 725
If you activate the offset, the control automatically writes the positions and the offset or only the positions to the preset table. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control needs at least three touch points to calculate outside or inside circles, e.g. with circle segments. More precise results are obtained with four touch points. If possible, always pre-position the touch probe to the center. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 727
To terminate the probe function, press the END soft key Once the probing routine is completed, the control displays the current coordinates of the circle center and the circle radius. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 728
706 Further information: "Writing measured values from the touch-probe cycles to the preset table", page 707 To terminate the probe function, press the END soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
This way you can determine the positions once, and then store them in the principal axis as well as in the secondary axis. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Finding the coordinates of a corner point on the working plane Find the coordinates of the corner point. Further information: "Corner as preset", page 724 The control displays the coordinates of the probed corner as preset. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 731
You can measure The angle between the angle reference axis and a workpiece edge; or the angle between two sides The measured angle is displayed as a value of max. 90°. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 732
PA between the workpiece edges as the rotation angle Cancel the basic rotation, or restore the previous basic rotation by setting the rotation angle to the value that you wrote down previously HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
(option 8)", page 553 The control functions for tilting the working plane are coordinate transformations. The working plane is always perpendicular to the direction of the tool axis. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 734
(3-D tool length compensation). The control only supports the Tilt working plane function in combination with the spindle axis G17. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Limitations on working with the tilting function The Actual-position capture function is not allowed if the Tilt working plane function is active PLC positioning (determined by the machine tool builder) is not possible. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If you use Cycle G80 or the PLANE function in the machining program, the angle values defined there are in effect. Angle values entered in the menu will be overwritten. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 737
Tilt working plane menu. Even if the 3D-ROT dialog in the Manual operation mode is set to Active, resetting the tilting (PLANE RESET) with an active basic transformation still functions correctly. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The behavior of the control during presetting depends on the setting in the optional machine parameter chkTiltingAxes (no. 204601): Further information: "Introduction", page 699 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
As well as option number 136, a HEIDENHAIN camera system is required for VSC functions. You must create an adequate number of reference images to allow the system to compare the situation reliably. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 740
In this phase, the control only issues a warning if it finds a deviation when comparing images. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Show current camera view Produce live image Open VSC file manager The control shows the data saved for Cycle 600 and Cycle 601. Open camera cover Close camera cover HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Configuring the field of view of the camera Refer to your machine manual. These settings can only be made after entering a code number. Go back to the previous screen HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
All images: Display all images for this monitoring file Reference images: Only display reference images Images with error: Display all images where you have highlighted an error HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 744
Change monitoring area or highlight an error Further information: "Configuration", page 745 Go back to the previous screen If you change the configuration, the control carries out an image evaluation. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control indicates the clicked area with a frame. Shift the area if required by holding down the mouse button You can fix the drawn area by double-clicking it, thereby protecting it from unintentional shifting. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You have changed the monitoring data, monitoring is more sensitive. Blank circle: No error message: All deviations saved in the image have been recognized, monitoring has not identified any conflicts. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Editing an NC block Modifying Q parameter values with the Q INFO soft key Switching the operating modes Restore the contextual reference via repetition of the required NC blocks HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
168 You can control and modify Q parameters with the soft keys Q PARAMETER LIST and Q INFO. Further information: "Checking and changing Q parameters", page 382 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 750
Retract the tool N9999999 %$MDI G71 * End of program Straight-line function: Further information: "Straight line in rapid traverse G00 or straight line with feed rate F G01", page 295 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 751
Select the rotary table axis, enter the rotation angle and feed rate you wrote down, e.g. G01 C +2.561 F50 Conclude entry Press the NC Start button: The rotation of the table corrects the misalignment HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
$MDI file, e.g.Hole Press the OK soft key. To exit the file manager, press the END soft key Further information: "Copying a single file", page 179 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
MOD menu Graphic settings you and decrease the Model quality and in that way increase the speed of simulation. If you are using a TNC 640 with touch control, you can replace some keystrokes with hand-to-screen contact. Further information: "Operating the Touchscreen",...
You can also set the simulation speed before you start a program: Select the function for setting the simulation speed Select the desired function by soft key, e.g. incrementally increasing the simulation speed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The high-resolution 3-D view enables you to display the surface of the machined workpiece in greater detail. Using a simulated light source, the control creates realistic light and shadow conditions. Press the 3-D view soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 757
To return to the standard display: Press the shift key and simultaneously double-click with the right mouse key. The rotation angle is maintained if you only double-click with the right mouse key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 758
Activate measuring If measuring is activated, the control shows the corresponding coordinates in close proxim- ity if you position the mouse cursor on the 3-D graphics of the workpiece. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 759
A powerful zoom function is available in order for you to quickly recognize the details for the displayed tool paths. The control displays traverse movements in rapid traverse in red. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select projection in three planes in the operating modes Program run, single block and Program run, full sequence: Press the GRAPHICS soft key Press the View on 3 Planes soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 761
The sectional plan is automatically reset when the control is restarted. You can also move the sectional plane to its default position manually: Press the soft key for resetting the sectional planes soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Function Program run, full sequence / Program run, single block Test Run The control displays the tool in various colors: Red: Tool is in effect Blue: Tool is retracted HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the desired function via soft key, e.g.,saving the displayed time Soft key Stopwatch functions Store displayed time Display the sum of stored time and displayed time Clear displayed time HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Display the current traverse range This shows the traverse ranges config- ured by the machine tool builder and can be selected accordingly. Switch monitoring function on or off Display machine reference point HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 765
With BLK FORM CYLINDER, a cuboid is depicted as the workpiece blank in the working space With BLK FORM ROTATION , no workpiece blanks is depicted in the working space HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
NC program in pages: Soft key Functions Go back one screen in the NC program Go forward one screen in the NC - program Select start of program Select end of program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Program a safe intermediate position after the tool change and before prepositioning Carefully test the NC program in the Program run, single block operating mode If possible, use the Dynamic Collision Monitoring (DCM) function HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 768
Test Run operating mode. This macro will simulate the exact behavior of the machine. In doing so, the machine tool builder often changes the simulated tool change position. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
"Showing the workpiece blank in the working space ", page 764 Operating mode: Press the Test Run key Call the file manager with the PGM MGT key and select the file you wish to test HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 770
In order to continue the test, the following actions must not be performed: Selecting another block with the arrow keys or the GOTO key Making changes to the program Selecting a new program HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Modification before the interruption point: The simulation restarts at the beginning Modification after the interruption point: Positioning at the interruption point is possible with GOTO HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Starting the program run from a certain block Optional block skip Edit the tool table TOOL.T Checking and changing Q parameters Superimpose handwheel positioning Functions for graphic simulation Additional status display HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Program Run, Full Sequence Start the machining program with the NC Start key Program Run, Single Block Start each block of the machining program individually with the NC Start key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Change setting for the optional programmed interruption with Change setting for the programmed skipping of NC blocks with During major errors, the control automatically aborts the program run (e.g., during a cycle call with stationary spindle). HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 775
Refer to your machine manual. The miscellaneous function M6 may also lead to a suspension of the program run. The machine manufacturer sets the functional scope of the miscellaneous functions. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 776
The control shows the symbol for the exited inactive status in the status display Actions such as a change of operating mode are available again HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
On some machines you may have to press the NC start key after the MANUAL TRAVERSE soft key to enable the axis direction keys. Refer to your machine manual. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With an erasable error message: Remove the cause of the error Clear the error message from the screen: Press the CE key Restart the program, or resume program run where it was interrupted HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control selects the mode of traverse and the associated parameters automatically. If the traverse mode or the parameters have not been correctly preselected, you are unable to reset them manually. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 780
Right-handed thread: the main spindle turns clockwise when moving into the workpiece, counter-clockwise when retracting from it; left-handed thread: main spindle turns counter-clockwise when moving into the workpiece and clockwise when retracting from it HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 781
YES soft key. The control hides Retraction selectedmode. Initialize the machine: if required, cross the reference points Establish the desired machine condition: If required, reset the tilted working plane HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
784 The BLOCK SCAN function must not be used in conjunction with the following functions: Active stretch filter Touch probe cycle G55 during the search phase of mid-program startup HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 783
After an internal stop, you would like to start in block 120 in the third machining operation of 1G98 L1. In the pop-up window enter the following data: Start-up at: N =120 Repetitions = 3 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 784
Press the NC Start key If you changed the axis positions: Press the NC Start key If the control should run the NC block: Press the NC Start key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 785
Repetitions = 1 Press the NC start key until the control runs the NC block The control continues to run the subprogram and then returns to the main program. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 786
Pallet line = Enter the row number of the pallet table Enter Repetitions = if the NC block is located within a program section repetition Press the NC Start key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Repeat the process for all axes If the tool is located in the tool axis below the starting point, then the control offers the tool axis as the first traverse direction. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Time (hrs:min:sec): Time of day at which the program is to be started Date (DD.MM.YYYY): Date on which the program is to be started To activate the start, press the OK HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the INSERT soft key Delete / symbol In the Programming mode you select the block in which the character is to be erased Press the REMOVE soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Do not interrupt Program run or Test Run with blocks containing M1: Set the soft key to OFF Interrupt Program run or Test Run with blocks containing M1: Set the soft key to ON HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
END key. Exiting MOD functions Exit the MOD functions: Press the END soft key or the END key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
System settings Set the system time Define the network connection Network: IP configuration Diagnostic functions Bus diagnosis Diagnosis of Drives HEROS information General information Version information License information Machine times HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
High High data transfer rate, exact depiction of tool geometry Medium Medium data transfer rate, approximation of tool geometry Low data transfer rate, coarse approximation of tool geometry HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You can change the Counter settings via soft key as follows: Soft key Meaning Reset count Increase count Lower count You can also enter the values directly with a connected mouse. Further information: "Defining a counter", page 531 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Proceed as follows to restrict external access: In the MOD menu, select the Machine settings group Select the External access menu Set the EXTERNAL ACCESS ON/OFF soft key to OFF Press the OK soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 797
Never Deny continuously Deny once In the overview list, an active connection is shown with a green symbol. Connections without access rights are shown gray in the overview list. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The settings are kept even after the control has been restarted. You can only deactivate the protection zone by deleting all values or pressing the EMPTY EVERYTHING soft key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the Tool-usage file menu Select the desired setting for the Program Run, Full Sequence/ Single Block and Test Run operating modes Press the APPLY soft key Press the OK soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
MOD function. When you select a kinematics model for the test run this does not affect machine kinematics. Ensure that you have selected the correct kinematics in the Test Run operating mode for checking your workpiece. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Press the NTP off soft key in order to select the Synchronize the time over NTP server entry Enter hostnames or the URL of an TNP server Press the Add soft key Press the OK soft key HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
REF ACTL Reference position; actual position relative to the machine datum REF NOML Reference position; nominal position relative to the machine datum Servo lag; difference between nominal and actual positions HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 803
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 additional status display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Program run Duration of controlled operation since being put into service Refer to your machine manual. The machine tool builder can provide further operating time displays. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control requires a code number for the following functions: Function Code number Select user parameters Configuring an Ethernet card NET123 Enabling special functions for Q parameter 555343 programming HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Open the RS232 folder. The control then displays the following settings: Set BAUD RATE (baud rate no. 106701) You can set the BAUD RATE (data transfer speed) from 110 to 115 200 baud. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Set stop bits (stopBits no. 106705) The start bit and one or two stop bits enable the receiver to synchronize each transmitted character during serial data transmission. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
With the state of the RTS line (optional), you can define whether the LOW level is active in idle state. TRUE: Level is LOW in idle state FALSE: Level is not LOW in idle state HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Data bits in each transferred 7 bits character Type of parity checking EVEN Number of stop bits 1 stop bit Specify type of handshake: RTS_CTS File system for file operations HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Starting TNCremo under Windows Click on <Start>, <Programs>, <HEIDENHAIN Applications>, <TNCremo> When you start TNCremo for the first time, it automatically tries to set up a connection with the control. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 811
Further information: "Available tool types", page 272 End TNCremo Select <File>, <Exit> You can open the context-sensitive help function of the TNCremo software by pressing the F1 key. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Only active if a second, optional Ethernet interface is avail- able on the control hardware Computer Name displayed for the control in your compa- name ny network HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 813
Only activate this function if the optionally available second Ethernet interface should be accessed externally for diagnostic purposes via the control. Only do so after instruction by our Service Department HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 814
Option Manually configure the default gateway: Manually enter the IP addresses of the default gateway Apply the changes with the OK button, or discard them with the Cancel button HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 815
Ask your network specialist for the proper value Group ID: Definition of the group identification with which you access files in the network. Ask your network specialist for the proper value HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 816
IP address in the machine network. You can also select settings for these devices. Advanced options button: Additional settings for the DNS/DHCP server. Set stan- dard values button: Set factory settings. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 817
Status log Display of status information and error messages. Press the Clear button to delete the contents of the Status Log window. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Set the Active option to enable the firewall Press the Set standard values button to activate the default settings recommended by HEIDENHAIN. Exit the dialog with the OK button. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 819
TeleService programs from HEIDENHAIN (e.g. screenshot). If this service is blocked, the VNC configuration dialog shows a warning from HEROS that VNC is disabled in the firewall. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 820
IP address for a host name in the firewall. Advanced options These settings are only intended for your network specialists Set standard Resets the settings to the default values values recommended by HEIDENHAIN HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Remove the battery from the touch probe Insert the battery into the touch probe The control connects to the touch probe and creates a new row in the table HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
The control creates a new row in the table. If necessary, highlight the row with the cursor Enter the touch probe data on the right side The control immediately saves the entered data in the machine parameters. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
You only need to change the signal strength if there is interference. Select the strength of the radio signal You only need to change the signal strength if there is interference. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 824
Stylus deflected or not deflected Collision Collision or no collision recognized Battery status Display of the battery quality If the charge is less than the displayed bar, then the control outputs a warning. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Connect HW button. To save the configuration and exit the configuration menu, press the END button HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Click on the Set power button The control displays the three available power settings. Click on the desired setting. To save the configuration and exit the configuration menu, press the END button HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
If this occurs, try to improve the transmission quality by selecting another channel or by increasing the transmitter power. Further information: "Setting the transmission channel", page 826 Further information: "Selecting the transmitter power", page 826 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Select the backup file in the control’s file manager (e.g., BKUP-2013-12-12_.zip) The control opens the pop-up window for the backup. Press Emergency Stop Press the OK soft key to start the backup process HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Proceed as follows in order to have the actual system names of the parameters be shown: Press the Screen layout key Press the SHOW SYSTEM NAME soft key Follow the same procedure to return to the standard display. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 831
As well as the Help text, other information is displayed, e.g. unit of measurement, initial value, selection list. If the selected machine parameter matches a parameter in the previous control model, the corresponding MP number is displayed. HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 832
M5: Display spindle position if spindle is in position control and with M5 Show or hide soft key preset table True: Soft key preset table is not displayed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 833
Program input in HEIDENHAIN Klartext conversational text or in DIN/ISO HEIDENHAIN: Program input in operating mode MDI in Klartext conversational text dialog ISO: Program input in Positioning with MDI mode of operation in DIN/ISO HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 834
CHINESE CHINESE_TRAD SLOVENIAN KOREAN NORWEGIAN ROMANIAN SLOVAK TURKISH PLC dialog language See NC dialog language PLC error message language See NC dialog language Help language See NC dialog language HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 835
ON: With new BLK form in the test run, the tool paths are reset OFF: With new BLK form in the test run, the tool paths are not reset HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 836
Setting the coordinate systems for the display Coordinate system for the datum shift WorkplaneSystem: Datum is displayed in the system of the tilted plane, WPL-CS WorkpieceSystem: Datum is displayed in the workpiece coordinate system, W-CS HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 837
ON: The mM-CS coordinate system can be selected WPL-CS coordinate system is selectable OFF: The WPL-CS coordinate system can not be selected ON: The WPL-CS coordinate system can be selected HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 838
Maximum permissible measuring error with tool measurement 0.001 to 0.999 [mm]: Second maximum permissible measuring error NC stop during tool check True: NC program is stopped if breakage tolerance is exceeded HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 839
0.001 to 99 999.9999 [mm]: Safety clearance in tool axis direction Safety zone around stylus for pre-positioning 0.001 to 99 999.9999 [mm]: Safety clearance in plane perpendicular to tool axis HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 840
Approach behavior on a slot wall in a cylindrical surface LineNormal: Approach with straight line CircleTangential: Approach with an arc movement M function for spindle orientation in machining cycles -1: Spindle orientation directly via NC HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 841
Waiting time at reversal point in thread base –999999999 to 999999999: The spindle stops for this time at the bottom of the thread before starting again in the opposite direction of rotation HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 842
TRUE: For small thread depths the spindles speed is limited to the extent that for about 1/3 of the time it runs at a constant speed FALSE: No limitation of the spindle speed HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 843
TRUE: Paraxial positioning blocks permitted FALSE: Paraxial positioning blocks locked Line number up to which identical syntax elements are searched for 500 to 400000: Search for selected elements with up/down arrow keys HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 844
FN 16 output path for Programming and Test Run operating modes Path for FN 16 output if no path has been defined in the program Serial Interface RS232 Further information: "Setting up data interfaces", page 806 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Yellow Green Green Brown Brown Signal GND Blue Gray Gray Pink Pink Do not Violet assign Hsg. External Hsg. External Hsg. Hsg. Hsg. Hsg. External Hsg. shield shield shield HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 846
Signal GND Black Black Violet Violet Gray Gray White/ White/ Green Green Do not Green Green assign Hsg. External Hsg. External Hsg. Hsg. Hsg. Hsg. External Hsg. shield shield shield HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Ethernet interface RJ45 socket Maximum cable length: Unshielded: 100 m Shielded: 400 m Signal Description Transmit Data TX– Transmit Data REC+ Receive Data Vacant Vacant REC– Receive Data Vacant Vacant HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
5 x USB (1 x front USB 2.0; 4 x rear USB 3.0) ■ Ambient temperature Operation: 5 °C to +40 °C ■ Storage: -20 °C to +60 °C HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 849
Any text string in quotation marks (“”) Number of program section repeats REP 1 to 65 534 (5, 0) Error number in Q parameter function FN14 0 to 1199 (4, 0) HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
■ 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 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 851
Programming graphics In Programming mode, the contour of the NC blocks is drawn on screen while they are being entered (2-D pencil-trace graphics), even if another program is running HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 852
■ Compensation of workpiece misalignment, manual or automatic ■ Presetting, manual or automatic ■ Automatically measuring workpieces ■ Cycles for automatic tool measurement ■ Cycles for automatic kinematics measurement HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
CAD import Support for DXF , STEP and IGES Adoption of contours and point patterns Simple and convenient specification of presets Selecting graphical features of contour sections from conversational programs HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 854
Cycle 880: Gear hobbing (option 50 and option 131) Remote Desktop Manager (option 133) Remote operation of external Windows on a separate computer unit computer units Incorporated in the control's interface HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 855
Active Vibration Damping – AVD (option 46) Active vibration damping Damping of machine oscillations to improve the workpiece surface Batch Process Manager (option 154) Batch process manager Planning of production orders HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Within the positioning block: Coordinates are referenced to a position defined by machine manufacturer, e.g. tool change position ■ Reduce the rotary axis display to a value below 360° HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 860
NOMINAL positions at end of block ■ M145 Reset M144 ■ M141 Suppress touch probe monitoring ■ M148 Automatically retract tool from the contour at an NC stop ■ M149 Reset M148 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared 21.5 Functions of the TNC 640 and the iTNC 530 compared Comparison: Specifications Function TNC 640 iTNC 530 Control loops Maximum 24 control 18 maximum loops (including up to...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: PC software Function TNC 640 iTNC 530 M3D Converter for the creation of high- Available Not available resolution collision objects for collision monitoring (DCM) ConfigDesign...
Page 863
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Tool compensation In the working plane and tool length Radius compensated contour look ahead for up to 99 blocks Three-Dimensional Tool Radius Compensation...
Page 864
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Constant contouring speed relative to the path of the tool center or relative to the tool's cutting edge Parallel operation: Creating programs while another...
Page 865
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Q parameter programming: Standard mathematical functions Formula entry String processing Local Q parameters QL Nonvolatile Q parameters QR Changing parameters during program interruption D15: PRINT –...
Page 866
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Graphic support 2-D programming graphics REDRAW function (REDRAW) – Show grid lines as the background – 3-D line graphics Test graphics (plan view, projection on 3 planes, 3-D...
Page 867
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Datum tables: Storing workpiece-specific datums Preset table Preset management Line 0 of the preset table can be edited manually – Pallet management...
Page 868
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 CAM support: Loading of contours from DXF data X, option 42 X, option 42 Load contours from Step data and Iges data X, option 42 –...
Page 869
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Status displays: Positions, spindle speed, feed rate Larger depiction of position display, Manual operation Additional status display, form view Display of the handwheel path during machining with...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Miscellaneous functions Effect TNC 640 iTNC 530 Program STOP/Spindle STOP/Coolant OFF Optional program STOP Stop program/Spindle STOP/Coolant OFF/ Clear status display (depending on machine parameter)/Return jump to block 1...
Page 871
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Effect TNC 640 iTNC 530 M112 Enter contour transitions between any two contour transi- – (recommended: tions Cycle 32) M113 Reset M112 M114 Automatic compensation of machine geometry when –...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Touch probe cycles in the Manual operation and Electronic handwheel modes of operation Cycle TNC 640 iTNC 530 Touch-probe table for managing 3-D touch probes –...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Cycle TNC 640 iTNC 530 430 MEAS. BOLT HOLE CIRC 431 MEASURE PLANE 440 MEASURE AXIS SHIFT – 441 FAST PROBING 444 PROBING IN 3-D X, option 92 –...
Page 878
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Skip block function Available Available Selecting a tool from the table Selection via split-screen menu Selection in a pop-up window Programming special functions with...
Page 879
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Datum table: Sorting function by values within Available Not available an axis Resetting the table Available Not available Hiding axes that are not present...
Page 880
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Handling of error messages: Call via ERR key Call via HELP key Help with error messages Switching the operating mode Help menu is closed when the...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Programming minor axes: Syntax FUNCTION PARAXCOMP: Available Not available Define the behavior of the display and the paths of traverse Syntax FUNCTION PARAXMODE:...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Differences in Test Run, operation Function TNC 640 iTNC 530 Arrangement of soft-key rows and Arrangement of soft-key rows and soft-keys varies depending on the soft keys within the rows active screen layout.
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Differences in Manual Operation, functionality Function TNC 640 iTNC 530 Jog increment function The jog increment can be defined The jog increment applies for both...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Differences in Manual Operation, operation Function TNC 640 iTNC 530 Capturing the position values from Confirm actual position with a soft Actual-position capture by hard key...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Differences in Program Run, traverse movements NOTICE Danger of collision! NC programs that were created older controls can lead to unexpected axis movements or error messages on current control models.
Page 886
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 Q60 to Q99 (QS60 to QS99) areal- Q60 to Q99 (QS60 to QS99) Effect of Q parameters ways local. are local or global, depending on MP7251 in converted cycle programs (.cyc).
Page 887
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 The incremental rotation angle IPA Circle programming with polar The algebraic sign of the direc- and the direction of rotation DR...
Page 888
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 SLII Cycles 20 to 24: Behavior with islands not Cannot be defined with Restricted definition in complex contained in pockets complex contour formula...
Page 889
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Function TNC 640 iTNC 530 PLANE function: TABLE ROT/COORD ROT Effect: Effect The transformation types are The transformation types are effective on all free rotary axes only effective with a C rotary...
Tables and Overviews | Functions of the TNC 640 and the iTNC 530 compared Comparison: Differences in MDI operation Function TNC 640 iTNC 530 Execution of connected sequences Function available Function available Saving modally effective functions Function available Function available...
Retraction from the contour in the tool-axis direction M141 Suppress touch probe monitoring M143 Delete basic rotation M148 Retract the tool automatically from the contour at NC stop M149 Reset M148 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 892
UNIVERSAL PECKING G205 TAPPING with floating tap holder G206 RIGID TAPPING without floating tap holder G207 G208 BORE MILLING G209 TAPPING W/ CHIP BRKG G240 CENTERING G241 SINGLE-LIP D.H.DRLNG HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 893
DATUM SHIFT from datum tables DATUM SHIFT in the program MIRROR IMAGE ROTATION SCALING WORKING PLANE PRESETTING G247 Cycles for multipass milling MULTIPASS MILLING G230 RULED SURFACE G231 *) blockwise effective function HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 894
DWELL TIME G04* ORIENTATION PGM CALL G39* TOLERANCE Define the working plane Spindle axis Z - plane XY Spindle axis Y - plane ZX Spindle axis X - plane YZ HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 895
Setting a label number with G98 Jumping to a label number Tool length with G99 M functions Block number Cycle parameter in machining cycles Value or Q parameter in Q-parameter definition Q parameter HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 897
Q parameter: Angle with ARCTAN (angle from c sin a and c cos a) Q parameter: Error message Q parameter: External output Q parameter: Write file Q parameter: Read system data Q parameter: Send value to PLC HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 898
Icon........346 Open a freely definable Mouse area......345 table........540 Dynamic Collision Monitoring... 483 CAD import (option 42).... 329 D27: TABWRITE CAD viewer Write to a freely definable HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 899
FK programming...... 313 Helix......... 309 with the handwheel..... 671 Circular paths....... 318 Help system......225 Multiple axis machining.... End point......319 Help with error message..220 Fundamentals...... 313 Initiating dialog..... 316 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 900
Any desired NC program as Circles and circular arcs..281 Reference system.... 143, 154 Pre-positioning..... 282 Basic........146 PDF Viewer......188 Input........151 PLANE function....553, 555 Machine....... 144 Automatic positioning..573 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 902
Wireless touch probe Setup........821 Working space monitoring..Workpiece positions....155 Workspace monitoring..... 769 Write to log......428 Writing probing values Log........705 To the datum table....706 ZIP archive....... 192 HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017...
Page 903
The Information Site for DR. JOHANNES HEIDENHAIN GmbH HEIDENHAIN Controls Dr.-Johannes-Heidenhain-Straße 5 83301 Traunreut, Germany +49 8669 31-0 +49 8669 32-5061 Klartext App E-mail: info@heidenhain.de The Klartext on Your +49 8669 32-1000 Technical support Mobile Device Measuring systems ...
Need help?
Do you have a question about the TNC 640 and is the answer not in the manual?
Questions and answers