HEIDENHAIN TNC 640 (34059x-18) User manual

  • Hello! I've reviewed the HEIDENHAIN TNC 640 User's Manual and I am ready to assist you with questions about the CNC control. This manual covers everything from basic machine operation and programming to advanced techniques like using 3D touch probes and tilting the working plane. I can help you understand the various modes of operation, how to manage tools, and how to test and run your NC programs.
  • What modes of operation are described in this manual?
    What kind of files can be managed with the TNC 640?
    Does this manual explain how to use touch probes?
TNC640
User's Manual
Setup, Testing and Running
NC Programs
NC Software
34059x-18
English (en)
10/2023
Controls and displays
Controls and displays
Keys
If you are using a TNC640 with touch control, you can
replace some keystrokes with gestures.
Further information: "Operating the Touchscreen",
Page 581
Keys on the screen
Key Function
Select screen layout
Toggle the display between machine
operating mode, programming
mode, and a third desktop
Soft keys for selecting functions on
screen
Switch the soft-key rows
Alphabetic keyboard
Key Function
File names, comments
ISO programming
Select the next element; for example,
an input field, button, or selection
option
SHIFT + TAB Select the previous element
Open the HEROS menu
Machine operating modes
Key Function
Manual operation
Electronic handwheel
Positioning with Manual Data Input
Program Run, Single Block
Program Run, Full Sequence
Programming modes
Key Function
Programming
Test Run
2HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Controls and displays
Entering and editing coordinate
axes and numbers
Key Function
. . .
Select the coordinate axes or enter
them in the NC program
. . .
Numbers
Decimal separator / Reverse
algebraic sign
Polar coordinate entry /
Incremental values
Q parameter programming /
Q parameter status
Capture actual position
NO
ENT
Skip dialog questions, delete words
Confirm entry and resume dialog
Conclude the NC block, end your
input
Clear entries or error message
Abort dialog, delete program section
Tool functions
Key Function
Define tool data in the NC program
Call tool data
Managing NC programs and files,
control functions
Key Function
Select or delete NC programs or
files, external data transfer
Define program call, select datum
and point tables
Select MOD functions
Display help text for NC error
messages, call TNCguide
Display all current error messages
Show calculator
Show special functions
Currently not assigned
Navigation keys
Key Function
Position the cursor
Go directly to NC blocks, cycles, and
parameter functions
Navigate to the beginning of a
program or table
Navigate to the end of the program
or table row
Navigate up one page
Navigate down one page
Select the next tab in forms
Up/down one dialog box or button
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 3
Controls and displays
Cycles, subprograms, and
program-section repeats
Key Function
Define touch probe cycles
Define and call cycles
Enter and call subprograms and
program section repeats
Enter program stop in an
NC program
Programming path contours
Key Function
Contour approach and departure
FK free contour programming
Straight line
Circle center/pole for polar coordi-
nates
Circular arc with center
Circular arc with radius
Circular arc with tangential transition
Chamfer/rounding arc
Potentiometer for feed rate
and spindle speed
Feed rate Spindle speed
3D mouse
A HEIDENHAIN 3D mouse is available as a complement
to the keyboard unit.
A 3D mouse allows you to manipulate objects as
intuitively as if you were holding them in your hands.
This is made possible through simultaneous six-degree-
of-freedom motion:
2D movement in the XY plane
3D rotation around the axes X, Y, and Z
Zooming in or zooming out
These options increase the ease of use in the following
applications in particular:
CAD import
Material removal simulation
3D applications of an external PC that you can
use on the control based on software option 133
(Remote Desktop Manager)
4HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
Table of contents
1 Basic Information................................................................................................................... 27
2 First Steps............................................................................................................................. 43
3 Fundamentals........................................................................................................................ 55
4 Tools...................................................................................................................................... 133
5 Setup..................................................................................................................................... 175
6 Testing and Running.............................................................................................................. 257
7 Special Functions................................................................................................................... 325
8 Pallets.................................................................................................................................... 383
9 Turning.................................................................................................................................. 407
10 Grinding................................................................................................................................. 429
11 MOD Functions...................................................................................................................... 443
12 HEROS Functions................................................................................................................... 473
13 Operating the Touchscreen.................................................................................................... 581
14 Tables and Overviews............................................................................................................ 597
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 5
Table of contents
6HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
1 Basic Information................................................................................................................... 27
1.1 About this manual...................................................................................................................... 28
1.2 Control model, software and features........................................................................................ 30
Software options.................................................................................................................................................... 32
New functions 34059x-18................................................................................................................................... 37
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 7
Table of contents
2 First Steps............................................................................................................................. 43
2.1 Overview..................................................................................................................................... 44
2.2 Switching on the machine.......................................................................................................... 45
Acknowledging the power interruption and moving to the reference points............................................ 45
2.3 Graphically testing the workpiece............................................................................................... 46
Selecting the Test Run operating mode........................................................................................................... 46
Selecting the tool table........................................................................................................................................ 46
Selecting the NC program................................................................................................................................... 47
Selecting the screen layout and the view........................................................................................................ 47
Starting the test run.............................................................................................................................................. 48
2.4 Setting up tools.......................................................................................................................... 49
Selecting the Manual operation mode.............................................................................................................. 49
Preparing and measuring tools.......................................................................................................................... 49
Editing the TOOL.T tool table............................................................................................................................. 50
Editing the TOOL_P.TCH pocket table.............................................................................................................. 51
2.5 Workpiece setup......................................................................................................................... 52
Selecting the correct operating mode.............................................................................................................. 52
Clamping the workpiece...................................................................................................................................... 52
Presetting with a 3-D touch probe.................................................................................................................... 52
2.6 Machining the workpiece............................................................................................................ 54
Selecting the Program run, single block or Program run, full sequence operating mode...................... 54
Selecting the NC program................................................................................................................................... 54
Starting an NC program....................................................................................................................................... 54
8HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
3 Fundamentals........................................................................................................................ 55
3.1 The TNC640.............................................................................................................................. 56
HEIDENHAIN Klartext and ISO........................................................................................................................... 56
Compatibility........................................................................................................................................................... 56
Data security and data protection..................................................................................................................... 57
3.2 Visual display unit and operating panel...................................................................................... 59
Display screen........................................................................................................................................................ 59
Setting the screen layout..................................................................................................................................... 59
Operating panel...................................................................................................................................................... 60
Extended Workspace Compact.......................................................................................................................... 63
3.3 Modes of operation.................................................................................................................... 66
Manual Operation and El. Handwheel............................................................................................................... 66
Positioning with Manual Data Input.................................................................................................................. 66
Programming.......................................................................................................................................................... 67
Test Run.................................................................................................................................................................. 67
Program Run, Full Sequence and Program Run, SingleBlock..................................................................... 68
3.4 Status displays........................................................................................................................... 69
General status display.......................................................................................................................................... 69
Additional status displays.................................................................................................................................... 72
3.5 File management........................................................................................................................ 84
Files........................................................................................................................................................................... 84
Displaying externally generated files on the control...................................................................................... 86
Directories............................................................................................................................................................... 86
Paths......................................................................................................................................................................... 86
Calling the File Manager...................................................................................................................................... 87
Additional functions.............................................................................................................................................. 88
Selecting drives, directories and files............................................................................................................... 90
Choosing one of the last files selected............................................................................................................ 92
USB devices on the control................................................................................................................................. 92
Data transfer to or from an external data carrier........................................................................................... 94
The control within the network.......................................................................................................................... 95
Data backup............................................................................................................................................................ 96
Importing a file from an iTNC 530.................................................................................................................... 96
Software tools for management of external file types................................................................................. 97
3.6 Error messages and help system............................................................................................... 106
Error messages...................................................................................................................................................... 106
TNCguide: context-sensitive help....................................................................................................................... 112
3.7 NC fundamentals........................................................................................................................ 118
Position encoders and reference marks.......................................................................................................... 118
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 9
Table of contents
Programmable axes.............................................................................................................................................. 118
Reference systems................................................................................................................................................ 119
3.8 Accessories: HEIDENHAIN 3-D touch probes and electronic handwheels................................... 131
3-D touch probes................................................................................................................................................... 131
HR electronic handwheels................................................................................................................................... 132
10 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
4 Tools...................................................................................................................................... 133
4.1 Tool data.................................................................................................................................... 134
Tool number, tool name...................................................................................................................................... 134
Database ID............................................................................................................................................................ 134
Tool length L........................................................................................................................................................... 135
Tool radius R.......................................................................................................................................................... 137
Tool table fundamentals...................................................................................................................................... 137
Creating and activating an INCH-based tool table......................................................................................... 141
Entering tool data into the table........................................................................................................................ 142
Importing tool tables............................................................................................................................................ 147
Pocket table for tool changer............................................................................................................................. 148
Tool change............................................................................................................................................................ 152
Tool usage test...................................................................................................................................................... 153
4.2 Touch probe table...................................................................................................................... 156
Application............................................................................................................................................................... 156
Description of function......................................................................................................................................... 156
Editing the touch probe table............................................................................................................................. 157
4.3 Tool management....................................................................................................................... 158
Basics....................................................................................................................................................................... 158
Calling tool management.................................................................................................................................... 159
Editing tool management.................................................................................................................................... 160
Available tool types............................................................................................................................................... 163
Importing and exporting tool data..................................................................................................................... 165
4.4 Tool carrier management........................................................................................................... 168
Fundamentals......................................................................................................................................................... 168
Saving tool carrier templates.............................................................................................................................. 169
Parameterizing tool carriers................................................................................................................................ 170
Assigning a tool carrier........................................................................................................................................ 173
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 11
Table of contents
5 Setup..................................................................................................................................... 175
5.1 Switching on/off......................................................................................................................... 176
Switch-on................................................................................................................................................................. 176
Traverse reference points.................................................................................................................................... 178
Switching off........................................................................................................................................................... 180
5.2 Moving the machine axes........................................................................................................... 181
Note.......................................................................................................................................................................... 181
Moving the axis with the axis direction keys.................................................................................................. 181
Incremental jog positioning................................................................................................................................. 182
Traverse with electronic handwheels............................................................................................................... 183
5.3 Spindle speed S, feed rate F and miscellaneous function M....................................................... 193
Application............................................................................................................................................................... 193
Enter values............................................................................................................................................................ 193
Changing the spindle speed and feed rate...................................................................................................... 194
Feed-rate limit F MAX........................................................................................................................................... 195
5.4 Integrated Functional Safety (FS)............................................................................................... 196
General information.............................................................................................................................................. 196
Functional safety (FS) status displays............................................................................................................. 197
Testing the axis positions................................................................................................................................... 200
Activating feed-rate limits.................................................................................................................................... 201
5.5 Preset management................................................................................................................... 202
Note.......................................................................................................................................................................... 202
Creating and activating an INCH-based preset table.................................................................................... 203
Saving presets in the table.................................................................................................................................. 204
Protecting presets from being overwritten...................................................................................................... 208
Activating a preset................................................................................................................................................ 210
5.6 Presetting without a 3D touch probe.......................................................................................... 212
Note.......................................................................................................................................................................... 212
Preparation.............................................................................................................................................................. 212
Presetting with an end mill................................................................................................................................. 213
Using touch probe functions with mechanical probes or measuring dials............................................... 214
5.7 Using a 3-D touch probe............................................................................................................ 215
Introduction............................................................................................................................................................. 215
Overview................................................................................................................................................................... 217
Suppressing touch probe monitoring............................................................................................................... 219
Functions in touch probe cycles........................................................................................................................ 220
Selecting the probing cycle................................................................................................................................. 223
Recording measured values from the touch probe cycles.......................................................................... 223
Writing measured values from the touch probe cycles to a datum table................................................. 224
Writing measured values from the touch probe cycles to the preset table.............................................. 225
12 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
5.8 Calibrating 3-D touch probes...................................................................................................... 226
Introduction............................................................................................................................................................. 226
Calibrating the effective length.......................................................................................................................... 227
Calibrating the effective radius and compensating center misalignment................................................. 228
Calibrating an L-shaped stylus........................................................................................................................... 232
Displaying calibration values............................................................................................................................... 233
5.9 Compensating workpiece misalignment with 3-D touch probe.................................................... 234
Introduction............................................................................................................................................................. 234
Measuring a basic rotation................................................................................................................................. 236
Saving the basic rotation in the preset table.................................................................................................. 236
Compensation of workpiece misalignment by rotating the table............................................................... 236
Showing basic rotation and offset.................................................................................................................... 238
Rescinding basic rotation or offset................................................................................................................... 238
Determining a 3-D basic rotation....................................................................................................................... 239
Comparison of offset and 3D basic rotation.................................................................................................. 242
5.10 Presetting with a 3-D touch probe.............................................................................................. 243
Overview................................................................................................................................................................... 243
Presetting with active TCPM.............................................................................................................................. 243
Presetting on any axis.......................................................................................................................................... 244
Corner as preset.................................................................................................................................................... 245
Circle center as preset......................................................................................................................................... 246
Setting a center line as preset........................................................................................................................... 249
Measuring workpieces with a 3-D touch probe.............................................................................................. 250
5.11 Tilting the working plane (option 8)............................................................................................ 252
Application, function............................................................................................................................................. 252
Position display in a tilted system..................................................................................................................... 253
Limitations on working with the tilting function............................................................................................. 253
To activate manual tilting.................................................................................................................................... 254
Setting the tool-axis direction as the active machining direction............................................................... 256
Setting a preset in a tilted coordinate system................................................................................................ 256
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 13
Table of contents
6 Testing and Running.............................................................................................................. 257
6.1 Graphics..................................................................................................................................... 258
Application............................................................................................................................................................... 258
View options........................................................................................................................................................... 259
Tool........................................................................................................................................................................... 261
View.......................................................................................................................................................................... 262
Rotating, zooming and moving a graphic........................................................................................................ 263
Setting the speed of the Test Run mode......................................................................................................... 264
Repeating graphic simulation............................................................................................................................. 264
Shifting the sectional plane................................................................................................................................. 265
6.2 Monitoring for collisions............................................................................................................ 266
Application............................................................................................................................................................... 266
6.3 Measurement of machining time................................................................................................ 267
Application............................................................................................................................................................... 267
6.4 Showing the workpiece blank in the working space.................................................................... 268
Application............................................................................................................................................................... 268
6.5 Measuring................................................................................................................................... 270
Application............................................................................................................................................................... 270
6.6 Optional program-run interruption.............................................................................................. 271
Application............................................................................................................................................................... 271
6.7 Skipping NC blocks.................................................................................................................... 272
Test Run and Program Run................................................................................................................................ 272
Positioning w/ Manual Data Input..................................................................................................................... 273
6.8 Exporting a finished part............................................................................................................ 274
Application............................................................................................................................................................... 274
6.9 Test run...................................................................................................................................... 275
Application............................................................................................................................................................... 275
Test run execution................................................................................................................................................ 277
Executing a Test Run up to a certain NC block............................................................................................. 279
Using the GOTO key............................................................................................................................................. 280
Scrollbar................................................................................................................................................................... 281
6.10 Program run............................................................................................................................... 282
Application............................................................................................................................................................... 282
Running an NC program...................................................................................................................................... 282
Structuring NC programs.................................................................................................................................... 283
Checking and changing Q parameters............................................................................................................. 284
Interrupting, stopping or canceling a program............................................................................................... 286
14 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
Compensations during program run................................................................................................................. 288
Moving the machine axes during an interruption.......................................................................................... 290
Resuming program run after an interruption.................................................................................................. 291
Retraction after a power interruption................................................................................................................ 292
Starting the NC program at any point: Block scan........................................................................................ 295
Returning to the contour...................................................................................................................................... 301
6.11 Running CAM programs............................................................................................................. 303
From 3-D model to NC program........................................................................................................................ 303
Considerations required for post processor configuration.......................................................................... 304
Please note the following for CAM programming......................................................................................... 306
Possibilities for intervention on the control..................................................................................................... 308
ADP motion control............................................................................................................................................... 308
6.12 Functions for program display.................................................................................................... 309
Overview................................................................................................................................................................... 309
6.13 Automatic program start............................................................................................................ 310
Application............................................................................................................................................................... 310
6.14 Positioning w/ Manual Data Input operating mode..................................................................... 311
Positioning with manual data input (MDI)....................................................................................................... 312
Saving NC programs from $MDI........................................................................................................................ 314
6.15 Entering miscellaneous functions M and STOP.......................................................................... 315
Fundamentals......................................................................................................................................................... 315
6.16 Miscellaneous functions for program run inspection, spindle and coolant.................................. 316
Overview................................................................................................................................................................... 316
6.17 Miscellaneous functions for coordinate entries.......................................................................... 317
Programming machine-referenced coordinates: M91/M92......................................................................... 317
Moving to positions in a non-tilted input coordinate system with a tilted working plane: M130.......... 319
6.18 Miscellaneous functions for path behavior................................................................................. 320
Superimposing handwheel positioning during program run: M118........................................................... 320
Deleting basic rotation: M143............................................................................................................................. 322
Lifting off the tool automatically from the contour at NC stop: M148...................................................... 323
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 15
Table of contents
7 Special Functions................................................................................................................... 325
7.1 Dynamic Collision Monitoring (option40)................................................................................... 326
Function................................................................................................................................................................... 326
Graphic display of the collision objects........................................................................................................... 328
Collision monitoring in the manual operating modes................................................................................... 329
Collision monitoring in the Test Run operating mode.................................................................................. 329
Collision monitoring in the Program Run operating modes......................................................................... 331
Activating and deactivating collision monitoring............................................................................................ 332
Activating and deactivating collision monitoring in the NC program......................................................... 334
7.2 Adaptive Feed Control (AFC) (option45).................................................................................... 336
Application............................................................................................................................................................... 336
Defining basic AFC settings................................................................................................................................ 337
Programming AFC................................................................................................................................................. 339
Recording a teach-in cut...................................................................................................................................... 342
Activating and deactivating AFC........................................................................................................................ 346
Log file..................................................................................................................................................................... 348
Tool wear monitoring........................................................................................................................................... 349
Tool load monitoring............................................................................................................................................ 349
7.3 Active Chatter Control (ACC) (option 145)................................................................................. 350
Application............................................................................................................................................................... 350
Activating ACC....................................................................................................................................................... 351
7.4 Global Program Settings (option 44).......................................................................................... 352
Application............................................................................................................................................................... 352
Activating and deactivating a function............................................................................................................. 354
Information area.................................................................................................................................................... 357
Additive offset (M-CS).......................................................................................................................................... 357
Additive basic rotat. (W-CS)................................................................................................................................ 358
Shift (W-CS)............................................................................................................................................................ 359
Mirroring (W-CS).................................................................................................................................................... 360
Shift (mW-CS)......................................................................................................................................................... 361
Rotation (WPL-CS)................................................................................................................................................. 362
Handwheel superimp............................................................................................................................................ 364
Feed rate factor..................................................................................................................................................... 367
7.5 Defining a counter...................................................................................................................... 368
Application............................................................................................................................................................... 368
Defining FUNCTION COUNT............................................................................................................................... 369
7.6 Fixture management................................................................................................................... 370
Fundamentals of fixtures..................................................................................................................................... 370
Application............................................................................................................................................................... 371
Using a fixture in CFG format............................................................................................................................ 372
Creating fixtures in CFG format with KinematicsDesign.............................................................................. 374
16 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
Direct use of 3D models as fixtures................................................................................................................. 376
List of CFG functions........................................................................................................................................... 377
Example: CFG description of a vise.................................................................................................................. 379
Combining fixtures in the New Fixture window.............................................................................................. 381
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 17
Table of contents
8 Pallets.................................................................................................................................... 383
8.1 Pallet management..................................................................................................................... 384
Application............................................................................................................................................................... 384
Selecting a pallet table......................................................................................................................................... 388
Inserting or deleting columns............................................................................................................................. 389
Executing a pallet table........................................................................................................................................ 390
8.2 Pallet preset management.......................................................................................................... 392
Fundamentals......................................................................................................................................................... 392
Using pallet presets.............................................................................................................................................. 392
8.3 Tool-oriented machining............................................................................................................. 393
Fundamentals of tool-oriented machining....................................................................................................... 393
Sequence of tool-oriented machining............................................................................................................... 395
Mid-program startup with block scan.............................................................................................................. 396
8.4 Batch Process Manager (option 154)......................................................................................... 397
Application............................................................................................................................................................... 397
Fundamentals......................................................................................................................................................... 397
Opening Batch Process Manager...................................................................................................................... 401
Creating a job list.................................................................................................................................................. 404
Editing a job list..................................................................................................................................................... 405
18 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
Table of contents
9 Turning.................................................................................................................................. 407
9.1 Turning operations on milling machines (option50)................................................................... 408
Introduction............................................................................................................................................................. 408
Tool radius compensation TRC......................................................................................................................... 409
9.2 Basic functions (option 50)........................................................................................................ 411
Switching between milling and turning mode................................................................................................. 411
Graphic display of turning operations.............................................................................................................. 413
9.3 Unbalance functions (option 50)................................................................................................ 414
Unbalance in turning operations........................................................................................................................ 414
Measure Unbalance cycle.................................................................................................................................... 416
Calibrate Unbalance cycle................................................................................................................................... 417
9.4 Tools in turning mode (option 50).............................................................................................. 418
Tool call................................................................................................................................................................... 418
Tool data................................................................................................................................................................. 418
Tool compensation in the NC program............................................................................................................ 427
HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023 19
Table of contents
10 Grinding................................................................................................................................. 429
10.1 Grinding operations on milling machines (option156)................................................................ 430
Introduction............................................................................................................................................................. 430
Jig grinding............................................................................................................................................................. 431
10.2 Tools for grinding (Option 156).................................................................................................. 433
Grinding tool........................................................................................................................................................... 433
Dressing tool........................................................................................................................................................... 433
Entering tool data.................................................................................................................................................. 434
Grinding tool setup................................................................................................................................................ 439
20 HEIDENHAIN | TNC640 | User's Manual for Setup, Testing and Running NC Programs | 10/2023
/