ISO Programming 737760-24
ISO Programming 737760-24
DIN/ISO
Programming
iTNC 530
NC Software
606420-04 SP8
606421-04 SP8
606424-04 SP8
606425-04 SP8
English (en)
3/2016
Controls of the TNC Program/file management, TNC functions
Keys on visual display unit Key Function
Key Function Select or delete programs and files,
external data transfer
Select split screen layout
Define program call, select datum and
point tables
Toggle the display between machining
and programming modes
Select MOD functions
Soft keys for selecting functions on
screen
Display help text for NC error messages,
call TNCguide
Shift between soft-key rows
Display all current error messages
Alphanumeric keyboard
Show calculator
Key Function
File names, comments
Navigation keys
ISO programming Key Function
Move highlight
100 100
smarT.NC
50 150 50 150
Positioning with Manual Data Input
F % S %
0 0
Program Run, Single Block
Cycles, subprograms and program section repeats
Program Run, Full Sequence Key Function
Define touch probe cycles
Programming modes
Key Function Define and call cycles
Programming and Editing
Enter and call labels for
subprogramming and program section
Test Run repeats
Key Function
Polar coordinate input / Incremental
Approach/depart contour values
Q-parameter programming /
FK free contour programming Q parameter status
The suffix E indicates the export version of the TNC. The export
versions of the TNC have the following limitations:
Simultaneous linear movement in up to 4 axes
HSCI (HEIDENHAIN Serial Controller Interface) identifies the new
hardware platform of the TNC controls.
HEROS 5 identifies the operating system of HSCI-based TNC controls.
The machine tool builder adapts the usable features of the TNC to his
machine by setting machine parameters. Some of the functions
described in this manual may therefore not be among the features
provided by the TNC on your machine tool.
TNC functions that may not be available on your machine include:
Tool measurement with the TT
Please contact your machine tool builder to become familiar with the
features of your machine.
Many machine manufacturers, as well as HEIDENHAIN, offer
programming courses for the TNCs. We recommend these courses as
an effective way of improving your programming skill and sharing
information and ideas with other TNC users.
6
TNC model, software and features
Software options
The iTNC 530 features various software options that can be enabled
by you or your machine tool builder. Each option is to be enabled
separately and contains the following respective functions:
Software option 1
Cylinder surface interpolation (Cycles 27, 28, 29 and 39)
Tilting the machining plane (Cycle 19, PLANE function and 3-D ROT
soft key in the Manual Operation mode)
Software option 2
5-axis interpolation
Spline interpolation
3-D machining:
M114: Automatic compensation of machine geometry when
working with tilted axes
M128: Maintaining the position of the tool tip when positioning
with swivel axes (TCPM)
FUNCTION TCPM: Maintaining the position of the tool tip when
positioning with tilted axes (TCPM) in selectable modes
M144: Compensating the machine’s kinematic configuration for
ACTUAL/NOMINAL positions at end of block
Additional parameters for finishing/roughing and tolerance
for rotary axes in Cycle 32 (G62)
LN blocks (3-D compensation)
8
TNC model, software and features
Feature content level (upgrade functions)
Along with software options, significant further improvements of the
TNC software are managed via the Feature Content Level upgrade
functions. Functions subject to the FCL are not available simply by
updating the software on your TNC.
Legal information
This product uses open source software. Further information is
available on the control under
Programming and Editing operating mode
MOD function
LEGAL INFORMATION SOFT KEY
10
New functions in version 60642x-01 since the predecessor version 34049x-05
New functions in version 60642x-01
since the predecessor version
34049x-05
Opening and editing of externally created files has been added (see
"Additional tools for management of external file types" on page 139)
New functions in the task bar have been added (see "Task bar" on
page 90)
Enhanced functions for configuration of the Ethernet interface (see
"Configuring the TNC" on page 589)
Improvements regarding functional safety FS (option):
General information on functional safety (FS) (see "Miscellaneous"
on page 499)
Explanation of terms (see "Explanation of terms" on page 500)
Checking the axis positions (see "Checking the axis positions" on
page 501)
Activating feed-rate limitation (see "Activating feed-rate limitation"
on page 503)
Improvements regarding the general status view of a TNC with
functional safety (see "Additional status displays" on page 503)
The new HR 520 and HR 550 FS handwheels are supported (see
"Traversing with electronic handwheels" on page 487)
New software option 3-D ToolComp: 3-D tool radius compensation
depending on the tool’s contact angle on blocks with surface normal
vectors (LN blocks)
3-D line graphics now also possible in full-screen mode (see "3-D line
graphics (FCL2 function)" on page 156)
A file selection dialog for selecting files in different NC functions and
in the table view of the pallet table is available now (see "Calling any
program as a subprogram" on page 271)
DCM: Saving and restoring of fixture situations
DCM: The form for test program generation now also contains icons
and tooltips (see "Checking the position of the measured fixture" on
page 370)
DCM, FixtureWizard: Touch points and probing sequence are shown
more clearly now
DCM, FixtureWizard: Designations, touch points and measuring
points can be shown or hidden as desired (see "Operating
FixtureWizard" on page 367)
DCM, FixtureWizard: Chucking equipment and insertion points can
now also be selected by mouse click
DCM: A library with standard chucking equipment is available now
(see "Fixture templates" on page 366)
DCM: Tool carrier management (see "Tool-carrier management
(DCM software option)" on page 375)
In the Test Run mode, the working plane can now be defined
manually (see "Setting a tilted working plane for the test run" on
page 564)
12
Several special functions (SPEC FCT) are now available in the MDI
14
The new host computer operation was introduced (see "Host
16
New functions in version 60642x-03
New functions in version 60642x-03
New software option Active Chatter Control (ACC)(see "Active
Chatter Control (ACC—software option)" on page 405)
Improvement of Dynamic Collision Monitoring (DCM):
For the NC syntax SEL FIXTURE, the software now supports a
selection window with file preview for selecting saved fixtures
(see "Loading fixtures under program control" on page 374)
The nesting depth for program calls has been increased from 10 to
30 (see "Nesting depth" on page 272)
When using the second Ethernet interface for a machine network,
you can now also configure a DHCP server to provide the machines
with dynamic IP addresses (see "General network settings" page
590 ff)
Machine parameter 7268.x can now be used to arrange or hide
columns in the datum table (see "List of general user parameters"
page 623 ff)
The SEQ switch of the PLANE function can now also be assigned a
Q parameter (see "Selection of alternate tilting possibilities: SEQ +/–
(entry optional)" on page 445)
Improvements to the NC editor:
Saving a program (see "Deliberately saving changes" on page 108)
Saving a program under another name (see "Saving a program to
a new file" on page 109)
Canceling changes (see "Undoing changes" on page 109)
Improvements to the DXF converter: (see "DXF data processing
(software option)" page 244 ff)
Improvements to the status bar
The DXF converter saves various pieces of information when it is
exited and restores them when it is recalled
The desired file format can now be selected when saving
contours and points
Machining positions can now be saved in plain-language programs
DXF converter now in new look and feel if the DXF file is directly
opened via the file management
18
New functions in version 60642x-04
New functions in version 60642x-04
A new NC syntax was introduced for controlling the AFC function
(adaptive feed control) (see "Recording a teach-in cut" on page 397)
You can now use the global program settings to perform handwheel
impositioning in a tilted coordinate system (see "Handwheel
superimposition" on page 387)
Tool names in the TOOL CALL block can now also be called via QS
string parameters (see "Calling tool data" on page 191)
The nesting depth for program calls has been increased from 10 to
30 (see "Nesting depth" on page 272)
The new column ACC was introduced (see "Tool table: Standard
tool data" on page 176)
The following new columns are available in the tool table:
Column OVRTIME: Definition of the maximum possible violation of
the tool life (see "Tool table: Standard tool data" on page 176)
Column P4: Possibility of transferring a value to the PLC (see "Tool
table: Standard tool data" on page 176)
Column CR: Possibility of transferring a value to the PLC (see "Tool
table: Standard tool data" on page 176)
Column CL: Possibility of transferring a value to the PLC (see "Tool
table: Standard tool data" on page 176)
DXF converter:
Bookmark can be inserted when saving (see "Bookmarks" on page
251)
Cycle 25: Automatic identification of residual material added (see
User’s Manual for Cycle Programming)
Cycle 200: Input parameter Q359 added to allow definition of the
depth reference (see User’s Manual for Cycle Programming)
Cycle 203: Input parameter Q359 added to allow definition of the
depth reference (see User’s Manual for Cycle Programming)
Cycle 205: Input parameter Q208 for retraction feed rate added (see
User’s Manual for Cycle Programming)
Cycle 205: Input parameter Q359 added to allow definition of the
depth reference (see User’s Manual for Cycle Programming)
20
Changed functions in version 60642x-01 since the predecessor version
34049x-05
Changed functions in version
60642x-01 since the predecessor
version 34049x-05
In the calibration menus for touch probe length and radius, the
number and name of the active tool are also displayed now (if the
calibration data from the tool table are to be used, MP7411 = 1, see
"Managing more than one block of calibration data", page 519)
During tilting in the Distance-To-Go mode, the PLANE function now
shows the angle actually left to be traversed until the target position
(see "Position display" on page 427)
The approach behavior during side finishing with Cycle 24 (DIN/ISO:
G124) was changed (see User's Manual for Cycle Programming)
22
Changed functions in version 60642x-03
Changed functions in version
60642x-03
Various pop-up windows (e.g. measuring log windows, FN16
windows) have been redesigned. These windows now feature a
scroll bar and can be moved on the screen using the mouse
A basic rotation can now also be probed with inclined rotary axes
(see "Introduction" on page 520)
The values in the datum table are now displayed in inches if the
position display is set to INCH (see "Management of presets with the
preset table" on page 506)
24
Contents First Steps with the iTNC 530
1
Introduction
2
Programming: Fundamentals, File
Management 3
Programming: Programming Aids
4
Programming: Tools
5
Programming: Programming Contours
6
Programming: Data Transfer from DXF
Files or Plain-language Contours 7
Programming: Subprograms and Program
Section Repeats 8
Programming: Q Parameters
9
Programming: Miscellaneous Functions
10
Programming: Special Functions
11
Programming: Execution of CAM
programs, multi-axis machining 12
Programming: Pallet Management
13
Manual Operation and Setup
14
Positioning with Manual Data Input
15
Test Run and Program Run
16
MOD Functions
17
Tables and Overviews
18
28
3 Programming: Fundamentals, File Management ..... 95
3.1 Fundamentals ..... 96
Position encoders and reference marks ..... 96
Reference system ..... 96
Reference system on milling machines ..... 97
Polar coordinates ..... 98
Absolute and incremental workpiece positions ..... 99
Setting the datum ..... 100
3.2 Creating and writing programs ..... 101
Organization of an NC program in DIN/ISO format ..... 101
Define the blank: G30/G31 ..... 102
Creating a new part program ..... 103
Programming tool movements in DIN/ISO format ..... 105
Actual position capture ..... 106
Editing a program ..... 107
The TNC search function ..... 112
3.3 File management: Fundamentals ..... 114
Files ..... 114
Showing externally created files on the TNC ..... 116
Data backup ..... 116
30
4 Programming: Programming Aids ..... 149
4.1 Adding comments ..... 150
Application ..... 150
Entering comments during programming ..... 150
Inserting comments after program entry ..... 150
Entering a comment in a separate block ..... 150
Functions for editing of the comment ..... 151
4.2 Structuring programs ..... 152
Definition and applications ..... 152
Displaying the program structure window / Changing the active window ..... 152
Inserting a structuring block in the (left) program window ..... 152
Selecting blocks in the program structure window ..... 152
4.3 Integrated calculator ..... 153
Operation ..... 153
4.4 Programming graphics ..... 154
Generating / not generating graphics during programming ..... 154
Generating a graphic for an existing program ..... 154
Block number display ON/OFF ..... 155
Erasing the graphic ..... 155
Magnifying or reducing a detail ..... 155
4.5 3-D line graphics (FCL2 function) ..... 156
Application ..... 156
Functions of the 3-D line graphics ..... 156
Highlighting NC blocks in the graphics ..... 158
Block number display ON/OFF ..... 158
Erasing the graphic ..... 158
4.6 Immediate Help for NC Error Messages ..... 159
Show error messages ..... 159
Display HELP ..... 159
4.7 List of all current error messages ..... 160
Function ..... 160
Showing the error list ..... 160
Window contents ..... 161
Calling the TNCguide help system ..... 162
Generating service files ..... 163
4.8 The context-sensitive help system TNCguide (FCL3 function) ..... 164
Application ..... 164
Working with TNCguide ..... 165
Downloading current help files ..... 169
32
6 Programming: Programming Contours ..... 213
6.1 Tool movements ..... 214
Path functions ..... 214
Miscellaneous functions M ..... 214
Subprograms and program section repeats ..... 214
Programming with Q parameters ..... 214
6.2 Fundamentals of path functions ..... 215
Programming tool movements for workpiece machining ..... 215
6.3 Contour approach and departure ..... 218
Starting point and end point ..... 218
Tangential approach and departure ..... 220
6.4 Path contours—Cartesian coordinates ..... 222
Overview of path functions ..... 222
Straight line at rapid traverse G00
Straight line with feed rate G01 F ..... 223
Inserting a chamfer between two straight lines ..... 224
Corner rounding G25 ..... 225
Circle center I, J ..... 226
Circular arc C around circle center CC ..... 227
Circular path G02/G03/G05 with defined radius ..... 228
Circular path CT with tangential connection ..... 230
6.5 Path contours—Polar coordinates ..... 235
Overview ..... 235
Zero point for polar coordinates: pole I, J ..... 236
Straight line at rapid traverse G10
Straight line with feed rate G11 F ..... 236
Circular path G12/G13/G15 around pole I, J ..... 237
Circular path G16 with tangential connection ..... 238
Helical interpolation ..... 239
34
8 Programming: Subprograms and Program Section Repeats ..... 265
8.1 Labeling subprograms and program section repeats ..... 266
Labels ..... 266
8.2 Subprograms ..... 267
Procedure ..... 267
Programming notes ..... 267
Programming a subprogram ..... 267
Calling a subprogram ..... 268
8.3 Program section repeats ..... 269
Label G98 ..... 269
Procedure ..... 269
Programming notes ..... 269
Programming a program section repeat ..... 269
Calling a program section repeat ..... 269
8.4 Any desired program as subprogram ..... 270
Procedure ..... 270
Programming notes ..... 270
Calling any program as a subprogram ..... 271
8.5 Nesting ..... 272
Types of nesting ..... 272
Nesting depth ..... 272
Subprogram within a subprogram ..... 273
Repeating program section repeats ..... 274
Repeating a subprogram ..... 275
8.6 Programming examples ..... 276
36
9.10 Preassigned Q parameters ..... 318
Values from the PLC: Q100 to Q107 ..... 318
WMAT block: QS100 ..... 318
Active tool radius: Q108 ..... 318
Tool axis: Q109 ..... 319
Spindle status: Q110 ..... 319
Coolant on/off: Q111 ..... 319
Overlap factor: Q112 ..... 319
Unit of measurement for dimensions in the program: Q113 ..... 320
Tool length: Q114 ..... 320
Coordinates after probing during program run ..... 320
Deviation between actual value and nominal value during automatic tool measurement with the TT 130 ..... 321
Tilting the working plane with mathematical angles: rotary axis coordinates calculated by the TNC ..... 321
Measurement results from touch probe cycles (see also User’s Manual for Cycle Programming) ..... 322
9.11 Programming examples ..... 324
38
11 Programming: Special Functions ..... 355
11.1 Overview of special functions ..... 356
Main menu for SPEC FCT special functions ..... 356
Program defaults menu ..... 357
Functions for contour and point machining menu ..... 357
Functions for contour and point machining menu ..... 358
Menu of various DIN/ISO functions ..... 358
11.2 Dynamic collision monitoring (software option) ..... 359
Function ..... 359
Collision monitoring in the manual operating modes ..... 361
Collision monitoring in Automatic operation ..... 362
Graphic depiction of the protected space (FCL-4 function) ..... 363
Collision monitoring in the Test Run mode of operation ..... 364
11.3 Fixture monitoring (DCM software option) ..... 365
Fundamentals ..... 365
Fixture templates ..... 366
Setting parameter values for the fixture: FixtureWizard ..... 366
Placing the fixture on the machine ..... 368
Editing fixtures ..... 369
Removing fixtures ..... 369
Checking the position of the measured fixture ..... 370
Managing fixtures ..... 372
11.4 Tool-carrier management (DCM software option) ..... 375
Fundamentals ..... 375
Tool-carrier templates ..... 375
Setting the tool carrier parameters: ToolHolderWizard ..... 376
Removing a tool carrier ..... 377
11.5 Global Program Settings (software option) ..... 378
Application ..... 378
Technical requirements ..... 380
Activating/deactivating a function ..... 381
Basic rotation ..... 383
Swapping axes ..... 384
Superimposed mirroring ..... 385
Additional, additive datum shift ..... 385
Axis locking ..... 386
Superimposed rotation ..... 386
Feed rate override ..... 386
Handwheel superimposition ..... 387
Limit plane ..... 389
40
12 Programming: Execution of CAM Programs, Multi-axis Machining ..... 417
12.1 Execution of CAM programs ..... 418
From 3-D model to NC program ..... 418
Please note for the configuration of the post processor ..... 419
Please note the following for CAM programming ..... 421
Possibilities for user intervention on the TNC ..... 423
12.2 Functions for multiple axis machining ..... 424
12.3 The PLANE function: Tilting the working plane (software option 1) ..... 425
Introduction ..... 425
Defining the PLANE function ..... 427
Position display ..... 427
Resetting the PLANE function ..... 428
Defining the machining plane with spatial angles: PLANE SPATIAL ..... 429
Defining the machining plane with projection angles: PROJECTED PLANE ..... 431
Defining the machining plane with Euler angles: EULER PLANE ..... 433
Defining the working plane with two vectors: VECTOR PLANE ..... 435
Defining the working plane via three points: PLANE POINTS ..... 437
Defining the machining plane with a single, incremental spatial angle: PLANE RELATIVE ..... 439
Tilting the working plane through axis angle: PLANE AXIAL (FCL 3 function) ..... 440
Specifying the positioning behavior of the PLANE function ..... 442
12.4 Inclined-tool machining in the tilted plane ..... 448
Function ..... 448
Inclined-tool machining via incremental traverse of a rotary axis ..... 448
12.5 Miscellaneous Functions for Rotary Axes ..... 449
Feed rate in mm/min on rotary axes A, B, C: M116 (software option 1) ..... 449
Shorter-path traverse of rotary axes: M126 ..... 450
Reducing display of a rotary axis to a value less than 360°: M94 ..... 451
Automatic compensation of machine geometry when working with tilted axes: M114 (software option 2) ..... 452
Maintaining the position of the tool tip when positioning with tilted axes (TCPM): M128 (software option
2) ..... 454
Exact stop at corners with nontangential transitions: M134 ..... 457
Selecting tilting axes: M138 ..... 457
Compensating the machine’s kinematics configuration for ACTUAL/NOMINAL positions at end of block: M144
(software option 2) ..... 458
12.6 Peripheral milling: 3-D radius compensation with workpiece orientation ..... 459
Application ..... 459
42
14 Manual Operation and Setup ..... 481
14.1 Switch-on, switch-off ..... 482
Switch-on ..... 482
Switch-off ..... 484
14.2 Moving the machine axes ..... 485
Note ..... 485
Moving the axis using the machine axis direction buttons ..... 485
Incremental jog positioning ..... 486
Traversing with electronic handwheels ..... 487
14.3 Spindle speed S, feed rate F and miscellaneous functions M ..... 497
Application ..... 497
Entering values ..... 497
Changing the spindle speed and feed rate ..... 498
14.4 Functional safety FS (option) ..... 499
Miscellaneous ..... 499
Explanation of terms ..... 500
Checking the axis positions ..... 501
Overview of permitted feed rates and speeds ..... 502
Activating feed-rate limitation ..... 503
Additional status displays ..... 503
14.5 Workpiece presetting without a touch probe ..... 504
Note ..... 504
Preparation ..... 504
Workpiece presetting with axis keys ..... 505
Management of presets with the preset table ..... 506
14.6 Using touch-probes ..... 513
Overview ..... 513
Selecting touch probe cycles ..... 514
Recording measured values from the touch-probe cycles ..... 514
Writing the measured values from touch probe cycles to datum tables ..... 515
Writing the measured values from touch probe cycles in the preset table ..... 516
Storing measured values in the pallet preset table ..... 516
14.7 Calibrating touch probes ..... 517
Introduction ..... 517
Calibrating the effective length ..... 517
Calibrating the effective radius and compensating center offset ..... 518
Displaying calibration values ..... 519
Managing more than one block of calibration data ..... 519
14.8 Compensating workpiece misalignment with a 3-D touch probe ..... 520
Introduction ..... 520
Basic rotation using 2 points: ..... 522
Determining basic rotation using 2 holes/studs: ..... 524
Workpiece alignment using 2 points ..... 525
44
15 Positioning with Manual Data Input ..... 541
15.1 Programming and executing simple machining operations ..... 542
Positioning with manual data input (MDI) ..... 542
Protecting and erasing programs in $MDI ..... 545
46
17 MOD Functions ..... 579
17.1 Selecting MOD functions ..... 580
Selecting the MOD functions ..... 580
Changing the settings ..... 580
Exiting the MOD functions ..... 580
Overview of MOD functions ..... 581
17.2 Software numbers ..... 582
Application ..... 582
17.3 Entering code numbers ..... 583
Application ..... 583
17.4 Loading service packs ..... 584
Application ..... 584
17.5 Setting the data interfaces ..... 585
Application ..... 585
Setting the RS-232 interface ..... 585
Setting the RS-422 interface ..... 585
Setting the operating mode of the external device ..... 585
Setting the baud rate ..... 585
Assignment ..... 586
Software for data transfer ..... 587
17.6 Ethernet interface ..... 589
Introduction ..... 589
Connection possibilities ..... 589
Configuring the TNC ..... 589
Connecting the iTNC directly with a Windows PC ..... 596
17.7 Configuring PGM MGT ..... 597
Application ..... 597
Changing the PGM MGT setting ..... 597
Dependent files ..... 598
17.8 Machine-specific user parameters ..... 599
Application ..... 599
17.9 Showing the workpiece blank in the working space ..... 600
Application ..... 600
Rotating the entire image ..... 602
48
18 Tables and Overviews ..... 621
18.1 General user parameters ..... 622
Input possibilities for machine parameters ..... 622
Selecting general user parameters ..... 622
List of general user parameters ..... 623
18.2 Pin layouts and connecting cables for the data interfaces ..... 639
RS-232-C/V.24 interface for HEIDENHAIN devices ..... 639
Non-HEIDENHAIN devices ..... 640
RS-422/V.11 Interface ..... 641
Ethernet interface RJ45 socket ..... 641
18.3 Technical information ..... 642
18.4 Exchanging the buffer battery ..... 652
Switch on the power supply for control and machine. The TNC starts
the operating system. This process may take several minutes. Then
the TNC will display the message "Power interrupted" in the screen
header
Press the CE key: The TNC compiles the PLC program
10
Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
Retract the tool: Press the orange axis key Z in order
0 to get clear in the tool axis, and enter the value for the
position to be approached, e.g. 250. Confirm with the
ENT key
20
1 4
Confirm Radius comp.: RL/RR/no comp? by pressing 5
3-D view
Compatibility
The TNC can run all part programs that were written on HEIDENHAIN
contouring controls starting from the TNC 150 B. In as much as old
TNC programs contain OEM cycles, the iTNC 530 must be adapted to
them with the PC software CycleDesign. For more information,
contact your machine tool builder or HEIDENHAIN.
72 Introduction
2.2 Visual display unit and keyboard
2.2 Visual display unit and
keyboard
Visual display unit
The TNC is shipped with a 15-inch color flat-panel screen. A 19-inch
color flat-panel screen is also available as an alternative.
1 8
1 Header
When the TNC is on, the selected operating modes are shown in
the screen header: the machining mode at the left and the
programming mode at right. The currently active operating mode
is displayed in the larger box, where the dialog prompts and TNC 91
7
messages also appear (unless the TNC is showing only graphics).
2 Soft keys
In the footer the TNC indicates additional functions in a soft-key
row. You can select these functions by pressing the keys 5 2
immediately below them. The lines immediately above the soft-
key row indicate the number of soft-key rows that can be called 6
1
with the black arrow keys to the right and left. The bar
31
representing the active soft-key row is highlighted. 4 4
The15-inch screen has 8 soft keys, the 19-inch screen has 10 soft
keys.
3 Soft-key selection keys
4 Shift between soft-key rows
5 Setting the screen layout
1
6 Shift key for switchover between machining and programming
modes
7 Soft-key selection keys for machine tool builder soft keys
The15-inch screen has 6 soft keys, the 19-inch screen has 18 soft
keys.
8 Switching the soft-key rows for machine tool builders 7 7
2 8
5 6
1
4 31 4
74 Introduction
2.2 Visual display unit and keyboard
Operating panel
The TNC is available with different operating panels. The figures show
the controls and displays of the TE 730 (15") and TE 740 (19") operating 7
panels:
1 Alphabetic keyboard for entering texts and file names, and for ISO
programming.
Dual-processor version: Additional keys for Windows operation 1
2 File management 2
1
5 9
7 6
Calculator
MOD function 3
4
1
HELP function 8
3 Programming modes
4 Machine operating modes
5 Initiation of programming dialogs 7
6 Navigation keys and GOTO jump command
10
7 Numerical input and axis selection
8 Touchpad
9 smarT.NC navigation keys
1
10 USB connection 2
1 9
7
5 6
The functions of the individual keys are described on the inside front
cover. 4
1 3
8
76 Introduction
2.3 Operating modes
Programming and Editing
In this mode of operation you can write your part programs. The FK
free programming feature, the various cycles and the Q parameter
functions help you with programming and add necessary information.
If desired, the programming graphics or the 3-D line graphics (FCL 2
function) display the programmed traverse paths.
Soft keys for selecting the screen layout
Test Run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities,
missing or incorrect data within the program or violations of the
working space. This simulation is supported graphically in different
display modes.
With the dynamic collision monitoring (DCM) software option you can
test the program for potential collisions. As during program run, the
TNC takes into account all permanent machine components defined
by the machine manufacturer as well as all measured fixtures.
Soft keys for selecting the screen layout: see "Program Run, Full
Sequence and Program Run, Single Block", page 78.
Graphics
Soft keys for selecting the screen layout for pallet tables
78 Introduction
2.4 Status displays
2.4 Status displays
"General" status display
The status display in the lower part of the screen informs you of the
current state of the machine tool. It is displayed automatically in the
following modes of operation:
Program Run, Single Block and Program Run, Full Sequence, except
if the screen layout is set to display graphics only, and
Positioning with Manual Data Input (MDI).
In the Manual Operation and El. Handwheel modes the status display
appears in the large window.
Information in the status display
Symbol Meaning
ACTL. Actual or nominal coordinates of the current position
Axis is locked
80 Introduction
2.4 Status displays
Additional status displays
The additional status displays contain detailed information on the
program run. They can be called in all operating modes except for the
Programming and Editing mode of operation.
Tool information
Active M functions
Active subprogram
Current time
Active programs
82 Introduction
2.4 Status displays
General pallet information (PAL tab)
84 Introduction
2.4 Status displays
Positions and coordinates (POS tab)
Tool axis
Scaling datum
86 Introduction
2.4 Status displays
Global program settings 1 (GPS1 tab, software option)
Superimposed mirroring
Superimposed rotation
The TNC displays the AFC tab only if the function is active
on your machine.
Cut number
88 Introduction
2.5 Window manager
2.5 Window manager
90 Introduction
2.6 SELinux security software
2.6 SELinux security software
SELinux is an extension for Linux-based operating systems. SELinux
is an additional security software package based on Mandatory
Access Control (MAC) and protects the system against the running of
unauthorized processes or functions and therefore protects against
viruses and other malware.
MAC means that each action must be specifically permitted otherwise
the TNC will not run it. The software is intended as protection in
addition to the normal access restriction in Linux. Certain processes
and actions can only be executed if the standard functions and access
control of SELinux permit it.
92 Introduction
2.7 Accessories: HEIDENHAIN touch probes and electronic handwheels
TT 140 tool touch probe for tool measurement
The TT 140 is a triggering touch probe for tool measurement and
inspection. Your TNC provides three cycles for this touch probe with
which you can measure the tool length and radius automatically either
with the spindle rotating or stopped. The TT 140 features a particularly
rugged design and a high degree of protection, which make it
insensitive to coolants and swarf. The triggering signal is generated by
a wear-resistant and highly reliable optical switch.
HR electronic handwheels
Electronic handwheels facilitate moving the axis slides precisely by
hand. A wide range of traverses per handwheel revolution is available.
Apart from the HR130 and HR150 integral handwheels, HEIDENHAIN
also offers the HR 520 and HR 550 FS portable handwheels. You will
find a detailed description of HR 520 in Chapter 14 of this manual (see
"Traversing with electronic handwheels" on page 487).
94
Introduction
Programming:
Fundamentals, File
Management
3.1 Fundamentals
3.1 Fundamentals
Position encoders and reference marks
Z
The machine axes are equipped with position encoders that register
the positions of the machine table or tool. Linear axes are usually Y
equipped with linear encoders, rotary tables and tilting axes with angle
encoders. X
When a machine axis moves, the corresponding position encoder
generates an electrical signal. The TNC evaluates this signal and
calculates the precise actual position of the machine axis.
If there is a power interruption, the calculated position will no longer
correspond to the actual position of the machine slide. To recover this
association, incremental position encoders are provided with
reference marks. The scales of the position encoders contain one or
more reference marks that transmit a signal to the TNC when they are
crossed over. From that signal the TNC can re-establish the
assignment of displayed positions to machine positions. For linear
encoders with distance-coded reference marks, the machine axes
need to move by no more than 20 mm, for angle encoders by no more
than 20°.
With absolute encoders, an absolute position value is transmitted to
the control immediately upon switch-on. In this way the assignment XMP
of the actual position to the machine slide position is re-established
directly after switch-on.
X (Z,Y)
Reference system
A reference system is required to define positions in a plane or in
space. The position data are always referenced to a predetermined
point and are described through coordinates.
The Cartesian coordinate system (a rectangular coordinate system) is
based on the three coordinate axes X, Y and Z. The axes are mutually
perpendicular and intersect at one point called the datum. A
coordinate identifies the distance from the datum in one of these
directions. A position in a plane is thus described through two
coordinates, and a position in space through three coordinates.
Coordinates that are referenced to the datum are referred to as Z
absolute coordinates. Relative coordinates are referenced to any other
known position (reference point) you define within the coordinate
system. Relative coordinate values are also referred to as incremental
coordinate values. Y
Y W+
C+
B+
V+ A+ X
U+
Polar Radius, the distance from the circle center CC to the position,
and the X
Polar Angle, the value of the angle between the angle reference axis 30
and the line that connects the circle center CC with the position.
I X
10
X = 10 mm
Y = 10 mm 4
10
Hole 5 with respect to hole 4 Hole 6 with respect to hole 5
G91 X = 20 mm G91 X = 20 mm 10
G91 Y = 10 mm G91 Y = 10 mm
10 20 20 X
Absolute and incremental polar coordinates
Absolute polar coordinates always refer to the pole and the angle
reference axis.
Incremental coordinates always refer to the last programmed nominal
position of the tool. Y
G91+R
R
G91+H G91+H R
R H
10 0°
CC
X
30
The fastest, easiest and most accurate way of setting the datum is by
using a touch probe from HEIDENHAIN. See "Datum setting with
touch probes" in the Touch Probe Cycles User’s Manual.
Y
Example
The workpiece drawing shows holes (1 to 4), whose dimensions are 7 150
shown with respect to an absolute datum with the coordinates X=0 3 4
0
Y=0. The coordinates of holes 5 to 7 refer to the relative datum with 750 6
the absolute coordinates X=450 Y=750. By using the DATUM SHIFT 5 -150
300±0,1
cycle you can shift the datum temporarily to the position X=450,
Y=750 and program the holes (5 to 7) without further calculations.
0
320
1 2
X
325 450 900
950
Danger of collision!
After each tool call, HEIDENHAIN recommends always
traversing to a safe position from which the TNC can
position the tool for machining without causing a collision!
Select the directory in which you wish to store the new program:
The TNC automatically generates the first and last blocks of the
program.
1 Start block
COORDINATES?
MISCELLANEOUS FUNCTION M?
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Go to next page
Go to beginning of program
Go to end of program
Undoing changes
If desired, you can undo all changes made since the last time you
saved the program. Proceed as follows:
Select the soft-key row with the saving functions
Press the CANCEL CHANGE soft key: The TNC opens a window in
which you can confirm or cancel this action
Press the YES soft key or the ENT key to discard the changes made.
Abort with the NO soft key
If you want to insert a word, press the horizontal arrow key repeatedly
until the desired dialog appears. You can then enter the desired value.
The word that is highlighted in the new block is the same as the one
you selected previously.
If required, select the block containing the word you wish to find
Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row
Activate the Replace function: The TNC superimposes
a window for entering the text to be inserted
Enter the text to be searched for. Please note that the
search is case-sensitive. Then confirm with the ENT
key
Enter the text to be inserted. Please note that the
entry is case-sensitive
Start the search process: The TNC displays the
available search options in the soft-key row (see the
table of search options)
If required, change the search options
smarT.NC files
Structured unit programs .HU
Contour descriptions .HC
Point tables for machining positions .HP
Tables for
Tools .T
Tool changers .TCH
Pallets .P
Zero points .D
Points .PNT
Presets .PR
Cutting data .CDT
Cutting materials, workpiece materials .TAB
Texts as
ASCII files .A
Help files .CHM
Drawing data as
ASCII files .DXF
Other files
Fixture templates .CFT
Parameterized fixtures .CFX
Dependent data (such as structure items) .DEP
Archive .ZIP
When you write a part program on the TNC, you must first enter a
program name. The TNC saves the program to the hard disk as a file
with the same name. The TNC can also save texts and tables as files.
The TNC provides a special file management window in which you can
easily find and manage your files. Here you can call, copy, rename and
erase files.
You can manage an almost unlimited number of files with the TNC, at
least 21 GB. The actual size of the hard disk depends on the main
computer installed in your machine. Please refer to the specifications.
A single NC program can be up to 2 GB in size.
PROG20 .H
File name File type
The maximum limit for the path and file name together is
82 characters (see "Paths" on page 117).
For further information about displaying and editing the listed file
types: See "Additional tools for management of external file types" on
page 139.
Data backup
We recommend saving newly written programs and files on a PC at
regular intervals.
The TNCremoNT data transmission freeware from HEIDENHAIN is a
simple and convenient method for backing up data stored on the TNC.
You additionally need a data medium on which all machine-specific
data, such as the PLC program, machine parameters, etc., are stored.
Ask your machine manufacturer for assistance, if necessary.
Saving the contents of the entire hard disk (2GB) can take
up to several hours. In this case, it is a good idea to save
the data outside of work hours, e.g. during the night.
Take the time occasionally to delete any unneeded files so
that the TNC always has enough hard-disk space for
system files (such as the tool table).
Directory names
The maximum limit for the path, including the directory name, is 82
characters (see "Paths" on page 117).
Paths
A path indicates the drive and all directories and subdirectories under
which a file is saved. The individual names are separated by a
backslash "\".
Example
The directory AUFTR1 was created on the TNC:\ drive. Then, in the
AUFTR1 directory, the directory NCPROG was created and the part TNC:\
program PROG1.H was copied into it. The part program now has the
following path: AUFTR1
TNC:\AUFTR1\NCPROG\PROG1.H NCPROG
The chart at right illustrates an example of a directory display with WZTAB
different paths.
A35K941
ZYLM
TESTPROG
HUBER
KAR25T
Press the PGM MGT key: The TNC displays the file
management window (see figure for default setting.
If the TNC displays a different screen layout, press
the WINDOW soft key.)
The narrow window on the left shows the available drives and
directories. Drives designate devices with which data are stored or
transferred. One drive is the hard disk of the TNC. Other drives are the
interfaces (RS232, RS422, Ethernet), which can be used, for example,
to connect a personal computer. A directory is always identified by a
folder symbol to the left and the directory name to the right.
Subdirectories are shown to the right of and below their parent
directories. A triangle in front of the folder symbol indicates that there
are further subdirectories, which can be shown with the –/+ or ENT
keys.
The wide window on the right shows you all files that are stored in the
selected directory. Each file is shown with additional information,
illustrated in the table below.
Changed Date and time that the file was last changed.
The date format can be set
For most file types, the TNC also displays a preview of the currently
highlighted file in the window at bottom left. With very large files, it
may take some time for the preview to appear. You can also
deactivate the file preview function (see "Adapting the file manager"
on page 135)
Use the arrow keys or the soft keys to move the highlight to the
desired position on the screen:
4*.H Use wild card characters, e.g. to show all files of the
file type .H that begin with 4
The TNC opens the selected file in the operating mode from which you
called the file manager
With the arrow keys or the soft keys you can move the highlight to an
.HU or an .HC file:
Move the highlight in the left window to the directory in which you
want to create a subdirectory
NEW Enter the new file name, and confirm with ENT
Select the directory in which you wish to create the new file
NEW Enter the new file name with the file extension, and
confirm with ENT
NEW Enter the new file name with the file extension, and
confirm with ENT
Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, if desired
Copy the tagged files into the target directory
Overwriting files
If you copy files into a directory in which other files are stored under
the same name, the TNC will ask whether the files in the target
directory should be overwritten:
To overwrite all files, press the YES soft key, or
To overwrite no files, press the NO soft key, or
To confirm each file separately before overwriting it, press the
CONFIRM soft key
If you wish to overwrite a protected file, this must also be confirmed
or aborted separately.
The REPLACE FIELDS soft key does not appear if you want
to overwrite the table in the TNC with an external data
transfer software, such as TNCremoNT. Copy the
externally created file into a different directory, and then
copy the desired fields with the TNC file management.
The file extension of the externally created table should be
.A (ASCII). In these cases the table can contain any
number of lines. If you create a file of type *.T, then the
table must contain sequential line numbers beginning with
0.
Example
With a tool presetter you have measured the length and radius of ten
new tools. The tool presetter then generates the tool table TOOL.A
with 10 rows (for the 10 tools) and the columns
Tool number (column T)
Tool length (column L)
Tool radius (column R)
Copy this table from the external data medium to any directory
Copy the externally created table over the existing table using the
TNC file manager. The TNC asks if you wish to overwrite the
existing TOOL.T tool table:
If you press the YES soft key, the TNC will completely overwrite the
current TOOL.T tool table. After this copying process the new
TOOL.T table consists of 10 lines. The only remaining columns in
the table are tool number, tool length and tool radius
Or, if you press the REPLACE FIELDS soft key, the TNC merely
overwrites the first 10 lines of the number, length and radius
columns in the TOOL.T file. The data of the other lines and columns
is not changed
Move the highlight in the right window onto the directory you want
to copy
Press the COPY soft key: the TNC opens the window for selecting
the target directory
Select the target directory and confirm with ENT or the OK soft key:
The TNC copies the selected directory and all its subdirectories to
the selected target directory
Use the arrow keys to move the highlight to the file you wish to select:
Moves the highlight up and down within a window
Deleting a directory
Renaming a file
Move the highlight to the file you want to rename
Select the renaming function
For more information: See "USB devices on the TNC (FCL 2 function)"
on page 147.
The TNC packs all the marked files and directories into the
desired ZIP archive. The TNC packs TNC-specific files
(e.g. plain-language programs) in ASCII format so that you
can open them externally with an ASCII editor, if
necessary
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the PDF file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use the PDF viewer is provided under Help.
To exit the PDF viewer, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the Excel file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use the Gnumeric function is provided under
Help.
To exit Gnumeric, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Quit: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the archive file open. Alternatively, you
can also click the corresponding symbol in the task bar to switch back
to the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use Xarchiver function is provided under Help.
Please note that the TNC does not carry out any binary-to-
ASCII conversion or vice versa when compressing or
decompressing NC programs and NC tables. When such
files are transferred to TNC controls using other software
versions, the TNC may not be able to read them.
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the text file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
The shortcuts you are familiar with from Windows, which you can use
to edit texts quickly (CTRL+C, CTRL+V,...), are available within
Mousepad.
To exit Mousepad, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the graphics file open. Alternatively, you
can also click the corresponding symbol in the task bar to switch back
to the TNC interface.
More information on how to use ristretto function is provided under
Help.
To exit ristretto, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window
Transfer several files: Press the TAG soft key (in the
second soft-key row, see "Tagging files", page 131)
Confirm with the OK soft key or with the ENT key. A status window
appears on the TNC, informing about the copying progress, or
It may take some time to mount a network device. At the upper right
of the screen the TNC displays [READ DIR] to indicate that a
connection is being established. The maximum transmission speed is
2 to 5 Mbit/s, depending on the type of file being transferred and how
busy the network is.
The TNC also displays the USB: TNC does not support
device error message if you connect a USB hub. In this
case, simply acknowledge the message with the CE key.
In theory, you should be able to connect all USB devices
with the file systems mentioned above to the TNC. If you
nevertheless encounter problems, please contact
HEIDENHAIN.
Subtraction –
Multiplication *
Division :
Sine S
Cosine C
Tangent T
Arc sine AS
Arc cosine AC
Arc tangent AT
Powers ^
Square root Q
Inversion /
Calculations in parentheses ()
pi (3.14159265359) P
Display result =
Additional functions:
Function Soft key
Generate a complete graphic
Display HELP
To display Help, press the HELP key
Read the description of the error and the possibilities
for correcting it. The TNC may show additional
information that can be helpful to trained
HEIDENHAIN personnel during troubleshooting.
Close the Help window with the CE key, thus
canceling the error message
Remove the cause of the error as described in the
Help window
Parallel to the error list you can also view the respective
help text in a separate window: Press the HELP key.
Column Meaning
Number Error number (–1: no error number defined),
issued by HEIDENHAIN or your machine tool
builder
For many soft keys there is a context-sensitive call through which you
can go directly to the description of the soft key's function. This
functionality requires using a mouse. Proceed as follows:
Select the soft-key row containing the desired soft key
Click with the mouse on the help symbol that the TNC displays just
above the soft-key row: The mouse pointer turns into a question
mark
Move the question mark to the soft key for which you want an
explanation, and click: The TNC opens TNCguide. If no specific part
of the help is assigned to the selected soft key, the control opens
the book file main.chm, in which you can use the search function
or the navigation to find the desired explanation manually.
Even if you are editing an NC block, context-sensitive help is available:
Select any NC block
Use the arrow keys to move the cursor to the block
Press the HELP key: The TNC starts the help system and shows a
description for the active function (does not apply to miscellaneous
functions or cycles that were integrated by your machine tool
builder)
Exit TNCguide
Full-text search
In the Find tab you can search all of TURNguide for a specific word.
The left side is active.
Select the Find tab
Activate the Find: input field
Enter the desired word and confirm with the ENT key:
The TNC lists all sources containing the word
Use the arrow key to highlight the desired source
Press the ENT key to go to the selected source
English TNC:\tncguide\en
Czech TNC:\tncguide\cs
French TNC:\tncguide\fr
Italian TNC:\tncguide\it
Spanish TNC:\tncguide\es
Portuguese TNC:\tncguide\pt
Swedish TNC:\tncguide\sv
Danish TNC:\tncguide\da
Finnish TNC:\tncguide\fi
Dutch TNC:\tncguide\nl
Polish TNC:\tncguide\pl
Hungarian TNC:\tncguide\hu
Russian TNC:\tncguide\ru
Norwegian TNC:\tncguide\no
Slovak TNC:\tncguide\sk
Latvian TNC:\tncguide\lv
Korean TNC:\tncguide\kr
Estonian TNC:\tncguide\et
Turkish TNC:\tncguide\tr
Romanian TNC:\tncguide\ro
Lithuanian TNC:\tncguide\lt
Rapid traverse
If you wish to program rapid traverse, enter G00.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached.If the new feed rate is G00 rapid
traverse), the last programmed feed rate is once again valid after the
next block with G01.
Programmed change
In the part program, you can change the spindle speed in a T block by
entering the spindle speed only:
To program the spindle speed, press the S key on the
alphabetic keyboard.
Enter the new spindle speed
L
Tool numbers and tool names
R
Each tool is identified by a number between 0 and 30000. If you are
working with tool tables, you can also enter a tool name for each tool.
Tool names can have up to 32 characters. X
Permitted special characters: # $ % & , - . 0 1 2 3 4 5 6
789@ABCDEFGHIJKLMNOPQRSTUVW
X Y Z _.
Impermissible characters: <blank space> ! “ ‘ ( ) * + : ;
<=>?[/]^`abcdefghIjklmnopqrstuvwx
yz{|}~
The tool number 0 is automatically defined as the zero tool with the
length L=0 and the radius R=0. In tool tables, tool T0 should also be
defined with L=0 and R=0.
Tool length L
You should always enter the tool length L as an absolute value based
on the tool reference point. The entire tool length is essential for the
TNC in order to perform numerous functions involving multi-axis Z
machining.
L3
Tool radius R L1
L2
You can enter the tool radius R directly.
Example
N40 G99 T5 L+10 R+5 *
NAME Name by which you call the tool in the program. Tool name?
Input range: 32 characters max., only capital letters, no space
characters.
When transferring tool tables to older software versions of the
iTNC 530 or to older TNC controls, you must make sure that tool
names are not longer than 16 characters, because otherwise they
will be truncated accordingly by the TNC when read in. This can
lead to errors in connection with the Replacement Tool function.
R2 Tool radius 2 for toroid cutters (only for 3-D radius compensation Tool radius R2?
or graphical representation of a machining operation with
spherical or toroid cutters).
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
DR2 Delta value for tool radius R2. Tool radius oversize R2?
Input range in mm: -999.9999 to +999.9999
Input range in inches: -39.37 to +39.37
LCUTS Tooth length of the tool for Cycle 22. Tooth length in the tool axis?
Input range in mm: 0 to +99999.9999
Input range in inches: 0 to +3936.9999
ANGLE Maximum plunge angle of the tool for reciprocating plunge-cut in Maximum plunge angle?
Cycles 22, 208 and 25x.
Input range: 0 to 90°
TIME1 Maximum tool life in minutes. This function can vary depending Maximum tool age?
on the individual machine tool. Your machine manual provides
more information.
Input range: 0 to 9999 minutes
TIME2 Maximum tool life in minutes during a TOOL CALL: If the current Maximum tool age for TOOL CALL?
tool age reaches or exceeds this value, the TNC changes the tool
during the next TOOL CALL (see also CUR.TIME).
Input range: 0 to 9999 minutes
CUR.TIME Current age of the tool in minutes: The TNC automatically counts Current tool age?
the current tool life (CUR.TIME). A starting value can be entered for
used tools.
Input range: 0 to 99999 minutes
OVRTIME Maximum amount in minutes that the tool life may be exceeded. Permitted overrun of service life?
This function can vary depending on the individual machine tool.
Your machine manual provides more information.
Input range: 0 to 99 minutes
PLC Information on this tool that is to be sent to the PLC. PLC status?
Input range: 8 characters bit-coded
PLC-VAL Value of this tool that is to be sent to the PLC. PLC value?
Input range: -99999.9999 to +99999.9999
PTYP Tool type for evaluation in the pocket table. Tool type for pocket table?
Input range: 0 to +99
NMAX Limit the spindle speed for this tool. The programmed value is Maximum speed [rpm]?
monitored (error message) as well as an increase in the shaft
speed via the potentiometer. Function inactive: Enter –
Input range: 0 to +99999, if function not active: enter –
LIFTOFF Definition of whether the TNC should retract the tool in the Retract tool Y/N ?
direction of the positive tool axis at an NC stop or power failure in
order to avoid leaving dwell marks on the contour. If Y is entered,
the TNC retracts the tool from the contour by up to 30mm,
provided that this function was activated in the NC program with
M148 (see "Automatically retract tool from the contour at an NC
stop: M148" on page 351).
Input: Y and N
KINEMATIC Machine-dependent function: Kinematics description for vertical Additional kinematic description?
milling heads, which the TNC adds to the active machine
kinematics. Assign available kinematic descriptions by using the
ASSIGN KINEMATICS soft key (see also "Tool-carrier kinematics"
on page 186).
Input range: 16 characters max.
T-ANGLE Point angle of the tool. Is used by Drilling cycles 200, 203, 205 and Point angle (Type DRILL+CSINK)?
240 in order to calculate the depth from the diameter entry.
Input range: -180 to +180°
AFC Control setting for the adaptive feed control AFC that you have Feedback-control strategy?
defined in the NAME column of the AFC.TAB table. Apply the
feedback-control strategy with the ASSIGN AFC CONTROL
SETTING soft key (3rd soft-key row)
Input range: 10 characters max.
DR2TABLE 3D ToolComp: software option: Enter the name of the Compensation-value table?
compensation value table from which the TNC is to take the
angle-dependent delta radius values DR2
Input range: Max. 16 characters without file extension
LAST_USE Date and time that the tool was last inserted via TOOL CALL Date/time of last tool call?
Input range: Max. 16 characters, format specified internally: Date
= yyyy.mm.dd, time = hh.mm
ACC Activate or deactivate active chatter control for the respective tool ACC status 1=active/0=inactive
(see also "Active Chatter Control (ACC—software option)" on page
405).
Input range: 0 (inactive) and 1 (active)
LTOL Permissible deviation from tool length L for wear detection. If the Wear tolerance: length?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
RTOL Permissible deviation from tool radius R for wear detection. If the Wear tolerance: radius?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
R2TOL Permissible deviation from tool radius R2 for wear detection. If Wear tolerance: Radius 2?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = –)?
TT:R-OFFS Tool length measurement: Tool offset between stylus center and Tool offset: radius?
tool center. Default setting: Tool radius R (NO ENT key enters R)
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
TT:L-OFFS Radius measurement: tool offset in addition to MP6530 between Tool offset: length?
upper surface of stylus and lower surface of tool. Default: 0
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
RBREAK Permissible deviation from tool radius R for breakage detection. If Breakage tolerance: radius?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
Input range in mm: 0 to 0.9999
Input range in inches: 0 to +0.03936
TMAT Tool material: Press the ASSIGN MATERIAL soft key (3rd soft-key Tool material?
row): The TNC superimposes a window where you can select the
type of cutting material
Input range: 16 characters max.
CDT Cutting data table: Press the SELECT CDT soft key (3rd soft-key Name of cutting data table?
row): The TNC displays a pop-up window where you can select a
cutting data table
Input range: 16 characters max.
Tool table: Tool data for touch trigger probes (only when bit 1 is
set in MP7411 = 1, also see the Touch Probe Cycles Manual)
Abbr. Inputs Dialog
CAL-OF1 During calibration, the TNC stores in this column the center Center misalignmt. in ref. axis?
misalignment in the reference axis of the touch probe, if a tool
number is indicated in the calibration menu
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
CAL-OF2 During calibration, the TNC stores in this column the center Center misalignment minor axis?
misalignment in the minor axis of the touch probe, if a tool
number is indicated in the calibration menu
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
CAL-ANG During calibration, the TNC stores in this column the spindle angle Spindle angle for calibration?
at which the touch probe was calibrated, if a tool number is
indicated in the calibration menu.
Input range: -360 to +360°
Press the SELECT TYPE soft key to select the file type
Show files of type .T press the SHOW .T soft key
Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
In the KINEMATIC column of the tool table TOOL.T you can assign each
tool with an additional tool carrier kinematic description. In the
simplest case, this carrier kinematics can simulate the taper shank in
order to include it in the dynamic collision monitoring. Also, you can
use this function to very easily integrate angle heads into the machine
kinematic description.
For automatic tool changing you need the pocket table TOOL_P.TCH.
The TNC can manage several pocket tables with any file names. To
activate a specific pocket table for program run, you must select it in
the file management of a Program Run mode of operation (status M).
In order to be able to manage various magazines in a tool-pocket table
(indexing the pocket number), machine parameters 7261.0 to 7261.3
must not be equal to 0.
The TNC can control up to 9999 magazine pockets in the pocket
table.
Press the SELECT TYPE soft key to select the file type
Press the soft key TCH FILES (second soft-key row) to
show files of the type .TCH
Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
ST Special tool; If your special tool blocks pockets in front of and behind its Special tool?
actual pocket, these additional pockets need to be locked in column L
(status L).
F The tool is always returned to the same pocket in the tool magazine Fixed pocket? Yes = ENT /
No = NO ENT
L Locked pocket (see also column ST) Pocket locked Yes = ENT /
No = NO ENT
PLC Information on this tool pocket that is to be sent to the PLC PLC status?
PTYP Tool type. Function is defined by the machine tool builder. The machine tool Tool type for pocket
documentation provides further information table?
P1 ... P5 Function is defined by the machine tool builder. The machine tool Value?
documentation provides further information
RSV Pocket reservation for box magazines Pocket reserv.: Yes = ENT
/ No = NOENT
LOCKED_ABOVE Box magazine: Lock the pocket above Lock the pocket above?
LOCKED_BELOW Box magazine: Lock the pocket below Lock the pocket below?
LOCKED_LEFT Box magazine: Lock the pocket at left Lock the pocket at left?
LOCKED_RIGHT Box magazine: Lock the pocket at right Lock the pocket at right?
S1 ... S5 Function is defined by the machine tool builder. The machine tool Value?
documentation provides further information
The TNC automatically changes the tool if the tool life TIME2 expires
during program run. To use this miscellaneous function, activate M101
at the beginning of the program. M101 is reset with M102, by reselecting
the program, or by selecting another NC block with GOTO. When
TIME1 is reached, the TNC merely sets an internal marker that can be
evaluated via the PLC (refer to your machine manual). The machine
tool builder also defines the effect of the maximum permitted violation
of the tool life OVRTIME. Refer to your machine manual.
You enter the number of the replacement tool in the RT column of the
tool table If no tool number is entered there, the TNC inserts a tool that
has the same name as the momentarily active one. The TNC starts the
search from the beginning of the tool table and inserts the first tool it
finds.
The tool is changed automatically
after the next NC block after expiration of the tool life, or
about one minute plus one NC block after tool life expires
(calculation is for a potentiometer setting of 100 %)
If the tool life ends during an active M120 (look ahead), the
TNC waits to change the tool until after the block in which
you canceled the radius compensation.
The TNC does not execute any automatic tool change if it
is currently running a cycle. Exception: During the Pattern
Cycles 220 and 221 (circular hole pattern and linear
pattern) the TNC can execute an automatic tool change
between two machining positions, if required.
An automatic tool change with active radius
compensation is not possible.
Column Meaning
TOKEN TOOL: Tool usage time per TOOL CALL. The
entries are listed in chronological order.
TTOTAL: Total usage time of a tool
STOTAL: Call of a subprogram (incl. cycles);
the entries are listed in chronological order
TIMETOTAL: The total machining time of the
NC program is entered in the WTIME column.
In the PATH column the TNC saves the path
name of the corresponding NC programs.
The TIME column shows the sum of all TIME
entries (only when the spindle is on, and
without rapid traverse). The TNC sets all
other columns to 0
TOOLFILE: In the PATH column, the TNC
saves the path name of the tool table with
which you conducted the Test Run. This
enables the TNC during the actual tool
usage test to detect whether you
performed the test run with the TOOL.T
There are two ways to run a tool usage test for a pallet file:
The highlight is on a pallet entry in the pallet file:
The TNC runs the tool usage test for the entire pallet
The highlight is on a program entry in the pallet file:
The TNC runs the tool usage test only for the selected program
With the tool management, your machine tool builder can provide
many functions with regard to tool handling. Examples:
Easily readable and, if you desired, adaptable representation of the
tool data in fillable forms
Any description of the individual tool data in the new table view
Mixed representation of data from the tool table and the pocket
table
Fast sorting of all tool data by mouse
Use of graphic aids, e.g. color coding of tool or magazine status
Program-specific list of all available tools
Program-specific usage sequence of all tools
Copying and pasting of all tool data pertaining to a tool
Graphic depiction of tool type in the table view and in the detail view
for a better overview of the available tool types
Select the tool table: Press the TOOL TABLE soft key
You can edit the tool data only in the form view, which you
can activate by pressing the FORM FOR TOOL soft key or
the ENT key for the currently highlighted tool.
The TNC deletes all the data of all the tools selected.
Make sure that you really no longer need the tool data,
because there is no Undo function available.
You cannot delete the tool data of tools still stored in
the pocket table. First remove the tool from the
magazine.
Danger of collision!
If you cancel a positive length compensation with T0, the
distance between tool and workpiece will be reduced.
After T, the path of the tool in the spindle axis, as entered
in the part program, is adjusted by the difference between
the length of the previous tool and that of the new one.
For tool length compensation, the control takes the delta values from
both the T block and the tool table into account:
Compensation value = L + DLTOOL CALL + DLTAB where
For radius compensation, the TNC takes the delta values from both the
T block and the tool table into account:
Compensation value = R + DRTOOL CALL + DRTAB where
R: Tool radius R from the G99 block or tool table
DR TOOL CALL: Oversize for radius DR in the T block (not taken
into account by the position display)
DR TAB: Oversize for radius DR in the tool table
X
Y
RL RL
Pre-positioning
Before running a part program, always pre-position the tool to prevent
the possibility of damaging it or the workpiece.
G41 X
Z
Y
E
X
Approach A
G26 is entered after the block in which the first contour element is
R
S
programmed: This will be the first block with radius compensation
G41/G42
The radius for G26 and G27 must be selected so that the Y
TNC 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.
B
G41
E R
X
G40
Chamfer: CHF Chamfer between two Chamfer side length Page 224
straight lines
Circular arc C Circular arc around a circle Coordinates of the arc end Page 227
center CC to an arc end point, direction of rotation
point
Circular arc CR Circular arc with a certain Coordinates of the arc end Page 228
radius point, arc radius, direction
of rotation
Circular arc CT Circular arc with tangential Coordinates of the arc end Page 230
connection to the point
preceding and subsequent
contour elements
Corner Rounding RND Circular arc with tangential Rounding radius R Page 225
connection to the
preceding and subsequent
contour elements
15
Radius compensation G41/G42/G40
10
Feed rate F
Miscellaneous function M
Example NC blocks
N70 G01 G41 X+10 Y+40 F200 M3 * 20 X
10
N80 G91 X+20 Y-15 *
60
N90 G90 X+60 G91 Y-10 *
12
5
The chamfer must be machinable with the current tool 30
Example NC blocks 5 X
N70 G01 G41 X+0 Y+30 F300 M3 * 40
N80 X+40 G91 Y+5 *
N90 G24 R12 F250 *
N100 G91 X+5 G90 Y+0 *
Example NC blocks
5 L X+10 Y+40 RL F300 M3
5
6 L X+40 Y+25
7 RND R5 F100 X
10 40
8 L X+10 Y+5
Example NC blocks
X CC
N50 I+25 J+25 *
or
DR+
Example NC blocks
N50 I+25 J+25 * CC
25
N60 G01 G42 X+45 Y+25 F200 M3 *
N70 G03 X+45 Y+25 *
DR
Full circle
X
For the end point, enter the same point that you used for the starting 25 45
point.
The starting and end points of the arc must lie on the
circle.
Input tolerance: up to 0.016 mm (selected with MP7431).
Smallest possible circle that the TNC can traverse: 0.0016
µm.
Direction of rotation Y
In clockwise direction: G02
In counterclockwise direction: G03
Without programmed direction: G05. The TNC traverses the circular
arc with the last programmed direction of rotation R
E1=S
Coordinates of the arc end point
3 S1=E
CC
Radius R
Note: The algebraic sign determines the size of the
arc!
Miscellaneous function M
X
Feed rate F
Full circle
For a full circle, program two blocks in succession:
The end point of the first semicircle is the starting point of the second.
The end point of the second semicircle is the starting point of the first.
or
R R
N110 G02 X+70 Y+40 R-20 * (ARC 3) 40
or
4
N110 G03 X+70 Y+40 R-20 * (ARC 4) DR+
X
The distance from the starting and end points of the arc 40 70
diameter cannot be greater than the diameter of the arc.
The maximum radius that can be entered directly is
99.9999 m, with Q parameter programming 210 m.
You can also enter rotary axes A, B and C.
Example NC blocks
X
25 45
N70 G01 G41 X+0 Y+25 F300 M3 *
N80 X+25 Y+30 *
N90 G06 X+45 Y+20 *
G01 Y+0 *
Y 10
3
95
2
10
20
1 4
5
20 X
5 9
%LINEAR G71 *
N10 G30 G17 X+0 Y+0 Z-20 * Define the workpiece blank for graphic workpiece simulation
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S4000 * Call the tool in the spindle axis and with the spindle speed S
N50 G00 G40 G90 Z+250 * Retract the tool in the spindle axis at rapid traverse
N60 X-10 Y-10 * Pre-positioning the tool
N70 G01 Z-5 F1000 M3 * Move to working depth at feed rate F = 1000 mm/min
N80 G01 G41 X+5 Y+5 F300 * Approach the contour at point 1, activate radius compensation G41
N90 G26 R5 F150 * Tangential approach
N100 Y+95 * Move to point 2
N110 X+95 * Point 3: first straight line for corner 3
N120 G24 R10 * Program a chamfer with length 10 mm
N130 Y+5 * Point 4: 2nd straight line for corner 3, 1st straight line for corner 4
N140 G24 R20 * Program a chamfer with length 20 mm
N150 X+5 * Move to last contour point 1, second straight line for corner 4
N160 G27 R5 F500 * Tangential exit
N170 G40 X-20 Y-20 F1000 * Retract the tool in the working plane, cancel radius compensation
N180 G00 Z+250 M2 * Retract the tool, end program
N99999999 %LINEAR G71 *
95
2 4 5
R3
85
R10 3
0
6
40
1 7
5
X
5 30 40 70 95
%CIRCULAR G71 *
N10 G30 G17 X+0 Y+0 Z-20 * Define the workpiece blank for graphic workpiece simulation
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S4000 * Call the tool in the spindle axis and with the spindle speed S
N50 G00 G40 G90 Z+250 * Retract the tool in the spindle axis at rapid traverse
N60 X-10 Y-10 * Pre-positioning the tool
N70 G01 Z-5 F1000 M3 * Move to working depth at feed rate F = 1000 mm/min
N80 G01 G41 X+5 Y+5 F300 * Approach the contour at point 1, activate radius compensation G41
N90 G26 R5 F150 * Tangential approach
N100 Y+85 * Point 2: First straight line for corner 2
N110 G25 R10 * Insert radius with R = 10 mm, feed rate: 150 mm/min
N120 X+30 * Move to point 3: Starting point of the arc
N130 G02 X+70 Y+95 R+30 * Move to point 4: End point of the arc with G02, radius 30 mm
N140 G01 X+95 * Move to point 5
N150 Y+40 * Move to point 6
N160 G06 X+40 Y+5 * Move to point 7: End point of the arc, circular arc with tangential
connection to point 6, TNC automatically calculates the radius
CC
50
X
50
%C-CC G71 *
N10 G30 G17 X+0 Y+0 Z-20 * Definition of workpiece blank
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S3150 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 I+50 J+50 * Defining the circle center
N70 X-40 Y+50 * Pre-positioning the tool
N80 G01 Z-5 F1000 M3 * Move to working depth
N90 G41 X+0 Y+50 F300 * Approach starting point, radius compensation G41
N100 G26 R5 F150 * Tangential approach
N110 G02 X+0 * Move to the circle end point (= circle starting point)
N120 G27 R5 F500 * Tangential exit
N130 G01 G40 X-40 Y-50 F1000 * Retract the tool in the working plane, cancel radius compensation
N140 G00 Z+250 M2 * Retract the tool in the tool axis, end of program
N99999999 %C-CC G71 *
Circular arc G12, + Circular path around circle Polar angle of the arc end Page 237
G13 center/pole to arc end point point
Circular arc G15 + Circular path corresponding Polar angle of the circle end Page 237
to active direction of rotation point
Circular arc G16 + Circular arc with tangential Polar radius, polar angle of Page 238
connection to the preceding the arc end point
contour element
Helical interpolation + Combination of a circular and Polar radius, polar angle of Page 239
a linear movement the arc end point, coordinate
of the end point in the tool
axis
Example NC blocks
N120 I+45 J+45 * X
X=I
30
Polar-coordinates angle H: Angular position of the 60°
straight-line end point between –360° and +360° 60°
Direction of rotation
In clockwise direction: G12
In counterclockwise direction: G13
0
R2
Without programmed direction: G15. The TNC traverses the circular 25
arc with the last programmed direction of rotation CC
Polar-coordinates angle H: Angular position of the
13
arc end point between -99999.9999° and
+99999.9999°
Direction of rotation DR X
25
Example NC blocks
N180 I+25 J+25 *
N190 G11 G42 R+20 H+0 F250 M3 *
N200 G13 H+180 *
5
0
R3
R2
Example NC blocks 30°
35
N120 I+40 J+35 * CC
External thread
Right-handed Z+ G13 G42
Left-handed Z+ G12 G41
5
270°
25 X
Polar coordinates angle: Enter the total angle of tool
12
traverse along the helix in incremental dimensions.
After entering the angle, specify the tool axis with 40
an axis selection key.
Enter the coordinate for the height of the helix in
incremental dimensions
Enter the radius compensation according to the table
Example NC blocks: Thread M6 x 1 mm with 4 revolutions
Y
100
3
2
60°
5
R4
CC
50 1 4
6 5
5
X
5 50 100
%LINEARPO G71 *
N10 G30 G17 X+0 Y+0 Z-20 * Definition of workpiece blank
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S4000 * Tool call
N50 G00 G40 G90 Z+250 * Define the datum for polar coordinates
N60 I+50 J+50 * Retract the tool
N70 G10 R+60 H+180 * Pre-positioning the tool
N80 G01 Z-5 F1000 M3 * Move to working depth
N90 G11 G41 R+45 H+180 F250 * Approach the contour at point 1
N100 G26 R5 * Approach the contour at point 1
N110 H+120 * Move to point 2
N120 H+60 * Move to point 3
N130 H+0 * Move to point 4
N140 H-60 * Move to point 5
N150 H-120 * Move to point 6
N160 H+180 * Move to point 1
N170 G27 R5 F500 * Tangential exit
N180 G40 R+60 H+180 F1000 * Retract the tool in the working plane, cancel radius compensation
N190 G00 Z+250 M2 * Retract in the spindle axis, end of program
N99999999 %LINEARPO G71 *
Y
100
M64 x 1,5
CC
50
X
50 100
%HELIX G71 *
N10 G30 G17 X+0 Y+0 Z-20 * Definition of workpiece blank
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S1400 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 X+50 Y+50 * Pre-positioning the tool
N70 G29 * Transfer the last programmed position as the pole
N80 G01 Z-12.75 F1000 M3 * Move to working depth
N90 G11 G41 R+32 H+180 F250 * Approach first contour point
N100 G26 R2 * Connection
N110 G13 G91 H+3240 Z+13.5 F200 * Helical traverse
N120 G27 R2 F500 * Tangential exit
N170 G01 G40 G90 X+50 Y+50 F1000 * Retract the tool, end program
N180 G00 Z+250 M2 *
Setting Icon
Set the zoom to the largest possible view
Layer settings
As a rule, DXF files contain multiple layers, with which the designer
organizes the drawing. The designer uses the layers to create groups
of various types of elements, such as the actual workpiece contour,
dimensions, auxiliary and design lines, shadings, and texts.
So that as little unnecessary information as possible appears on the
screen during selection of the contours, you can hide all excessive
layers contained in the DXF file.
Element information
At the bottom left of the screen, the TNC shows how far the reference
point you haven chosen is located from the drawing datum.
Bookmarks
You can use the bookmarks to manage your directory favorites. You
can add or delete the current directory to or from the list, or delete all
bookmarks. All directories that you have added appear in the
bookmark list, making them available for rapid selection.
You activate the bookmark function by clicking the path name in the
right part of the pop-up window of the "Save" function.
Bookmarks are managed as follows:
The "Save" function is active: The TNC displays the Define file
name for contour program pop-up window.
Click (with the left mouse button) in the top right part of the pop-up
window on the currently displayed path name: The TNC then
displays a pop-up menu
With the left mouse button, click the menu item Bookmarks and
select the desired function.
Element information
At the bottom left of the screen, the TNC displays information about
the contour element that you last selected via mouse click in the left
or right window.
Straight line
End point of the straight line, and the starting point is grayed out
Circle or arc
Circle center point, circle end point, and direction of rotation. Grayed
out: the starting point and circle radius
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.
Bookmarks
You can use the bookmarks to manage your directory favorites. You
can add or delete the current directory to or from the list, or delete all
bookmarks. All directories that you have added appear in the
bookmark list, making them available for rapid selection.
You activate the bookmark function by clicking the path name in the
right part of the pop-up window of the "Save" function.
Bookmarks are managed as follows:
The "Save" function is active: The TNC displays the Define file
name for contour program pop-up window.
Click (with the left mouse button) in the top right part of the pop-up
window on the currently displayed path name: The TNC then
displays a pop-up menu
With the left mouse button, click the menu item Bookmarks and
select the desired function.
With the Apply path optimization option on (default setting), the TNC
sorts the selected machining positions for the most efficient possible
tool path. You can have the tool path displayed by clicking the Show
tool path icon (see "Basic settings" on page 246).
Undoing actions
You can undo the four most recent actions that you have taken in the
mode for selecting machining positions. The following icons are
available:
Function Icon
Undo the most recently conducted action
Mouse functions
Use the mouse for magnifying and reducing as follows:
Define the zoom area by dragging the mouse with the left button
depressed
If you have a wheel mouse, you can use it to zoom in and out. The
zooming center is the location of the mouse pointer
Click the magnifying glass icon or double-click with the right mouse
button to reset the view to the default setting
You can move the current view by depressing the center mouse
button.
If 3-D mode is active, you can rotate and tilt the view by depressing
the right mouse button.
Double-click with the right mouse button to reset the zoom factor.
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation.
Example NC blocks
6 ... Any desired lead program
7 L Z... Pre-positioning
8 * – Inside contour Structure block that the TNC displays as a layer
9 L X+20 Y+20 RR F100 First contour point
10 L X+35 Y+35 End point of the first contour element
11 L ... Further contour elements
12 L ...
2746 L ... Last contour point
2747 * - Contour end Structure block identifying the contour end
2748 L ... Intermediate positioning movements
Function Icon
Show shaded model
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels (G98 L).
A LABEL is identified by a number between 1 and 999 or by a name
you define. Each LABEL number or LABEL name can be set only once
in the program with the LABEL SET key or by entering G98. The
number of label names you can enter is only limited by the internal
memory.
Programming a subprogram
To mark the beginning, press the LBL SET key
Enter the subprogram number. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry
To mark the end, press the LBL SET key and enter the
label number "0"
Procedure G98 L1 *
2 R 2/1
1 The TNC executes the part program up to the end of the program
section (Ln,m)
2 Then the program section between the called LBL and the label L1,2 *
call Ln,m is repeated the number of times entered for m
3 The TNC then resumes the part program after the last repetition
N99999 % ...
Programming notes
You can repeat a program section up to 65 534 times in succession
The total number of times the program section is executed is always
one more than the programmed number of repeats
Danger of collision!
Coordinate transformations that you define in the called
program remain in effect for the calling program too,
unless you reset them. The setting of machine parameter
MP7300 has no influence on this.
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for main program calls: 30, where a G79
acts like a main program call
You can nest program section repeats as often as desired
Program execution
1 Main program SUBPGMS is executed up to block 17
2 Subprogram SP1 is called, and executed up to block 39
3 Subprogram 2 is called, and executed up to block 62. End of
subprogram 2 and return jump to the subprogram from which it
was called.
4 Subprogram 1 is executed from block 40 up to block 45. End of
subprogram 1 and return jump to the main program SUBPGMS.
5 Main program SUBPGMS is executed from block 18 up to block
35. Return jump to block 1 and end of program.
%REPS G71 *
...
N15 G98 L1 * Beginning of program section repeat 1
...
N20 G98 L2 * Beginning of program section repeat 2
...
N27 L2,2 * Program section between this block and G98 L2
... (block N20) is repeated twice
N35 L1,1 * Program section between this block and G98 L1
... (block N15) is repeated once
N99999999 %REPS G71 *
Program execution
1 Main program REPS is executed up to block 27
2 Program section between block 20 and block 27 is repeated twice
3 Main program REPS is executed from block 28 to block 35
4 Program section between block 15 and block 35 is repeated once
(including the program section repeat between 20 and block 27)
5 Main program REPS is executed from block 36 to block 50 (end of
program)
Program execution
1 Main program SUBPGREP is executed up to block 11
2 Subprogram 2 is called and executed
3 Program section between block 10 and block 12 is repeated twice:
Subprogram 2 is repeated twice
4 Main program SUBPGREP is executed from block 13 to block 19;
end of program
Program sequence
Pre-position the tool to the workpiece surface
Enter the infeed depth in incremental values
Y
Contour milling 100
Repeat infeed and contour-milling 3
2
60°
5
R4
CC
50 1 4
6 5
5
X
5 50 100
%PGMREP G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S3500 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 I+50 J+50 * Set pole
N70 G10 R+60 H+180 * Pre-position in the working plane
N80 G01 Z+0 F1000 M3 * Pre-position to the workpiece surface
Program sequence
Approach the groups of holes in the main
program Y
Call the group of holes (subprogram 1)
100
Program the group of holes only once in
subprogram 1
2
60
5
20
1 3
20
10
X
15 45 75 100
%SP1 G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N40 T1 G17 S3500 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 G200 DRILLING Cycle definition: drilling
Q200=2 ;SET-UP CLEARANCE
Q201=-30 ;DEPTH
Q206=300 ;FEED RATE FOR PLNGNG
Q202=5 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME AT TOP
Q203=+0 ;SURFACE COORDINATE
Q204=2 ;2ND SET-UP CLEARANCE
Q211=0 ;DWELL TIME AT DEPTH
Program sequence
Program the fixed cycles in the main program
Y Y
Call the entire hole pattern (subprogram 1)
Approach the groups of holes in subprogram 100
1, call group of holes (subprogram 2)
Program the group of holes only once in
subprogram 2 2
60
5
20
1 3
20
10
X Z
15 45 75 100 -15
-20
%SP2 G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N60 T1 G17 S5000 * Call tool: center drill
N70 G00 G40 G90 Z+250 * Retract the tool
N80 G200 DRILLING Cycle definition: CENTERING
Q200=2 ;SET-UP CLEARANCE
Q201=-3 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGNG
Q202=3 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME AT TOP
Q203=+0 ;SURFACE COORDINATE
Q204=10 ;2ND SET-UP CLEARANCE
Q211=0.2 ;DWELL TIME AT DEPTH
N90 L1,0 * Call subprogram 1 for the entire hole pattern
Meaning Area
Freely applicable parameters, as long as no Q0 to Q99
overlapping with SL cycles can occur. They
are globally effective for all programs stored
in the TNC memory.
QS parameters (S stands for string) are also available on the TNC and
enable you to process texts. In principle, the same ranges are available
for QS parameters as for Q parameters (see table above).
The TNC opens the dialog for formula entry directly when
you press the Q key on the ASCII keyboard.
In order to define or assign QL local parameters, first press
the Q key in any dialog, and then press the L on the ASCII
keyboard.
In order to define or assign QR nonvolatile parameters, first
press the Q key in any dialog, and then press the R on the
ASCII keyboard.
Example NC blocks
N150 D00 Q10 P01 +25 * Assign
... Q10 is assigned the
value 25
N250 G00 X +Q10 * Corresponds to G00 X +25
You need write only one program for a whole family of parts, entering
the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values to
the individual Q parameters.
Example
Cylinder with Q parameters
Cylinder radius R = Q1
Cylinder height H = Q2 Q1
Cylinder Z1 Q1 = +30
Q2 = +10
Cylinder Z2 Q1 = +10
Q2 = +50 Q1
Q2 Z2
Q2
Z1
Overview
D01: ADDITION
Example: D01 Q1 P01 -Q2 P02 -5 *
Calculate and assign the sum of two values
D02: SUBTRACTION
Example: D02 Q1 P01 +10 P02 +5 *
Calculates and assigns the difference of two values
D03: MULTIPLICATION
Example: D03 Q2 P01 +3 P02 +3 *
Calculates and assigns the product of two values
D04: DIVISION
Example: D04 Q4 P01 +8 P02 +Q2 *
Calculate and assign the quotient of two values
Not permitted: You cannot divide by 0!
To the right of the "=" character you can enter the following:
Two numbers
Two Q parameters
A number and a Q parameter
The Q parameters and numerical values in the equations can be
entered with positive or negative signs.
where c
a
c is the side opposite the right angle
Þ
a is the side opposite the angle α
b
b is the third side.
The TNC can find the angle from the tangent:
α = arctan (a / b) = arctan (sin α / cos α)
Example:
a = 25 mm
b = 50 mm
α = arctan (a / b) = arctan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c = (a² + b²)
D07: COSINE
Example: D07 Q21 P01 -Q5 *
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
D13: ANGLE
Example: D13 Q20 P01 +10 P02 -Q1 *
Calculate the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assign it to a parameter.
Unconditional jumps
An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:
D09 P01 +10 P02 +10 P03 1 *
Press the JUMP soft key to call the if-then conditions. The TNC then
displays the following soft keys:
Function Soft key
D09: IF EQUAL, JUMP
Example: D09 P01 +Q1 P02 +Q3 P03 “SPCAN25“ *
If the two values or parameters are equal, jump to the
given label
Example NC block
The TNC is to display the text stored under error number 254:
Subtraction
Example: Q25 = Q7 – Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Square of a value
Example: Q15 = SQ 5
Square root
Example: Q22 = SQRT 25
Sine of an angle
Example: Q44 = SIN 45
Cosine of an angle
Example: Q45 = COS 45
Tangent of an angle
Example: Q46 = TAN 45
Arc sine
Inverse of the sine. Determines the angle from the
ratio of the side opposite the angle and the
hypotenuse
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the angle and the
hypotenuse
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
1st calculation 5 * 3 = 15
2ndcalculation 2 * 10 = 20
3rdcalculation 15 + 20 = 35
or
13 Q2 = SQ 10 - 3^3 = 73
Distributive law
Law for calculating with parentheses
a * (b + c) = a * b + a * c
Select division
Example NC block
37 Q25 = ATAN (Q12/Q13)
Example NC block:
N37 DECLARE STRING QS10 = "WORKPIECE"
Parameter contents:
QS12: Workpiece
QS13: Status:
QS14: Scrap
QS10: Workpiece Status: Scrap
in X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
W axis Q109 = 8
M5 after M3 Q110 = 2
M5 after M4 Q110 = 3
Y axis Q116
Z axis Q117
B axis Q121
C axis Q122
Diameter Q153
Diameter Q163
Rework Q181
Scrap Q182
Y axis Q186
Z axis Q187
Reserved Q191
Reserved Q192
Reserved Q193
Example: Ellipse
Program sequence
The contour of the ellipse is approximated by
many short lines (defined in Q7). The more Y
calculation steps you define for the lines, the
smoother the curve becomes.
The machining direction can be altered by 50
changing the entries for the starting and end
angles in the plane:
30
Clockwise machining direction:
starting angle > end angle
50
Counterclockwise machining direction:
starting angle < end angle
The tool radius is not taken into account.
X
50
%ELLIPSE G71 *
N10 Q1 = +50 * Center in X axis
N20 Q2 = +50 * Center in Y axis
N30 Q3 = +50 * Semiaxis in X
N40 Q4 = +30 * Semiaxis in Y
N50 Q5 = +0 * Starting angle in the plane
N60 Q6 = +360 * End angle in the plane
N70 Q7 = +40 * Number of calculation steps
N80 Q8 = +30 * Rotational position of the ellipse
N90 Q9 = +5 * Milling depth
N100 Q10 = +100 * Feed rate for plunging
N110 Q11 = +350 * Feed rate for milling
N120 Q12 = +2 * Set-up clearance for pre-positioning
N130 G30 G17 X+0 Y+0 Z-20 * Definition of workpiece blank
N140 G31 G90 X+100 Y+100 Z+0 *
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
N180 L10,0 * Call machining operation
Program sequence
Z
This program functions only with a spherical
cutter. The tool length refers to the sphere R4
center. 0 X
The contour of the cylinder is approximated by
many short line segments (defined in Q13). The
more line segments you define, the smoother -50
the curve becomes. Y Y
The cylinder is milled in longitudinal cuts (here: 100
parallel to the Y axis).
The machining direction can be altered by
changing the entries for the starting and end
angles in space:
Clockwise machining direction:
starting angle > end angle
Counterclockwise machining direction:
starting angle < end angle
The tool radius is compensated automatically.
50 100 X Z
%CYLIN G71 *
N10 Q1 = +50 * Center in X axis
N20 Q2 = +0 * Center in Y axis
N30 Q3 = +0 * Center in Z axis
N40 Q4 = +90 * Starting angle in space (Z/X plane)
N50 Q5 = +270 * End angle in space (Z/X plane)
N60 Q6 = +40 * Cylinder radius
N70 Q7 = +100 * Length of the cylinder
N80 Q8 = +0 * Rotational position in the X/Y plane
N90 Q10 = +5 * Allowance for cylinder radius
N100 Q11 = +250 * Feed rate for plunging
N110 Q12 = +400 * Feed rate for milling
N120 Q13 = +90 * Number of cuts
N130 G30 G17 X+0 Y+0 Z-50 * Definition of workpiece blank
N140 G31 G90 X+100 Y+100 Z+0 *
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
N180 L10,0 * Call machining operation
N190 Q10 = +0 * Reset allowance
N200 L10,0 Call machining operation
Program sequence
This program requires an end mill.
The contour of the sphere is approximated by Y Y
many short lines (in the Z/X plane, defined in
Q14). The smaller you define the angle 100
increment, the smoother the curve becomes.
You can determine the number of contour cuts
through the angle increment in the plane
5
5
R4
R4
(defined in Q18).
The tool moves upward in three-dimensional 50
cuts.
The tool radius is compensated automatically.
X Z
50 100 -50
%SPHERE G71 *
N10 Q1 = +50 * Center in X axis
N20 Q2 = +50 * Center in Y axis
N30 Q4 = +90 * Starting angle in space (Z/X plane)
N40 Q5 = +0 * End angle in space (Z/X plane)
N50 Q14 = +5 * Angle increment in space
N60 Q6 = +45 * Sphere radius
N70 Q8 = +0 * Starting angle of rotational position in the X/Y plane
N80 Q9 = +360 * End angle of rotational position in the X/Y plane
N90 Q18 = +10 * Angle increment in the X/Y plane for roughing
N100 Q10 = +5 * Allowance in sphere radius for roughing
N110 Q11 = +2 * Set-up clearance for pre-positioning in the spindle axis
N120 Q12 = +350 * Feed rate for milling
N130 G30 G17 X+0 Y+0 Z-50 * Definition of workpiece blank
N140 G31 G90 X+100 Y+100 Z+0 *
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
N87 G36 M6
M2 Program STOP
Spindle STOP
Coolant off
Go to block 1
Clear the status display (depends on
MP7300)
M3 Spindle ON clockwise
M4 Spindle ON counterclockwise
M5 Spindle STOP
M6 Tool change
Spindle STOP
Program run STOP (depends on
MP7440)
M8 Coolant ON
M9 Coolant OFF
M30 Same as M2
Standard behavior
The TNC references coordinates to the workpiece datum, see
"Workpiece presetting without a touch probe", page 504.
Effect
M91 and M92 are effective only in the blocks in which they are
programmed.
M91 and M92 take effect at the start of block.
Effect
M104 is effective only in the blocks in which it is programmed.
M104 becomes effective at the end of block.
The TNC does not change the active basic rotation when
running the M104 function.
Danger of collision!
Subsequent positioning blocks or fixed cycles are carried
out in a tilted coordinate system. This can lead to problems
in fixed cycles with absolute pre-positioning.
The function M130 is allowed only if the tilted working
plane function is active.
Effect
M130 functions blockwise in straight-line blocks without tool radius
compensation.
Effect
M90 is effective only in the blocks in which it is programmed.
M90 becomes effective at the start of block. Operation with servo lag X
must be active.
Effect
M124 becomes effective at the start of block.
The TNC resets M124 if you enter M124 without the T parameter, or
if you select a new program.
Programming M124
If you enter M124 in a positioning block, the TNC continues the dialog
for this block by asking you the minimum distance between points T.
You can also define T through Q parameters (see "Principle and
overview" on page 284).
S S
13 16
17
14 15
Effect
M98 is effective only in the blocks in which it is programmed. S S
M98 takes effect at the end of block.
X
Example NC blocks
Move to the contour points 10, 11 and 12 in succession:
10
11 12
X
The TNC reduces the feed rate when the tool moves in the negative
direction of the tool axis. The feed rate for plunging FZMAX is
calculated from the last programmed feed rate FPROG and a factor
F%:
FZMAX = FPROG x F%
Programming M103
If you enter M103 in a positioning block, the TNC continues the dialog
by asking you the factor F.
Effect
M103 becomes effective at the start of block.
To cancel M103, program M103 once again without a factor.
Example NC blocks
The feed rate for plunging is to be 20% of the feed rate in the plane.
With M136, the TNC does not move the tool in mm/min, but rather at
the programmed feed rate F in millimeters per spindle revolution. If
you change the spindle speed by using the spindle override, the TNC
changes the feed rate accordingly.
Effect
M136 becomes effective at the start of block.
You can cancel M136 by programming M137.
Effect
M109 and M110 become effective at the start of block. To cancel
M109 or M110, enter M111.
Input
If you enter M120 in a positioning block, the TNC continues the dialog
for this block by asking you the number of blocks LA that are to be X
calculated in advance.
Effect
M120 must be located in an NC block that also contains radius
compensation G41 or G42. M120 is then effective from this block until
radius compensation is canceled with G40
M120 LA0 is programmed, or
M120 is programmed without LA, or
another program is called with %
the working plane is tilted with Cycle G80 or the PLANE function
M120 becomes effective at the start of block.
Input
If you enter M118 in a positioning block, the TNC continues the dialog
for this block by asking you the axis-specific values. The coordinates
are entered with the orange axis direction buttons or the ASCII
keyboard.
Effect
Cancel handwheel positioning by programming M118 once again
without coordinate input.
M118 becomes effective at the start of block.
Example NC blocks
You want to be able to use the handwheel during program run to move
the tool in the working plane X/Y by ±1 mm and in the rotary axis B by
±5° from the programmed value:
Input
If you enter M140 in a positioning block, the TNC continues the dialog
and asks for the desired path of tool departure from the contour. Enter
the requested path that the tool should follow when departing the
contour, or press the MB MAX soft key to move to the limit of the
traverse range.
In addition, you can program the feed rate at which the tool traverses
the entered path. If you do not enter a feed rate, the TNC moves the
tool along the entered path at rapid traverse.
Effect
M140 is effective only in the block in which it is programmed.
M140 becomes effective at the start of block.
Example NC blocks
Block 250: Retract the tool 50 mm from the contour.
Block 251: Move the tool to the limit of the traverse range.
Danger of collision!
If you use M141, make sure that you retract the touch
probe in the correct direction.
M141 functions only for movements with straight-line
blocks.
Effect
M141 is effective only in the block in which it is programmed.
M141 becomes effective at the start of block.
Effect
M142 is effective only in the block in which it is programmed.
M142 becomes effective at the start of the block.
Effect
M143 is effective only in the block in which it is programmed.
M143 becomes effective at the start of the block.
The TNC retracts the tool by 0.1 mm in the direction of the tool axis if,
in the LIFTOFF column of the tool table, you set the parameter Y for the
active tool (see "Tool table: Standard tool data" on page 176).
LIFTOFF takes effect in the following situations:
An NC stop triggered by you
An NC stop triggered by the software, e.g. if an error occurred in the
drive system
When a power interruption occurs. The path that the TNC
withdraws if a power interruption occurs is set by your machine tool
builder in machine parameter 1160
Danger of collision!
Remember that, especially on curved surfaces, the
surface can be damaged during return to the contour.
Retract the tool before returning to the contour!
Effect
M148 remains in effect until deactivated with M149.
M148 becomes effective at the start of block, M149 at the end of
block.
Danger of collision!
Keep in mind that the approach path to the position
programmed after the M150 block might be changed
significantly!
M150 is also effective on traverse range limits defined
with the MOD function.
M150 is effective even if you have the handwheel
superimposition function active. The TNC then moves the
tool by the defined maximum value of the handwheel
superimposition away from the limit switch.
When dynamic collision monitoring (DCM) is active, the
TNC might move the tool only until it detects a collision
and, from there, complete the NC program without any
error message. This can result in tool paths different from
those programmed!
Effect
M150 is effective only in straight-line blocks and the block in which it
is programmed.
M150 becomes effective at the start of block.
Effect
M200 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M201 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M202 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9999 Volt
TIME: 0 to 1999 seconds
Effect
M203 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9999 Volt
TIME: 0 to 1999 seconds
Effect
M204 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Function Description
Dynamic Collision Monitoring (DCM—software Page 359
option)
Press the SPEC FCT and the corresponding soft keys to access further
special functions of the TNC. The following tables give you an
overview of which functions are available.
The machine manufacturer can define any objects that are monitored
by the TNC during all machining operations and even in the Test Run
mode. If two objects monitored for collision come within a defined
distance of each other, the TNC outputs an error message during Test
Run and machining.
The TNC can display the defined collision objects graphically in all
machining modes and during test run (see "Graphic depiction of the
protected space (FCL-4 function)" on page 363).
The TNC also monitors the current tool with the length and radius
entered in the tool table for collision (assuming a cylindrical tool). TNC
likewise monitors the stepped tool according to the definition in the
tool table and also displays it accordingly.
Provided that you have defined a separate tool holder kinematic
description for the respective tool, including a collision body
description, and have assigned it to the tool in the KINEMATIC
column, the TNC monitors this tool holder also (see "Tool-carrier
kinematics" on page 186).
Also, you can integrate simple fixtures in the collision monitoring (see
"Fixture monitoring (DCM software option)" on page 365).
Danger of collision!
If you have deactivated the collision monitoring, the
symbol for collision monitoring flashes (see following
table).
Function Icon
Symbol that appears in the operating mode bar
when collision monitoring is not active.
Danger of collision!
The M140 (see "Retraction from the contour in the tool-
axis direction: M140" on page 348) and M150 (see
"Suppressing the limit switch message: M150" on page
352) functions might cause non-programmed movements
if the TNC detects a collision when executing these
functions!
You can also use the mouse for the graphics. The following functions
are available:
In order to rotate the wire model shown in three dimensions you
hold the right mouse button down and move the mouse. After you
release the right mouse button, the TNC orients the workpiece to
the defined orientation
In order to shift the model shown: Hold the center mouse button or
the wheel button down and move the mouse. The TNC shifts the
model in the corresponding direction. After you release the center
mouse button, the TNC shifts the model to the defined position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button to reset the zoom factor
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation
Requirements
You can switch between the various views via soft key:
Function Soft key
Switch between wire-frame and solid-object
view
Using the fixture management in the Manual operating mode, you can
place simple fixtures in the working space of the machine in order to
implement collision monitoring between the tool and the fixture.
Several work steps are required to place fixtures:
Model the fixture template
On its Web site, HEIDENHAIN provides fixture templates such as
vises or jaw chucks in a fixture template library (see "Fixture
templates" on page 366), that were created with the PC program
KinematicsDesign. The machine tool builder can model additional
fixture templates and provide you with them. The fixture templates
have the file name extension cft
Setting the fixture parameter values: FixtureWizard
With the FixtureWizard you define the exact dimensions of the
fixture by entering parameters values in the fixture template. The
FixtureWizard is available as a component of the TNC fixture
management. It generates a placeable fixture with concrete
dimensions defined by you, (see "Setting parameter values for the
fixture: FixtureWizard" on page 366). Placeable fixture templates
have the file name extension cfx
Placing the fixture on the machine
In an interactive menu the TNC guides you through the actual
measurement process. The measurement process consists
essentially of the performance of various probing functions on the
fixture and entering variable sizes, for example the jaw gap of a vise
(see "Placing the fixture on the machine" on page 368)
Checking the position of the measured fixture
After you have placed the fixture, you can have the TNC create a
measuring program as needed with which you can have the actual
position of the placed fixture compared with the nominal position. If
the deviations between the nominal and actual positions are too
large, the TNC issues an error message (see "Checking the position
of the measured fixture" on page 370)
Select the fixture: The TNC opens the menu for fixture
selection and shows in the left window all fixtures
available in the active directory. Once you selected a
fixture, the TNC displays a graphic preview in the right
window to assist you in selecting the correct fixture.
Fixtures have the file name extension CFX
In the left window, use the mouse or arrow keys to
select a fixture. In the right window the TNC shows a
preview of the respectively selected fixture
Load fixture: The TNC calculates the required
sequence of measurement and displays it in the left
window. In the right window it shows the fixture.
Measurement points are marked with a colored
datum symbol on the fixture. In addition, there is a
sequence of numbers to show you the order for
measuring the fixture
Start the measurement process: The TNC shows a
soft-key row with permitted scanning functions for
the respective measuring process
Select the required probing function: The TNC is in the
menu for manual probing. Description of the probing
functions: See "Overview" on page 526
At the end of the probing process the TNC displays
the measured values
Load the measured values: The TNC ends the
measuring process, checks it off in the measurement
sequence and places the highlight on the subsequent
task
If input of a value is required in the respective fixture,
the TNC shows a highlight at the lower end of the
screen. Enter the requested value, e.g. jaw width of a
vise, and confirm with the ACCEPT VALUE soft key
When all measuring tasks are checked off by the TNC,
complete the measuring process with the
COMPLETE soft key
Removing fixtures
Danger of collision!
If you remove a fixture, the TNC no longer monitors it,
even if it is still clamped on the machine table!
Enter the path and file name of the stored fixture and
confirm with the ENT key, or open the file selection
dialog with the SELECTION WINDOW soft key in
order to select the stored fixture. The TNC displays a
preview in the selection dialog if you highlight a
stored fixture.
Your machine tool builder must have prepared the TNC for
this function, refer to your machine manual.
Just as fixture monitoring, you can also integrate tool carriers in the
collision monitoring.
Several work steps are required to enable tool carriers for collision
monitoring:
Model the tool carrier
On its Web site, HEIDENHAIN provides tool carrier templates that
were created with a PC software (KinematicsDesign). Your machine
tool builder can model additional tool carrier templates and provide
you with them. The tool carrier templates have the extension cft
Set the tool carrier parameters: ToolHolderWizard
With the ToolHolderWizard you define the exact dimensions of the
tool carrier (holder) by entering parameter values in the tool carrier
template. Call the ToolHolderWizard from the tool table if you wish
to assign tool carrier kinematics to a tool. Tool carrier templates with
parameters have the extension cfx
Activate the tool carrier
In the tool table TOOL.T, assign the selected tool carrier to a tool in
the KINEMATIC column (see "Assigning the tool-carrier kinematics" on
page 186).
Tool-carrier templates
HEIDENHAIN provides various tool carrier templates. If you need any
of them, please contact HEIDENHAIN (e-mail address service.nc-
[email protected]) or your machine tool builder.
Danger of collision!
If you remove a tool carrier, the TNC no longer monitors it,
even if it is still in the spindle!
Delete the name of the tool carrier from the KINEMATIC column in
the tool table (TOOL.T).
Key /
Functions
Soft key
Jump to previous function
Superimposed rotation
With the superimposed rotation function you can define any rotation
of the coordinate system in the presently active working plane.
Danger of collision!
Please note that the definition of one or more limit planes
will result in positioning movements that are not defined
in the NC program, and therefore cannot be simulated!
Use the Limit Plane function only in conjunction with
straight-line blocks. The TNC does not monitor any circular
movements!
For mid-program startup at a position outside the active
traverse range, the TNC positions the tool to the position
at which it would leave the defined traverse range.
If the tool is located at a position outside the traverse
range when a cycle is called, then the cycle will not be
executed!
The TNC executes all miscellaneous functions M that are
defined outside the traverse range in the NC program.
This also applies to PLC positioning movements or
traverse commands from NC macros.
The limit plane function is also active in MDI mode.
The functions for defining the limit plane are available in the Global
Program Settings form on the Limit plane tab. Once you enabled the
Limit Plane function (On/Off checkbox) and selected a checkbox to
activate an axis range, the TNC graphically displays this plane on the
right side of the screen. The green cuboid represents your machine's
traverse range.
The TNC provides the functions described below:
Coordinate system section:
Here you specify the coordinate system on which the data entered
in the Limit values range is to be based.
Machine coordinate system:
Limit values are based on the machine coordinate system (M91
system)
Workpiece coordinate system:
Limit values are based on the workpiece coordinate system. The
workpiece coordinate system is based on the datum set on the
workpiece without consideration of a defined basic rotation and
without consideration of any active coordinate transformations.
Input coordinate system:
Limit values are based on the input coordinate system. The input
coordinate system coincides with the workpiece coordinate
system if no coordinate transformations are active. If any
coordinate transformations (basic rotation, datum shift, mirroring,
rotation, scaling, tilted working plane) are active, the input
coordinate system differs from the workpiece coordinate system
correspondingly.
Positioning logic
The TNC uses the following positioning logic to move between the
point of exit and the point of reentry:
If defined, the TNC retracts the tool by the lift-off height in the
positive machine-axis direction. If tilting of the working plane is
active, (PLANE function), the TNC retracts the tool in the active tool-
axis direction by the Lift-off height.
Then the TNC positions the tool on a straight line to the point of
reentry. If defined, the TNC moves the point of reentry by the
Approach clearance in the positive tool-axis direction.
Then the TNC moves the tool to the point of reentry and continues
running the program
Danger of collision!
Please note that with M128 (FUNCTION TCPM) active and
tilted head axes, the TNC always retracts the tool in the
machine axis Z by the Lift-off height.
In adaptive feed control the TNC automatically controls the feed rate
during program run as a function of the current spindle power
consumption. The spindle power required for each machining step is
to be recorded in a teach-in cut and saved by the TNC in a file
belonging to the part program. When each machining step is started,
which is normally when the spindle is switched on, the TNC controls
the feed rate so that it remains within the limits that you have defined.
This makes it possible to avoid negative effects on the tool, the
workpiece, and the machine that might be caused by changing cutting
conditions. Cutting conditions are changed particularly by:
Tool wear
Fluctuating cutting depths that occur especially with cast parts
Fluctuating hardness caused by material flaws
Column Function
NR Consecutive line number in the table (has no further
functions)
Adaptive Name of the control setting. You enter this name in the
Feed AFC column of the tool table. It specifies the
Control assignment of control parameters to the tool.
(AFC)
FIDL Feed rate for traverse when the tool is not cutting.
Enter the value in percent of the programmed feed
rate.
FENT 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%
Column Function
NR Number of the machining step
IDX Index of the tool with which the machining step was
performed (not editable)
You can also edit the <name>.H.AFC.DEP file in the Programming and
Editing mode of operation. If necessary, you can even delete a
machining step (entire line) there.
Column Function
NR Number of the machining step
IDX Index of the tool with which the machining step was
made
With the spindle load monitoring function you can easily have the
spindle load monitored in order, for example, to detect overloading the
spindle power.
The function is independent of AFC, i.e. it is not cut-based and does
not depend on teach-in steps. Through the functions that can be
defined by the machine tool builder, you only need to define the
percentage value for spindle limit power with respect to the rated
power.
When the defined limit spindle power range is not maintained, the
TNC conducts an NC stop.
Activating/deactivating ACC
In order to activate ACC you need to set the column ACC to 1, and enter
the number of tool teeth in the CUT. column. Other settings are not
required. If ACC is active, the TNC shows a corresponding symbol in
the position display.
In order to deactivate ACC, you need to set the column ACC to 0.
Go to beginning of file
Go to end of file
Editing texts
The first line of the text editor is an information headline displaying the
file name, and the location and writing mode of the cursor:
File: Name of the text file
Line: Line in which the cursor is presently located
Column: Column in which the cursor is presently located
INSERT: Insert new text, pushing the existing text to the
right
OVERWRITE: Write over the existing text, erasing it by replacing
it with new text
Possible applications
In cutting data tables containing various workpiece and cutting DATEI: TOOL.T MM
material combinations, the TNC can use the cutting speed VC and the T R CUT. TYP TMAT CDT
0 ... ... ... ... ...
tooth feed fZ to calculate the spindle speed S and the feed rate F. This 1 ... ... ... ... ...
2 +5 4 MILL HSS PRO1
calculation is only possible if you defined the workpiece material in the 3 ... ... ... ... ...
program and various tool-specific features in the tool table. 4 ... ... ... ... ...
Before you let the TNC automatically calculate the cutting DATEI: PRO1.CDT
NR WMAT TMAT Vc1 F1
data, the tool table from which the TNC is to take the tool- 0 ... ... ... ...
specific data must be first be activated in the Test Run 1 ... ... ... ...
2 ST65 HSS 40 0.06
mode (status S). 3 ... ... ... ...
4 ... ... ... ...
Example of TNC.SYS
WMAT=TNC:\CUTTAB\WMAT_GB.TAB
TMAT=TNC:\CUTTAB\TMAT_GB.TAB
PCDT=TNC:\CUTTAB\
When defining roughing operations, make sure that the CAM PP TNC
sum of the chord error defined in the CAM system and
the tolerance from Cycle G62 is less than the defined S
machining oversize. This ensures that no contour gouging
T
will occur.
When defining finishing operations, make sure that the
chord error defined in the CAM system is not set to
greater than 5 µm. In Cycle G62, use the appropriate
tolerance factor T of 1.3 to 5. Z
How to adapt the chord error in the CAM program, depending on the
machining:
X
Roughing with a preference to speed
Use higher values for the chord error and the appropriate
tolerance in Cycle G62. Both values depend on the oversize
required on the contour. Typical values for the tolerance in Cycle
G62 are between 0.05 mm and 0.3 mm. A typical chord error in
the CAM program is between 0.004 mm and 0.030 mm. If a
special cycle is available on your machine, use the roughing mode.
In roughing mode the machine generally moves with high jerk
values and high accelerations
Finishing with a preference to high accuracy
Use smaller values for the chord error and an appropriately small
tolerance in Cycle G62. The data density must be high enough for
the TNC to detect transitions and corners exactly. Typical values
for the tolerance in Cycle G62 are between 0.002 mm and
0.006 mm. A typical chord error in the CAM program is between
0.001 mm and 0.004 mm. If a special cycle is available on your
machine, use the finishing mode. In finishing mode the machine
generally moves with low jerk values and low accelerations
Finishing with a preference to high surface definition
Use smaller values for the chord error and an appropriately large
tolerance in Cycle G62. The TNC then smoothes the contour more
exactly. Typical values for the tolerance in Cycle G62 are between
0.010 mm and 0.020 mm. Do not define the chord error in the
CAM program to a value greater than 0.005 mm. If a special cycle
is available on your machine, use the finishing mode. In finishing
mode the machine generally moves with low jerk values and low
accelerations
M114 Define the behavior of the TNC when positioning the rotary axes Page 452
M128 Define the behavior of the TNC when positioning the rotary axes Page 454
M134 Exact stop for positioning with rotary axes Page 457
PROJECTED Two projection angles: PROPR and PROMIN and a Page 431
rotation angle ROT
VECTOR Normal vector for defining the plane and base Page 435
vector for defining the direction of the tilted X axis
Position display
As soon as any PLANE function is active, the TNC shows the calculated
spatial angle in the additional status display (see figure). As a rule, the
TNC internally always calculates with spatial angles, independent of
which PLANE function is active.
During tilting (MOVE or TURN mode) in the Distance-To-Go mode (DIST),
the TNC shows (in the rotary axis) the distance to go (or calculated
distance) to the final position of the rotary axis.
Abbreviation Meaning
SPATIAL spatial means in space
Beispiel: NC block
Abbreviations used
Abbreviation Meaning
PROJECTED Projected
ROT Rotation
Abbreviations used
Abbreviation Meaning
EULER Swiss mathematician who defined these angles
Abbreviations used
Abbreviation Meaning
VECTOR Vector
Abbreviations used
Abbreviation Meaning
POINTS Points
Input parameters
Incremental angle?: Spatial angle about which the
active machining plane is to be rotated additionally
(see figure at right). Use a soft key to select the axis
to be rotated about. Input range: –359.9999° to
+359.9999°
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 442)
Abbreviations used
Abbreviation Meaning
RELATIV Relative to
Beispiel: NC block
PLANE AXIAL can also be used if you have only one rotary
axis active on your machine.
Yo can use the PLANE RELATIV function after PLANE AXIAL
if your machine allows spatial angle definitions. The
machine manual provides further information.
If you use the PLANE AXIAL together with STAY, you have
to position the rotary axes in a separate block after the
PLANE function (see "Positioning the rotary axes in a
separate block" on page 444).
1
1
Danger of collision!
Pre-position the tool to a position where there is no danger
of collision with the workpiece (clamping devices) during
positioning.
Select any PLANE function, and define automatic positioning with the
STAY option. During program execution the TNC calculates the
position values of the rotary axes present on the machine, and
stores them in the system parameters Q120 (A axis), Q121 (B axis)
and Q122 (C axis)
Define the positioning block with the angular values calculated by
the TNC
NC example blocks: Position a machine with a rotary table C and a
tilting table A to a spatial angle of B+45°.
...
12 L Z+250 R0 FMAX Position at clearance height
13 PLANE SPATIAL SPA+0 SPB+45 SPC+0 STAY Define and activate the PLANE function
14 L A+Q120 C+Q122 F2000 Position the rotary axis with the values calculated by
the TNC
... Define machining in the tilted working plane
–90 < A < +10 A+0, C+0 not prog. A–45, C–90
Example NC blocks:
...
N12 G00 G40 Z+50 * Position at clearance height
N13 PLANE SPATIAL SPA+0 SPB-45 SPC+0 MOVE DIST50 F900 * Define and activate the PLANE function
N14 G01 G91 F1000 B-17 M128 * Set the incline angle and activate M128
... Define machining in the tilted working plane
Effect
M116 is effective in the working plane. With M117 you can reset M116.
M116 is also canceled at the end of the program.
M116 becomes effective at the start of block.
The behavior of the TNC while positioning rotary axes whose display
has been reduced to values less than 360° is dependent on bit 2 of
MP7682. This machine parameter defines whether the TNC should
always (even without M126) choose the shortest path when
traversing the difference between nominal and actual position, or only
if M126 is programmed. Examples for if the TNC should traverse the
rotary axis always along the number line:
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
Example NC blocks
To reduce display of all active rotary axes:
N50 M94 *
N50 M94 C *
To reduce display of all active rotary axes and then move the tool in
the C axis to the programmed value:
Effect
M94 is effective only in the block in which it is programmed.
M94 becomes effective at the start of block.
Effect
M114 becomes effective at the start of block, M115 at the end of
block. M114 is not effective when tool radius compensation is active.
To cancel M114, enter M115. At the end of program, M114 is
automatically canceled.
After M128 you can program another feed rate, at which the TNC will X
carry out the compensation movements in the linear axes. If you
program no feed rate here, or if you program a larger feed rate than is
defined in MP7471, the feed rate from MP7471 will be effective.
Effect
M128 becomes effective at the start of block, M129 at the end of block.
M128 is also effective in the manual operating modes and remains
active even after a change of mode. The feed rate for the
compensation movement will be effective until you program a new
feed rate or until you cancel M128 with M129.
Enter M129 to cancel M128. The TNC also cancels M128 if you select a
new program in a program run operating mode.
Example NC blocks
Feed rate of 1000 mm/min for compensation movements:
M114 and M128 may not be active at the same time, since
overlaps of the two functions would occur, which could
lead to damage of the workpiece. The TNC outputs a
corresponding error message.
Effect
M134 becomes effective at the start of block, M135 at the end of
block.
You can reset M134 with M135. The TNC also resets M134 if you
select a new program in a program run operating mode.
Effect
M138 becomes effective at the start of block.
You can reset M138 by reprogramming it without entering any axes.
Example NC blocks
Perform the above-mentioned functions only in the tilting axis C:
Effect
M144 becomes effective at the start of the block. M144 does not
function in connection with M114, M128 or a tilted working plane.
You can cancel M144 by programming M145.
Danger of collision!
On machines whose rotary axes only allow limited
traverse, sometimes automatic positioning can require
the table to be rotated by 180°. In this case, make sure
that the tool head does not collide with the workpiece or
the clamps.
You can define the tool orientation in a G01 block as described below.
460
Programming: Execution of CAM Programs, Multi-axis Machining
Programming:
Pallet Management
13.1 Pallet management
13.1 Pallet management
Application
Pallet tables are used for machining centers with pallet changers: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different reference points.
Pallet tables contain the following information:
PAL/PGM (entry obligatory):
Identification for pallet or NC program (select with ENT or NO ENT)
NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see your machine tool manual). The program name
must be stored in the same directory as the pallet table. Otherwise
you must enter the full path name for the program
PALPRES (entry optional):
Preset number from the pallet preset table. The TNC interprets the
preset number defined here as pallet datum (PAL entry in column
PAL/PGM). You can use the pallet preset to compensate mechanical
differences between the pallets. A pallet preset can also be
activated automatically when a pallet is added
PRESET (entry optional):
Preset number from the preset table. The preset number defined
here is interpreted by the TNC either as a pallet datum (PAL entry in
PAL/PGM column) or as a workpiece datum (PGM entry in PAL/PGM line).
If there is a pallet preset table active on your machine, then use the
PRESET column only for workpiece datums
DATUM (entry optional):
Name of the datum table. The datum table must be stored in the
same directory as the pallet table. Otherwise you must enter the full
path name for the datum table. Datums from the datum table can be
activated in the NC program with Cycle 7 DATUM SHIFT
Position Meaning
Actual values Enter the coordinates of the current tool position
referenced to the active coordinate system.
With the arrow keys and the ENT key, select the position that you wish
to confirm. Then press the ALL VALUES soft key so that the TNC
saves the respective coordinates of all active axes in the pallet table.
With the PRESENT VALUE soft key, the TNC saves the coordinates of
the axis on which the highlight in the pallet table is presently located.
If your machine tool builder has enabled the pallet preset table, you
can edit the pallet preset table in Manual mode:
Select the Manual Operation or El. Handwheel mode of operation
Open the preset table: Press the DATUM
MANAGEMENT soft key. The TNC opens the preset
table
Scroll through the soft-key row
Open the pallet preset table: Press the PALLET
PRESET TBL soft key. The TNC displays additional
soft keys (see table below)
The following editing functions are available:
Pallet tables are used for machining centers with pallet changers: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different reference points.
Pallet tables contain the following information:
PAL/PGM (entry obligatory):
The entry PAL identifies the pallet, FIX marks the fixture level and PGM
is used to enter the workpiece.
W-STATE :
Current machining status. The machining status is used to
determine the current stage of machining. Enter BLANK for an
unmachined (raw) workpiece. During machining, the TNC changes
this entry to INCOMPLETE, and after machining has finished, to
ENDED. The entry EMPTY is used to identify a space at which no
workpiece is to be clamped. With the SKIP entry, you specify that a
workpiece is not to be machined by the TNC
METHOD (entry obligatory):
Entry that determines the method of program optimization.
Machining is workpiece-oriented if WPO is entered. Machining of the
piece is tool-oriented if TO is entered. In order to include subsequent
workpieces in the tool-oriented machining, you must enter CTO
(continued tool oriented). Tool-oriented machining is also possible
with pallet fixtures, but not for multiple pallets
NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see your machine tool manual). Programs must be
stored in the same directory as the pallet table. Otherwise you must
enter the full path and name for the program
Position Meaning
Actual values Enter the coordinates of the current tool position
referenced to the active coordinate system.
Insert pallet
Insert fixture
Insert workpiece
Delete pallet
Delete workpiece
Tool-optimized machining
Workpiece-optimized machining
The various levels of the entry form can be reached with the
appropriate soft keys. The current level is highlighted in the status line
of the entry form. When you switch to table view with the screen
layout button, the cursor is placed in the same level as it was in the
form view.
Status: The soft key BLANK identifies the pallet and the
corresponding fixtures and workpieces as not yet having been
machined, and enters BLANK in the Status field. Use the EMPTY
POSITION or OMIT soft key if you want to skip the pallet during
machining. EMPTY or SKIP then appears in the status field.
Status: The soft key BLANK identifies the fixture and the
corresponding workpieces as not yet having been machined, and
enters BLANK in the Status field. Use the EMPTY POSITION or
OMIT soft key if you want to skip the fixture during machining. EMPTY
or SKIP then appears in the status field.
The entry TO or CTO in the Method field tells the TNC that the
oriented machining is valid beyond these lines.
The pallet management starts the NC program given in the line with
the entry TO.
The first workpiece is machined until the next tool call is pending.
Departure from the workpiece is coordinated by a special tool-
change macro.
The entry in the column W-STATUS is changed from BLANK to
INCOMPLETE, and the TNC enters a hexadecimal value in the field
CTID.
All lines in the pallet file that contain the entry CTO in the Method
field are machined in the same manner as the first workpiece.
Workpieces in several fixtures can be machined.
The TNC uses the next tool for the following machining steps again
from the line with the entry TO if one of the following situations
applies:
If the entry PAL is in the PAL/PGM field in the next line.
If the entry TO or WPO is in the Method field in the next line.
If in the lines already machined there are entries under Method
which do not have the status EMPTY or ENDED.
The NC program is continued at the stored location based on the
value entered in the CTID field. Usually the tool is changed for the
first piece, but the TNC suppresses the tool change for the following
workpieces.
The entry in the CTID field is updated after every machining step. If
an END PGM or M2 is executed in an NC program, then an existing
entry is deleted and ENDED is entered in the Machining Status field.
Switch on the power supply for TNC and machine. The TNC
automatically initiates the following dialog
MEMORY TEST
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
The TNC is now ready for operation in the Manual Operation mode.
Danger of collision!
Make sure that the angle values entered in the menu for
tilting the working plane match the actual angles of the
tilted axis.
If available, you can also traverse the axes in the direction of the
current tool axis (see "Setting the current tool-axis direction as the
active machining direction (FCL 2 function)" on page 540).
Danger of collision!
If you use this function, then for non-absolute encoders
you must confirm the positions of the rotary axes, which
the TNC displays in a pop-up window. The position
displayed is the last active position of the rotary axes
before switch-off.
If one of the two functions that were active before is active now, the
NC START button has no function. The TNC outputs a corresponding
error message.
Switch-off
To prevent data from being lost at switch-off, you need to shut down
the operating system of the TNC as follows:
Select the Manual Operation mode
Select the function for shutting down, confirm again
with the YES soft key
When the TNC displays the message Now you can
switch off the TNC in a pop-up window, you may cut
off the power supply to the TNC
You can move several axes at a time with these two methods. You can
change the feed rate at which the axes are traversed with the F soft
key, see "Spindle speed S, feed rate F and miscellaneous functions M",
page 497.
8 8
Select the desired operating mode via the OPM soft key if necessary
(see "Changing operating modes" on page 495)
Setting a datum
Press the handwheel soft key F3 (MSF)
Press the handwheel soft key F4 (PRS)
If required, select the axis in which the datum is to be set
Reset the axis with the handwheel soft key F3 (OK) or with F1 and
F2 set the desired value and then confirm with F3 (OK). By also
pressing the CTRL key, you can increase the counting increment to
10
Entering values
Spindle speed S, miscellaneous function M
SPINDLE SPEED S=
Safety functions
Danger of collision!
Approach the test positions successively in such a way
that no collision between tool and the workpiece or the
clamping devices can occur. If necessary, pre-position the
axes manually.
Press the INFO SOM soft key: The TNC opens the
window containing the overview of permitted speeds
and feed rates
Column Meaning
SLS2 Safely limited speeds in the safety-related
operating mode 2(SOM_2) for the respective
axes
You fix a preset by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
Clamp and align the workpiece
Insert the zero tool with known radius into the spindle
Ensure that the TNC is showing the actual position values
Protective measure Y
DATUM SETTING Z=
Danger of collision!
Keep in mind that moving an indexing feature on your
machine table (realized by changing the kinematics
description) may also shift datums that are not directly
connected to the indexing feature.
Danger of collision!
When activating a preset from the preset table, the TNC
resets the active datum shift.
However, a coordinate transformation that was
programmed in Cycle 19 Tilted Working Plane, or through
the PLANE function, remains active.
If you activate a datum that does not contain values in all
coordinates, the last effective datum remains active in
these axes.
The following touch probe cycles are available in the Manual Operation
mode:
After executing any selected probe cycle, the TNC displays the soft
key PRINT. If you press this soft key, the TNC will record the current
values determined in the active touch probe cycle. You can then use
the PRINT function in the menu for setting the data interface (see the
User's Manual Chapter 12, "MOD Functions, Setting the Data
Interfaces") to define whether the TNC is to
print the measuring result,
store the measuring results on the TNC’s hard disk, or
store the measuring results on a PC.
If you store the measuring results, the TNC creates the ASCII file
%TCHPRNT.A. Unless you define a specific path and interface in the
interface configuration menu, the TNC will store the %TCHPRNT file
in the main directory TNC:\.
With the ENTER IN DATUM TABLE soft key, the TNC can write the
values measured during a touch probe cycle in a datum table:
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
With the ENTER IN PRESET TABLE soft key, the TNC can write the
values measured during a probe cycle in the preset table. The
measured values are then stored referenced to the machine-based
coordinate system (REF coordinates). The preset table has the name
PRESET.PR, and is saved in the directory TNC:\.
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
During calibration, the TNC finds the "effective" length of the stylus
and the "effective" radius of the ball tip. To calibrate the touch probe,
clamp a ring gauge of known height and known internal radius to the
machine table.
Make sure that you have activated the correct tool number
before using the touch probe, regardless of whether you
wish to run the touch probe cycle in automatic mode or
manual mode.
If MP 7411=1 is set, the TNC shows the tool number and
name in the calibration menu.
If your machine has been prepared for it, the TNC can also
conduct a real, three-dimensional set-up compensation. If
necessary, contact your machine tool builder.
Setting bit 18 in MP7680 suppresses the error message
Axis angle not equal to tilt angle when a manual
probing cycle is used to measure a basic rotation or to
align the workpiece by means of the rotary axis. This way
you can determine the basic rotation at positions that
would not be accessible without tilting the head.
Overview
After the probing process, enter the preset number in which the
TNC is to save the active basic rotation in the Number in table:
input box
Press the ENTRY IN PALLET PRES. TAB. soft key to save the basic
rotation in the pallet preset table
The TNC shows an active pallet preset in the additional status display
(see "General pallet information (PAL tab)" on page 83).
Probing holes
Pre-position the touch probe approximately in the center of the hole.
After you have pressed the NC Start key, the TNC automatically
probes four points on the wall of the hole.
Move the touch probe to the next hole, repeat the probing operation
and have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Workpiece alignment:
Danger of collision!
Retract the touch probe before alignment so as to exclude
a collision with the fixtures or workpieces.
Press the POSITION ROTARY TABLE soft key. The TNC will show
a warning that the touch probe must be retracted
Start alignment with NC Start: The TNC will position the rotary table
After the probing process, enter the preset number in which the
TNC is to save the active basic rotation in the Number in table:
input box
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
For incomplete circles (circular arcs) you can choose the appropriate
probing direction. X X+
X+ X
Probing holes
Pre-position the touch probe approximately in the center of the hole.
After you have pressed the NC Start key, the TNC automatically
probes four points on the wall of the hole.
Move the touch probe to the next hole, repeat the probing operation
and have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Overview
Cycle Soft key
Basic rotation using 2 holes:
The TNC measures the angle between the line
connecting the centers of two holes and a nominal
position (angle reference axis).
The TNC supports the tilting functions on machine tools with swivel
heads and/or tilting tables. Typical applications are, for example, 10°
oblique holes or contours in an oblique plane. The working plane is
always tilted around the active datum. The program is written as usual
in a main plane, such as the X/Y plane, but is executed in a plane that X
is tilted relative to the main plane.
There are three functions available for tilting the working plane:
Manual tilting with the 3-D ROT soft key in the Manual Operation
mode and Electronic Handwheel mode, see "Activating manual
tilting", page 539
Tilting under program control, Cycle G80 in the part program (see
User’s Manual for Cycles, Cycle 19 WORKING PLANE)
Tilting under program control, PLANE function in the part program
(see "The PLANE function: Tilting the working plane (software
option 1)" on page 425)
The TNC functions for "tilting the working plane" are coordinate
transformations. The working plane is always perpendicular to the
direction of the tool axis.
Danger of collision!
Always set a reference point in all three reference axes.
If your machine tool is not equipped with axis control, you
must enter the actual position of the rotary axis in the
menu for manual tilting: The actual positions of one or
several rotary axes must match the entry. Otherwise the
TNC will calculate an incorrect datum.
To reset the tilting function, set the desired operating modes in the
menu "Tilt working plane" to inactive.
If the tilted working plane function is active and the TNC moves the
machine axes in accordance with the tilted axes, the status display
shows the symbol.
If you activate the "Tilt working plane" function for the Program Run
operating mode, the tilt angle entered in the menu becomes active in
the first block of the part program. If you use Cycle G80 or the
PLANEfunction in the part program, the angle values defined there are
in effect. Angle values entered in the menu will be overwritten.
To reset the tilting function, set the Manual Operation menu item in
the "Tilt working plane" menu to inactive.
The symbol appears in the status display when the Move in tool-
axis direction function is active.
Constraints:
FK free contour programming, programming graphics and
program run graphics cannot be used.
The $MDI file must not contain a program call (%).
X
50
50
%$MDI G71 *
N10 T1 G17 S2000 * Call the tool: tool axis Z,
spindle speed 2000 rpm
N20 G00 G40 G90 Z+200 * Retract the tool (rapid traverse)
N30 X+50 Y+50 M3 * Move the tool at rapid traverse to a position above
the hole,
spindle on
N40 G01 Z+2 F2000 * Position the tool to 2 mm above the hole
N50 G200 DRILLING * Define Cycle G200 DRILLING
Q200=2 ;SET-UP CLEARANCE Set-up clearance of the tool above the hole
Q201=-20 ;DEPTH Hole depth (algebraic sign=working direction)
Q206=250 ;FEED RATE FOR PLNGNG Feed rate for drilling
Q202=10 ;PLUNGING DEPTH Depth of each infeed before retraction
Q210=0 ;DWELL TIME AT TOP Dwell time at top for chip release (in seconds)
Q203=+0 ;SURFACE COORDINATE Workpiece surface coordinate
Q204=50 ;2ND SET-UP CLEARANCE Position after the cycle, with respect to Q203
Q211=0.5 ;DWELL TIME AT DEPTH Dwell time in seconds at the hole bottom
N60 G79 * Call Cycle G200 PECKING
N70 G00 G40 Z+200 M2 * Retract the tool
N9999999 %$MDI G71 * End of program
Use the touch probe to rotate the coordinate system. See "Touch
Probe Cycles in the Manual Operation and El. Handwheel modes of
operation," section "Compensating workpiece misalignment," in the
Touch Probe Cycles User's Manual.
Write down the rotation angle and cancel the basic rotation
Conclude entry
DESTINATION FILE =
HOLE Enter the name under which you want to save the
current contents of the $MDI file
Erasing the contents of the $MDI file is done in a similar way: Instead
of copying the contents, however, you erase them with the DELETE
soft key. The next time you select the Positioning with MDI operating
mode, the TNC will display an empty $MDI file.
546
Positioning with Manual Data Input
Test Run and
Program Run
16.1 Graphics
16.1 Graphics
Application
In the program run modes of operation as well as in the Test Run
mode, the TNC graphically simulates the machining of the workpiece.
Using soft keys, select whether you desire:
Plan view
Projection in three planes
3-D view
The TNC graphic depicts the workpiece as if it were being machined
with a cylindrical end mill. If a tool table is active, you can also simulate
the machining operation with a spherical cutter. For this purpose,
enter R2 = R in the tool table.
The TNC will not show a graphic if
the current program has no valid workpiece blank definition
no program is selected
Using the new 3-D graphics in the Test Run mode, you can
now also graphically display machining operations in the
tilted working plane as well as multi-sided machining
operations, provided that you have already simulated the
program in another view. You need at least the MC 422 B
hardware in order to use this function. In order to increase
the speed of the test graphics on older hardware versions,
bit 5 of MP7310 should be set to 1. This deactivates
functions which were implemented specifically for the 3-
D graphics.
The TNC graphics do not show a radius oversize DR that
has been programmed in the T block.
You can set the speed of the test run only if the "Display
of machining time" function is active (see "Activating the
stopwatch function" on page 557). Otherwise, the TNC
always performs the test run at the maximum possible
speed.
The most recently set speed remains active, even if the
power is interrupted, until you change it.
After you have started a program, the TNC displays the following soft
keys with which you can set the simulation speed:
You can also set the simulation speed before you start a program:
Shift the soft-key row
3-D view
Plan view
This is the fastest of the graphic display modes.
Shift the soft-key row until the soft key for the
functions for shifting the sectional plane appears
Select the functions for shifting the sectional plane.
The TNC offers the following soft keys:
You can also use the mouse with the 3-D graphics. The following
functions are available:
In order to rotate the graphic shown in three dimensions: Hold the
right mouse button down and move the mouse. The TNC displays a
coordinate system showing the currently active orientation of the
workpiece. After you release the right mouse button, the TNC
orients the workpiece to the defined orientation
In order to shift the graphic shown: Hold the center mouse button
or the wheel button down and move the mouse. The TNC shifts the
workpiece in the corresponding direction. After you release the
center mouse button, the TNC shifts the workpiece to the defined
position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button to reset the zoom factor
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation
Show the frame for the BLK FORM: Set the highlight
in the soft key to SHOW
Hide the frame for the BLK FORM: Set the highlight in
the soft key to OMIT
With the WINDOW BLK FORM soft key, you return the
displayed workpiece blank to its originally programmed
dimensions, even after isolating a detail without
TRANSFER DETAIL.
Test Run
The TNC takes the following into account for the time calculation:
Traverse movements at feed rate
Dwell times
Machine dynamics settings (accelerations, filter settings, motion
control)
The time calculated by the TNC does not include rapid-traverse
movements and times depending on the individual machine tool (e.g.
tool change).
If you have switched the "calculate machining time" function on, you
can generate a file listing the usage times of all tools used in the
program (see "Tool usage test" on page 196).
During the test run, the TNC resets the machining time as
soon as a new G30/G31 is evaluated.
Halt test run (soft key only appears once you have
started the test run)
You can interrupt the test run and continue it again at any point—even
within a fixed cycle. 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
Switching the operating mode
Selecting a new program
You can use this function to test programs whose kinematics does not
match the active machine kinematics (e.g. on machines with head
change or traverse range switchover).
If your machine manufacturer saved different kinematic configurations
in your machine, you can activate one of these kinematics
configurations with the MOD function and use it for a test run. The
active machine kinematics will remain unchanged.
Select the Test Run operating mode
Choose the program you want to test
Select MOD functions
You can use this function on machines, where you want to define the
working plane by manually setting the machine axes.
Select the Test Run operating mode
Choose the program you want to test
Select MOD functions
You can adjust the feed rate and spindle speed with the
override knobs.
It is possible to reduce the feed rate when starting the NC
program using the FMAX soft key. The reduction applies
to all rapid traverse and feed rate movements. The value
you enter is no longer in effect after the machine has been
turned off and on again. In order to re-establish the
respectively defined maximum feed rate after switch-on,
you need to re-enter the corresponding value.
Ensure that you have referenced all axes before you start
program run. Otherwise the TNC will stop machining as
soon as it gets to an NC block with an axis that has not
been referenced.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the following
entries:
G38 (with and without miscellaneous function)
Miscellaneous function M0, M2 or M30
Miscellaneous function M6 (defined by the machine tool builder)
Danger of collision!
Please note that program jumps with the GOTO function
do not reset modal functions.
If you want to restart a program after an interruption,
always select the program with the PGM MGT key.
Danger of collision!
If you interrupt program run while the working plane is
tilted, you can switch the coordinate system between
tilted and non-tilted, as well as to the active tool axis
direction, by pressing the 3-D ROT soft key.
The functions of the axis direction buttons, the electronic
handwheel and the positioning logic for returning to the
contour are then evaluated by the TNC. When retracting
the tool make sure the correct coordinate system is active
and the angular values of the tilt axes are entered in the
3D-ROT menu, if necessary.
Application example:
Retracting the spindle after tool breakage
Interrupt machining
Enable the external direction keys: Press the MANUAL TRAVERSE
soft key
If necessary, press the 3-D ROT soft key in order to activate the
coordinate system in which you want to traverse
Move the axes with the machine axis-direction keys
Note that the stored data remain active until they are reset
(e.g. if you select a new program).
The TNC uses the stored data for returning the tool to the contour after
manual machine axis positioning during an interruption (RESTORE
POSITION soft key).
If you cannot correct the error, write down the error message and
contact your service agency.
With the RESTORE POS AT N feature (block scan) you can start a part
program at any block you desire. The TNC scans the program blocks
up to that point. Machining can be graphically simulated. If you start at
a machining position within a smarT.NC point table (.HP), you can
select the start position via soft key with graphic support. When
starting at a machining position within a point table with the file
extension .PNT, the TNC does not provide graphic support. However,
you can use the point number to select any point as startup position.
If you have interrupted a part program with an INTERNAL STOP, the
TNC automatically offers the interrupted block N for mid-program
startup.
If the program was interrupted by one of the conditions listed below,
the TNC saves the point of interruption.
EMERGENCY STOP
Power interruption
Control software crash
After you have called the mid-program startup function, you can press
the soft keySELECT LAST BLOCK to reactivate the point of
interruption and approach it with an NC start. After switch-on the TNC
shows the message NC program canceled.
Danger of collision!
If you press the GOTO key and enter a block number for
going into a program, neither the TNC nor the PLC will
execute any functions that ensure a safe start.
If you use the GOTO block number key for going into a
subprogram, the TNC will skip the end of the subprogram
(G98 L0)! In such cases you must always use the mid-
program startup function.
In a Program Run operating mode, you can use the AUTOSTART soft
key (see figure at upper right) to define a specific time at which the
program that is currently active in this operating mode is to be started:
Show the window for entering the starting time (see
figure at center right)
Time (h:min:sec): Time of day at which the program
is to be started
Date (DD.MM.YYYY): Date at which the program is to
be started
To activate the start, set the AUTOSTART soft key to
ON
Call the operating mode in which you wish to change the MOD
functions.
Select the MOD functions: Press the MOD key. The
figures at right show typical screen menus in
Programming and Editing mode (figure at upper right),
Test Run mode (figure at lower right) and in a machine
operating mode (see figure on next page).
To exit the MOD functions, press the END key or END soft key
In addition, you can use the keyword version to create a file containing
all current software numbers of your control:
Enter the keyword version and confirm with the ENT key
The TNC displays all current software numbers on the screen
To terminate the version overview, press the END key
Operating
External device Symbol
mode
PC with HEIDENHAIN data transfer FE1
software TNCremoNT
File names
Data Operating mode File name
Values with D15 Program Run %FN15RUN.A
Check whether the TNC is connected to the correct serial port on your
PC or to the network.
Once you have started TNCremoNT, you will see a list of all files that
are stored in the active directory in the upper section of the main
window 1. Using the menu items <File> and <Change directory>, you
can change the active directory or select another directory on your PC.
If you want to control data transfer from the PC, establish the
connection with your PC in the following manner:
Select <File>, <Setup connection>. TNCremoNT now receives the
file and directory structure from the TNC and displays this at the
bottom left of the main window 2
To transfer a file from the TNC to the PC, select the file in the TNC
window with a mouse click and drag and drop the highlighted file
into the PC window 1
To transfer a file from the PC to the TNC, select the file in the PC
window with a mouse click and drag and drop the highlighted file
into the TNC window 2
If you want to control data transfer from the TNC, establish the
connection with your PC in the following manner:
Select <Extras>, <TNCserver>. TNCremoNT is now in server mode.
It can receive data from the TNC and send data to the TNC
You can now call the file management functions on the TNC by
pressing the PGM MGT key (see "Data transfer to or from an
external data medium" on page 144) and transfer the desired files
Exiting TNCremoNT
Select the menu items <File>, <Exit>
Connection possibilities
You can connect the Ethernet card in your TNC to your network
through the RJ45 connection (X26, 100BaseTX or 10BaseT), or directly
to a PC. The connection is metallically isolated from the control
electronics.
For a 100BaseTX or 10BaseT connection you need a Twisted Pair
cable to connect the TNC to your network.
Setting Meaning
Primary Name of the Ethernet interface to be integrated
interface in your company network. Only active if a
second, optional Ethernet interface is available
on the control hardware
Setting Meaning
Interface list List of the active Ethernet interfaces. Select one
of the listed interfaces (via mouse or arrow
keys)
Activate button:
Activate the selected interface (an X appears
in the Active column)
Deactivate button:
Deactivate the selected interface (a hyphen
(-) appears in the Active column)
Configuration button:
Open the Configuration menu
Setting Meaning
Status Interface active:
Connection status of the selected Ethernet
interface
Name:
Name of the interface you are currently
configuring
Plug connection:
Number of the plug connection of this
interface on the logic unit of the control
Apply the changes with the OK button, or discard them with the
Cancel button
Select the Internet tab:
Setting Meaning
Proxy Direct connection to Internet/NAT:
The control forwards Internet inquiries to the
default gateway and from there they must be
forwarded through network address
translation (e.g. if a direct connection to a
modem is available)
Use proxy:
Define the Address and Port of the Internet
router in your network, ask your network
administrator for the correct address and port
Setting Meaning
Ping In the Address: field, enter the IP number for
which you want to check the network
connection. Input: Four numerical values
separated by periods, e.g. 160.1.180.20. As an
alternative, you can enter the name of the
computer whose connection you want to check
Press the Start button to begin the test. The
TNC shows the status information in the Ping
field
Press the Stop button to conclude the test
Select the NFS UID/GID tab to enter the user and group
identifications:
Setting Meaning
Set UID/GID User ID:
for NFS shares Definition of which user identification the end
user uses to access files in the network. 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
Select the DHCP server tab to configure the DHCP server settings of
the machine network:
Setting Meaning
Network drive List of all connected network drives. The
TNC shows the respective status of the
network connections in the columns:
Mount:
Network drive connected / not connected
Auto:
Network drive is to be connected
automatically /manually
Type:
Type of network connection. cifs and nfs
are possible
Drive:
Designation of the drive on the TNC
ID:
Internal ID that identifies if a mount point
has been used for more than one
connection
Server:
Name of the server
Share name:
Name of the directory on the server that
the TNC is to access
User:
User name with which the user logs on to
the network
Password:
Network drive password protected / not
protected
Ask for password?:
Request / Do not request password during
connection
Options:
Display additional connection options
To manage the network drives, use the
screen buttons.
To add network drives, use the Add button:
The TNC then starts the connection wizard,
which guides you by dialog through the
required definitions.
Prerequisite:
The network card must already be installed on the PC and
ready for operation.
If the PC that you want to connect the iTNC to is already
integrated in your company network, then keep the PC’s
network address and adapt the TNC’s network address
accordingly (see "Configuring the TNC" on page 589).
Function Display 31
With the MOD function Position display 1, you can select the position
display in the status display.
With Position display 2, you can select the position display in the
additional status display.
Danger of collision!
Before starting the data carrier check, put the machine in
the EMERGENCY STOP condition. The TNC restarts the
software before performing the check!
The TNC must be reset after you change the time zone,
date or system time. In such cases the TNC displays a
warning when the window closes.
The TNC allows you to carry out TeleService. To be able to use this
feature, your TNC should be equipped with an Ethernet card which
achieves a higher data transfer rate than the serial RS232-C interface.
With the HEIDENHAIN TeleService software, your machine tool
builder can then establish a connection to the TNC via an ISDN modem
and carry out diagnostics. The following functions are available:
On-line screen transfer
Polling of machine states
Data transfer
Remote control of the TNC
Calling/exiting TeleService
Select any machine mode of operation
Press the MOD key to select the MOD function
Establish a connection to the service agency: Set the
SERVICE or SUPPORT soft key to ON. The TNC
breaks the connection automatically if no new data
have been transferred for a time set by the machine
tool builder (default: 15 min)
To break the connection to the service agency: Set the
SERVICE or SUPPORT soft key to OFF. The TNC
terminates the connection after approx. one minute
The soft key SERVICE can be used to grant or restrict access through
the LSV-2 interface.
With an entry in the configuration file TNC.SYS you can protect a
directory and its subdirectories with a password. The password is
requested when data from this directory is accessed from the LSV-2
interface. Enter the path and password for external access in the
configuration file TNC.SYS.
With the HOST COMPUTER OPERATION soft key you transfer the
command to an external host computer in order to transfer data to the
control, for example.
Note that your machine tool builder can specify that you
may not terminate host computer operation manually;
refer to the relevant machine tool manual.
Note that your machine tool builder can specify that the
host computer operation can also be automatically
activated externally; refer to the relevant machine tool
manual.
Statistics
Under Statistics, the TNC displays information about the
transmission quality.
If the reception quality is poor so that a proper and safe stop of the
axes cannot be ensured anymore, an emergency-stop reaction of the
wireless handwheel is triggered.
The displayed value Max. successive lost indicates whether
reception quality is poor. If the TNC repeatedly displays values greater
than 2 during normal operation of the wireless handwheel within the
desired range of use, then there is a risk of an undesired
disconnection. This can be corrected by increasing the transmitter
power or by changing to another channel with less radio traffic.
If this occurs, try to improve the transmission quality by selecting
another channel (see "Setting the transmission channel" on page 618)
or by increasing the transmitter power (see "Selecting the transmitter
power" on page 619).
To display the statistical data, proceed as follows:
Press the MOD key to select the MOD function
Scroll through the soft-key row
To select the configuration menu for the wireless
handwheel, press the SET UP WIRELESS
HANDWHEEL soft key: The TNC displays the
configuration menu with the statistical data
620
MOD Functions
Tables and Overviews
18.1 General user parameters
18.1 General user parameters
General user parameters are machine parameters affecting TNC
settings that the user may want to change in accordance with his
requirements.
Some examples of user parameters are:
Dialog language
Interface behavior
Traversing speeds
Sequence of machining
Effect of overrides
Example:
Instead of the decimal number 27 you can also enter the binary
number %11011 or the hexadecimal number $1B.
The individual machine parameters can be entered in the different
number systems.
Some machine parameters have more than one function. The input
value for these machine parameters is the sum of the individual
values. For these machine parameters the individual values are
preceded by a plus sign.
Touch probes
Selecting signal transmission MP6010
Touch probe with cable transmission: 0
Touch probe with infrared transmission: 1
Automatic calibration cycle: Center of the MP6180.0 (traverse range 1) to MP6180.2 (traverse range 3)
calibration ring in the X axis referenced to 0 to 99 999.9999 [mm]
the machine datum
Automatic calibration cycle: Center of the MP6181.x (traverse range 1) to MP6181.2 (traverse range 3)
calibration ring in the Y axis referenced to 0 to 99 999.9999 [mm]
the machine datum
Automatic calibration cycle: Upper edge of MP6182.x (traverse range 1) to MP6182.2 (traverse range 3)
the calibration ring in the Z axis referenced 0 to 99 999.9999 [mm]
to the machine datum
Automatic calibration cycle: Distance below MP6185.x (traverse range 1) to MP6185.2 (traverse range 3)
the upper edge of the ring where the 0.1 to 99 999.9999 [mm]
calibration is carried out by the TNC
Radius measurement with the TT 130: MP6530.0 (traverse range 1) to MP6530.2 (traverse range 3)
Distance from lower edge of tool to upper 0.001 to 99.9999 [mm]
edge of stylus
Acknowledgment of MP7212
POWER INTERRUPTED Acknowledge with key: 0
after switch-on Acknowledge automatically: 1
SL cycles MP7420
The following applies to Cycles 21, 22, 23, 24:
Mill channel around the contour—clockwise for islands and
counterclockwise for pockets: Bit 0 = 0
Mill channel around the contour—clockwise for pockets and
counterclockwise for islands: Bit 0 = 1
First mill the channel, then rough out the contour: Bit 1 = 0
Rough out the contour, then mill the channel: Bit 1 = 1
Combine compensated contours: Bit 2 = 0
Combine uncompensated contours: Bit 2 = 1
Rough out to each pocket depth: Bit 3 = 0
Mill pocket and rough-out for each infeed depth before continuing to the
next depth: Bit 3 = 1
The following applies to Cycles 6, 15, 16, 21, 22, 23, and 24:
At the end of the cycle, move the tool to the position that was last
programmed before the cycle call: Bit 4 = 0
At the end of the cycle, retract the tool in the spindle axis only: Bit 4 = 1
Adapter block
TNC Conn. cable 365725-xx Connecting cable 274545-xx
310085-01
Male Assignment Female Color Female Male Female Male Color Female
1 Do not use 1 1 1 1 1 White/Brown 1
2 RXD 2 Yellow 3 3 3 3 Yellow 2
3 TXD 3 Green 2 2 2 2 Green 3
4 DTR 4 Brown 20 20 20 20 Brown 8
5 Signal GND 5 Red 7 7 7 7 Red 7
6 DSR 6 Blue 6 6 6 6 6
7 RTS 7 Gray 4 4 4 4 Gray 5
8 CTS 8 Pink 5 5 5 5 Pink 4
9 Do not use 9 8 Violet 20
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg. Hsg. External shield Hsg.
Adapter block
TNC Connecting cable 355484-xx Connecting cable 366964-xx
363987-02
Male Assignment Female Color Male Female Male Female Color Female
1 Do not use 1 Red 1 1 1 1 Red 1
2 RXD 2 Yellow 2 2 2 2 Yellow 3
3 TXD 3 White 3 3 3 3 White 2
4 DTR 4 Brown 4 4 4 4 Brown 6
5 Signal GND 5 Black 5 5 5 5 Black 5
6 DSR 6 Violet 6 6 6 6 Violet 4
7 RTS 7 Gray 7 7 7 7 Gray 8
8 CTS 8 White/Green 8 8 8 8 White/Green 7
9 Do not use 9 Green 9 9 9 9 Green 9
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg. Hsg. External shield Hsg.
Non-HEIDENHAIN devices
The connector layout of a non-HEIDENHAIN device may substantially
differ from that of a HEIDENHAIN device.
It depends on the unit and the type of data transfer. The table below
shows the connector pin layout on the adapter block.
Adapter block
TNC Connecting cable 355484-xx
363987-01
Female Assignment Male Color Female Male Female
1 RTS 1 Red 1 1 1
2 DTR 2 Yellow 2 2 2
3 RXD 3 White 3 3 3
4 TXD 4 Brown 4 4 4
5 Signal GND 5 Black 5 5 5
6 CTS 6 Violet 6 6 6
7 DSR 7 Gray 7 7 7
8 RXD 8 White/Green 8 8 8
9 TXD 9 Green 9 9 9
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg.
4 Vacant
5 Vacant
7 Vacant
8 Vacant
User functions
Short description Basic version: 3 axes plus spindle
16 additional axes or 15 additional axes plus 2nd Spindle
Digital current and shaft speed control
Program entry HEIDENHAIN conversational format, with smarT.NC and as per ISO
Position data Nominal positions for lines and arcs in Cartesian coordinates or polar coordinates
Incremental or absolute dimensions
Display and entry in mm or inches
Display of the handwheel path during machining with handwheel superimpositioning
Tool compensation Tool radius in the working plane and tool length
Radius compensated contour look ahead for up to 99 blocks (M120)
Three-dimensional tool-radius compensation for subsequent changing of tool data
without having to recalculate the program
Cutting-data tables Cutting data tables for automatic calculation of spindle speeds and feed rates from tool-
specific data ?(cutting speed, feed per tooth)
Constant contour speed With respect to the path of the tool center
With respect to the cutting edge
Parallel operation Creating a program with graphical support while another program is being run
3-D machining (software 3-D tool compensation through surface normal vectors
option 2) Using the electronic handwheel to change the angle of the swivel head during program
run without affecting the position of the tool point (TCPM = Tool Center Point
Management)
Keeping the tool normal to the contour
Tool radius compensation normal to the direction of traverse and the tool direction
Spline interpolation
FK free contour programming FK free contour programming in HEIDENHAIN conversational format with graphic
support for workpiece drawings not dimensioned for NC
Fixed cycles Drilling cycles for drilling, pecking, reaming, boring, tapping with a floating tap holder,
rigid tapping
Cycles for milling internal and external threads
Milling and finishing rectangular and circular pockets
Cycles for clearing level and inclined surfaces
Cycles for milling linear and circular slots
Cartesian and polar point patterns
Contour pockets—also with contour-parallel machining
Contour train
OEM cycles (special cycles developed by the machine tool builder) can also be
integrated
Program verification graphics Graphic simulation before program run, even while another program is being run
Display modes
Plan view / projection in 3 planes / 3-D view
Magnification of details
Programming graphics In the Programming and Editing mode, the contours of the NC blocks are drawn on
screen while they are being entered (2-D pencil-trace graphics), even while another
program is running
Program Run graphics Graphic simulation of real-time machining in plan view / projection in 3 planes / 3-D
Display modes view
Machining time Calculating the machining time in the Test Run mode of operation
Display of the current machining time in the Program Run modes
Contour, returning to Mid-program startup in any block in the program, returning the tool to the calculated
nominal position to continue machining
Program interruption, contour departure and return
Pallet tables Pallet tables (with as many entries as desired for the selection of pallets, NC programs
and datums) can be machined workpiece by workpiece or tool by tool
Specifications
Components Main computer: MC 74xx or MC 75xx, MC 6441, MC 65xx or MC 66xx
Controller unit: CC 6106, 6108 or 6110
Remote keypad
15.1-inch or 19-inch TFT color flat-panel display with soft keys
IPC 6341 Industrial PC with Windows 7 (option)
Axis feedback control Position loop resolution: Signal period of the position encoder/1024
Cycle time of position controller: 1.8 ms
Speed controller cycle time: 600 µs
Cycle time of current controller: minimum 100 µs
Error compensation Linear and nonlinear axis error, backlash, reversal peaks during circular movements,
thermal expansion
Static friction
Data interfaces One each RS-232-C /V.24 and RS-422 / V.11 max. 115 kilobaud
Expanded interface with LSV-2 protocol for external operation of the TNC over the
interface with HEIDENHAIN software TNCremo
Ethernet interface 100BaseT
Approx. 2 to 5 megabaud (depending on file type and network load)
USB 2.0 interface
For pointing (mouse) devices and block devices (memory sticks, hard disks, CD-ROM
drives)
Software option 2
3-D machining 3-D tool compensation through surface normal vectors
Using the electronic handwheel to change the angle of the swivel head during program
run without affecting the position of the tool point (TCPM = Tool Center Point
Management)
Keeping the tool normal to the contour
Tool radius compensation normal to the direction of traverse and the tool direction
Spline interpolation
Circle radii –99 999.9999 to +99 999.9999 if values are entered directly, radii up to
210 m possible via Q parameter programming
(5.4: places before and after the decimal point) [mm]
Tool names 32 characters, enclosed by quotation marks with TOOL CALL. Permitted
special characters: #, $, %, &, -
Angle for polar coordinates, rotation, tilting –360.0000 to 360.0000 (3, 4) [°]
the working plane
Polar coordinate angle for helical –99 999.9999 to +99 999.9999 (5.4) [°]
interpolation (CP)
Q parameter values –999 999 999 to +999 999 999 (9 digits, floating point)
Labels (LBL) for program jumps Any text string in quotes (“”)
8 Mirroring
9 Dwell time
10 Rotation
11 Scaling factor
12 Program call
14 Contour definition
20 Contour data SL II
21 Pilot drilling SL II
22 Rough out SL II
23 Floor finishing SL II
24 Side finishing SL II
25 Contour train
26 Axis-specific scaling
27 Cylinder surface
32 Tolerance
200 Drilling
201 Reaming
202 Boring
240 Centering
654
Miscellaneous functions
M Effect Effective at block Start End Page
M0 Program run STOP/Spindle STOP if necessary/Coolant OFF if necessary Page 333
M6 Tool change/Stop program run (depending on machine parameter)/Spindle STOP Page 333
M90 Only in following error mode: Constant contouring speed at corners Page 337
M91 Within the positioning block: Coordinates are referenced to machine datum Page 334
M92 Within the positioning block: Coordinates are referenced to position defined by Page 334
machine tool builder, such as tool change position
M94 Reduce the rotary axis display to a value below 360° Page 451
M101 Automatic tool change with replacement tool if maximum tool life has expired Page 194
M102 Reset M101
M103 Reduce feed rate during plunging to factor F (percentage) Page 342
M107 Suppress error message for replacement tools with oversize Page 194
M108 Reset M107
M114 Automatic compensation of machine geometry when working with tilted axes Page 452
M115 Reset M114
M124 Do not include points when executing non-compensated line blocks Page 338
M128 Retain position of tool tip when positioning tilting axes (TCPM) Page 454
M129 Reset M128
M130 Moving to position in an untilted coordinate system with a tilted working plane Page 336
M134 Exact stop at nontangential contour transitions when positioning with rotary axes Page 457
M135 Reset M134
M140 Retraction from the contour in the tool-axis direction Page 348
M144 Compensate the machine's kinematics configuration for ACTUAL/NOMINAL positions Page 458
at end of block
M145 Reset M144
M148 Retract the tool automatically from the contour at NC stop Page 351
M149 Reset M148
M150 Suppress limit switch message (function effective blockwise) Page 352
656
Index
SYMBOLE C E
3-D compensation Calculating with parentheses ... 303 Ellipse ... 324
Peripheral milling ... 459 Calculator ... 153 Enter the spindle speed ... 191
3-D touch probes Chamfer ... 224 Error list ... 160
calibrating Chatter control ... 405 Error messages ... 159, 160
touch trigger probe ... 517 Circle center ... 226 Help ... 159
Managing more than one block of Circular path ... 227, 228, 230, 237, 238 Ethernet interface
calibration data ... 519 Code numbers ... 583 Configuring ... 589
3-D view ... 552 Collision monitoring ... 359 Connection possibilities ... 589
Comments, adding ... 150 Introduction ... 589
A Compensating workpiece misalignment Network drives, connecting and
ACC ... 405 By measuring two points of a disconnecting ... 146
Accessories ... 92 line ... 520 Excel files, opening ... 140
Actual position capture ... 106 From two holes ... 521, 530 Exchange buffer battery ... 652
Adaptive Feed Control ... 393 Over two studs ... 524, 530 External access ... 614
Adaptive Feed Control (AFC) ... 393 Constant contouring speed M90 ... 337 External data transfer
Additional axes ... 97 Context-sensitive help ... 164 iTNC 530 ... 144
Animation, PLANE function ... 427 Contour approach ... 218
Archive files ... 137, 138 Contour, returning to ... 575 F
ASCII files ... 406 Contour, selecting from DXF ... 250 FCL ... 582
Automatic cutting data Conversational Programming ... 105 FCL function ... 9
calculation ... 182, 411 Copying program sections ... 111 Feature Content Level ... 9
Automatic program start ... 576 Corner rounding ... 225 Feed control, automatic ... 393
Automatic tool measurement ... 180 Cutting data calculation ... 411 Feed rate ... 497
Axis positions, checking the ... ... 501 Cutting-data table ... 411 Changing ... 498
Cylinder ... 326 for rotary axes, M116 ... 449
B Feed rate factor for plunging
Basic rotation D movements M103 ... 342
Measuring in the Manual Operation Data backup ... 116 Feed rate in millimeters per spindle
mode ... 522, 524, 525 Data carrier, checking ... 611 revolution M136 ... 343
Baud rate, setting the ... 585 Data interface File
Block assigning ... 586 Creating ... 125
Deleting ... 108 Pin layouts ... 639
Inserting, editing ... 108 setting ... 585
Blocks Data transfer rate ... 585
BMP files, opening ... 143 Data transfer software ... 587
Datum table
Confirming probed values ... 515
Datum, setting the ... ... 100
DCM ... 359
Depart the contour ... 218
Dependent files ... 598
Dialog ... 105
Directory ... 117, 125
Copying ... 129
Creating ... 125
Deleting ... 130
DXF data, processing ... 244
Dynamic collision monitoring ... 359
Test Run ... 364
tool carriers ... 186
658
Index
N P P
NC error messages ... 159, 160 Path functions Principal axes ... 97
Nesting ... 272 Fundamentals ... 214 Probed values, writing to datum
Network connection ... 146 Circles and circular arcs ... 216 tables ... 515
Network settings ... 589 Pre-positioning ... 217 Probed values, writing to preset
Nonvolatile Q parameters, PDF viewer ... 139 table ... 516
defining ... 287 Pin layouts for data interfaces ... 639 Probing cycles
Normal vector ... 435 Plan view ... 550 See "Touch Probe Cycles" User's
PLANE function ... 425 Manual
O Animation ... 427 Processing DXF data
Open contour corners M98 ... 341 Automatic positioning ... 442 Basic settings ... 246
Operating modes ... 76 Axis angle definition ... 440 Filter for hole positions ... 258
Operating panel ... 75 Euler angle definition ... 433 Selecting a contour ... 250
Operating times ... 610 Inclined milling ... 448 Selecting hole positions
Option number ... 582 Incremental definition ... 439 Diameter entry ... 256
Point definition ... 437 Mouseover ... 255
P Positioning behavior ... 442 Single selection ... 254
Pallet datum ... 465 Projection angle definition ... 431 Selecting machining
Pallet preset ... 465 Resetting ... 428 positions ... 253
Pallet table Selection of possible Setting layers ... 247
Application ... 462, 468 solutions ... 445 Setting the datum ... 248
Entering coordinates ... 463, 469 Spatial angle definition ... 429 Program
Executing ... 467, 479 Vector definition ... 435 editing ... 107
Selecting and exiting ... 464, 473 PNG files, opening ... 143 Open new ... 103
Parametric programming Pocket table ... 188 Setup ... 101
Polar coordinates structuring ... 152
See Q parameter programming Fundamentals ... 98 Program call
Part families ... 288 Programing ... 235 Any desired program as
Path ... 117 Positioning subprogram ... 270
Path Contours with a tilted working plane ... 336, Program defaults ... 357
Polar coordinates 458 Program jumps with GOTO ... 567
Path contours with Manual Data Input ... 542 Program management
Cartesian coordinates Positions, selecting from DXF ... 253 see File management
Circular path around circle center Preset table ... 506 Program name
CC ... 227 Confirming probed values ... 516 see File management, File name
Circular path with defined For pallets ... 465 Program Run
radius ... 228 Presets, managing ... 506 Block skip ... 577
Circular path with tangential Presetting ... 504 Executing ... 566
connection ... 230 without 3-D touch probe ... 504 Global program settings ... 378
overview ... 222 Presetting, manually Interrupting ... 567
Straight line ... 223 Center line as preset ... 529 Mid-program startup ... 571
Polar coordinates Circle center as preset ... 528 Overview ... 565
Circular path around circle center Corner as preset ... 527 Resuming after an
CC ... 237 In any axis ... 526 interruption ... 570
Circular path with tangential using holes/circular studs ... 530 Program run
connection ... 238 Program section repeats ... 269
Overview ... 235 Program sections, copying ... 111
Straight line ... 236 Projection in three planes ... 551
660
Index
V
Version numbers ... 583
View CAD data ... 262
Virtual axis VT ... 388
Virus protection ... 91
Visual display unit ... 73
W
Wireless handwheel ... 490
Configuring ... 617
Handwheel holder, assigning ... 617
Statistical data ... 619
Transmission channel,
setting ... 618
Transmitter power,
selecting... ... 619
WMAT.TAB ... 412
Working plane, tilting
Manually ... 535
Working space, monitoring ... 600
Workpiece blank definition ... 103
Workpiece material, defining ... 412
Workpiece measurement ... 531
Workpiece positions
Absolute ... 99
Incremental ... 99
Workspace monitoring ... 561
Z
ZIP archive ... 141
ZIP files ... 137, 138
M functions M functions
M00 Program STOP/Spindle STOP/Coolant OFF M109 Constant contouring speed at tool cutting edge
M01 Optional program STOP (increase and decrease feed rate)
M02 STOP program run/Spindle STOP/Coolant M110 Constant contouring speed at tool cutting edge
OFF/CLEAR status display (depending on machine (feed rate decrease only)
parameter)/Go to block 1 M111 Reset M109/M110
M06 Tool change/STOP program run (depending on M116 Feed rate for rotary axes in mm/min
machine parameter)/Spindle STOP M117 Reset M116
M30 Same function as M02 M124 Do not include points when executing non-
compensated line blocks
M89 Vacant miscellaneous function or
cycle call, modally effective (depending on machine M126 Shortest-path traverse of rotary axes
parameter) M127 Reset M126
M90 Only in following error mode: Constant contouring M128 Retain position of tool tip when positioning tilting
speed at corners axes (TCPM)
M129 Reset M128
M99 Blockwise cycle call
M130 Within the positioning block: Points are referenced
M91 Within the positioning block: Coordinates are to the untilted coordinate system
referenced to machine datum
M92 Within the positioning block: Coordinates are M134 Exact stop at nontangential contour transitions
referenced to position defined by machine tool when positioning with rotary axes
builder, such as tool change position M135 Reset M134
M94 Reduce the rotary axis display to a value below 360° M136 Feed rate F in millimeters per spindle revolution
M137 Cancel M136
M97 Machine small contour steps
M98 Machine open contours completely M138 Selection of tilted axes
M101 Automatic tool change with replacement tool if M142 Delete modal program information
maximum tool life has expired
M102 Reset M101 M143 Delete basic rotation
M103 Reduce feed rate during plunging to factor F M144 Compensate the machine's kinematics
(percentage) configuration for ACTUAL/NOMINAL positions at
end of block
M104 Reactivate most recently set datum M145 Reset M144
M105 Machining with second kv factor M150 Suppress limit switch message
M106 Machining with first kv factor
* End of block
Coordinate transformation
Coordinate
Activate Cancel
transformation
Datum G54 X+20 G54 X0 Y0 Z0
shift Y+30 Z+10
Q-parameter definitions
D Function
00 Assignment
01 Addition
02 Subtraction
03 Multiplication
04 Division
05 Root
06 Sine
07 Cosine
08 Root sum of squares c = √ a2+b2
09 If equal, go to label number
10 If not equal, go to label number
11 If greater than, go to label number
12 If less than, go to label number
13 Angle from c sin a and c cos a
14 Error number
15 Print
19 Assignment PLC
DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 5
83301 Traunreut, Germany
{ +49 8669 31-0
| +49 8669 32-5061
E-mail: [email protected]
Technical support | +49 8669 32-1000
Measuring systems { +49 8669 31-3104
E-mail: [email protected]
TNC support { +49 8669 31-3101
E-mail: [email protected]
NC programming { +49 8669 31-3103
E-mail: [email protected]
PLC programming { +49 8669 31-3102
E-mail: [email protected]
Lathe controls { +49 8669 31-3105
E-mail: [email protected]
www.heidenhain.de
• Workpiece alignment
• Setting datums
• Workpiece measurement
• Tool measurement
• Wear monitoring
• Tool breakage detection