ITNC530 en 340 49x-05 - IsO Programming
ITNC530 en 340 49x-05 - IsO Programming
ISO
Programming
iTNC 530
NC Software
340 490-05
340 491-05
340 492-05
340 493-05
340 494-05
English (en)
12/2008
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
Split screen layout
Define program call, select datum and
point tables
Toggle 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 pocket calculator
Key Function
File names, comments
Navigation keys
DIN/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 repeats
Test Run
Program stop in a program
Tool functions Coordinate axes and numbers: Entering and editing
Key Function Key Function
Define tool data in the program Select coordinate axes or
... enter them into the program
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
version of the TNC has the following limitations:
Simultaneous linear movement in up to 4 axes
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
Block processing time 0.5 ms instead of 3.6 ms
5-axis interpolation
Spline interpolation
3-D machining:
M114: Automatic compensation of machine geometry when
working with swivel 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 swivel axes (TCPM) in selectable modes
M144: Compensating the machine’s kinematics 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 (FCL)
upgrade functions. Functions subject to the FCL are not available
simply by updating the software on your TNC.
Touch probe cycles for automatic datum User’s Manual for Cycles
setting using the center of a slot/ridge
Legal information
This product uses open source software. Further information is
available on the control under
U Programming and Editing operating mode
U MOD function
U LEGAL INFORMATION soft key
10
New functions in 340 49x-01 since the predecessor versions
340 422-xx/340 423-xx
New functions in 340 49x-01 since
the predecessor versions
340 422-xx/340 423-xx
A new form-based operating mode, smarT.NC, has been
introduced. These cycles are described in a separate user's
document. In connection with this the TNC operating panel was
enhanced. There are some new keys available for quicker navigation
within smarT.NC
The single-processor version supports pointing devices (mice) via
the USB interface.
The tooth feed fz and feed per revolution fu can now be defined as
alternate feed entries.
New cycle CENTERING (see User’s Manual for Cycles)
New M function M150 for suppressing limit switch messages (see
“Suppress limit switch message: M150” on page 318)
M128 is now also permitted for mid-program startup (see “Mid-
program startup (block scan)” on page 506)
The number of available Q parameters was expanded to 2000 (see
“Principle and Overview” on page 250).
The number of available label numbers was expanded to 1000. Now
label names can be assigned as well (see “Labeling Subprograms
and Program Section Repeats” on page 234).
In the Q parameter functions FN9 to FN12 you can now also assign
label names as jump targets (see “If-Then Decisions with
Q Parameters” on page 259).
Selectively machine points from a point table (see User's Manual for
Cycles)
The current time is also shown in the additional status display
window (see “General program information (PGM tab)” on page
79).
Several columns were added to the tool table (see “Tool table:
Standard tool data” on page 158).
The Test Run can now also be stopped and resumed within
machining cycles (see “Running a program test” on page 497).
12
New functions with 340 49x-03
New functions with 340 49x-03
The Adaptive Feed Control function (AFC) was introduced (see
“Adaptive Feed Control Software Option (AFC)” on page 351)
The global parameter settings function makes it possible to set
various transformations and settings in the program run modes (see
“Global Program Settings (Software Option)” on page 340).
The TNC now features a context-sensitive help system, the
TNCguide (see “The Context-Sensitive Help System TNCguide
(FCL3 Function)” on page 146).
Now you can extract point files from DXF files(see “Selecting and
storing machining positions” on page 226).
Now, in the DXF converter, you can divide or lengthen laterally
joined contour elements (see “Dividing, extending and shortening
contour elements” on page 225).
In the PLANE function the working plane can now also be defined
directly by its axis angle (see “Tilting the working plane through axis
angle: PLANE AXIAL (FCL 3 function)” on page 390).
In Cycle 22 ROUGH-OUT, you can define a feed-rate reduction if the
tool is cutting on its entire circumference (FCL3 function, see User's
Manual for Cycles)
In Cycle 208 BORE MILLING, you can now choose between climb or
up-cut milling (see User's Manual for Cycles)
String processing has been introduced in Q parameter programming
(see “String Parameters” on page 272)
A screen saver can be activated through machine parameter 7392
(see “General User Parameters” on page 554)
The TNC now also supports a network connection over the NFS V3
protocol (see “Ethernet Interface” on page 525)
The maximum manageable number of tools in a pocket table was
increased to 9999 (see “Pocket table for tool changer” on page 166)
Parallel programming is possible with smarT.NC (see “Select
smarT.NC programs” on page 113)
The system time can now be set through the MOD function (see
“Setting the System Time” on page 549)
14
The maximum path permitted for LIFTOFF was increased to 30 mm
16
Touch probe cycle 404 (SET BASIC ROTATION) was expanded by
18
Functions changed in 340 49x-02
Functions changed in 340 49x-02
Access to the preset table was simplified. There are also new
possibilities for entering values in the preset table. See table
“Manually saving the datums in the preset table”
In inch-programs, the function M136 (feed rate in 0.1 inch/rev) can
no longer be combined with the FU function
The feed-rate potentiometers of the HR 420 are no longer switched
over automatically when the handwheel is selected. The selection is
made via soft key on the handwheel. In addition, the pop-up window
for the active handwheel was made smaller, in order to improve the
view of the display beneath it (see “Potentiometer settings” on
page 437)
The maximum number of contour elements for SL cycles was
increased to 8192, so that much more complex contours can be
machined (see User's Manual for Cycles)
FN16: F-PRINT: The maximum number of Q-parameter values that
can be output per line in the format description file was increased to
32
The soft keys START and START SINGLE BLOCK in the Program
Test mode of operation were switched, so that the soft-key
alignment is the same in all modes of operation (Programming and
Editing, smarT.NC, Test) (see “Running a program test” on page
497)
The design of the soft keys was revised completely
20
Changed functions with 340 49x-04
Changed functions with 340 49x-04
DCM: Retraction after collision simplified (see “Collision monitoring
in the manual operating modes,” page 327)
The input range for polar angles was increased (see “Circular path
G12/G13/G15 around pole I, J” on page 208)
The value range for Q-parameter assignment was increased (see
“Programming notes,” page 252)
The pocket-, stud- and slot-milling cycles 210 to 214 were removed
from the standard soft-key row (CYCL DEF >
POCKETS/STUDS/SLOTS). For reasons of compatibility, the cycles
will still be available, and can be selected via the GOTO key
The soft-key rows in the Test Run operating mode were modified to
those of the smarT.NC operating mode
Windows XP is now used on the dual-processor version (see
“Introduction” on page 582)
Filtering of contours was moved to the special functions (SPEC FCT)
Loading of values from the pocket calculator was changed (see “To
transfer the calculated value into the program” on page 135)
22
Table of 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: Miscellaneous Functions
7
Programming: Data Transfer from DXF
Files 8
Programming: Subprograms and
Program Section Repeats 9
Programming: Q Parameters
10
Programming: Miscellaneous Functions
11
Programming: Special Functions
12
Programming: Multi-axis Machining
13
Programming: Pallet Management
14
Positioning with Manual Data Input
15
Test Run and Program Run
16
MOD Functions
17
Tables and Overviews
18
iTNC 530 with Windows XP (option)
19
26
3 Programming: Fundamentals, File Management ..... 89
3.1 Fundamentals ..... 90
Position encoders and reference marks ..... 90
Reference system ..... 90
Reference system on milling machines ..... 91
Polar coordinates ..... 92
Absolute and incremental workpiece positions ..... 93
Setting the datum ..... 94
3.2 Creating and Writing Programs ..... 95
Organization of an NC program in DIN/ISO ..... 95
Define the blank: G30/G31 ..... 95
Creating a new part program ..... 96
Programming tool movements in DIN/ISO ..... 98
Actual position capture ..... 99
Editing a program ..... 100
The TNC search function ..... 104
3.3 File Management: Fundamentals ..... 106
Files ..... 106
Data backup ..... 107
3.4 Working with the File Manager ..... 108
Directories ..... 108
Paths ..... 108
Overview: Functions of the file manager ..... 109
Calling the file manager ..... 110
Selecting drives, directories and files ..... 111
Creating a new directory (only possible on the drive TNC:\) ..... 114
Creating a new file (only possible on the drive TNC:\) ..... 114
Copying a single file ..... 115
Copying files into another directory ..... 116
Copying a table ..... 117
Copying a directory ..... 118
Choosing one of the last files selected ..... 118
Deleting a file ..... 119
Deleting a directory ..... 119
Tagging files ..... 120
Renaming a file ..... 122
Additional functions ..... 123
Working with shortcuts ..... 125
Data transfer to or from an external data medium ..... 126
The TNC in a network ..... 128
USB devices on the TNC (FCL 2 function) ..... 129
28
5 Programming: Tools ..... 153
5.1 Entering Tool-Related Data ..... 154
Feed rate F ..... 154
Spindle speed S ..... 155
5.2 Tool Data ..... 156
Requirements for tool compensation ..... 156
Tool numbers and tool names ..... 156
Tool length L ..... 156
Tool radius R ..... 156
Delta values for lengths and radii ..... 157
Entering tool data into the program ..... 157
Entering tool data in the table ..... 158
Tool-carrier kinematics ..... 164
Using an external PC to overwrite individual tool data ..... 165
Pocket table for tool changer ..... 166
Calling tool data ..... 169
Tool change ..... 171
Tool usage test ..... 173
Tool management ..... 175
5.3 Tool Compensation ..... 177
Introduction ..... 177
Tool length compensation ..... 177
Tool radius compensation ..... 178
30
7 Programming: Data Transfer from DXF Files ..... 215
7.1 Processing DXF Files (Software Option) ..... 216
Function ..... 216
Opening a DXF file ..... 217
Basic settings ..... 218
Layer settings ..... 220
Specifying the reference point ..... 221
Selecting and saving a contour ..... 223
Selecting and storing machining positions ..... 226
Zoom function ..... 232
32
9 Programming: Q Parameters ..... 249
9.1 Principle and Overview ..... 250
Programming notes ..... 252
Calling Q-parameter functions ..... 253
9.2 Part Families—Q Parameters in Place of Numerical Values ..... 254
Function ..... 254
9.3 Describing Contours through Mathematical Operations ..... 255
Function ..... 255
Overview ..... 255
Programming fundamental operations ..... 256
9.4 Trigonometric Functions ..... 257
Definitions ..... 257
Programming trigonometric functions ..... 258
9.5 If-Then Decisions with Q Parameters ..... 259
Function ..... 259
Unconditional jumps ..... 259
Programming If-Then decisions ..... 259
9.6 Checking and Changing Q Parameters ..... 260
Procedure ..... 260
9.7 Additional Functions ..... 261
Overview ..... 261
D14: ERROR: Displaying error messages ..... 262
D15 PRINT: Output of texts or Q parameter values ..... 267
D19 PLC: Transfer values to the PLC ..... 267
9.8 Entering Formulas Directly ..... 268
Entering formulas ..... 268
Rules for formulas ..... 270
Programming example ..... 271
9.9 String Parameters ..... 272
String processing functions ..... 272
Assigning string parameters ..... 273
Chain-linking string parameters ..... 274
Converting a numerical value to a string parameter ..... 275
Copying a substring from a string parameter ..... 276
Copying system data to a string parameter ..... 277
Converting a string parameter to a numerical value ..... 279
Checking a string parameter ..... 280
Finding the length of a string parameter ..... 281
Comparing alphabetic priority ..... 282
34
10 Programming: Miscellaneous Functions ..... 297
10.1 Entering Miscellaneous Functions M and STOP ..... 298
Fundamentals ..... 298
10.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant ..... 300
Overview ..... 300
10.3 Miscellaneous Functions for Coordinate Data ..... 301
Programming machine-referenced coordinates: M91/M92 ..... 301
Activating the most recently entered datum: M104 ..... 303
Moving to positions in a non-tilted coordinate system with a tilted working plane: M130 ..... 303
10.4 Miscellaneous Functions for Contouring Behavior ..... 304
Smoothing corners: M90 ..... 304
Insert rounding arc between straight lines: M112 ..... 304
Do not include points when executing non-compensated line blocks: M124 ..... 305
Machining small contour steps: M97 ..... 306
Machining open contours corners: M98 ..... 308
Feed rate factor for plunging movements: M103 ..... 309
Feed rate in millimeters per spindle revolution: M136 ..... 310
Feed rate for circular arcs: M109/M110/M111 ..... 310
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 ..... 311
Superimposing handwheel positioning during program run: M118 ..... 313
Retraction from the contour in the tool-axis direction: M140 ..... 314
Suppressing touch probe monitoring: M141 ..... 315
Delete modal program information: M142 ..... 316
Delete basic rotation: M143 ..... 316
Automatically retract tool from the contour at an NC stop: M148 ..... 317
Suppress limit switch message: M150 ..... 318
10.5 Miscellaneous Functions for Laser Cutting Machines ..... 319
Principle ..... 319
Output the programmed voltage directly: M200 ..... 319
Output voltage as a function of distance: M201 ..... 319
Output voltage as a function of speed: M202 ..... 320
Output voltage as a function of time (time-dependent ramp): M203 ..... 320
Output voltage as a function of time (time-dependent pulse): M204 ..... 320
36
11.6 Creating Text Files ..... 362
Function ..... 362
Opening and exiting text files ..... 362
Editing texts ..... 363
Deleting and inserting characters, words and lines ..... 364
Editing text blocks ..... 365
Finding text sections ..... 366
11.7 Working with Cutting Data Tables ..... 367
Note ..... 367
Applications ..... 367
Table for workpiece materials ..... 368
Table for tool cutting materials ..... 369
Table for cutting data ..... 369
Data required for the tool table ..... 370
Working with automatic speed / feed rate calculation ..... 371
Data transfer from cutting data tables ..... 372
Configuration file TNC.SYS ..... 372
38
13 Programming: Pallet Editor ..... 407
13.1 Pallet Editor ..... 408
Application ..... 408
Selecting a pallet table ..... 410
Leaving the pallet file ..... 410
Pallet datum management with the pallet preset table ..... 411
Executing the pallet file ..... 413
13.2 Pallet Operation with Tool-Oriented Machining ..... 414
Application ..... 414
Selecting a pallet file ..... 419
Setting up the pallet file with the entry form ..... 419
Sequence of tool-oriented machining ..... 424
Leaving the pallet file ..... 425
Executing the pallet file ..... 425
40
14.8 Datum Setting with a 3-D Touch Probe ..... 461
Overview ..... 461
Datum setting in any axis ..... 461
Corner as datum—using points that were already probed for a basic rotation ..... 462
Corner as datum—without using points that were already probed for a basic rotation ..... 462
Circle center as datum ..... 463
Center line as datum ..... 464
Setting datum points using holes/cylindrical studs ..... 465
Measuring Workpieces with a 3-D Touch Probe ..... 466
Using the touch probe functions with mechanical probes or dial gauges ..... 469
14.9 Tilting the Working Plane (Software Option 1) ..... 470
Application, function ..... 470
Traversing the reference points in tilted axes ..... 472
Setting the datum in a tilted coordinate system ..... 472
Datum setting on machines with rotary tables ..... 472
Datum setting on machines with spindle-head changing systems ..... 472
Position display in a tilted system ..... 473
Limitations on working with the tilting function ..... 473
Activating manual tilting ..... 474
Setting the current tool-axis direction as the active machining direction (FCL 2 function) ..... 475
42
16 Test Run and Program Run ..... 483
16.1 Graphics ..... 484
Application ..... 484
Overview of display modes ..... 486
Plan view ..... 486
Projection in 3 planes ..... 487
3-D view ..... 488
Magnifying details ..... 491
Repeating graphic simulation ..... 492
Displaying the tool ..... 492
Measuring the machining time ..... 493
16.2 Functions for Program Display ..... 494
Overview ..... 494
16.3 Test Run ..... 495
Application ..... 495
16.4 Program Run ..... 500
Application ..... 500
Running a part program ..... 501
Interrupting machining ..... 502
Moving the machine axes during an interruption ..... 504
Resuming program run after an interruption ..... 505
Mid-program startup (block scan) ..... 506
Returning to the contour ..... 509
Entering a program with the GOTO key ..... 509
Tool usage test ..... 510
16.5 Automatic Program Start ..... 512
Application ..... 512
16.6 Optional Block Skip ..... 513
Application ..... 513
Erasing the “/” character ..... 513
16.7 Optional Program-Run Interruption ..... 514
Application ..... 514
44
17.14 Entering the Axis Traverse Limits, Datum Display ..... 544
Function ..... 544
Working without additional traverse limits ..... 544
Find and enter the maximum traverse ..... 544
Datum display ..... 545
17.15 Displaying HELP Files ..... 546
Function ..... 546
Selecting HELP files ..... 546
17.16 Displaying Operating Times ..... 547
Function ..... 547
17.17 Checking the Data Carrier ..... 548
Function ..... 548
Performing the data carrier check ..... 548
17.18 Setting the System Time ..... 549
Function ..... 549
Selecting appropriate settings ..... 549
17.19 TeleService ..... 550
Function ..... 550
Calling/exiting TeleService ..... 550
17.20 External Access ..... 551
Function ..... 551
46
19 iTNC 530 with Windows XP (Option) ..... 581
19.1 Introduction ..... 582
End User License Agreement (EULA) for Windows XP ..... 582
General ..... 582
Specifications ..... 583
19.2 Starting an iTNC 530 Application ..... 584
Logging on to Windows ..... 584
19.3 Switching Off the iTNC 530 ..... 586
Fundamentals ..... 586
Logging a user off ..... 586
Exiting the iTNC application ..... 587
Shutting down Windows ..... 588
19.4 Network Settings ..... 589
Prerequisite ..... 589
Adjusting the network settings ..... 589
Controlling access ..... 590
19.5 Specifics About File Management ..... 591
The iTNC drive ..... 591
Data transfer to the iTNC 530 ..... 592
U 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 interruption.”
U Press the CE key: The TNC converts the PLC program
10
U Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
U 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
U Confirm Radius comp.: RL/RR/no comp? by pressing 5
U 3-D view
Compatibility
The TNC can run all part programs that were written on HEIDENHAIN
controls TNC 150 B and later. 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.
70 Introduction
2.2 Visual Display Unit and Keyboard
2.2 Visual Display Unit and
Keyboard
Visual display unit
The TNC is delivered with the BF 150 (TFT) color flat-panel display (see
figure).
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 mode is
displayed in the larger box, where the dialog prompts and TNC
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 2
immediately below them. The lines immediately above the soft- 5
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 active soft-key
31
row is indicated by brightened bar.
4 4
3 Soft-key selection keys
4 Shift between soft-key rows
5 Sets the screen layout
6 Shift key for switchover between machining and programming
modes
7 Soft-key selection keys for machine tool builders
8 Switches soft-key rows for machine tool builders
72 Introduction
2.2 Visual Display Unit and Keyboard
Operating panel
The TNC is delivered with the TE 530 keyboard unit. The figure shows
the controls and displays of the TE 530 keyboard unit. 7
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
9
7
Calculator 2
1 5 6
MOD function
HELP function 3 8
3 Programming modes 4
1
4 Machine operating modes
5 Initiation of programming dialog
6 Arrow keys and GOTO jump command
7 Numerical input and axis selection
8 Touchpad: Only for operating the dual-processor version, soft
keys and smarT.NC
9 smarT.NC navigation keys
The functions of the individual keys are described on the inside front
cover.
74 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 work
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 76.
Graphics
Soft keys for selecting the screen layout for pallet tables
76 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 mode and Electronic Handwheel mode 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
With the soft keys or switch-over soft keys, you can choose directly
between the available status displays.
78 Introduction
2.4 Status Displays
Overview
After switch-on, the TNC displays the Overview status form, provided
that you have selected the PROGRAM+STATUS screen layout (or
POSITION + STATUS). The overview form contains a summary of the
most important status information, which you can also find on the
various detail forms.
Soft key Meaning
Position display in up to 5 axes
Tool information
Active M functions
Active subprogram
Current time
Active programs
80 Introduction
2.4 Status Displays
Active miscellaneous functions M (M tab)
Tool axis
82 Introduction
2.4 Status Displays
Tool measurement (TT tab)
Scaling datum
Superimposed mirroring
Superimposed rotation
84 Introduction
2.4 Status Displays
Adaptive Feed Control (AFC tab, software option)
The TNC only displays the AFC tab if the function is active
on your machine.
Cut number
86 Introduction
2.6 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels
2.6 Accessories: HEIDENHAIN 3-D
Touch Probes and Electronic
Handwheels
3-D touch probes
With the various HEIDENHAIN 3-D touch probe systems you can:
Automatically align workpieces
Quickly and precisely set datums
Measure the workpiece during program run
Measure and inspect tools
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 HR 130 and HR 150 integral handwheels,
HEIDENHAIN also offers the HR 410 and HR 420 portable
handwheels. You will find a detailed description of HR 420 in Chapter
14 of this manual (see “HR 420 electronic handwheel” on page 435).
88 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 reference axis and 30
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 4 Hole 6, with respect to 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 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 3-D touch probe from HEIDENHAIN. See “Setting the Datum
with a 3-D Touch Probe” 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. Holes 5 to 7 are dimensioned with respect to a relative datum 750 6
with the absolute coordinates X=450, Y=750. With the DATUM SHIFT 5 -150
300±0,1
cycle you can temporarily set the datum to the position X=450, Y=750,
to be able to program holes 5 to 7 without further calculations.
0
320
1 2
X
325 450 900
950
Risk 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!
You only need to define the blank form if you wish to run
a graphic test for the program!
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
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.
U If required, select the block containing the word you wish to find.
U Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row.
U Activate the Replace function: The TNC superimposes
a window for entering the text to be inserted.
U Enter the text to be searched for. Please note that the
search is case-sensitive. Then confirm with the ENT
key.
U Enter the text to be inserted. Please note that the
entry is case-sensitive.
U Start the search process: The TNC displays the
available search options in the soft-key row (see the
table of search options).
U If required, change the search options.
smarT.NC files
Structured unit program .HU
Contour descriptions .HC
Point tables for machining positions .HP
Tables for
Tools .T
Tool changers .TCH
Pallets .P
Datums .D
Points .PNT
Presets .PR
Cutting data .CDT
Cutting materials, workpiece materials .TAB
Dependent data (such as structure items) .DEP
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
When you write a part program on the TNC, you must first enter a file
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 nearly any number of files with the TNC, at least
25 GB (dual-processor version: 13 GB). A single NC program can be
up to 2 GB large.
PROG20 .H
File name File type
The space (HEX 20) and delete (HEX 7F) characters are not
permitted in file names, either.
The maximum limit for the path and file name together is
256 characters (see “Paths” on page 108).
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 (> 2 GB) 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 file name, is 256
characters (see “Paths” on page 108).
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.
Display Meaning
File name Name with max. 25 characters
Changed Date and time that the file was last changed.
The date format can be set.
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 .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.
U Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, if desired
U 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:
U To overwrite all files, press the YES soft key, or
U To overwrite no files, press the NO soft key, or
U 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 when 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 lines (for the 10 tools) and the columns
Tool number (column T)
Tool length (column L)
Tool radius (column R)
U Copy this table from the external data medium to any directory.
U 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:
U 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
U 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.
U Move the highlight in the right window onto the directory you want
to copy.
U Press the COPY soft key: the TNC opens the window for selecting
the target directory.
U 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
To tag further files, press the TAG FILES soft key, etc.
Renaming a file
U Move the highlight to the file you want to rename.
U Select the renaming function.
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 120)
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 Mbps, depending on the type of file being transferred and how
busy the network is.
Subtraction –
Multiplication *
Division :
Sine S
Cosine C
Tangent ING
Arc sine AS
Arc cosine AC
Arc tangent AT
Powers ^
Square root Q
Inversion /
Parenthetic calculations ()
pi (3.14159265359) P
Display result =
While you are writing the part program, you can have the TNC
generate a 2-D pencil-trace graphic of the programmed contour.
U To switch the screen layout to displaying program blocks to the left
and graphics to the right, press the SPLIT SCREEN key and
PROGRAM + GRAPHICS soft key
U Set the AUTO DRAW soft key to ON. While you are
entering the program lines, the TNC generates each
path contour you program in the graphics window in
the right screen half
If you do not wish to have the TNC generate graphics during
programming, set the AUTO DRAW soft key to OFF.
Even when AUTO DRAW ON is active, graphics are not generated for
program section repeats.
Additional functions:
Display HELP
The TNC displays the Help text automatically if the error message is
blinking. The TNC needs to be restarted after blinking error messages.
To restart the TNC, press and hold the END key for two seconds.
U To display Help, press the HELP key
U Read the cause of error and any suggestions for
possible remedies. 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
U 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:
U Select the soft-key row containing the desired soft key
U 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
U Move the question mark to the soft key for which you want an
explanation, and click: The TNC opens the TNCguide. If no specific
part of the help is assigned to the selected soft key, the TNC 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:
U Select any NC block
U Use the arrow keys to move the cursor to the block
U Press the HELP key: The TNC start the help system and shows a
description for the active function (does not apply to auxiliary
functions or cycles that were integrated by your machine tool
builder)
Subject index
The most important subjects in the Manual are listed in the subject
index (Index tab). You can select them directly by mouse or with the
cursor keys.
The left side is active.
U Select the Index tab
U Activate the Keyword input field
U Enter the word for the desired subject and the TNC
synchronizes the index and creates a list in which you
can find the subject more easily, or
U Use the arrow key to highlight the desired keyword
U Use the ENT key to call the information on the
selected keyword
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
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:
U To program the spindle speed, press the S key on the
alphabetic keyboard
U Enter the new spindle speed
L
Tool numbers and tool names
R
Each tool is identified by a number between 0 and 32767. If you are
working with tool tables, you can also enter a tool name for each tool.
Tool names can have up to 16 characters. X
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 the tool is called in the program (no more than 16 Tool name?
characters, all capitals, no spaces)
R2 Tool radius R2 for toroid cutters (only for 3-D radius compensation Tool radius R2?
or graphical representation of a machining operation with
spherical or toroid cutters)
DR2 Delta value for tool radius R2 Tool radius oversize R2?
LCUTS Tooth length of the tool for Cycle 22 Tooth length in the tool axis?
ANGLE Maximum plunge angle of the tool for reciprocating plunge-cut in Maximum plunge angle?
Cycles 22 and 208
TIME2 Maximum tool life in minutes during TOOL CALL: If the current tool Maximum tool age for TOOL CALL?
age exceeds this value, the TNC changes the tool during the next
TOOL CALL (see also CUR.TIME)
CUR.TIME Current age of the tool in minutes: The TNC automatically counts Current tool life?
the current tool life (CUR.TIME). A starting value can be entered for
used tools
PLC Information on this tool that is to be sent to the PLC PLC status?
PLC-VAL Value of this tool that is to be sent to the PLC PLC value?
PTYP Tool type for evaluation in the pocket table Tool type for pocket table?
NMAX Limits 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 –
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 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 30 mm, 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 317)
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 164)
T-ANGLE Point angle of the tool. Is used by the Centering cycle (Cycle 240) Point angle (Type DRILL+CSINK)?
in order to calculate the centering depth from the diameter entry
PITCH Thread pitch of the tool (currently without function) Thread pitch (only type TAP)?
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)
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
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
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
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = –)?
TT:R-OFFS For tool length measurement: Tool offset between stylus center Tool offset: radius?
and tool center. Preset value: Tool radius R (NO ENT means R)
TT:L-OFFS Tool radius measurement: Tool offset in addition to MP6530 Tool offset: length?
between upper surface of stylus and lower surface of tool.
Default: 0
LBREAK Permissible deviation from tool length L for breakage detection. If Breakage tolerance: length?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
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
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
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
Tool table: Tool data for 3-D touch trigger probe (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 3-D probe, if a tool
number is indicated in the calibration menu
CAL-OF2 During calibration, the TNC stores in this column the center Center misalignment minor axis?
misalignment in the minor axis of the 3-D probe, if a tool number
is indicated in the calibration menu
CAL-ANG During calibration, the TNC stores in this column the spindle angle Spindle angle for calibration?
at which the 3-D probe was calibrated, if a tool number is
indicated in the calibration menu
U Press the SELECT TYPE soft key to select the file type
U To show type .T files, press the SHOW .T soft key
U Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
When you have opened the tool table, you can edit the tool data by
moving the cursor to the desired position in the table with the arrow
keys or the soft keys. You can overwrite the stored values, or enter
new values at any position. The available editing functions are
illustrated in the table below.
If the TNC cannot show all positions in the tool table in one screen
page, the highlight bar at the top of the table will display the >> or <<
symbols.
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
complete machine kinematic description.
In the tool table, after you have pressed the SELECT KINEMATICS soft
key, the TNC shows a list of all available carrier kinematic descriptions.
The displayed list contains all carrier kinematic descriptions that your
machine tool builder has provided (TAB file format, located on the PLC
partition) and in addition carrier kinematic descriptions in file form CFX
that are saved in the TNC:\system\TOOLKINEMATICS directory. When
you select a carrier kinematic description in cfx format and assign it to
a tool, the TNC copies the carrier kinematic description from the TNC
partition to the PLC partition. At the same time, the TNC activates this
carrier kinematics description.
Danger of collision!
If you change the carrier kinematics by editing in the cfx
file, you have to assign the carrier kinematics description in
the tool table to a tool again. During the selection process
the TNC converts the cfx file into an internal format and
activates the corrected carrier 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.
U Press the SELECT TYPE soft key to select the file type
U Press the soft key TCH FILES (second soft-key row) to
show files of the type .TCH.
U Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
ST Special tool with a large radius requiring several pockets in the tool Special tool?
magazine. If your special tool takes up pockets in front of and behind its
actual pocket, these additional pockets need to be locked in column L
(status L)
F Fixed tool number. The tool is always returned to the same pocket in the tool Fixed pocket? Yes = ENT /
magazine 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 TIME1 expires
during program run. To use this miscellaneous function, activate M101
at the beginning of the program. M101 is reset with M102.
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
at latest one minute after tool life expires (calculation is for a
potentiometer setting of 100%). This only applies if the duration of
the NC block is less than one minute; otherwise the change occurs
after the NC block concludes.
If the tool life ends while M120 (look ahead) is active, the
TNC waits to change the tool until after the block in which
you canceled the radius compensation with an R0 block.
The TNC automatically changes the tool even if a fixed
cycle is being run.
The TNC does not automatically change the tool as long
as a tool change program is running.
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 (including
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 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 location diagram of all tools
Program-specific usage sequence of all tools
In the new view, the TNC presents all tool information in the following
four card registers:
Tools:
Tool specific information
Tool pockets:
Pocket-specific information
T usage list:
List of all tools in the NC program that is selected in the Program
Run mode (only if you have already made a tool usage file, see “Tool
usage test,” page 173)
T usage order:
List of the sequence of all tools that are inserted in the program
selected in the Program Run mode (only if you have already made a
tool usage file, see “Tool usage test,” page 173)
You can edit the tool data only in the fillable form view,
which you can activate by pressing the FORM soft key or
the ENT key for the tool that is highlighted on the screen.
Danger of collision!
If you cancel a positive length compensation with T 0 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
Danger of collision!
To prevent the tool from damaging the contour, be careful
not to program the starting or end position for machining
inside corners at a corner of the contour.
RL RL
The tool retains the Z coordinate and moves in the XY plane to the
position X=70, Y=50 (see figure). Y
Three-dimensional movement X
The program block contains three coordinates. The TNC thus moves
the tool in space to the programmed position.
Example:
80
N50 G01 X+80 Y+0 Z-10 * -10
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
U 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 195
straight lines
Circle C Circular arc around a circle Coordinates of the arc end Page 198
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 199
radius point, arc radius, direction
of rotation
Circular arc CT Circular arc with tangential Coordinates of the arc end Page 201
connection to the preceding point
and subsequent contour
elements
Corner Rounding RND Circular arc with tangential Rounding radius R Page 196
connection to the preceding
and subsequent contour
elements
15
U Radius compensation RL/RR/R0
10
U Feed rate F
U 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
Example NC blocks
DR+
N50 I+25 J+25 *
N60 G01 G42 X+45 Y+25 F200 M3 * CC
25
N70 G03 X+45 Y+25 *
For the end point, enter the same point that you used for the starting
point. X
25 45
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
U Coordinates of the arc end point
3 S1=E
CC
U Radius R
Note: The algebraic sign determines the size of the
arc!
U Miscellaneous function M
X
U 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 is 99.9999 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 blank form for graphic workpiece simulation
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+10 * Define tool in the program
N40 T1 G17 S4000 * Call tool in the spindle axis and with the spindle speed S
N50 G00 G40 G90 Z+250 * Retract tool in the spindle axis at rapid traverse
N60 X-10 Y-10 * Pre-position 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 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 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 tool in the working plane, cancel radius compensation
N180 G00 Z+250 M2 * Retract in the tool axis, 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 blank form for graphic workpiece simulation
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+10 * Define tool in the program
N40 T1 G17 S4000 * Call tool in the spindle axis and with the spindle speed S
N50 G00 G40 G90 Z+250 * Retract tool in the spindle axis at rapid traverse
N60 X-10 Y-10 * Pre-position 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 *
N30 G99 T1 L+0 R+12.5 * Tool definition
N40 T1 G17 S3150 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 I+50 J+50 * Define the circle center
N70 X-40 Y+50 * Pre-position 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 tool in the working plane, cancel radius compensation
N140 G00 Z+250 M2 * Retract tool in the tool axis, end of program
N99999999 %C-CC G71 *
Circular arc G12, G13 + Circular path around circle Polar angle of the arc end Page 208
center/pole to arc end point point,
Circular arc G15 + Circular path corresponding to Polar angle of the circle end Page 208
active direction of rotation point
Circular arc G16 + Circular arc with tangential Polar radius, polar angle of the Page 209
connection to the preceding arc end point
contour element
Helical interpolation + Combination of a circular and Polar radius, polar angle of the Page 210
a linear movement arc end point, coordinate of
the end point in the tool axis
Example NC blocks
N120 I+45 J+45 * X
X=I
30
U Polar coordinate angle PAH: 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
U Polar-coordinates angle H: Angular position of the
13
arc end point between –99 999.9999° and
+99 999.9999°
U 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
Work Direction of
Internal thread Radius comp.
direction rotation
Right-handed Z+ G13 G41
Left-handed Z+ G12 G42
External thread
Right-handed Z+ G13 G42
Left-handed Z+ G12 G41
5
270°
25 X
U Polar coordinates angle: Enter the total angle of
12
tool traverse along the helix in incremental
dimensions. After entering the angle, specify the 40
tool axis with an axis selection key.
U Coordinate: Enter the coordinate for the height of the
helix in incremental dimensions.
U radius compensation according to the table above
Example NC blocks: Thread M6 x 1 mm with 5 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 *
N30 G99 T1 L+0 R+7.5 * Tool definition
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-position 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
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 *
N30 G99 T1 L+0 R+5 * Tool definition
N40 T1 G17 S1400 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 X+50 Y+50 * Pre-position 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 interpolation
N120 G27 R2 F500 * Tangential exit
N170 G01 G40 G90 X+50 Y+50 F1000 * Retract in the tool axis, end program
N180 G00 Z+250 M2 *
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.
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
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 soft key (see “Basic settings” on page 218).
Undoing actions
You can undo the four most recent actions that you have taken in the
mode for selecting machining positions. The last soft key row provides
the following soft keys for this purpose:
Reduce workpiece
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
U To mark the beginning, press the LBL SET key
U Enter the subprogram number. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry
U To mark the end, press the LBL SET key and enter the
label number “0”
Calling a subprogram
U To call a subprogram, press the LBL CALL key
U Label number: Enter the label number of the
subprogram you wish to call. If you want to use a label
name, press the LBL NAME soft key to switch to text
entry
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: 6, 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 N200) is repeated twice
N35 L1,1 * Program section between this block and G98 L1
... (block N150) 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 UPGREP 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 SPGREP 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 downfeed and contour-milling 3
2
60°
5
R4
CC
50 1 4
6 5
5
X
5 50 100
%PGMWDH G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+7.5 * Tool definition
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
%UP1 G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+2.5 * Tool definition
N40 T1 G17 S3500 * Tool call
N50 G00 G40 G90 Z+250 * Retract the tool
N60 G200 DRILLING Cycle definition: drilling
Q200=2 ;SETUP CLEARANCE
Q201=-30 ;DEPTH
Q206=300 ;FEED RATE FOR PLNGN
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 1, 100
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
%UP2 G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+4 * Define tool: Center drill
N40 G99 T2 L+0 R+3 * Drill tool definition
N50 G99 T3 L+0 R+3.5 * Define tool: Reamer
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 ;SETUP CLEARANCE
Q201=-3 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGN
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 Range
Freely applicable parameters, as long as no Q0 to Q99
overlapping with SL cycles can occur, globally
effective for all programs stored in the TNC
memory
QS parameters (the 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 *
Calculates and assigns 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 *
Calculates and assigns the quotient of two values.
Not permitted: Division 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:
α = arc tan (a / b) = arc tan (sin α / cos α)
Example:
a = 25 mm
b = 50 mm
α = arctan (a / b) = arctan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c = (a² + b²)
D07: COSINE
Example: D07 Q21 P01 -Q5 *
Calculates and assigns the cosine of an angle in
degrees (°)
D13: ANGLE
Example: D13 Q20 P01 +10 P02 -Q1 *
Calculates the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assigns 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 *
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 hypotenuse.
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the hypotenuse.
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
1st calculation: 5 * 3 = 15
2nd calculation: 2 * 10 = 20
3rd calculation: 15 + 20 = 35
or
13 Q2 = SQ 10 - 3^3 = 73
Distributive 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
X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
V axis Q109 = 7
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 D00 Q1 P01 +50 * Center in X axis
N20 D00 Q2 P01 +50 * Center in Y axis
N30 D00 Q3 P01 +50 * Semiaxis in X
N40 D00 Q4 P01 +30 * Semiaxis in Y
N50 D00 Q5 P01 +0 * Starting angle in the plane
N60 D00 Q6 P01 +360 * End angle in the plane
N70 D00 Q7 P01 +40 * Number of calculation steps
N80 D00 Q8 P01 +30 * Rotational position of the ellipse
N90 D00 Q9 P01 +5 * Milling depth
N100 D00 Q10 P01 +100 * Feed rate for plunging
N110 D00 Q11 P01 +350 * Feed rate for milling
N120 D00 Q12 P01 +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 *
N150 G99 T1 L+0 R+2,5 * Tool definition
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
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 D00 Q1 P01 +50 * Center in X axis
N20 D00 Q2 P01 +0 * Center in Y axis
N30 D00 Q3 P01 +0 * Center in Z axis
N40 D00 Q4 P01 +90 * Starting angle in space (Z/X plane)
N50 D00 Q5 P01 +270 * End angle in space (Z/X plane)
N60 D00 Q6 P01 +40 * Cylinder radius
N70 D00 Q7 P01 +100 * Length of the cylinder
N80 D00 Q8 P01 +0 * Rotational position in the X/Y plane
N90 D00 Q10 P01 +5 * Allowance for cylinder radius
N100 D00 Q11 P01 +250 * Feed rate for plunging
N110 D00 Q12 P01 +400 * Feed rate for milling
N120 D00 Q13 P01 +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 *
N150 G99 T1 L+0 R+3 * Tool definition
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
N180 L10.0 * Call machining operation
N190 D00 Q10 P01 +0 * Reset allowance
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 D00 Q1 P01 +50 * Center in X axis
N20 D00 Q2 P01 +50 * Center in Y axis
N30 D00 Q4 P01 +90 * Starting angle in space (Z/X plane)
N40 D00 Q5 P01 +0 * End angle in space (Z/X plane)
N50 D00 Q14 P01 +5 * Angle increment in space
N60 D00 Q6 P01 +45 * Radius of the sphere
N70 D00 Q8 P01 +0 * Starting angle of rotational position in the X/Y plane
N80 D00 Q9 P01 +360 * End angle of rotational position in the X/Y plane
N90 D00 Q18 P01 +10 * Angle increment in the X/Y plane for roughing
N100 D00 Q10 P01 +5 * Allowance in sphere radius for roughing
N110 D00 Q11 P01 +2 * Set-up clearance for pre-positioning in the tool axis
N120 D00 Q12 P01 +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 *
N150 G99 T1 L+0 R+7,5 * Tool definition
N160 T1 G17 S4000 * Tool call
N170 G00 G40 G90 Z+250 * Retract the tool
N87 G36 M6
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 “Datum
Setting without a 3-D Touch Probe,” page 442).
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.
Workpiece datum
If you want the coordinates to always be referenced to the machine
datum, you can inhibit datum setting for one or more axes.
Z
If datum setting is inhibited for all axes, the TNC no longer displays the
SET DATUM soft key in the Manual Operation mode. Z
The figure shows coordinate systems with the machine datum and Y
workpiece datum.
Y
M91/M92 in the Test Run mode X
In order to be able to graphically simulate M91/M92 movements, you
need to activate working space monitoring and display the workpiece
blank referenced to the set datum (see “Showing the Workpiece in X
the Working Space,” page 538). M
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 automatically resets M124 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 250).
Effect
M97 is effective only in the blocks in which it is programmed.
Y
A corner machined with M97 will not be completely
finished. You may wish to rework the contour with a
smaller tool.
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
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 and 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 the 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 the 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.
Danger of collision!
Remember that, especially on curved surfaces, the
surface can be damaged during return to the contour. Back
the tool off 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 1 999 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 325
option)
Press the SPEC FCT and the corresponding soft keys to access further
special functions of the TNC. The following tables will 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 (FCL4 function)” on page 330).
The TNC also monitors the current tool with the length and radius
entered in the tool table for collision (assuming a cylindrical tool).
Provided that you have defined a separate carrier 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 carrier also (see “Tool-carrier
kinematics” on page 164).
Also, you can integrate simple fixtures in the collision monitoring (see
“Fixture Monitoring (Software Option)” on page 332).
Danger of collision!
Once a collision warning is displayed, machine motions via
the direction keys or handwheel are possible only if the
motion increases the distance between the collision
objects. For example, by pressing the axis direction key for
the opposite direction.
Motions that reduce the distance or leave it unchanged are
not allowed as long as collision monitoring is active.
Danger of collision!
If you have deactivated the collision monitoring, the
symbol for collision monitoring flashes (see following
table).
Function Symbol
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 314) and M150 (see
“Suppress limit switch message: M150” on page 318)
functions might cause non-programmed movements if the
TNC detects a collision when executing these functions!
Prerequisites
Press the right mouse button to rotate the overall view of the collision
objects. 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
HEIDENHAIN provides fixture templates such as vices or jaw
chucks in a fixture template library (see “Fixture templates” on page
333), 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
Set 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 stand-alone PC tool and as a
component of the TNC fixture monitoring feature. It generates a
placable fixture with concrete dimensions defined by you (see
“Setting parameters for the fixture: FixtureWizard” on page 334).
Placable fixture templates have the file name extension cfx
Place 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 vice
(see “Placing the fixture on the machine” on page 336)
Check 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 “Check the position of
the measured fixture” on page 338)
U Select the fixture: The TNC opens the menu for fixture
selection and shows in the left window all fixtures
available in the active directory. Fixtures have the file
name extension CFX
U 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
U 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
U Start the measurement process: The TNC shows a
soft-key row with permitted scanning functions for
the respective measuring process
U Select the required probing function: The TNC is in the
menu for manual probing. Description of the probing
functions: See “Overview,” page 461.
U At the end of the probing process the TNC displays
the measured values
U 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
U 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
vice, and confirm with the ACCEPT VALUE soft key
U When all measuring tasks are checked off by the TNC,
complete the measuring process with the
COMPLETE soft key
Risk of collision!
Only value input is editable. The position of the fixture on
the machine table cannot be corrected after placement. To
change the position of the fixture you have to remove it
first and then place it again!
Removing fixtures
Risk of collision!
If you remove a fixture, the TNC no longer monitors it,
even if it is still clamped on the machine table! Watch out
for possible collisions!
Key/Soft
Functions
key
Jump to previous function
Risk of collision!
When you activate this function, ensure that the positions
of the locked axes cannot cause any collisions.
Superimposed rotation
With the superimposed rotation function you can define any rotation
of the coordinate system in the presently active working plane.
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 with M3, 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)
AFC Name of the control setting. You enter this name in the
AFC column of the tool table. It specifies the assignment
of control parameters to the tool.
FIDL Feed rate for traverse when the tool is not cutting (feed
rate in the air). 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
made (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
PREF Reference load of the spindle. The TNC shows the value
as a percent of the spindle’s rated power.
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.
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
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 Z 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\
M114 Define the behavior of the TNC when positioning the rotary axes Page 400
M128 Define the behavior of the TNC when positioning the rotary axes Page 401
M134 Exact stop for positioning with rotary axes Page 404
Position display
As soon as a PLANE function is active, the TNC shows the calculated
space angle in the additional status display (see figure). As a rule, the
TNC internally always calculates with space angles, independent of
which PLANE function is active.
Abbreviation Meaning
SPATIAL Spatial = in space
Example: NC block
Abbreviations used
Abbreviation Meaning
PROJECTED Projected
PROROT Rotation
Abbreviations used
Abbreviation Meaning
EULER Swiss mathematician who defined these angles
Abbreviations used
Abbreviation Meaning
VECTOR Vector
Abbreviations used
Abbreviation Meaning
POINTS
Input parameters
U Incremental angle?: Space 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°
U Continue with the positioning properties (see
“Specifying the positioning behavior of the PLANE
function” on page 392)
Abbreviations used
Abbreviation Meaning
RELATIVE
Example: NC block
PLANE AXIAL can also be used if you have only one rotary
axis active on your machine.
You can use the PLANE RELATIVE function after PLANE
AXIAL if your machine allows space angle definitions. The
machine tool manual provides further information.
Note:
If the tool is already at the given distance to the
workpiece before positioning, then relatively speaking
the tool is at the same position after positioning (see
figure at center right, 1 = SET UP) 1
If the tool is not at the given distance to the workpiece 1
before positioning, then relatively speaking the tool is
offset from the original position after positioning (see
figure at bottom right, 1= SET UP)
Danger of collision!
Pre-position the tool to a position where there is no danger
of collision with the workpiece (clamping devices) during
positioning.
U Select any PLANE function, and define automatic positioning with the 1
STAY option. During program execution the TNC calculates the 1
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)
U 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 space 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
If you do not define SEQ, the TNC determines the solution as follows:
1 The TNC first checks whether both solution possibilities are within
the traverse range of the rotary axes.
2 If they are, then the TNC selects the shortest possible solution.
3 If only one solution is within the traverse range, the TNC selects
this solution.
4 If neither solution is within the traverse range, the TNC displays
the Entered angle not permitted error message.
–90 < A < +10 A+0, C+0 not prog. A–45, C–90
Example NC blocks:
...
N12 G00 G40 Z+50 M128 * Position at clearance height, activate M128
N13 PLANE SPATIAL SPA+0 SPB-45 SPC+0 MOVE ABST50 F900 * Define and activate the PLANE function
N14 G01 G91 F1000 B-17 * Set the incline angle
... 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.
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.
After M128 you can program another feed rate, at which the TNC will
carry out the compensation movements in the linear axes. If you X
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.
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.
PALPRESET (entry optional):
Preset number from the pallet preset table. The TNC interprets the
preset number defined here as pallet datum (PAL entry in PAL/PGM
column). 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
the 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 ENT, 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:
U To select the Manual Operation or El. Handwheel mode of
operation:
U Open the preset table: Press the PRESET TABLE soft
key
U Scroll through the soft-key row
U 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:
Editing function in table mode Soft key
Select beginning of table
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-STATUS :
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 or where no machining is to take place.
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 soft key if you want to skip the pallet during machining.
EMPTY 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 soft key
if you want to skip the fixture during machining. EMPTY 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 control and machine. The TNC then
displays the following dialog:
MEMORY TEST
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
The TNC is now ready for operation in the Manual Operation mode.
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 475).
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.
iTNC 530 with Windows XP: See “Switching Off the iTNC
530,” page 586.
To prevent data from being lost at switch-off, you need to shut down
the operating system of the TNC as follows:
U Select the Manual Operation mode
U Select the function for shutting down, confirm again
with the YES soft key
U 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 440.
JOG INCREMENT =
You can only move the machine axes when a permissive button is
depressed (machine-dependent function). 2
The red indicator lights show the axis and feed rate you have selected.
It is also possible to move the machine axes with the handwheel
during program run if M118 is active.
Procedure
Select the desired operating mode via the OPM soft key, if necessary
(see “Changing the modes of operation” on page 439)
Potentiometer settings
The potentiometers of the machine operating panel continue to be
active after you have activated the handwheel. If you want to use the
potentiometers on the handwheel, proceed as follows:
U Press the CTRL and Handwheel keys in the HR 420. The TNC shows
the soft-key menu for selecting the potentiometers on the
handwheel display
U Press the HW soft key to activate the handwheel potentiometers
If you have activated the potentiometers on the handwheel, you must
reactivate the potentiometers of the machine operating panel before
deselecting the handwheel. Proceed as follows:
U Press the CTRL and Handwheel keys in the HR 420. The TNC shows
the soft-key menu for selecting the potentiometers on the
handwheel display
U Press the KBD soft key to activate the potentiometers of the
machine operating panel
Datum setting
U Press the handwheel soft key F3 (MSF)
U Press the handwheel soft key F4 (PRS)
U If required, select the axis in which the datum is to be set
U 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 =
You fix a datum by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
U Clamp and align the workpiece
U Insert the zero tool with known radius into the spindle
U Ensure that the TNC is showing the actual position values
DATUM SETTING Z=
Danger of collision!
Keep in mind that moving an indexing feature on your
machine table (realized by changing the kinematics
description) requires you to redefine any workpiece-based
presets.
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:
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:\.
During calibration, the TNC finds the “effective” length of the stylus
and the “effective” radius of the ball tip. To calibrate the 3-D 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 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.
U 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
U Press the ENTRY IN PALLET PRES. TAB. soft key to save the basic
rotation in the preset table
The TNC shows an active pallet preset in the additional status display
(see “General pallet information (PAL tab)” on page 80).
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 external 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 process. and
have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Overview
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:
3-D ROT soft key in the Manual Operation mode and Electronic
Handwheel mode, see “Activating manual tilting,” page 474.
Tilting under program control, Cycle G80 in the part program (see
User’s Manual, 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 375).
The TNC functions for "tilting the working plane" are coordinate
transformations. The working plane is always perpendicular to the
direction of the tool axis.
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 PLANE
function 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.
476
Manual Operation and Setup
Positioning with Manual
Data Input
15.1 Programming and Executing Simple Machining Operations
15.1 Programming and Executing
Simple Machining Operations
The Positioning with Manual Data Input mode of operation is
particularly convenient for simple machining operations or pre-
positioning of the tool. It enables you to write a short program in
HEIDENHAIN conversational programming or in DIN/ISO format, and
execute it immediately. You can also call TNC cycles. The program is
stored in the file $MDI. In the Positioning with MDI mode of operation,
the additional status displays can also be activated.
Limitation
FK free contour programming, programming graphics and Z
program run graphics cannot be used.
Y
The $MDI file must not contain a program call (%).
Example 1
A hole with a depth of 20 mm is to be drilled into a single workpiece. X
50
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines.
50
%$MDI G71 *
N10 G99 T1 L+0 R+5 * Define tool: zero tool, radius 5
N20 T1 G17 S2000 * Call tool: tool axis Z
Spindle speed 2000 rpm
N30 G00 G40 G90 Z+200 * Retract tool (rapid traverse)
N40 X+50 Y+50 M3 * Move the tool at rapid traverse to a position above
the hole. Spindle on.
N50 G01 Z+2 F2000 * Position tool to 2 mm above hole
N60 G200 DRILLING * Define Cycle G200 Drilling
Q200=2 ;SETUP CLEARANCE Set-up clearance of the tool above the hole
Q201=-20 ;DEPTH Total hole depth (algebraic sign=working direction)
Q206=250 ;FEED RATE FOR PLNGN 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
N70 G79 * Call Cycle G200 PECKING
N80 G00 G40 Z+200 M2 * Retract the tool
N9999999 %$MDI G71 * End of program
Use the 3-D touch probe to rotate the coordinate system. See “Touch
Probe Cycles in the Manual and Electronic Handwheel Operating
Modes,” section “Compensating workpiece misalignment,” in the
Touch Probe Cycles User’s Manual.
Write down the rotation angle and cancel the basic rotation
Conclude entry
TARGET 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.
482
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 provides the following three display modes: Using soft
keys, select whether you desire:
Plan view
Projection in three planes
3-D view
The TNC graphic depicts the workpiece as if it were being machined
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 blank form 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 graphic does 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 493). The TNC otherwise
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:
U Switch to the next soft-key row
3-D view
Plan view
This is the fastest of the graphic display modes.
U Shift the soft-key row until the soft key for the
functions for shifting the sectional plane appears
U Select the functions for shifting the sectional plane.
The TNC offers the following soft keys:
If there is a mouse attached to your TNC, you can also perform the
functions described above with the mouse.
U In order to rotate the graphic shown in three dimensions: Hold the
right mouse button down and move the mouse. In the high
resolution 3-D graphics the TNC displays the coordinate system
showing the currently active alignment of the workpiece. In the
normal 3-D view the entire workpiece rotates as well. After you
release the right mouse button, the TNC orients the workpiece to
the defined orientation
U 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
U In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
After you release the left mouse button, the TNC zooms in on the
defined area of the workpiece
U In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
U Show the frame for the BLK FORM: Set the highlight
in the soft key to SHOW
U 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 timer displays the time that the TNC calculates for the duration of
tool movements that are executed at feed rate. Dwell times are
included in the calculation by the TNC. The time calculated by the TNC
can only conditionally be used for calculating the production time
because the TNC does not account for the duration of machine-
dependent interruptions, such as tool change.
If you have switched the "find 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 510).
U Select the desired function via soft key, e.g. saving the
displayed time.
During the Test Run, the TNC resets the machining time
as soon as a new BLK form G30/G3 is evaluated.
You can interrupt the program test and continue it again at any point—
even within a machining 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.
U Select the Test Run operating mode
U Choose the program you want to test
U Select MOD functions.
You can adjust the feed rate and spindle speed with the
override knobs.
It is possible to reduce the rapid traverse speed 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.
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 functions M0, M2 or M30
Miscellaneous function M6 (defined by the machine tool builder)
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 3-
D ROT menu, if necessary.
Application example:
Retracting the spindle after tool breakage
U Interrupt machining
U Enable the external direction keys: Press the MANUAL TRAVERSE
soft key
U If necessary, press the 3-D ROT soft key in order to activate the soft
key in which you want to traverse
U Move the axes with the machine axis direction buttons
Note that the stored data remain active until they are reset
(e.g. if you select a new program).
The stored data are used 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 repair 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 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 key SELECT LAST N to reactivate the point of interruption and
approach it with an NC start. After switch-on the TNC then shows the
message NC program was interrupted.
Danger of collision!
If you perform a mid-program startup in a program
containing M128, then the TNC performs any
compensation movements necessary. The compensation
movements are superimposed over the approach
movement.
If you use the GOTO block number key 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.
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 for the selected program.
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:
U Show the window for entering the starting time (see
figure at center right).
U Time (h:min:sec): Time of day at which the program
is to be started.
U Date (DD.MM.YYYY): Date at which the program is to
be started.
U To activate the start, set the AUTOSTART soft key to
ON.
Call the operating mode in which you wish to change the MOD
functions.
U Press the MOD key to select the MOD functions. 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).
U Close the MOD functions with 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:
U Enter the keyword version and confirm with the ENT key
U The TNC displays all current software numbers on the screen
U To terminate the version overview, press the END key
Operating
External device Symbol
mode
PC with HEIDENHAIN data FE1
transfer software TNCremo NT
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:
U 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
U 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
U 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:
U Select <Extras>, <TNCserver>. TNCremoNT is now in server mode.
It can receive data from the TNC and send data to the TNC
U 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 126) and transfer the desired files
End 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.
TNC
The maximum cable length between TNC and a node
depends on the quality grade of the cable, the sheathing PC
and the type of network (100BaseTX or 10BaseT).
If you connect the TNC directly with a PC, you must use a
crossed cable. 10BaseT / 100BaseTx
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.
Setting Meaning
Primary Name of the Ethernet interface to be
interface integrated 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 (anXappears
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
U Apply the changes with the OK button, or discard them with the
Cancel button
U The Internet tab currently has no function.
U Select the Ping/Routing tab to enter the ping and routing settings:
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
Setting Meaning
MOUNTDEVICE Connection via NFS:
Name of the directory that is to be
logged on. This is formed by the network
address of the server, a colon and the
name of the directory to be mounted.
Input: four numerical values separated
by points. Ask your network specialist for
the values, e.g. 160.1.13.4. Directory of
the NFS server that you wish to connect
to the TNC. Be sure to differentiate
between small and capital letters when
entering the path
Connection via smb:
Enter the network name and the share
name of the computer, e.g.
//PC1791NT/C
Setting Meaning
TNC USER ID Definition of which user identification the end
user uses to access files in the network. Ask
your network specialist for the proper value.
UID for mount Defines the user identification (UID) for the
log-on procedure.
USER: The user logs on with the USER
identification.
ROOT: The user logs on with the ID of the
ROOT user, value = 0.
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.
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
U Select any machine mode of operation.
U Press the MOD key to select the MOD function.
U 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)
U 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.
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.
Automatic calibration cycle: Center of the MP6180.0 (traverse range 1) to MP6180.2 (traverse range3)
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 range3)
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
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 Connecting cable 355 484-xx
363 987-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 Grey 7 7 7
8 RXD 8 White/Green 8 8 8
9 TXD 9 Green 9 9 9
Housing Ext. shield Housing Ext. shield Housing Housing Housing
4 Vacant
5 Vacant
7 Vacant
8 Vacant
User functions
Short description Basic version: 3 axes plus spindle
Fourth NC axis plus auxiliary axis
or
8 additional axes or 7 additional axes plus 2nd spindle
Digital current and 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 speed and feed rate from tool-
specific data (cutting speed, feed per tooth)
Constant cutting 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
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
Linear and circular 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 /
Display modes 3-D view
Machining time Calculation of the machining time in the Test Run mode of operation
Display of the current machining time in the Program Run modes
Returning to the contour Mid-program startup in any block in the program, returning the tool to the calculated
nominal position to continue machining
Program interruption, contour departure and return
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 MC 420 or MC 422 C main computer
CC 422 or CC 424 controller unit
Keyboard
15.1-inch TFT color flat-panel display with soft keys
Axis feedback control Position loop resolution: Signal period of the position encoder/1024
Cycle time of position controller: 1.8 ms
Cycle time of speed controller: 600 µs
Cycle time of current controller: minimum 100 µs
Error compensation Linear and nonlinear axis error, backlash, reversal spikes during circular movements,
thermal expansion
Stick-slip 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 1.1 interface
For pointing (mouse) devices and block devices (memory sticks, hard disks, CD-ROM
drives)
Touch probes TS 220: 3-D touch trigger probe with cable connection, or
TS 440: 3-D touch trigger probe with infrared transmission
TS 444: Battery-free 3-D touch trigger probe with infrared transmission
TS 640: 3-D touch trigger probe with infrared transmission
TS 740: High-precision 3-D touch trigger probe with infrared transmission
TT 140: 3-D touch trigger probe for workpiece measurement
Software option 1
Rotary table machining Programming of cylindrical contours as if in two axes
Feed rate in mm/min
Software option 2
3-D machining Motion control with minimum jerk
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
Tool names 16 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 (“”)
CAUTION—danger to life!
To exchange the buffer battery, first switch off the TNC!
The buffer battery must be exchanged only by trained
service personnel.
General
After a new user has logged on, the iTNC screen reappears.
If you confirm with OK, the iTNC software is exited and Windows is
shut down.
You may not restrict access by these groups, nor may you
add groups and prohibit certain accesses by these groups
(in Windows, access restrictions have priority over access
rights).
Please note that the data drive of the iTNC appears in the
file manager with the name TNC:\. In Windows Explorer,
this drive (partition) appears with the letter D.
Subdirectories on the TNC drive (e.g. RECYCLER and SYSTEM
VOLUME IDENTIFIER) are created by Windows XP and may
not be deleted.
With MP7225 you can define letters of drives that should
not be shown in the file management of the TNC.
If you connect a new network drive with Windows Explorer, you may
have to update the iTNC’s display of available drives:
U Press the PGM MGT key to call the file manager.
U Move the highlight to the drive window at left.
U Switch to the second level of the soft-key row.
U To update the drive overview, press the UPDATE TREE soft key.
TNC-specific files
After integrating the iTNC 530 into your network, you can access any
computer and transfer files to it from the iTNC. However, certain file
types may only be transferred if data transfer was initiated by the
iTNC. The reason is that these files must be converted into binary
format during data transfer to the iTNC.
ASCII files
There are no limitations regarding the direct copying of ASCII files
(files with the extension .A) with Windows Explorer.
Please note that all the files you want to use on the TNC
must be stored on drive D.
594
Index
P P Q
Part families ... 254 Preset table ... 444 Q parameters
Path ... 108 Confirming probed values ... 454 Checking ... 260
Path contours For pallets ... 411 Local QL parameters ... 250
Cartesian coordinates Principal axes ... 91 Nonvolatile QR parameters ... 250
Circular arc with tangential Probe cycles Preassigned ... 283
connection ... 201 See User’s Manual for Touch Probe Transferring values to the
Circular path around circle center Cycles PLC ... 267
CC ... 198 Probing cycles Unformatted output ... 267
Circular path with defined Program
radius ... 199 Editing ... 100 R
Overview ... 193 Open new ... 96 Radius compensation ... 178
Straight line ... 194 -Structure ... 95 Input ... 180
Polar coordinates Structuring ... 134 Outside corners, inside
Circular arc with tangential Program call corners ... 181
connection ... 209 Any desired program as Rapid traverse ... 154
Circular path around pole subroutine ... 237 Reference points, crossing over ... 428
CC ... 208 Program defaults ... 323 Reference system ... 91
Overview ... 206 Program management: see File Replacing texts ... 105
Straight line ... 207 management Retraction from the contour ... 314
Path functions Program name:\See File management, Returning to the contour ... 509
Fundamentals ... 184 File name Rotary axis
Circles and circular arcs ... 187 Program Run Reducing display M94 ... 399
Pre-position ... 188 Global program settings ... 340 Shorter-path traverse: M126 ... 398
Pin layout for data interfaces ... 569 Interrupting ... 502
Ping ... 534 Program run S
Plan view ... 486 Executing ... 501 Screen layout ... 72
PLANE function ... 375 Mid-program startup ... 506 Search function ... 104
Animation ... 377 Optional block skip ... 513 Secondary axes ... 91
Automatic positioning ... 392 Overview ... 500 Service pack, installing ... 520
Axis angle definition ... 390 Resuming after an Setting the baud rate ... 521
Euler angle definition ... 383 interruption ... 505 Software number ... 518
Inclined-tool machining ... 396 Program sections, copying ... 103 Software options ... 576
Incremental definition ... 389 Programming tool movements ... 98 Software update ... 520
Points definition ... 387 Program-section repeat ... 236 SPEC FCT ... 322
Positioning behavior ... 392 Projection in three planes ... 487 Special functions ... 322
Projection angle definition ... 381 Specifications ... 572
Reset ... 378 Q iTNC 530 with Windows XP ... 583
Selection of possible Q parameter programming ... 250, 272 Sphere ... 293
solutions ... 394 Additional functions ... 261 Spindle load monitoring ... 361
Space-angle definition ... 379 Basic arithmetic (assign, add, Spindle speed, changing the … ... 441
Vector definition ... 385 subtract, multiply, divide, square Spindle speed, entering ... 169
Pocket table ... 166 root) ... 255 Status display ... 77
Polar coordinates If/then decisions ... 259 Additional ... 78
Fundamentals ... 92 Programming General ... 77
Programming ... 206 notes ... 252, 274, 275, 276, 280, Straight line ... 194, 207
Positioning 282 String parameters ... 272
With a tilted working Trigonometric functions ... 257 Structuring programs ... 134
plane ... 303, 405 Subprogram ... 235
with manual data input (MDI) ... 478
Positions, selecting from DXF ... 226
596
Overview tables
Machining cycles
Cycle DEF- CALL-
Cycle designation
number active active
7 Datum shift
8 Mirror image
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
M6 Tool change/Stop program run (depending on machine parameter)/Spindle STOP Page 300
M90 Only in lag mode: Constant contouring speed at corners Page 304
M91 Within the positioning block: Coordinates are referenced to machine datum Page 301
M92 Within the positioning block: Coordinates are referenced to position defined by Page 301
machine tool builder, such as tool change position
M94 Reduce the rotary axis display to a value below 360° Page 399
M101 Automatic tool change with replacement tool if maximum tool life has expired Page 172
M102 Cancel M101
M103 Reduce feed rate during plunging to factor F (percentage) Page 309
M107 Suppress error message for replacement tools with oversize Page 172
M108 Cancel M107
N Effect Effective at block... Start End Page
M109 Constant contouring speed at tool cutting edge Page 310
(increase and decrease feed rate)
M110 Constant contouring speed at tool cutting edge
(feed rate decrease only)
M111 Cancel M109/M110
M114 Automatic compensation of machine geometry when working with tilted axes Page 400
M115 Reset M114
M124 Do not include points when executing non-compensated line blocks Page 305
M128 Retain position of tool tip when positioning tilting axes (TCPM) Page 401
M129 Cancel M128
M130 Moving to position in an untilted coordinate system with a tilted working plane Page 303
M134 Exact stop at nontangential contour transitions when positioning with rotary axes Page 404
M135 Reset M134
M140 Retraction from the contour in the tool-axis direction Page 314
M144 Compensating the machine’s kinematics configuration for ACTUAL/NOMINAL Page 405
positions at end of block
M145 Reset M144
M148 Retract the tool automatically from the contour at NC stop Page 317
M149 Cancel M148
M150 Suppress limit switch message (function effective blockwise) Page 318
M Functions M Functions
M00 Program STOP/Spindle STOP/Coolant OFF M109 Constant contouring speed at tool cutting edge
Optional program STOP (increase and decrease feed rate)
M01 STOP program run/Spindle STOP/Coolant M110 Constant contouring speed at tool cutting edge
M02 OFF/CLEAR status display (depending on (feed rate decrease only)
machine parameter)/Go to block 1 M111 Cancel M109/M110
M06 Tool change/STOP program run (depending on M116 Feed rate for rotary axes in mm/min
machine parameter)/Spindle STOP M117 Cancel 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 M126 Shortest-path traverse of rotary axes
machine parameter) M127 Cancel M126
M90 Only in lag mode: Constant contouring speed at M128 Retain position of tool tip when positioning tilting
corners axes (TCPM)
M129 Cancel M128
M99 Blockwise cycle call
M130 Within the positioning block: Points are
M91 Within the positioning block: Coordinates are referenced 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 Cancel M134
M94 Reduce the rotary axis display to a value below M136 Feed rate F in millimeters per spindle revolution
360° M137 Cancel M136
S Spindle speed
S Oriented spindle stop with G36
X X axis
Y Y axis
Z Z axis
* End of block
Contour cycles
Define/Call drill
Contour cycle: pilot drilling G121 Q10 ...
Cycle call
Coordinate
Activate Cancelation
transformation
Datum shift G54 X+20 Y+30 G54 X0 Y0 Z0
Z+10
Q-parameter definitions
D Function
00 Assign
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 α and c cos α
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) 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
• tool measurement
• wear monitoring
• tool breakage monitoring