Klartext Programming 737759-24
Klartext Programming 737759-24
HEIDENHAIN
Conversational Format
iTNC 530
NC Software
606420-04 SP8
606421-04 SP8
606424-04 SP8
606425-04 SP8
English (en)
3/2016
Controls of the TNC Program/file management, TNC functions
Keys on visual display unit Key Function
Key Function Select or delete programs and files,
external data transfer
Select split screen layout
Define program call, select datum and
point tables
Toggle the display between machining
and programming modes
Select MOD functions
Soft keys for selecting functions on
screen
Display help text for NC error messages,
call TNCguide
Shift between soft-key rows
Display all current error messages
Alphanumeric keyboard
Show calculator
Key Function
File names, comments
Navigation keys
ISO programming Key Function
Move highlight
100 100
smarT.NC
50 150 50 150
Positioning with Manual Data Input
F % S %
0 0
Program Run, Single Block
Cycles, subprograms and program section repeats
Program Run, Full Sequence Key Function
Define touch probe cycles
Programming modes
Key Function Define and call cycles
Programming and Editing
Enter and call labels for
subprogramming and program section
Test Run repeats
Key Function
Polar coordinate input / Incremental
Approach/depart contour values
Q-parameter programming /
FK free contour programming Q parameter status
The suffix E indicates the export version of the TNC. The export
versions of the TNC have the following limitations:
Simultaneous linear movement in up to 4 axes
HSCI (HEIDENHAIN Serial Controller Interface) identifies the new
hardware platform of the TNC controls.
HEROS 5 identifies the operating system of HSCI-based TNC controls.
The machine tool builder adapts the usable features of the TNC to his
machine by setting machine parameters. Some of the functions
described in this manual may therefore not be among the features
provided by the TNC on your machine tool.
TNC functions that may not be available on your machine include:
Tool measurement with the TT
Please contact your machine tool builder to become familiar with the
features of your machine.
Many machine manufacturers, as well as HEIDENHAIN, offer
programming courses for the TNCs. We recommend these courses as
an effective way of improving your programming skill and sharing
information and ideas with other TNC users.
6
TNC model, software and features
Software options
The iTNC 530 features various software options that can be enabled
by you or your machine tool builder. Each option is to be enabled
separately and contains the following respective functions:
Software option 1
Cylinder surface interpolation (Cycles 27, 28, 29 and 39)
Tilting the machining plane (Cycle 19, PLANE function and 3-D ROT
soft key in the Manual Operation mode)
Software option 2
5-axis interpolation
Spline interpolation
3-D machining:
M114: Automatic compensation of machine geometry when
working with tilted axes
M128: Maintaining the position of the tool tip when positioning
with swivel axes (TCPM)
FUNCTION TCPM: Maintaining the position of the tool tip when
positioning with tilted axes (TCPM) in selectable modes
M144: Compensating the machine’s kinematic configuration for
ACTUAL/NOMINAL positions at end of block
Additional parameters for finishing/roughing and tolerance
for rotary axes in Cycle 32 (G62)
LN blocks (3-D compensation)
8
TNC model, software and features
Cross Talk Compensation software option
Description
(CTC)
Compensation of axis couplings Machine Manual
10
TNC model, software and features
FCL 3 functions Description
smarT.NC: Positioning strategy for smarT.NC Pilot
machining point patterns
Legal information
This product uses open source software. Further information is
available on the control under
Programming and Editing operating mode
MOD function
LEGAL INFORMATION SOFT KEY
12
In Manual mode the RW-3D mode for position display is now also
14
New functions in version 60642x-02
New functions in version 60642x-02
New function for opening 3-D data (software option) directly on the
TNC (see "Opening 3-D CAD data (software option)" page 292 ff)
Improvement of Dynamic Collision Monitoring (DCM):
Chucking equipment archives can now be activated (see "Loading
fixtures under program control" on page 421) and deactivated (see
"Deactivating fixtures under program control" on page 421) under
program control
The display of stepped tools has been improved
When you select tool carrier kinematics, the TNC now displays a
graphical preview of the carrier kinematics (see "Assigning the
tool-carrier kinematics" on page 192)
Extension of the functions for multiple axis machining:
In the Manual Operation mode you can now move the axes even
if TCPM and Tilt Working Plane are active at the same time
You can now also change tools when M128/FUNCTION TCPM is active
File management: archiving of files in ZIP archives (see "Archiving
files" page 144 ff)
The nesting depth for program calls has been increased from 6 to 10
(see "Nesting depth" on page 302)
smarT.NC units can now be inserted anywhere in plain-language
programs (see "smartWizard" on page 461)
There is now a search function based on tool names available in the
tool selection pop-up window (see "Search for tool names in the
selection window" on page 198)
Improvements in pallet machining:
The new column FIXTURE has been added to the pallet table to be
able to activate fixtures automatically (see "Pallet operation with
tool-oriented machining" page 550 ff)
The new workpiece status SKIP has been added to the pallet table
(see "Setting up the pallet level" page 556 ff)
If a tool sequence list is created for a pallet table, the TNC now
also checks whether all the NC programs of the pallet table are
available (see "Calling the tool management" on page 205)
16
New Cycle 225 ENGRAVING (see User’s Manual for Cycle
18
Improvements to the file management:
20
Cycle 225: Input of German umlauts is now possible; text can also
22
Changed functions in version 60642x-02
Changed functions in version
60642x-02
Tool names can now be defined with 32 characters (see "Tool
numbers and tool names" on page 180)
Improved and simplified operation by mouse and touchpad in all
graphics windows (see "Functions of the 3-D line graphics" on page
162)
Various pop-up windows have been redesigned
If you do a Test Run without calculating the machining time, the TNC
generates a tool usage file nevertheless (see "Tool usage test" on
page 202)
The size of the Service ZIP files has been increased to 40 MB (see
"Generating service files" on page 169)
M124 can now be deactivated by entering M124 without T (see "Do
not include points when executing non-compensated line blocks:
M124" on page 384)
The PRESET TABLE soft key has been renamed to DATUM
MANAGEMENT
The SAVE PRESET soft key has been renamed to SAVE ACTIVE
PRESET
24
Changed functions in version 60642x-04
Changed functions in version
60642x-04
DXF converter:
The direction of a contour is now already defined by the first click
on the first contour element (see "Selecting and saving a contour"
on page 280)
Multiple drilling positions that have already been selected can
now be deleted by drawing a rectangle around them while
pressing the CTRL key (see "Quick selection of hole positions in
an area defined by the mouse" on page 285)
The TNC shows the drives in the file manager in a defined sequence
(see "Calling the file manager" on page 127)
The TNC evaluates the column PITCH of the tool table in connection
with tapping cycles (see "Tool table: Standard tool data" on page 182)
26
Contents First Steps with the iTNC 530
1
Introduction
2
Programming: Fundamentals, File
Management 3
Programming: Programming Aids
4
Programming: Tools
5
Programming: Programming Contours
6
Programming: Data Transfer from DXF
Files or Plain-language Contours 7
Programming: Subprograms and Program
Section Repeats 8
Programming: Q Parameters
9
Programming: Miscellaneous Functions
10
Programming: Special Functions
11
Programming: Execution of CAM
programs, multi-axis machining 12
Programming: Pallet Management
13
Manual Operation and Setup
14
Positioning with Manual Data Input
15
Test Run and Program Run
16
MOD Functions
17
Tables and Overviews
18
30
3 Programming: Fundamentals, File Management ..... 101
3.1 Fundamentals ..... 102
Position encoders and reference marks ..... 102
Reference system ..... 102
Reference system on milling machines ..... 103
Polar coordinates ..... 104
Absolute and incremental workpiece positions ..... 105
Setting the datum ..... 106
3.2 Creating and writing programs ..... 107
Organization of an NC program in HEIDENHAIN Conversational format ..... 107
Define the blank: BLK FORM ..... 108
Creating a new part program ..... 109
Programming tool movements in conversational format ..... 111
Actual position capture ..... 113
Editing a program ..... 114
The TNC search function ..... 119
3.3 File management: Fundamentals ..... 121
Files ..... 121
Showing externally created files on the TNC ..... 123
Data backup ..... 123
32
4 Programming: Programming Aids ..... 155
4.1 Adding comments ..... 156
Application ..... 156
Entering comments during programming ..... 156
Inserting comments after program entry ..... 156
Entering a comment in a separate block ..... 156
Functions for editing of the comment ..... 157
4.2 Structuring programs ..... 158
Definition and applications ..... 158
Displaying the program structure window / Changing the active window ..... 158
Inserting a structuring block in the (left) program window ..... 158
Selecting blocks in the program structure window ..... 158
4.3 Integrated calculator ..... 159
Operation ..... 159
4.4 Programming graphics ..... 160
Generating / not generating graphics during programming ..... 160
Generating a graphic for an existing program ..... 160
Block number display ON/OFF ..... 161
Erasing the graphic ..... 161
Magnifying or reducing a detail ..... 161
4.5 3-D line graphics (FCL2 function) ..... 162
Application ..... 162
Functions of the 3-D line graphics ..... 162
Highlighting NC blocks in the graphics ..... 164
Block number display ON/OFF ..... 164
Erasing the graphic ..... 164
4.6 Immediate Help for NC Error Messages ..... 165
Show error messages ..... 165
Display HELP ..... 165
4.7 List of all current error messages ..... 166
Function ..... 166
Showing the error list ..... 166
Window contents ..... 167
Calling the TNCguide help system ..... 168
Generating service files ..... 169
4.8 The context-sensitive help system TNCguide (FCL3 function) ..... 170
Application ..... 170
Working with TNCguide ..... 171
Downloading current help files ..... 175
34
6 Programming: Programming Contours ..... 219
6.1 Tool movements ..... 220
Path functions ..... 220
FK free contour programming ..... 220
Miscellaneous functions M ..... 220
Subprograms and program section repeats ..... 220
Programming with Q parameters ..... 220
6.2 Fundamentals of path functions ..... 221
Programming tool movements for workpiece machining ..... 221
6.3 Contour approach and departure ..... 225
Overview: Types of paths for contour approach and departure ..... 225
Important positions for approach and departure ..... 226
Approaching on a straight line with tangential connection: APPR LT ..... 228
Approaching on a straight line perpendicular to the first contour point: APPR LN ..... 228
Approaching on a circular path with tangential connection: APPR CT ..... 229
Approaching on a circular arc with tangential connection from a straight line to the contour: APPR LCT ..... 230
Departing on a straight line with tangential connection: DEP LT ..... 231
Departing on a straight line perpendicular to the last contour point: DEP LN ..... 231
Departing on a circular path with tangential connection: DEP CT ..... 232
Departing on a circular arc tangentially connecting the contour and a straight line: DEP LCT ..... 232
6.4 Path contours—Cartesian coordinates ..... 233
Overview of path functions ..... 233
Straight line L ..... 234
Inserting a chamfer between two straight lines ..... 235
Corner rounding RND ..... 236
Circle center CC ..... 237
Circular arc C around circle center CC ..... 238
Circular path CR with defined radius ..... 239
Circular path G06 with tangential connection ..... 241
6.5 Path contours—Polar coordinates ..... 246
Overview ..... 246
Zero point for polar coordinates: pole CC ..... 247
Straight line LP ..... 247
Circular path CP around pole CC ..... 248
Circular path CTP with tangential connection ..... 249
Helical interpolation ..... 250
36
7 Programming: Data Transfer from DXF Files or Plain-language Contours ..... 273
7.1 DXF data processing (software option) ..... 274
Application ..... 274
Opening a DXF file ..... 275
Working with the DXF converter ..... 275
Basic settings ..... 276
Layer settings ..... 277
Specifying the reference point ..... 278
Selecting and saving a contour ..... 280
Selecting and storing machining positions ..... 283
7.2 Data transfer from plain-language programs ..... 290
Application ..... 290
Opening plain-language files ..... 290
Defining a reference point; selecting and saving contours ..... 291
7.3 Opening 3-D CAD data (software option) ..... 292
Application ..... 292
Operating the CAD viewer ..... 293
38
9 Programming: Q Parameters ..... 313
9.1 Principle and overview ..... 314
Programming notes ..... 316
Calling Q-parameter functions ..... 317
9.2 Part families—Q parameters in place of numerical values ..... 318
Application ..... 318
9.3 Describing contours through mathematical operations ..... 319
Application ..... 319
Overview ..... 319
Programming fundamental operations ..... 320
9.4 Trigonometric functions ..... 321
Definitions ..... 321
Programming trigonometric functions ..... 322
9.5 Calculating circles ..... 323
Application ..... 323
9.6 If-then decisions with Q parameters ..... 324
Application ..... 324
Unconditional jumps ..... 324
Programming if-then decisions ..... 325
Abbreviations used: ..... 325
9.7 Checking and changing Q parameters ..... 326
Procedure ..... 326
9.8 Additional functions ..... 327
Overview ..... 327
FN 14: ERROR: Displaying error messages ..... 328
FN 15: PRINT: Output of texts or Q parameter values ..... 332
FN 16: F-PRINT: Formatted output of text and Q parameter values ..... 333
FN 18: SYS-DATUM READ: Read system data ..... 338
FN 19: PLC: Transfer values to the PLC ..... 346
FN 20: WAIT FOR: NC and PLC synchronization ..... 347
9.9 Entering formulas directly ..... 349
Entering formulas ..... 349
Rules for formulas ..... 351
Programming example ..... 352
40
10 Programming: Miscellaneous Functions ..... 377
10.1 Entering miscellaneous functions M and STOP ..... 378
Fundamentals ..... 378
10.2 Miscellaneous functions for program run control, spindle and coolant ..... 379
Overview ..... 379
10.3 Miscellaneous functions for coordinate data ..... 380
Programming machine-referenced coordinates: M91/M92 ..... 380
Activating the most recently entered reference point: M104 ..... 382
Moving to positions in a non-tilted coordinate system with a tilted working plane: M130 ..... 382
10.4 Miscellaneous functions for contouring behavior ..... 383
Smoothing corners: M90 ..... 383
Inserting a rounding arc between straight lines: M112 ..... 383
Do not include points when executing non-compensated line blocks: M124 ..... 384
Machining small contour steps: M97 ..... 385
Machining open contour corners: M98 ..... 387
Feed rate factor for plunging movements: M103 ..... 388
Feed rate in millimeters per spindle revolution: M136 ..... 389
Feed rate for circular arcs: M109/M110/M111 ..... 390
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 ..... 391
Superimposing handwheel positioning during program run: M118 ..... 393
Retraction from the contour in the tool-axis direction: M140 ..... 394
Suppressing touch probe monitoring: M141 ..... 395
Deleting modal program information: M142 ..... 396
Deleting basic rotation: M143 ..... 396
Automatically retract tool from the contour at an NC stop: M148 ..... 397
Suppressing the limit switch message: M150 ..... 398
10.5 Miscellaneous functions for laser cutting machines ..... 399
Principle ..... 399
Direct output of the programmed voltage: M200 ..... 399
Output of voltage as a function of distance: M201 ..... 399
Output of voltage as a function of speed: M202 ..... 400
Output of voltage as a function of time (time-dependent ramp): M203 ..... 400
Output of voltage as a function of time (time-dependent pulse): M204 ..... 400
42
11.6 Adaptive Feed Control (AFC—software option) ..... 440
Application ..... 440
Defining the AFC basic settings ..... 441
Recording a teach-in cut ..... 443
Activating/deactivating AFC ..... 447
Log file ..... 448
Tool breakage/tool wear monitoring ..... 450
Spindle load monitoring ..... 450
11.7 Active Chatter Control (ACC—software option) ..... 451
Application ..... 451
Activating/deactivating ACC ..... 451
11.8 Generating a backward program ..... 452
Function ..... 452
Prerequisites for the program to be converted ..... 453
Application example ..... 454
11.9 Filtering contours (FCL 2 function) ..... 455
Function ..... 455
11.10 File functions ..... 456
Application ..... 456
Defining file functions ..... 456
11.11 Defining coordinate transformations ..... 457
Overview ..... 457
TRANS DATUM AXIS ..... 457
TRANS DATUM TABLE ..... 458
TRANS DATUM RESET ..... 459
Defining a program call ..... 460
11.12 smartWizard ..... 461
Application ..... 461
Inserting a UNIT ..... 462
Editing a UNIT ..... 463
11.13 Creating text files ..... 464
Application ..... 464
Opening and exiting text files ..... 464
Editing texts ..... 465
Deleting and re-inserting characters, words and lines ..... 466
Editing text blocks ..... 467
Finding text sections ..... 468
44
12 Programming: Execution of CAM Programs, Multi-axis Machining ..... 481
12.1 Execution of CAM programs ..... 482
From 3-D model to NC program ..... 482
Please note for the configuration of the post processor ..... 483
Please note the following for CAM programming ..... 485
Possibilities for user intervention on the TNC ..... 487
12.2 Functions for multiple axis machining ..... 488
12.3 The PLANE function: Tilting the working plane (software option 1) ..... 489
Introduction ..... 489
Defining the PLANE function ..... 491
Position display ..... 491
Resetting the PLANE function ..... 492
Defining the machining plane with spatial angles: PLANE SPATIAL ..... 493
Defining the machining plane with projection angles: PROJECTED PLANE ..... 495
Defining the machining plane with Euler angles: EULER PLANE ..... 497
Defining the working plane with two vectors: VECTOR PLANE ..... 499
Defining the working plane via three points: PLANE POINTS ..... 501
Defining the machining plane with a single, incremental spatial angle: PLANE RELATIVE ..... 503
Tilting the working plane through axis angle: PLANE AXIAL (FCL 3 function) ..... 504
Specifying the positioning behavior of the PLANE function ..... 506
12.4 Inclined-tool machining in the tilted plane ..... 512
Function ..... 512
Inclined-tool machining via incremental traverse of a rotary axis ..... 512
Inclined-tool machining via normal vectors ..... 513
12.5 TCPM FUNCTION (software option 2) ..... 514
Function ..... 514
Define TCPM FUNCTION ..... 515
Mode of action of the programmed feed rate ..... 515
Interpretation of the programmed rotary axis coordinates ..... 516
Type of interpolation between the starting and end position ..... 517
Reset TCPM FUNCTION ..... 518
46
13 Programming: Pallet Management ..... 543
13.1 Pallet management ..... 544
Application ..... 544
Selecting a pallet table ..... 546
Exiting the pallet file ..... 546
Pallet datum management with the pallet preset table ..... 547
Executing the pallet file ..... 549
13.2 Pallet operation with tool-oriented machining ..... 550
Application ..... 550
Selecting a pallet file ..... 555
Setting up the pallet file with the entry form ..... 555
Sequence of tool-oriented machining ..... 560
Exiting the pallet file ..... 561
Executing a pallet file ..... 561
48
14.9 Workpiece presetting with a touch probe ..... 608
Overview ..... 608
Workpiece presetting in any axis ..... 608
Corner as preset—using points that were already probed for a basic rotation ..... 609
Corner as datum—without using points that were already probed for a basic rotation ..... 609
Circle center as preset ..... 610
Center line as preset ..... 611
Setting presets using holes/circular studs ..... 612
Measuring the workpiece with a touch probe ..... 613
Using touch probe functions with mechanical probes or dial gauges ..... 616
14.10 Tilting the working plane (software option 1) ..... 617
Application, function ..... 617
Traversing reference points in tilted axes ..... 619
Setting a preset in a tilted coordinate system ..... 619
Datum setting on machines with rotary tables ..... 619
Datum setting on machines with spindle-head changing systems ..... 620
Position display in a tilted system ..... 620
Limitations on working with the tilting function ..... 620
Activating manual tilting ..... 621
Setting the current tool-axis direction as the active machining direction (FCL 2 function) ..... 622
50
16 Test Run and Program Run ..... 629
16.1 Graphics ..... 630
Application ..... 630
Overview of display modes ..... 632
Plan view ..... 632
Projection in 3 planes ..... 633
3-D view ..... 634
Magnifying details ..... 637
Repeating graphic simulation ..... 638
Displaying the tool ..... 638
Measurement of machining time ..... 639
16.2 Functions for program display ..... 640
Overview ..... 640
16.3 Test Run ..... 641
Application ..... 641
16.4 Program Run ..... 647
Application ..... 647
Running a part program ..... 648
Interrupting machining ..... 649
Moving the machine axes during an interruption ..... 651
Resuming program run after an interruption ..... 652
Mid-program startup (block scan) ..... 653
Returning to the contour ..... 657
16.5 Automatic program start ..... 658
Application ..... 658
16.6 Optional block skip ..... 659
Application ..... 659
Erasing the "/" character ..... 659
16.7 Optional program-run interruption ..... 660
Application ..... 660
52
17.14 Entering the axis traverse limits, datum display ..... 689
Application ..... 689
Working without additional traverse limits ..... 689
Finding and entering the maximum traverse ..... 689
Display of presets ..... 690
17.15 Displaying HELP files ..... 691
Application ..... 691
Selecting HELP files ..... 691
17.16 Displaying operating times ..... 692
Application ..... 692
17.17 Checking the data carrier ..... 693
Application ..... 693
Performing the data carrier check ..... 693
17.18 Setting the system time ..... 694
Application ..... 694
Selecting appropriate settings ..... 694
17.19 TeleService ..... 695
Application ..... 695
Calling/exiting TeleService ..... 695
17.20 External access ..... 696
Application ..... 696
17.21 Host computer operation ..... 698
Application ..... 698
17.22 Configuring the HR 550 FS wireless handwheel ..... 699
Application ..... 699
Assigning the handwheel to a specific handwheel holder ..... 699
Setting the transmission channel ..... 700
Selecting the transmitter power ..... 701
Statistics ..... 701
54
First Steps with the
iTNC 530
1.1 Overview
1.1 Overview
This chapter is intended to help TNC beginners quickly learn to handle
the most important procedures. For more information on a respective
topic, see the section referred to in the text.
The following topics are included in this chapter:
Machine switch-on
Programming the first part
Graphically testing the first part
Setting up tools
Workpiece setup
Running the first program
Switch on the power supply for control and machine. The TNC starts
the operating system. This process may take several minutes. Then
the TNC will display the message "Power interrupted" in the screen
header
Press the CE key: The TNC compiles the PLC program
Cycle programming: See User’s Manual for Cycles 5 PATTERN DEF POS1( X... Y... Z... ) ...
6 CYCL DEF...
7 CYCL CALL PAT FMAX M13
8 L Z+250 R0 FMAX M2
9 END PGM EXCYC MM
10
Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
Retract the tool: Press the orange axis key Z in order
to get clear in the tool axis, and enter the value for the
position to be approached, e.g. 250. Confirm with the
ENT key
20
1 4
Confirm Radius comp.: RL/RR/no comp? by pressing 5
3-D view
Compatibility
The TNC can run all part programs that were written on HEIDENHAIN
contouring controls starting from the TNC 150 B. In as much as old
TNC programs contain OEM cycles, the iTNC 530 must be adapted to
them with the PC software CycleDesign. For more information,
contact your machine tool builder or HEIDENHAIN.
78 Introduction
2.2 Visual display unit and keyboard
2.2 Visual display unit and
keyboard
Visual display unit
The TNC is shipped with a 15-inch color flat-panel screen. A 19-inch
color flat-panel screen is also available as an alternative.
1 8
1 Header
When the TNC is on, the selected operating modes are shown in
the screen header: the machining mode at the left and the
programming mode at right. The currently active operating mode
is displayed in the larger box, where the dialog prompts and TNC 91
7
messages also appear (unless the TNC is showing only graphics).
2 Soft keys
In the footer the TNC indicates additional functions in a soft-key
row. You can select these functions by pressing the keys 5 2
immediately below them. The lines immediately above the soft-
key row indicate the number of soft-key rows that can be called 6
1
with the black arrow keys to the right and left. The bar
31
representing the active soft-key row is highlighted. 4 4
The15-inch screen has 8 soft keys, the 19-inch screen has 10 soft
keys.
3 Soft-key selection keys
4 Shift between soft-key rows
5 Setting the screen layout
1
6 Shift key for switchover between machining and programming
modes
7 Soft-key selection keys for machine tool builder soft keys
The15-inch screen has 6 soft keys, the 19-inch screen has 18 soft
keys.
8 Switching the soft-key rows for machine tool builders 7 7
2 8
5 6
1
4 31 4
80 Introduction
2.2 Visual display unit and keyboard
Operating panel
The TNC is available with different operating panels. The figures show
the controls and displays of the TE 730 (15") and TE 740 (19") operating 7
panels:
1 Alphabetic keyboard for entering texts and file names, and for ISO
programming.
Dual-processor version: Additional keys for Windows operation 1
2 File management 2
1
5 9
7 6
Calculator
MOD function 3
4
1
HELP function 8
3 Programming modes
4 Machine operating modes
5 Initiation of programming dialogs 7
6 Navigation keys and GOTO jump command
10
7 Numerical input and axis selection
8 Touchpad
9 smarT.NC navigation keys
1
10 USB connection 2
1 9
7
5 6
The functions of the individual keys are described on the inside front
cover. 4
1 3
8
82 Introduction
2.3 Operating modes
Programming and Editing
In this mode of operation you can write your part programs. The FK
free programming feature, the various cycles and the Q parameter
functions help you with programming and add necessary information.
If desired, the programming graphics or the 3-D line graphics (FCL 2
function) display the programmed traverse paths.
Soft keys for selecting the screen layout
Test Run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities,
missing or incorrect data within the program or violations of the
working space. This simulation is supported graphically in different
display modes.
With the dynamic collision monitoring (DCM) software option you can
test the program for potential collisions. As during program run, the
TNC takes into account all permanent machine components defined
by the machine manufacturer as well as all measured fixtures.
Soft keys for selecting the screen layout: see "Program Run, Full
Sequence and Program Run, Single Block", page 84.
Graphics
Soft keys for selecting the screen layout for pallet tables
84 Introduction
2.4 Status displays
2.4 Status displays
"General" status display
The status display in the lower part of the screen informs you of the
current state of the machine tool. It is displayed automatically in the
following modes of operation:
Program Run, Single Block and Program Run, Full Sequence, except
if the screen layout is set to display graphics only, and
Positioning with Manual Data Input (MDI).
In the Manual Operation and El. Handwheel modes the status display
appears in the large window.
Information in the status display
Symbol Meaning
ACTL. Actual or nominal coordinates of the current position
Axis is locked
Symbol Meaning
Dynamic Collision Monitoring (DCM) is active
86 Introduction
2.4 Status displays
Additional status displays
The additional status displays contain detailed information on the
program run. They can be called in all operating modes except for the
Programming and Editing mode of operation.
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.
Tool information
Active M functions
Active subprogram
Current time
Active programs
88 Introduction
2.4 Status displays
General pallet information (PAL tab)
90 Introduction
2.4 Status displays
Positions and coordinates (POS tab)
Tool axis
Scaling datum
92 Introduction
2.4 Status displays
Global program settings 1 (GPS1 tab, software option)
Superimposed mirroring
Superimposed rotation
The TNC displays the AFC tab only if the function is active
on your machine.
Cut number
94 Introduction
2.5 Window manager
2.5 Window manager
Task bar
The task bar that can be shown by pressing the left Windows key on
the ASCII keyboard enables you to select different workspaces with
the mouse. The iTNC provides the following workspaces:
Workspace 1: Active mode of operation
Workspace 2: Active programming mode
Workspace 3: Manufacturer's applications (optionally available), e.g.
remote control of a Windows computer
In the task bar you can also select other applications that you have
started together with the TNC (switch for example to the PDF viewer
or TNCguide)
Click the green HEIDENHAIN symbol to open a menu in which you can
get information, make settings or start applications. The following
functions are available:
About HEROS: Information about the operating system of the TNC
NC Control: Start and stop the TNC software. Only permitted for
diagnostic purposes
Web Browser: Start Mozilla Firefox
RemoteDesktopManager: Configuration of the
RemoteDesktopManager software option
Diagnostics: Available only to authorized specialists to start
diagnostic functions
Settings: Configuration of miscellaneous settings
Screen savers: Configuration of the available screen savers
Date/Time: Set the date and time
Firewall: Configuration of the firewall
Language: Language setting for the system dialogs. During startup
the TNC overwrites this setting with the language setting of MP
7230
Network: Network setting
SELinux: Configuration of the virus scanner
Shares: Configure network connections
VNC: Configuration of the VNC server
WindowManagerConfig: Configuration of the Window manager
Tools: Only for authorized users. The applications available under
Tools can be started directly by selecting the pertaining file type in
the file management of the TNC (see "Additional tools for
management of external file types" on page 146)
96 Introduction
2.6 SELinux security software
2.6 SELinux security software
SELinux is an extension for Linux-based operating systems. SELinux
is an additional security software package based on Mandatory
Access Control (MAC) and protects the system against the running of
unauthorized processes or functions and therefore protects against
viruses and other malware.
MAC means that each action must be specifically permitted otherwise
the TNC will not run it. The software is intended as protection in
addition to the normal access restriction in Linux. Certain processes
and actions can only be executed if the standard functions and access
control of SELinux permit it.
98 Introduction
2.7 Accessories: HEIDENHAIN touch probes and electronic handwheels
TT 140 tool touch probe for tool measurement
The TT 140 is a triggering touch probe for tool measurement and
inspection. Your TNC provides three cycles for this touch probe with
which you can measure the tool length and radius automatically either
with the spindle rotating or stopped. The TT 140 features a particularly
rugged design and a high degree of protection, which make it
insensitive to coolants and swarf. The triggering signal is generated by
a wear-resistant and highly reliable optical switch.
HR electronic handwheels
Electronic handwheels facilitate moving the axis slides precisely by
hand. A wide range of traverses per handwheel revolution is available.
Apart from the HR130 and HR150 integral handwheels, HEIDENHAIN
also offers the HR 520 and HR 550 FS portable handwheels. You will
find a detailed description of HR 520 in Chapter 14 of this manual (see
"Traversing with electronic handwheels" on page 569).
100
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 coordinates
If the production drawing is dimensioned in Cartesian coordinates, you
also write the NC program using Cartesian coordinates. For parts
containing circular arcs or angles it is often simpler to give the Y
dimensions in polar coordinates.
While the Cartesian coordinates X, Y and Z are three-dimensional and PR
can describe points in space, polar coordinates are two-dimensional PA2
and describe points in a plane. Polar coordinates have their datum at a
circle center (CC), or pole. A position in a plane can be clearly defined PA3 PR
by the: PR
PA1
Polar Radius, the distance from the circle center CC to the position, 10 0°
CC
and the
Polar Angle, the value of the angle between the angle reference axis
and the line that connects the circle center CC with the position. X
30
Setting the pole and the angle reference axis
The pole is set by entering two Cartesian coordinates in one of the
three planes. These coordinates also set the reference axis for the
polar angle PA.
Y/Z +Y
Z/X +Z Z
Y
X
Z Y
X = 10 mm
Y = 10 mm 4
10
X = 20 mm X = 20 mm
Y = 10 mm Y = 10 mm
10 20 20 X
Absolute and incremental polar coordinates
Absolute polar coordinates always refer to the pole and the angle
reference axis.
Incremental coordinates always refer to the last programmed nominal
position of the tool.
Y
+IPR
PR
+IPA +IPA PR
PR PA
10 0°
CC
X
30
The fastest, easiest and most accurate way of setting the datum is by
using a touch probe from HEIDENHAIN. See "Datum setting with
touch probes" in the Touch Probe Cycles User’s Manual.
Y
Example
The workpiece drawing shows holes (1 to 4), whose dimensions are 7 150
shown with respect to an absolute datum with the coordinates X=0 3 4
0
Y=0. The coordinates of holes 5 to 7 refer to the relative datum with 750 6
the absolute coordinates X=450 Y=750. By using the DATUM SHIFT 5 -150
cycle you can shift the datum temporarily to the position X=450, 300±0,1
Y=750 and program the holes (5 to 7) without further calculations.
0
320
1 2
X
325 450 900
950
Danger of collision!
After each tool call, HEIDENHAIN recommends always
traversing to a safe position from which the TNC can
position the tool for machining without causing a collision!
Select the directory in which you wish to store the new program:
Start block
COORDINATES?
MISCELLANEOUS FUNCTION M?
Editing a program
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Go to next page
Go to beginning of program
Go to end of program
Undoing changes
If desired, you can undo all changes made since the last time you
saved the program. Proceed as follows:
Select the soft-key row with the saving functions
Press the CANCEL CHANGE soft key: The TNC opens a window in
which you can confirm or cancel this action
Press the YES soft key or the ENT key to discard the changes made.
Abort with the NO soft key
If you want to insert a word, press the horizontal arrow key repeatedly
until the desired dialog appears. You can then enter the desired value.
The word that is highlighted in the new block is the same as the one
you selected previously.
If required, select the block containing the word you wish to find
Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row
Activate the Replace function: The TNC superimposes
a window for entering the text to be inserted
Enter the text to be searched for. Please note that the
search is case-sensitive. Then confirm with the ENT
key
Enter the text to be inserted. Please note that the
entry is case-sensitive
Start the search process: The TNC displays the
available search options in the soft-key row (see the
table of search options)
If required, change the search options
smarT.NC files
Structured unit programs .HU
Contour descriptions .HC
Point tables for machining positions .HP
Tables for
Tools .T
Tool changers .TCH
Pallets .P
Zero points .D
Points .PNT
Presets .PR
Cutting data .CDT
Cutting materials, workpiece materials .TAB
Texts as
ASCII files .A
Help files .CHM
Drawing data as
ASCII files .DXF
Other files
Fixture templates .CFT
Parameterized fixtures .CFX
Dependent data (such as structure items) .DEP
Archive .ZIP
When you write a part program on the TNC, you must first enter a
program name. The TNC saves the program to the hard disk as a file
with the same name. The TNC can also save texts and tables as files.
The TNC provides a special file management window in which you can
easily find and manage your files. Here you can call, copy, rename and
erase files.
You can manage an almost unlimited number of files with the TNC, at
least 21 GB. The actual size of the hard disk depends on the main
computer installed in your machine. Please refer to the specifications.
A single NC program can be up to 2 GB in size.
File names
When you store programs, tables and texts as files, the TNC adds an
extension to the file name, separated by a point. This extension
indicates the file type.
PROG20 .H
File name File type
The maximum limit for the path and file name together is
82 characters (see "Paths" on page 124).
For further information about displaying and editing the listed file
types: See "Additional tools for management of external file types" on
page 146.
Data backup
We recommend saving newly written programs and files on a PC at
regular intervals.
The TNCremoNT data transmission freeware from HEIDENHAIN is a
simple and convenient method for backing up data stored on the TNC.
You additionally need a data medium on which all machine-specific
data, such as the PLC program, machine parameters, etc., are stored.
Ask your machine manufacturer for assistance, if necessary.
Saving the contents of the entire hard disk (2GB) can take
up to several hours. In this case, it is a good idea to save
the data outside of work hours, e.g. during the night.
Take the time occasionally to delete any unneeded files so
that the TNC always has enough hard-disk space for
system files (such as the tool table).
Directory names
The maximum limit for the path, including the directory name, is 82
characters (see "Paths" on page 124).
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
For most file types, the TNC also displays a preview of the currently
highlighted file in the window at bottom left. With very large files, it
may take some time for the preview to appear. You can also
deactivate the file preview function (see "Adapting the file manager"
on page 142)
Use the arrow keys or the soft keys to move the highlight to the
desired position on the screen:
4*.H Use wild card characters, e.g. to show all files of the
file type .H that begin with 4
The TNC opens the selected file in the operating mode from which you
called the file manager
With the arrow keys or the soft keys you can move the highlight to an
.HU or an .HC file:
Move the highlight in the left window to the directory in which you
want to create a subdirectory
NEW Enter the new file name, and confirm with ENT
Select the directory in which you wish to create the new file
NEW Enter the new file name with the file extension, and
confirm with ENT
NEW Enter the new file name with the file extension, and
confirm with ENT
Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, if desired
Copy the tagged files into the target directory
Overwriting files
If you copy files into a directory in which other files are stored under
the same name, the TNC will ask whether the files in the target
directory should be overwritten:
To overwrite all files, press the YES soft key, or
To overwrite no files, press the NO soft key, or
To confirm each file separately before overwriting it, press the
CONFIRM soft key
If you wish to overwrite a protected file, this must also be confirmed
or aborted separately.
The REPLACE FIELDS soft key does not appear if you want
to overwrite the table in the TNC with an external data
transfer software, such as TNCremoNT. Copy the
externally created file into a different directory, and then
copy the desired fields with the TNC file management.
The file extension of the externally created table should be
.A (ASCII). In these cases the table can contain any
number of lines. If you create a file of type *.T, then the
table must contain sequential line numbers beginning with
0.
Example
With a tool presetter you have measured the length and radius of ten
new tools. The tool presetter then generates the tool table TOOL.A
with 10 rows (for the 10 tools) and the columns
Tool number (column T)
Tool length (column L)
Tool radius (column R)
Copy this table from the external data medium to any directory
Copy the externally created table over the existing table using the
TNC file manager. The TNC asks if you wish to overwrite the
existing TOOL.T tool table:
If you press the YES soft key, the TNC will completely overwrite the
current TOOL.T tool table. After this copying process the new
TOOL.T table consists of 10 lines. The only remaining columns in
the table are tool number, tool length and tool radius
Or, if you press the REPLACE FIELDS soft key, the TNC merely
overwrites the first 10 lines of the number, length and radius
columns in the TOOL.T file. The data of the other lines and columns
is not changed
Copying a directory
Move the highlight in the right window onto the directory you want
to copy
Press the COPY soft key: the TNC opens the window for selecting
the target directory
Select the target directory and confirm with ENT or the OK soft key:
The TNC copies the selected directory and all its subdirectories to
the selected target directory
Use the arrow keys to move the highlight to the file you wish to select:
Moves the highlight up and down within a window
Deleting a directory
Tagging files
Renaming a file
Move the highlight to the file you want to rename
Select the renaming function
For more information: See "USB devices on the TNC (FCL 2 function)"
on page 154.
Archiving files
You can use the TNC archiving function to save files and directories in
a ZIP archive. You can open the ZIP archives externally using standard
programs.
The TNC packs all the marked files and directories into the
desired ZIP archive. The TNC packs TNC-specific files
(e.g. plain-language programs) in ASCII format so that you
can open them externally with an ASCII editor, if
necessary
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the PDF file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use the PDF viewer is provided under Help.
To exit the PDF viewer, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the Excel file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use the Gnumeric function is provided under
Help.
To exit Gnumeric, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Quit: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the PDF file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use Mozilla Firefox is provided under Help.
To exit Mozilla Firefox, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Quit: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the archive file open. Alternatively, you
can also click the corresponding symbol in the task bar to switch back
to the TNC interface.
If you position the mouse pointer over a button, a brief tooltip
explaining the function of this button will be displayed. More
information on how to use Xarchiver function is provided under Help.
Please note that the TNC does not carry out any binary-to-
ASCII conversion or vice versa when compressing or
decompressing NC programs and NC tables. When such
files are transferred to TNC controls using other software
versions, the TNC may not be able to read them.
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the text file open. Alternatively, you can
also click the corresponding symbol in the task bar to switch back to
the TNC interface.
The shortcuts you are familiar with from Windows, which you can use
to edit texts quickly (CTRL+C, CTRL+V,...), are available within
Mousepad.
To exit Mousepad, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the graphics file open. Alternatively, you
can also click the corresponding symbol in the task bar to switch back
to the TNC interface.
More information on how to use ristretto function is provided under
Help.
To exit ristretto, proceed as follows:
Use the mouse to select the File menu item
Select the menu item Close: The TNC returns to the file manager
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window
If you wish to copy from the external data medium to the TNC, move
the highlight in the right window to the file to be transferred.
Transfer several files: Press the TAG soft key (in the
second soft-key row, see "Tagging files", page 138)
Confirm with the OK soft key or with the ENT key. A status window
appears on the TNC, informing about the copying progress, or
It may take some time to mount a network device. At the upper right
of the screen the TNC displays [READ DIR] to indicate that a
connection is being established. The maximum transmission speed is
2 to 5 Mbit/s, depending on the type of file being transferred and how
busy the network is.
The TNC also displays the USB: TNC does not support
device error message if you connect a USB hub. In this
case, simply acknowledge the message with the CE key.
In theory, you should be able to connect all USB devices
with the file systems mentioned above to the TNC. If you
nevertheless encounter problems, please contact
HEIDENHAIN.
Subtraction –
Multiplication *
Division :
Sine S
Cosine C
Tangent T
Arc sine AS
Arc cosine AC
Arc tangent AT
Powers ^
Square root Q
Inversion /
Calculations in parentheses ()
pi (3.14159265359) P
Display result =
Additional functions:
Function Soft key
Generate a complete graphic
You can also use the mouse with the 3-D line graphics. The following
functions are available:
In order to rotate the wire model shown in three dimensions: Hold
the right mouse button down and move the mouse. The TNC
displays a coordinate system showing the currently active
orientation of the workpiece. After you release the right mouse
button, the TNC orients the workpiece to the defined orientation
In order to shift the wire model shown: Hold the center mouse
button or the wheel button down and move the mouse. The TNC
shifts the workpiece in the corresponding direction. After you
release the center mouse button, the TNC shifts the workpiece to
the defined position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button: Select standard view
Display HELP
To display Help, press the HELP key
Read the description of the error and the possibilities
for correcting it. The TNC may show additional
information that can be helpful to trained
HEIDENHAIN personnel during troubleshooting.
Close the Help window with the CE key, thus
canceling the error message
Remove the cause of the error as described in the
Help window
Parallel to the error list you can also view the respective
help text in a separate window: Press the HELP key.
Column Meaning
Number Error number (–1: no error number defined),
issued by HEIDENHAIN or your machine tool
builder
For many soft keys there is a context-sensitive call through which you
can go directly to the description of the soft key's function. This
functionality requires using a mouse. Proceed as follows:
Select the soft-key row containing the desired soft key
Click with the mouse on the help symbol that the TNC displays just
above the soft-key row: The mouse pointer turns into a question
mark
Move the question mark to the soft key for which you want an
explanation, and click: The TNC opens TNCguide. If no specific part
of the help is assigned to the selected soft key, the control opens
the book file main.chm, in which you can use the search function
or the navigation to find the desired explanation manually.
Even if you are editing an NC block, context-sensitive help is available:
Select any NC block
Use the arrow keys to move the cursor to the block
Press the HELP key: The TNC starts the help system and shows a
description for the active function (does not apply to miscellaneous
functions or cycles that were integrated by your machine tool
builder)
Exit TNCguide
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.
Select the Index tab
Activate the Keyword input field
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
Use the arrow key to highlight the desired keyword
Use the ENT key to call the information on the
selected keyword
Full-text search
In the Find tab you can search all of TURNguide for a specific word.
The left side is active.
Select the Find tab
Activate the Find: input field
Enter the desired word and confirm with the ENT key:
The TNC lists all sources containing the word
Use the arrow key to highlight the desired source
Press the ENT key to go to the selected source
English TNC:\tncguide\en
Czech TNC:\tncguide\cs
French TNC:\tncguide\fr
Italian TNC:\tncguide\it
Spanish TNC:\tncguide\es
Portuguese TNC:\tncguide\pt
Swedish TNC:\tncguide\sv
Danish TNC:\tncguide\da
Finnish TNC:\tncguide\fi
Dutch TNC:\tncguide\nl
Polish TNC:\tncguide\pl
Hungarian TNC:\tncguide\hu
Russian TNC:\tncguide\ru
Norwegian TNC:\tncguide\no
Slovak TNC:\tncguide\sk
Latvian TNC:\tncguide\lv
Korean TNC:\tncguide\kr
Estonian TNC:\tncguide\et
Turkish TNC:\tncguide\tr
Romanian TNC:\tncguide\ro
Lithuanian TNC:\tncguide\lt
Rapid traverse
If you wish to program rapid traverse, enter F MAX. To enter FMAX,
press the ENT key or the FMAX soft key when the dialog question
FEED RATE F = ? appears on the control's screen.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached. F MAX is only effective in the block
in which it is programmed. After the block with F MAXis executed, the
feed rate will return to the last feed rate entered as a numerical value.
Programmed change
In the part program, you can change the spindle speed in a TOOL CALL
block by entering the spindle speed only:
Program a tool call: Press the TOOL CALL key
Ignore the dialog question for Tool number? with the
NO ENT key
Ignore the dialog question for Working spindle axis
X/Y/Z ? with the NO ENT key
Enter the new spindle speed for the dialog question
Spindle speed S= ? and confirm with END, or switch
via the VC soft key to entry of the cutting speed
L
Tool numbers and tool names
R
Each tool is identified by a number between 0 and 30000. If you are
working with tool tables, you can also enter a tool name for each tool.
Tool names can have up to 32 characters. X
Permitted special characters: # $ % & , - . 0 1 2 3 4 5 6
789@ABCDEFGHIJKLMNOPQRSTUVW
X Y Z _.
Impermissible characters: <blank space> ! “ ‘ ( ) * + : ;
<=>?[/]^`abcdefghIjklmnopqrstuvwx
yz{|}~
The tool number 0 is automatically defined as the zero tool with the
length L=0 and the radius R=0. In tool tables, tool T0 should also be
defined with L=0 and R=0.
Tool length L
You should always enter the tool length L as an absolute value based
on the tool reference point. The entire tool length is essential for the
TNC in order to perform numerous functions involving multi-axis Z
machining.
L3
Tool radius R L1
L2
You can enter the tool radius R directly.
Example
4 TOOL DEF 5 L+10 R+5
NAME Name by which you call the tool in the program. Tool name?
Input range: 32 characters max., only capital letters, no space
characters.
When transferring tool tables to older software versions of the
iTNC 530 or to older TNC controls, you must make sure that tool
names are not longer than 16 characters, because otherwise they
will be truncated accordingly by the TNC when read in. This can
lead to errors in connection with the Replacement Tool function.
R2 Tool radius 2 for toroid cutters (only for 3-D radius compensation Tool radius R2?
or graphical representation of a machining operation with
spherical or toroid cutters).
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
DR2 Delta value for tool radius R2. Tool radius oversize R2?
Input range in mm: -999.9999 to +999.9999
Input range in inches: -39.37 to +39.37
LCUTS Tooth length of the tool for Cycle 22. Tooth length in the tool axis?
Input range in mm: 0 to +99999.9999
Input range in inches: 0 to +3936.9999
ANGLE Maximum plunge angle of the tool for reciprocating plunge-cut in Maximum plunge angle?
Cycles 22, 208 and 25x.
Input range: 0 to 90°
TIME1 Maximum tool life in minutes. This function can vary depending Maximum tool age?
on the individual machine tool. Your machine manual provides
more information.
Input range: 0 to 9999 minutes
TIME2 Maximum tool life in minutes during a TOOL CALL: If the current Maximum tool age for TOOL CALL?
tool age reaches or exceeds this value, the TNC changes the tool
during the next TOOL CALL (see also CUR.TIME).
Input range: 0 to 9999 minutes
CUR.TIME Current age of the tool in minutes: The TNC automatically counts Current tool age?
the current tool life (CUR.TIME). A starting value can be entered for
used tools.
Input range: 0 to 99999 minutes
OVRTIME Maximum amount in minutes that the tool life may be exceeded. Permitted overrun of service life?
This function can vary depending on the individual machine tool.
Your machine manual provides more information.
Input range: 0 to 99 minutes
PLC Information on this tool that is to be sent to the PLC. PLC status?
Input range: 8 characters bit-coded
PLC-VAL Value of this tool that is to be sent to the PLC. PLC value?
Input range: -99999.9999 to +99999.9999
PTYP Tool type for evaluation in the pocket table. Tool type for pocket table?
Input range: 0 to +99
NMAX Limit the spindle speed for this tool. The programmed value is Maximum speed [rpm]?
monitored (error message) as well as an increase in the shaft
speed via the potentiometer. Function inactive: Enter –
Input range: 0 to +99999, if function not active: enter –
LIFTOFF Definition of whether the TNC should retract the tool in the Retract tool Y/N ?
direction of the positive tool axis at an NC stop or power failure in
order to avoid leaving dwell marks on the contour. If Y is entered,
the TNC retracts the tool from the contour by up to 30mm,
provided that this function was activated in the NC program with
M148 (see "Automatically retract tool from the contour at an NC
stop: M148" on page 397).
Input: Y and N
KINEMATIC Machine-dependent function: Kinematics description for vertical Additional kinematic description?
milling heads, which the TNC adds to the active machine
kinematics. Assign available kinematic descriptions by using the
ASSIGN KINEMATICS soft key (see also "Tool-carrier kinematics"
on page 192).
Input range: 16 characters max.
T-ANGLE Point angle of the tool. Is used by Drilling cycles 200, 203, 205 and Point angle (Type DRILL+CSINK)?
240 in order to calculate the depth from the diameter entry.
Input range: -180 to +180°
AFC Control setting for the adaptive feed control AFC that you have Feedback-control strategy?
defined in the NAME column of the AFC.TAB table. Apply the
feedback-control strategy with the ASSIGN AFC CONTROL
SETTING soft key (3rd soft-key row)
Input range: 10 characters max.
DR2TABLE 3D ToolComp: software option: Enter the name of the Compensation-value table?
compensation value table from which the TNC is to take the
angle-dependent delta radius values DR2 (see also "3-D tool radius
compensation depending on the tool’s contact angle (3D-
ToolComp software option)" on page 536)
Input range: Max. 16 characters without file extension
LAST_USE Date and time that the tool was last inserted via TOOL CALL Date/time of last tool call?
Input range: Max. 16 characters, format specified internally: Date
= yyyy.mm.dd, time = hh.mm
ACC Activate or deactivate active chatter control for the respective tool ACC status 1=active/0=inactive
(see also "Active Chatter Control (ACC—software option)" on page
451).
Input range: 0 (inactive) and 1 (active)
LTOL Permissible deviation from tool length L for wear detection. If the Wear tolerance: length?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
RTOL Permissible deviation from tool radius R for wear detection. If the Wear tolerance: radius?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
R2TOL Permissible deviation from tool radius R2 for wear detection. If Wear tolerance: Radius 2?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
Input range in mm: 0 to +0.9999
Input range in inches: 0 to +0.03936
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = –)?
TT:R-OFFS Tool length measurement: Tool offset between stylus center and Tool offset: radius?
tool center. Default setting: Tool radius R (NO ENT key enters R)
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
TT:L-OFFS Radius measurement: tool offset in addition to MP6530 between Tool offset: length?
upper surface of stylus and lower surface of tool. Default: 0
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
RBREAK Permissible deviation from tool radius R for breakage detection. If Breakage tolerance: radius?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
Input range in mm: 0 to 0.9999
Input range in inches: 0 to +0.03936
TMAT Tool material: Press the ASSIGN MATERIAL soft key (3rd soft-key Tool material?
row): The TNC superimposes a window where you can select the
type of cutting material
Input range: 16 characters max.
CDT Cutting data table: Press the SELECT CDT soft key (3rd soft-key Name of cutting data table?
row): The TNC displays a pop-up window where you can select a
cutting data table
Input range: 16 characters max.
Tool table: Tool data for touch trigger probes (only when bit 1 is
set in MP7411 = 1, also see the Touch Probe Cycles Manual)
Abbr. Inputs Dialog
CAL-OF1 During calibration, the TNC stores in this column the center Center misalignmt. in ref. axis?
misalignment in the reference axis of the touch probe, if a tool
number is indicated in the calibration menu
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
CAL-OF2 During calibration, the TNC stores in this column the center Center misalignment minor axis?
misalignment in the minor axis of the touch probe, if a tool
number is indicated in the calibration menu
Input range in mm: -99999.9999 to +99999.9999
Input range in inches: -3936.9999 to +3936.9999
CAL-ANG During calibration, the TNC stores in this column the spindle angle Spindle angle for calibration?
at which the touch probe was calibrated, if a tool number is
indicated in the calibration menu.
Input range: -360 to +360°
Press the SELECT TYPE soft key to select the file type
Show files of type .T press the SHOW .T soft key
Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
Editing functions
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 symbol
>> or <<.
Editing functions for tool tables Soft key
Select beginning of table
Tool-carrier kinematics
In the KINEMATIC column of the tool table TOOL.T you can assign each
tool with an additional tool carrier kinematic description. In the
simplest case, this carrier kinematics can simulate the taper shank in
order to include it in the dynamic collision monitoring. Also, you can
use this function to very easily integrate angle heads into the machine
kinematic description.
For automatic tool changing you need the pocket table TOOL_P.TCH.
The TNC can manage several pocket tables with any file names. To
activate a specific pocket table for program run, you must select it in
the file management of a Program Run mode of operation (status M).
In order to be able to manage various magazines in a tool-pocket table
(indexing the pocket number), machine parameters 7261.0 to 7261.3
must not be equal to 0.
The TNC can control up to 9999 magazine pockets in the pocket
table.
Press the SELECT TYPE soft key to select the file type
Press the soft key TCH FILES (second soft-key row) to
show files of the type .TCH
Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
ST Special tool; If your special tool blocks pockets in front of and behind its Special tool?
actual pocket, these additional pockets need to be locked in column L
(status L).
F The tool is always returned to the same pocket in the tool magazine Fixed pocket? Yes = ENT /
No = NO ENT
L Locked pocket (see also column ST) Pocket locked Yes = ENT /
No = NO ENT
PLC Information on this tool pocket that is to be sent to the PLC PLC status?
PTYP Tool type. Function is defined by the machine tool builder. The machine tool Tool type for pocket
documentation provides further information table?
P1 ... P5 Function is defined by the machine tool builder. The machine tool Value?
documentation provides further information
RSV Pocket reservation for box magazines Pocket reserv.: Yes = ENT
/ No = NOENT
LOCKED_ABOVE Box magazine: Lock the pocket above Lock the pocket above?
LOCKED_BELOW Box magazine: Lock the pocket below Lock the pocket below?
LOCKED_LEFT Box magazine: Lock the pocket at left Lock the pocket at left?
LOCKED_RIGHT Box magazine: Lock the pocket at right Lock the pocket at right?
S1 ... S5 Function is defined by the machine tool builder. The machine tool Value?
documentation provides further information
The TNC automatically changes the tool if the tool life TIME2 expires
during program run. To use this miscellaneous function, activate M101
at the beginning of the program. M101 is reset with M102, by reselecting
the program, or by selecting another NC block with GOTO. When
TIME1 is reached, the TNC merely sets an internal marker that can be
evaluated via the PLC (refer to your machine manual). The machine
tool builder also defines the effect of the maximum permitted violation
of the tool life OVRTIME. Refer to your machine manual.
You enter the number of the replacement tool in the RT column of the
tool table If no tool number is entered there, the TNC inserts a tool that
has the same name as the momentarily active one. The TNC starts the
search from the beginning of the tool table and inserts the first tool it
finds.
The tool is changed automatically
after the next NC block after expiration of the tool life, or
about one minute plus one NC block after tool life expires
(calculation is for a potentiometer setting of 100 %)
If the tool life ends during an active M120 (look ahead), the
TNC waits to change the tool until after the block in which
you canceled the radius compensation.
The TNC does not execute any automatic tool change if it
is currently running a cycle. Exception: During the Pattern
Cycles 220 and 221 (circular hole pattern and linear
pattern) the TNC can execute an automatic tool change
between two machining positions, if required.
An automatic tool change with active radius
compensation is not possible.
Column Meaning
TOKEN TOOL: Tool usage time per TOOL CALL. The
entries are listed in chronological order.
TTOTAL: Total usage time of a tool
STOTAL: Call of a subprogram (incl. cycles);
the entries are listed in chronological order
TIMETOTAL: The total machining time of the
NC program is entered in the WTIME column.
In the PATH column the TNC saves the path
name of the corresponding NC programs.
The TIME column shows the sum of all TIME
entries (only when the spindle is on, and
without rapid traverse). The TNC sets all
other columns to 0
TOOLFILE: In the PATH column, the TNC
saves the path name of the tool table with
which you conducted the Test Run. This
enables the TNC during the actual tool
usage test to detect whether you
performed the test run with the TOOL.T
Column Meaning
BLOCK Block number in which the TOOL CALL block
was programmed
There are two ways to run a tool usage test for a pallet file:
The highlight is on a pallet entry in the pallet file:
The TNC runs the tool usage test for the entire pallet
The highlight is on a program entry in the pallet file:
The TNC runs the tool usage test only for the selected program
With the tool management, your machine tool builder can provide
many functions with regard to tool handling. Examples:
Easily readable and, if you desired, adaptable representation of the
tool data in fillable forms
Any description of the individual tool data in the new table view
Mixed representation of data from the tool table and the pocket
table
Fast sorting of all tool data by mouse
Use of graphic aids, e.g. color coding of tool or magazine status
Program-specific list of all available tools
Program-specific usage sequence of all tools
Copying and pasting of all tool data pertaining to a tool
Graphic depiction of tool type in the table view and in the detail view
for a better overview of the available tool types
Select the tool table: Press the TOOL TABLE soft key
In the new view, the TNC presents all tool information in the following
four tabs:
Tools:
Tool specific information
Tool pockets:
Pocket-specific information
Tooling list:
List of all tools in the NC program that is selected in the Program
Run mode (only if you have already created a tool usage file, see
"Tool usage test", page 202). The TNC shows the tools missing in
the tooling list in the TOOL INFO column with the not defined dialog
marked in red
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 202). The TNC shows the
tools missing in the usage order list in the TOOL INFO column with
the not defined dialog marked in red
You can edit the tool data only in the form view, which you
can activate by pressing the FORM FOR TOOL soft key or
the ENT key for the currently highlighted tool.
The TNC deletes all the data of all the tools selected.
Make sure that you really no longer need the tool data,
because there is no Undo function available.
You cannot delete the tool data of tools still stored in
the pocket table. First remove the tool from the
magazine.
Danger of collision!
If you cancel a positive length compensation with TOOL
CALL 0, the distance between tool and workpiece will be
reduced.
After TOOL CALL, 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 TOOL CALL 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
TOOL CALL block and the tool table into account:
Compensation value = R + DRTOOL CALL + DRTAB where
R: Tool radius R from the TOOL DEF block or tool table
DR TOOL CALL: Oversize for radius DR in the TOOL CALL block (not
taken into account by the position display)
DR TAB: Oversize for radius DR in the tool table
X
Y
RR
RL RL
Miscellaneous functions M
With the TNC’s miscellaneous functions you can affect
The program run, e.g., a program interruption
The machine functions, such as switching spindle rotation and Y
coolant supply on and off
The path behavior of the tool 80
CC
60
Subprograms and program section repeats
0
R4
40
If a machining sequence occurs several times in a program, you can
save time and reduce the chance of programming errors by entering
the sequence once and then defining it as a subprogram or program
section repeat. If you wish to execute a specific program section only
under certain conditions, you also define this machining sequence as X
a subprogram. In addition, you can have a part program call a separate 10 115
program for execution.
Programming with subprograms and program section repeats is
described in Chapter 8.
50 L X+100 Y
X
50 Block no. 50
L Path function "straight line at "
X+100 Coordinate of the end point
The tool retains the Y and Z coordinates and moves to the position 70
X=100. See figure.
L X+70 Y+50
Z
The tool retains the Z coordinate and moves in the XY plane to the
position X=70, Y=50. See picture
Y
Three-dimensional movement
X
The program block contains three coordinates. The TNC thus moves
the tool in space to the programmed position.
Example:
Y ZX, also
WU, ZU, WX
CC
X YZ, also YCC
VW, YW, VZ
Pre-positioning
Before running a part program, always pre-position the tool to prevent
the possibility of damaging it or the workpiece.
COORDINATES?
COORDINATES?
MISCELLANEOUS FUNCTION M?
DEP Departure
L Line
C Circle
N Normal (perpendicular)
Radius compensation
The tool radius compensation is programmed together with the first
contour point PA in the APPR block. The DEP blocks automatically
discard the tool radius compensation.
Contour approach without radius compensation: If you program the
APPR block with R0, the TNC will calculate the tool path for a tool
radius of 0 mm and a radius compensation RR! The radius
compensation is necessary to set the direction of contour approach
and departure in the APPR/DEP LN and APPR/DEP CT functions. In
addition, you must program both coordinates in the working plane in
the first traverse block after APPR.
RR
straight line that connects tangentially to the contour. The auxiliary PA
15
point PH is separated from the first contour point PA by the distance 20 RR
LEN.
Use any path function to approach the starting point PS
10
Initiate the dialog with the APPR/DEP key and the APPR LT soft key: PH PS
Coordinates of the first contour point PA RR R0
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LT X+20 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR, distance PH to PA: LEN=15
9 L X+35 Y+35 End point of the first contour element
10 L ... Next contour element
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LN X+10 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
RR
a circular arc that is tangential to the first contour element. PA
20 RR
The arc from PH to PA is determined through the radius R and the CCA=
center angle CCA. The direction of rotation of the circular arc is 180°
automatically derived from the tool path for the first contour element. 0
10 R1
Use any path function to approach the starting point PS PS
R0
Initiate the dialog with the APPR/DEP key and the APPR CT soft key:
PH
Coordinates of the first contour point PA
X
Radius R of the circular arc 10 20 40
If the tool should approach the workpiece in the
direction defined by the radius compensation: Enter
R as a positive value
If the tool should approach from the workpiece
side:
Enter R as a negative value.
Center angle CCA of the arc
CCA can be entered only as a positive value
Maximum input value 360°
Radius compensation RR/RL for machining
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR CT X+10 Y+20 Z-10 CCA180 R+10 RR F100 PA with radius comp. RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
RR
auxiliary point PH. It then moves to the first contour point PA on a PA
circular arc. The feed rate programmed in the APPR block is effective 20 RR
for the entire path that the TNC traversed in the approach block (path
PS to PA).
0
10 R1
If you have programmed the coordinates of all three principal axes X, PS
Y and Z in the approach block, the TNC moves the tool from the
R0
position defined before the APPR block simultaneously in all three PH
axes to the auxiliary point PH and then, only in the working plane, from RR
PH to PA. X
10 20 40
The arc is connected tangentially both to the line PS – PH as well as to
the first contour element. Once these lines are known, the radius then
suffices to completely define the tool path.
Use any path function to approach the starting point PS
Initiate the dialog with the APPR/DEP key and the APPR LCT soft
key:
Coordinates of the first contour point PA
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LCT X+10 Y+20 Z-10 R10 RR F100 PA with radius comp. RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
12.5
Initiate the dialog with the APPR/DEP key and the DEP LT soft key:
LEN: Enter the distance from the last contour element
PE to the end point PN PN
R0
X
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LT LEN12.5 F100 Depart contour by LEN=12.5 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LN LEN+20 F100 Depart perpendicular to contour by LEN=20 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
R8
RR
Initiate the dialog with the APPR/DEP key and the DEP CT soft key:
Center angle CCA of the arc
Radius R of the circular arc
If the tool should depart the workpiece in the X
direction of the radius compensation (i.e. to the
right with RR or to the left with RL): Enter R as a
positive value
If the tool should depart the workpiece in the
direction opposite to the radius compensation:
Enter R as a negative value
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP CT CCA 180 R+8 F100 Center angle=180°,
arc radius=8 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
The tool moves on a circular arc from the last contour point PE to an
auxiliary point PH. It then moves on a straight line to the end point PN.
20
The arc is tangentially connected both to the last contour element and PE
R8
to the line from PH to PN. Once these lines are known, the radius R RR
suffices to unambiguously define the tool path. 12
PH
Program the last contour element with the end point PE and radius PN
compensation R0
R0
Initiate the dialog with the APPR/DEP key and the DEP LCT soft key:
Enter the coordinates of the end point PN X
10
Radius R of the circular arc. Enter R as a positive value
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LCT X+10 Y+12 R+8 F100 Coordinates PN, arc radius=8 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Chamfer: CHF Chamfer between two Chamfer side length Page 235
straight lines
Circular arc C Circular arc around a circle Coordinates of the arc end Page 238
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 239
radius point, arc radius, direction
of rotation
Circular arc CT Circular arc with tangential Coordinates of the arc end Page 241
connection to the point
preceding and subsequent
contour elements
Corner Rounding RND Circular arc with tangential Rounding radius R Page 236
connection to the
preceding and subsequent
contour elements
FK free contour Straight line or circular path see "Path contours—FK Page 258
programming with any connection to the free contour programming",
preceding contour element page 254
Straight line L
The TNC moves the tool in a straight line from its current position to
the straight-line end point. The starting point is the end point of the Y
preceding block.
40
Coordinates of the end point of the straight line, if
necessary
15
Radius compensation RL/RR/R0
10
Feed rate F
Miscellaneous function M
Example NC blocks
7 L X+10 Y+40 RL F200 M3 20 X
10
8 L IX+20 IY-15
60
9 L X+60 IY-10
12
5
The chamfer must be machinable with the current tool 30
Example NC blocks 5 X
7 L X+0 Y+30 RL F300 M3 40
8 L X+40 IY+5
9 CHF 12 F250
10 L IX+5 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
5 CC X+25 Y+25
or
10 L X+25 Y+25
11 CC
Feed rate F
Miscellaneous function M
X
The TNC normally makes circular movements in the active
working plane. If you program circular arcs that do not lie
in the active working plane, for example C Z... X... DR+
with a tool axis Z, and at the same time rotate this
movement, then the TNC moves the tool in a spatial arc,
which means a circular arc in 3 axes.
Example NC blocks
5 CC X+25 Y+25 Y
6 L X+45 Y+25 RR F200 M3
7 C X+45 Y+25 DR+ DR+
Full circle CC
25
For the end point, enter the same point that you used for the starting
point.
DR
The starting and end points of the arc must lie on the
circle.
X
25 45
Input tolerance: up to 0.016 mm (selected with MP7431).
Smallest possible circle that the TNC can traverse: 0.0016
µm.
or
R R
11 CR X+70 Y+40 R-20 DR- (ARC 3) 40
or
4
11 CR X+70 Y+40 R-20 DR+ (ARC 4) DR+
X
The distance from the starting and end points of the arc 40 70
diameter cannot be greater than the diameter of the arc.
The maximum radius that can be entered directly is
99.9999 m, with Q parameter programming 210 m.
You can also enter rotary axes A, B and C.
Feed rate F
Miscellaneous function M
Example NC blocks
X
25 45
7 L X+0 Y+25 RL F300 M3
8 L X+25 Y+30
9 CT X+45 Y+20
10 L Y+0
Y 10
3
95
2
10
20
1 4
5
20 X
5 9
95
2 4 5
R3
85
R10 3
0
6
40
1 7
5
X
5 30 40 70 95
CC
50
X
50
Circular arc CP + Circular path around circle Polar angle of the arc end Page 248
center/pole to arc end point point, direction of rotation
Circular arc CTP + Circular arc with tangential Polar radius, polar angle of Page 249
connection to the preceding the arc end point
contour element
Helical interpolation + Combination of a circular and Polar radius, polar angle of Page 250
a linear movement the arc end point, coordinate
of the end point in the tool
axis
Example NC blocks
12 CC X+45 Y+25
X
Straight line LP XCC
The tool moves in a straight line from its current position to the
straight-line end point. The starting point is the end point of the
preceding block.
Y
Polar-coordinates radius PR: Enter the distance
from the pole CC to the straight-line end point
Polar-coordinates angle PA: Angular position of the
30
straight-line end point between –360° and +360° 60°
60°
The sign of PA depends on the angle reference axis:
25
If the angle from the angle reference axis to PR is counterclockwise: CC
PA>0
If the angle from the angle reference axis to PR is clockwise: PA<0
Example NC blocks
X
12 CC X+45 Y+25 45
18 CC X+25 Y+25
19 LP PR+20 PA+0 RR F250 M3
20 CP PA+180 DR+ X
25
5
0
R3
R2
Example NC blocks 30°
35
12 CC X+40 Y+35 CC
Helical interpolation
A helix is a combination of a circular movement in a main plane and a
linear movement perpendicular to this plane. You program the circular
path in a main plane.
Z
A helix is programmed only in polar coordinates.
Y CC
Application
Large-diameter internal and external threads
X
Lubrication grooves
Right-handed Z– DR– RR
Left-handed Z– DR+ RL
External thread
Right-handed Z+ DR+ RR
Left-handed Z+ DR– RL
Right-handed Z– DR– RL
Left-handed Z– DR+ RR
5
270°
Polar coordinates angle: Enter the total angle of tool
25 X
traverse along the helix in incremental dimensions.
After entering the angle, specify the tool axis with
an axis selection key. 40
Enter the coordinate for the height of the helix in
incremental dimensions
Direction of rotation DR
Clockwise helix: DR–
Counterclockwise helix: DR+
Enter the radius compensation according to the table
Example NC blocks: Thread M6 x 1 mm with 4 revolutions
12 CC X+40 Y+25
13 L Z+0 F100 M3
14 LP PR+3 PA+270 RL F50
15 CP IPA-1440 IZ+5 DR-
Y
100
3
2
60°
5
R4
CC
50 1 4
6 5
5
X
5 50 100
Y
100
M64 x 1,5
CC
50
X
50 100
28
Y
.5
R2
Directional data and data regarding the course of the contour
18
You can enter such dimensional data directly by using the FK free
X
contour programming function. The TNC derives the contour from the
known coordinate data and supports the programming dialog with the
interactive programming graphics. The figure at upper right shows a
R4
workpiece drawing for which FK programming is the most convenient 45°
programming method.
¬
21
20 10 5 0
Input possibilities
End point coordinates
R15
30
Polar coordinates referenced to FPOL 30°
20
Example NC blocks
AN
Chord length LEN of an arc LEN
0°
Example NC blocks
R6
.5
12
R1
35°
5
15
45°
X
25
Radius of an arc
Example NC blocks
... X
17 FCT DR- R+15 CLSD-
Auxiliary points
For both free-programmed straight lines and free-programmed circular
arcs, you can enter the coordinates of auxiliary points that are located
on the contour or in its proximity.
X coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc X
50
42.929
Y coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
Example NC blocks
R20
20°
The block number of the contour element on which the 10
relative data are based can only be located up to 64 FPOL
positioning blocks before the block in which you program
the reference. 35 X
If you delete a block on which relative data are based, the 10
TNC will display an error message. Change the program
first before you delete the block.
Example NC blocks
95°
20
Distance from a straight line to a parallel contour
12.5
element
105° 15°
Example NC blocks
12.5 X
17 FL LEN 20 AN+15
20
18 FL AN+105 LEN 12.5
19 FL PAR 17 DP 12.5
20 FSELECT 2
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
15
R10
Example NC blocks
CC
12 FL X+10 Y+10 RL 10
13 FL ...
14 FL X+18 Y+35
15 FL ... X
10 18
16 FL ...
17 FC DR- R10 CCA+0 ICCX+20 ICCY-15 RCCX12 RCCY14
Y
100
R1
5
75
R18
30
R15
20
X
20 50 75 100
Example: FK programming 2
10
Y 10
R20
55
R30 60°
30
X
30
Example: FK programming 3
Y
R1
0
50
R36
R24
R1,5
R5
30
R6
R6 R5 X
-10
0
R4
R65
-25
R5
0
12 44 65 110
272
Programming: Programming Contours
Programming: Data
Transfer from DXF Files
or Plain-language
Contours
7.1 DXF data processing (software option)
Basic settings
The basic settings specified below are selected using the icons in the
toolbar. The icons displayed may vary depending on the operating
mode of the TNC.
Setting Icon
Set the zoom to the largest possible view
Layer settings
As a rule, DXF files contain multiple layers, with which the designer
organizes the drawing. The designer uses the layers to create groups
of various types of elements, such as the actual workpiece contour,
dimensions, auxiliary and design lines, shadings, and texts.
So that as little unnecessary information as possible appears on the
screen during selection of the contours, you can hide all excessive
layers contained in the DXF file.
Element information
At the bottom left of the screen, the TNC shows how far the reference
point you haven chosen is located from the drawing datum.
Bookmarks
You can use the bookmarks to manage your directory favorites. You
can add or delete the current directory to or from the list, or delete all
bookmarks. All directories that you have added appear in the
bookmark list, making them available for rapid selection.
You activate the bookmark function by clicking the path name in the
right part of the pop-up window of the "Save" function.
Bookmarks are managed as follows:
The "Save" function is active: The TNC displays the Define file
name for contour program pop-up window.
Click (with the left mouse button) in the top right part of the pop-up
window on the currently displayed path name: The TNC then
displays a pop-up menu
With the left mouse button, click the menu item Bookmarks and
select the desired function.
Element information
At the bottom left of the screen, the TNC displays information about
the contour element that you last selected via mouse click in the left
or right window.
Straight line
End point of the straight line, and the starting point is grayed out
Circle or arc
Circle center point, circle end point, and direction of rotation. Grayed
out: the starting point and circle radius
The point tables (.PNT) of the TNC 640 and iTNC 530 are
not compatible. Transferring and processing on the other
control type in each case may lead to problems and
unforeseen performance.
Individual selection
Select the mode for choosing a machining position.
The TNC hides the layers shown in the left window,
and the right window becomes active for position
selection
In order to select a machining position, click the
desired element with the left mouse button. The TNC
indicates possible locations for machining positions
on the selected element with stars. Click one of the
stars: The TNC loads the selected position into the
left window (displays a point symbol). If you click a
circle, the TNC adopts the circle center as machining
position
If necessary you can also deselect elements that you
already selected, by clicking the element in the right
window again, but this time while pressing the CTRL
key (click inside the marked area)
If you want to specify the machining position at the
intersection of two elements, click the first element
with the left mouse button: the TNC displays stars at
the selectable machining positions
Click the second element (straight line, complete
circle or circular arc) with the left mouse button. The
TNC loads the intersection of the elements into the
left window (displays a point symbol)
Save the selected machining positions to the
clipboard of the TNC so that you can then insert them
as a positioning block with cycle call in a plain-
language program, or
To save the selected machining positions to a point
file, enter the target directory and any file name in the
pop-up window displayed by the TNC. Default
setting: Name of the DXF file. If the name of the DXF
file contains special characters or spaces, the TNC
replaces the characters with underscores.
Alternately, you can also select the file type, see also
"Select a file type" on page 283
Confirm the entry: The TNC saves the contour
program in the directory in which the DXF file is also
saved
If you want to select more machining positions in
order to save them to a different file, press the Cancel
selected elements icon and select as described
above
Bookmarks
You can use the bookmarks to manage your directory favorites. You
can add or delete the current directory to or from the list, or delete all
bookmarks. All directories that you have added appear in the
bookmark list, making them available for rapid selection.
You activate the bookmark function by clicking the path name in the
right part of the pop-up window of the "Save" function.
Bookmarks are managed as follows:
The "Save" function is active: The TNC displays the Define file
name for contour program pop-up window.
Click (with the left mouse button) in the top right part of the pop-up
window on the currently displayed path name: The TNC then
displays a pop-up menu
With the left mouse button, click the menu item Bookmarks and
select the desired function.
Filter settings
After you have used the quick selection function to mark hole
positions, a pop-up window appears in which the smallest diameter
found is to the left and the largest diameter to the right. With the
buttons just below the diameter display you can adjust the smallest
diameter in the left area and largest in the right area so that you can
load the hole diameters that you want.
The following buttons are available:
Filter setting of smallest diameter Icon
Display the smallest diameter found (default
setting)
With the Apply path optimization option on (default setting), the TNC
sorts the selected machining positions for the most efficient possible
tool path. You can have the tool path displayed by clicking the Show
tool path icon (see "Basic settings" on page 276).
Undoing actions
You can undo the four most recent actions that you have taken in the
mode for selecting machining positions. The following icons are
available:
Function Icon
Undo the most recently conducted action
Mouse functions
Use the mouse for magnifying and reducing as follows:
Define the zoom area by dragging the mouse with the left button
depressed
If you have a wheel mouse, you can use it to zoom in and out. The
zooming center is the location of the mouse pointer
Click the magnifying glass icon or double-click with the right mouse
button to reset the view to the default setting
You can move the current view by depressing the center mouse
button.
If 3-D mode is active, you can rotate and tilt the view by depressing
the right mouse button.
Double-click with the right mouse button to reset the zoom factor.
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation.
Example NC blocks
6 ... Any desired lead program
7 L Z... Pre-positioning
8 * – Inside contour Structure block that the TNC displays as a layer
9 L X+20 Y+20 RR F100 First contour point
10 L X+35 Y+35 End point of the first contour element
11 L ... Further contour elements
12 L ...
2746 L ... Last contour point
2747 * - Contour end Structure block identifying the contour end
2748 L ... Intermediate positioning movements
Function Icon
Show shaded model
Mouse functions
The following functions are available for mouse operation:
In order to rotate the wire model shown in three dimensions you
hold the right mouse button down and move the mouse. After you
release the right mouse button, the TNC orients the model to the
defined orientation
In order to shift the model shown: Hold the center mouse button or
the wheel button down and move the mouse. The TNC shifts the
model in the corresponding direction. After you release the center
mouse button, the TNC shifts the model to the defined position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button: Select standard view
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels (LBL).
A LABEL is identified by a number between 1 and 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. The number of label names
you can enter is only limited by the internal memory.
Programming notes
You can call subprograms in any sequence and as often as desired
A subprogram cannot call itself
Write subprograms at the end of the main program (behind the block
with M2 or M30)
If subprograms are located before the block with M2 or M30, they
will be executed at least once even if they are not called
Programming a subprogram
To mark the beginning, press the LBL SET key
Enter the subprogram number. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry
To mark the end, press the LBL SET key and enter the
label number "0"
Calling a subprogram
To call a subprogram, press the LBL CALL key
Call subprogram /repeat: 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. If you want to enter the number of a
string parameter as target address: Press the QS soft
key; the TNC will then jump to the label name that is
specified in the string parameter defined
Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program
section repeats.
1 The TNC executes the part program up to the end of the program LBL1
section (CALL LBL n REPn)
2 R 2/1 R 2/2
2 Then the program section between the called LBL and the label
call CALL LBL n REPn is repeated the number of times entered for
REP CALL LBL 1 REP 2
3 The TNC then resumes the part program after the last repetition 3
Danger of collision!
Coordinate transformations that you define in the called
program remain in effect for the calling program too,
unless you reset them. The setting of machine parameter
MP7300 has no influence on this.
8.5 Nesting
Types of nesting
Subprograms within a subprogram
Program section repeats within a program section repeat
Subprograms repeated
Program section repeats within a subprogram
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for main program calls: 30, where a CYCL
CALL acts like a main program call
You can nest program section repeats as often as desired
Program execution
1 Main program SUBPGMS is executed up to block 17
2 Subprogram SP1 is called, and executed up to block 39
3 Subprogram 2 is called, and executed up to block 62. End of
subprogram 2 and return jump to the subprogram from which it
was called.
4 Subprogram 1 is executed from block 40 up to block 45. End of
subprogram 1 and return jump to the main program SUBPGMS.
5 Main program SUBPGMS is executed from block 18 up to block
35. Return jump to block 1 and end of program.
%REPS G71 *
...
N15 G98 L1 * Beginning of program section repeat 1
...
N20 G98 L2 * Beginning of program section repeat 2
...
N27 L2,2 * Program section between this block and G98 L2
... (block N20) is repeated twice
N35 L1,1 * Program section between this block and G98 L1
... (block N15) is repeated once
N99999999 %REPS G71 *
Program execution
1 Main program REPS is executed up to block 27
2 Program section between block 20 and block 27 is repeated twice
3 Main program REPS is executed from block 28 to block 35
4 Program section between block 15 and block 35 is repeated once
(including the program section repeat between 20 and block 27)
5 Main program REPS is executed from block 36 to block 50 (end of
program)
Program execution
1 Main program SUBPGREP is executed up to block 11
2 Subprogram 2 is called and executed
3 Program section between block 10 and block 12 is repeated twice:
Subprogram 2 is repeated twice
4 Main program SUBPGREP is executed from block 13 to block 19;
end of program
Program sequence
Pre-position the tool to the workpiece surface
Enter the infeed depth in incremental values Y
Contour milling
100
Repeat infeed and contour-milling
R1
5
75
R18
30
R15
20
X
20 50 75 100
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
Program sequence
Program the fixed cycles in the main program
Y Y
Call the entire hole pattern (subprogram 1)
Approach the groups of holes in subprogram 100
1, call group of holes (subprogram 2)
Program the group of holes only once in
subprogram 2 2
60
5
20
1 3
20
10
X Z
15 45 75 100 -15
-20
Meaning Area
Freely applicable parameters, as long as no Q0 to Q99
overlapping with SL cycles can occur. They
are globally effective for all programs stored
in the TNC memory.
QS parameters (S stands for string) are also available on the TNC and
enable you to process texts. In principle, the same ranges are available
for QS parameters as for Q parameters (see table above).
Programming notes
You can mix Q parameters and fixed numerical values within a
program.
Q parameters can be assigned numerical values between 999 999 999
and +999 999 999, meaning that up to nine digits plus the algebraic
sign are permitted. You can set the decimal point at any position.
Internally, the TNC can calculate up to a range of 57 bits before and
7 bits after the decimal point (32-bit data width corresponds to a
decimal value of 4 294 967 296).
You can assign a maximum of 254 characters to QS parameters.
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
15 FN O: Q10=25 Assign
... Q10 is assigned the
value 25
25 L X +Q10 Means L 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
FN 1: ADDITION
Example: FN 1: Q1 = -Q2 + -5
Calculate and assign the sum of two values
FN 2: SUBTRACTION
Example: FN 2: Q1 = +10 - +5
Calculates and assigns the difference of two values
FN 3: MULTIPLICATION
Example: FN 3: Q2 = +3 * +3
Calculates and assigns the product of two values
FN 4: DIVISION
Example: FN 4: Q4 = +8 DIV +Q2
Calculate and assign the quotient of two values
Not permitted: You cannot divide by 0!
FN 5: SQUARE ROOT
Example: FN 5: Q20 = SQRT 4
Calculate and assign the square root of a number
Not permitted: Calculating the square root of a
negative value!
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.
16 FN 0: Q5 = +10
Call the Q parameter functions by pressing the Q key
17 FN 3: Q12 = +Q5 * +7
where c
a
c is the side opposite the right angle
Þ
a is the side opposite the angle α
b
b is the third side.
The TNC can find the angle from the tangent:
α = arctan (a / b) = arctan (sin α / cos α)
Example:
a = 25 mm
b = 50 mm
α = arctan (a / b) = arctan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c = (a² + b²)
FN 7: COSINE
Example: FN 7: Q21 = COS-Q5
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
FN 13: ANGLE
Example: FN 13: Q20 = +25 ANG-Q1
Calculate the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assign it to a parameter.
Unconditional jumps
An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:
FN 9: IF+10 EQU+10 GOTO LBL1
Press the JUMP soft key to call the if-then conditions. The TNC then
displays the following soft keys:
Function Soft key
FN 9: IF EQUAL, JUMP
Example: FN 9: IF +Q1 EQU +Q3 GOTO LBL “SPCAN25“
If the two values or parameters are equal, jump to the
given label
Abbreviations used:
IF : If
EQU : Equal to
NE : Not equal
GT : Greater than
LT : Less than
GOTO : Go to
Example NC block
The TNC is to display the text stored under error number 254:
Special
Function
characters
"..........." Define output format for texts and variables
between the quotation marks
Keyword Function
CALL_PATH Indicates the path for the NC program where
you will find the FN16 function. Example:
"Measuring program: %S",CALL_PATH;
The TNC then outputs the file PROT1.A through the serial interface:
MEASURING LOG OF IMPELLER CENTER OF GRAVITY
DATE: 11/27/2001
TIME: 8:56:34
NO. OF MEASURED VALUES : = 1
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
The output file is not stored until the TNC reads the END
PGM block, or you press the NC stop button, or you close
the file with M_CLOSE.
In the FN 16 block, program the format file and the log file
with their respective extensions.
If you enter only the file name for the path of the log file,
the TNC saves the log file in the directory in which the NC
program with the FN 16 function is located.
You can output up to 32 Q parameters per line in the
format description file.
If you create the text file with the definition of the output
format using a text editor on a PC, then please note that
the TNC can only interpret files in ASCII format or UTF-8
format with BOM (byte order mark).
If the message has more lines than fit in the pop-up window, you can
use the arrow keys to page in the window.
To close the pop-up window, press the CE key. To have the program
close the window, program the following NC block:
Exporting messages
You can also use the FN 16 function in the NC program in order to
externally save the files generated with FN 16. Two possibilities are
available for this:
Enter the complete target path in the FN 16 function:
Specify the target path in the MOD function under Print or Print-
Test if you always want to save to the same directory on the server
(see also "Assignment" on page 668):
2 1 in X axis
2 2 Y axis
2 3 Z axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 5th axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 5th axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
8 5th axis
9 W axis
Status of M116, 310 116 - 0: M116 inactive, value not equal to 0: M116
active
Current system time of the TNC, 1 0 System time in seconds that have elapsed since
320 00:00 of January 1, 1970
12 - Effective length
Last touch point in TCH PROBE 1 1 to 9 Position in the active coordinate system in axes
Cycle 0 or last touch point from 1 to 9
manual operating mode, 360
Read basic rotation from the Preset - Basic rotation from the ROT column
preset table, 504 number
Example: Assign the value of the active scaling factor for the Z
axis to Q25
55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3
With the FN 20: WAIT FOR function you can synchronize the NC and
PLC during a program run. The NC stops machining until the condition
that you have programmed in the FN 20 block is fulfilled. The TNC can
check the following PLC operands:
PLC Short
Address range
operand designation
Markers M 0 to 4999
Output O 0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter C 48 to 79
Timers T 0 to 95
Byte B 0 to 4095
Word W 0 to 2047
In addition, the FN20: WAIT FOR SYNC function is available. WAIT FOR
SYNC is used whenever you read, for example, system data via FN18
that require synchronization with real time. The TNC stops the look-
ahead calculation and executes the subsequent NC block only when
the NC program has actually reached that block.
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN 20: WAIT FOR M4095==1
Subtraction
Example: Q25 = Q7 – Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Square of a value
Example: Q15 = SQ 5
Square root
Example: Q22 = SQRT 25
Sine of an angle
Example: Q44 = SIN 45
Cosine of an angle
Example: Q45 = COS 45
Tangent of an angle
Example: Q46 = TAN 45
Arc sine
Inverse of the sine. Determines the angle from the
ratio of the side opposite the angle and the
hypotenuse
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the angle and the
hypotenuse
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
1st calculation 5 * 3 = 15
2ndcalculation 2 * 10 = 20
3rdcalculation 15 + 20 = 35
or
13 Q2 = SQ 10 - 3^3 = 73
Distributive law
Law for calculating with parentheses
a * (b + c) = a * b + a * c
Programming example
Calculate an angle with the arc tangent from the opposite side (Q12)
and adjacent side (Q13); then store in Q25.
Select division
Example NC block
37 Q25 = ATAN (Q12/Q13)
Example NC block:
37 DECLARE STRING QS10 = "WORKPIECE"
Parameter contents:
QS12: Workpiece
QS13: Status:
QS14: Scrap
QS10: Workpiece Status: Scrap
in X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
W axis Q109 = 8
M5 after M3 Q110 = 2
M5 after M4 Q110 = 3
Y axis Q116
Z axis Q117
B axis Q121
C axis Q122
Diameter Q153
Diameter Q163
Rework Q181
Scrap Q182
Y axis Q186
Z axis Q187
Reserved Q191
Reserved Q192
Reserved Q193
Example: Ellipse
Program sequence
The contour of the ellipse is approximated by
many short lines (defined in Q7). The more Y
calculation steps you define for the lines, the
smoother the curve becomes.
The machining direction can be altered by 50
changing the entries for the starting and end
angles in the plane:
30
Clockwise machining direction:
starting angle > end angle
50
Counterclockwise machining direction:
starting angle < end angle
The tool radius is not taken into account.
X
50
33 LBL 1
34 Q36 = Q36 + Q35 Update the angle
35 Q37 = Q37 + 1 Update the counter
36 Q21 = Q3 * COS Q36 Calculate the current X coordinate
37 Q22 = Q4 * SIN Q36 Calculate the current Y coordinate
38 L X+Q21 Y+Q22 R0 FQ11 Move to next point
39 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
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
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
39 LBL 2
40 LP PR+Q6 PA+Q24 FQ12 Move upward in an approximated "arc"
41 Q24 = +Q24 - +Q14 Update solid angle
42 FN 11: IF +Q24 GT +Q5 GOTO LBL 2 Inquire whether an arc is finished. If not finished, return to LBL 2
43 LP PR+Q6 PA+Q5 Move to the end angle in space
44 L Z+Q23 R0 F1000 Retract in the spindle axis
45 L X+Q26 R0 FMAX Pre-position for next arc
46 Q28 = +Q28 + +Q18 Update rotational position in the plane
47 Q24 = +Q4 Reset solid angle
48 CYCL DEF 10.0 ROTATION Activate new rotational position
49 CYCL DEF 10.0 ROT+Q28
50 FN 12: IF +Q28 LT +Q9 GOTO LBL 1
51 FN 9: IF +Q28 EQU +Q9 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
52 CYCL DEF 10.0 ROTATION Reset the rotation
53 CYCL DEF 10.1 ROT+0
54 CYCL DEF 7.0 DATUM SHIFT Reset the datum shift
55 CYCL DEF 7.1 X+0
56 CYCL DEF 7.2 Y+0
57 CYCL DEF 7.3 Z+0
58 LBL 0 End of subprogram
59 END PGM SPHERE MM
87 STOP M6
M2 Program STOP
Spindle STOP
Coolant off
Go to block 1
Clear the status display (depends on
MP7300)
M3 Spindle ON clockwise
M4 Spindle ON counterclockwise
M5 Spindle STOP
M6 Tool change
Spindle STOP
Program run STOP (depends on
MP7440)
M8 Coolant ON
M9 Coolant OFF
M30 Same as M2
Standard behavior
The TNC references coordinates to the workpiece datum, see
"Workpiece presetting without a touch probe", page 586.
Effect
M91 and M92 are effective only in the blocks in which they are
programmed.
M91 and M92 take effect at the start of block.
Effect
M104 is effective only in the blocks in which it is programmed.
M104 becomes effective at the end of block.
The TNC does not change the active basic rotation when
running the M104 function.
Danger of collision!
Subsequent positioning blocks or fixed cycles are carried
out in a tilted coordinate system. This can lead to problems
in fixed cycles with absolute pre-positioning.
The function M130 is allowed only if the tilted working
plane function is active.
Effect
M130 functions blockwise in straight-line blocks without tool radius
compensation.
Effect
M90 is effective only in the blocks in which it is programmed.
M90 becomes effective at the start of block. Operation with servo lag X
must be active.
Effect
M124 becomes effective at the start of block.
The TNC resets M124 if you enter M124 without the T parameter, or
if you select a new program.
Programming M124
If you enter M124 in a positioning block, the TNC continues the dialog
for this block by asking you the minimum distance between points T.
You can also define T through Q parameters (see "Principle and
overview" on page 314).
S S
13 16
17
14 15
Example NC blocks
5 TOOL CALL 20 ... Tool with large tool radius
...
13 L X... Y... R... F... M97 Move to contour point 13
14 L IY-0.5 ... R... F... Machine small contour step 13 to 14
15 L IX+100 ... Move to contour point 15
16 L IY+0.5 ... R... F... M97 Machine small contour step 15 to 16
17 L X... Y... Move to contour point 17
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 L X... Y... RL F
11 L X... IY... M98
Y
12 L IX+ ...
10
11 12
X
The TNC reduces the feed rate when the tool moves in the negative
direction of the tool axis. The feed rate for plunging FZMAX is
calculated from the last programmed feed rate FPROG and a factor
F%:
FZMAX = FPROG x F%
Programming M103
If you enter M103 in a positioning block, the TNC continues the dialog
by asking you the factor F.
Effect
M103 becomes effective at the start of block.
To cancel M103, program M103 once again without a factor.
Example NC blocks
The feed rate for plunging is to be 20% of the feed rate in the plane.
With M136, the TNC does not move the tool in mm/min, but rather at
the programmed feed rate F in millimeters per spindle revolution. If
you change the spindle speed by using the spindle override, the TNC
changes the feed rate accordingly.
Effect
M136 becomes effective at the start of block.
You can cancel M136 by programming M137.
Effect
M109 and M110 become effective at the start of block. To cancel
M109 or M110, enter M111.
Input
If you enter M120 in a positioning block, the TNC continues the dialog
for this block by asking you the number of blocks LA that are to be X
calculated in advance.
Effect
M120 must be located in an NC block that also contains radius
compensation RL or RR. M120 is then effective from this block until
radius compensation is canceled with R0
M120 LA0 is programmed, or
M120 is programmed without LA, or
another program is called with PGM CALL
the working plane is tilted with Cycle 19 or the PLANE function
M120 becomes effective at the start of block.
Restrictions
Input
If you enter M118 in a positioning block, the TNC continues the dialog
for this block by asking you the axis-specific values. The coordinates
are entered with the orange axis direction buttons or the ASCII
keyboard.
Effect
Cancel handwheel positioning by programming M118 once again
without coordinate input.
M118 becomes effective at the start of block.
Example NC blocks
You want to be able to use the handwheel during program run to move
the tool in the working plane X/Y by ±1 mm and in the rotary axis B by
±5° from the programmed value:
Input
If you enter M140 in a positioning block, the TNC continues the dialog
and asks for the desired path of tool departure from the contour. Enter
the requested path that the tool should follow when departing the
contour, or press the MB MAX soft key to move to the limit of the
traverse range.
In addition, you can program the feed rate at which the tool traverses
the entered path. If you do not enter a feed rate, the TNC moves the
tool along the entered path at rapid traverse.
Effect
M140 is effective only in the block in which it is programmed.
M140 becomes effective at the start of block.
Example NC blocks
Block 250: Retract the tool 50 mm from the contour.
Block 251: Move the tool to the limit of the traverse range.
Danger of collision!
If you use M141, make sure that you retract the touch
probe in the correct direction.
M141 functions only for movements with straight-line
blocks.
Effect
M141 is effective only in the block in which it is programmed.
M141 becomes effective at the start of block.
Effect
M142 is effective only in the block in which it is programmed.
M142 becomes effective at the start of the block.
Effect
M143 is effective only in the block in which it is programmed.
M143 becomes effective at the start of the block.
The TNC retracts the tool by 0.1 mm in the direction of the tool axis if,
in the LIFTOFF column of the tool table, you set the parameter Y for the
active tool (see "Tool table: Standard tool data" on page 182).
LIFTOFF takes effect in the following situations:
An NC stop triggered by you
An NC stop triggered by the software, e.g. if an error occurred in the
drive system
When a power interruption occurs. The path that the TNC
withdraws if a power interruption occurs is set by your machine tool
builder in machine parameter 1160
Danger of collision!
Remember that, especially on curved surfaces, the
surface can be damaged during return to the contour.
Retract the tool before returning to the contour!
Effect
M148 remains in effect until deactivated with M149.
M148 becomes effective at the start of block, M149 at the end of
block.
Danger of collision!
Keep in mind that the approach path to the position
programmed after the M150 block might be changed
significantly!
M150 is also effective on traverse range limits defined
with the MOD function.
M150 is effective even if you have the handwheel
superimposition function active. The TNC then moves the
tool by the defined maximum value of the handwheel
superimposition away from the limit switch.
When dynamic collision monitoring (DCM) is active, the
TNC might move the tool only until it detects a collision
and, from there, complete the NC program without any
error message. This can result in tool paths different from
those programmed!
Effect
M150 is effective only in straight-line blocks and the block in which it
is programmed.
M150 becomes effective at the start of block.
Effect
M200 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M201 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M202 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9999 Volt
TIME: 0 to 1999 seconds
Effect
M203 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9999 Volt
TIME: 0 to 1999 seconds
Effect
M204 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Function Description
Dynamic Collision Monitoring (DCM—software Page 406
option)
Press the SPEC FCT and the corresponding soft keys to access further
special functions of the TNC. The following tables give you an
overview of which functions are available.
The machine manufacturer can define any objects that are monitored
by the TNC during all machining operations and even in the Test Run
mode. If two objects monitored for collision come within a defined
distance of each other, the TNC outputs an error message during Test
Run and machining.
The TNC can display the defined collision objects graphically in all
machining modes and during test run (see "Graphic depiction of the
protected space (FCL 4 function)" on page 410).
The TNC also monitors the current tool with the length and radius
entered in the tool table for collision (assuming a cylindrical tool). TNC
likewise monitors the stepped tool according to the definition in the
tool table and also displays it accordingly.
Provided that you have defined a separate tool holder kinematic
description for the respective tool, including a collision body
description, and have assigned it to the tool in the KINEMATIC
column, the TNC monitors this tool holder also (see "Tool-carrier
kinematics" on page 192).
Also, you can integrate simple fixtures in the collision monitoring (see
"Fixture monitoring (DCM software option)" on page 412).
Danger of collision!
If you have deactivated the collision monitoring, the
symbol for collision monitoring flashes (see following
table).
Function Icon
Symbol that appears in the operating mode bar
when collision monitoring is not active.
Danger of collision!
The M140 (see "Retraction from the contour in the tool-
axis direction: M140" on page 394) and M150 (see
"Suppressing the limit switch message: M150" on page
398) functions might cause non-programmed movements
if the TNC detects a collision when executing these
functions!
You can also use the mouse for the graphics. The following functions
are available:
In order to rotate the wire model shown in three dimensions you
hold the right mouse button down and move the mouse. After you
release the right mouse button, the TNC orients the workpiece to
the defined orientation
In order to shift the model shown: Hold the center mouse button or
the wheel button down and move the mouse. The TNC shifts the
model in the corresponding direction. After you release the center
mouse button, the TNC shifts the model to the defined position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button to reset the zoom factor
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation
Requirements
You can switch between the various views via soft key:
Function Soft key
Switch between wire-frame and solid-object
view
Using the fixture management in the Manual operating mode, you can
place simple fixtures in the working space of the machine in order to
implement collision monitoring between the tool and the fixture.
Several work steps are required to place fixtures:
Model the fixture template
On its Web site, HEIDENHAIN provides fixture templates such as
vises or jaw chucks in a fixture template library (see "Fixture
templates" on page 413), that were created with the PC program
KinematicsDesign. The machine tool builder can model additional
fixture templates and provide you with them. The fixture templates
have the file name extension cft
Setting the fixture parameter values: FixtureWizard
With the FixtureWizard you define the exact dimensions of the
fixture by entering parameters values in the fixture template. The
FixtureWizard is available as a component of the TNC fixture
management. It generates a placeable fixture with concrete
dimensions defined by you, (see "Setting parameter values for the
fixture: FixtureWizard" on page 413). Placeable fixture templates
have the file name extension cfx
Placing the fixture on the machine
In an interactive menu the TNC guides you through the actual
measurement process. The measurement process consists
essentially of the performance of various probing functions on the
fixture and entering variable sizes, for example the jaw gap of a vise
(see "Placing the fixture on the machine" on page 415)
Checking the position of the measured fixture
After you have placed the fixture, you can have the TNC create a
measuring program as needed with which you can have the actual
position of the placed fixture compared with the nominal position. If
the deviations between the nominal and actual positions are too
large, the TNC issues an error message (see "Checking the position
of the measured fixture" on page 417)
Operating FixtureWizard
FixtureWizard is operated primarily with the mouse. You can change
the screen layout by pulling the separator lines so that the Parameters,
Help graphics and 3-D graphics are displayed in the size you prefer.
You can change the depiction of the 3-D graphics as follows:
Enlarge/reduce the model:
Turning the mouse wheel enlarges or reduces the model
Move the model:
Pressing the mouse wheel and moving the mouse at the same
time moves the model
Rotate the model:
Pressing the mouse key and moving the mouse at the same time
rotates the model
In addition, buttons are available that perform the following function
when clicked:
Function Icon
Exit FixtureWizard
Select the fixture: The TNC opens the menu for fixture
selection and shows in the left window all fixtures
available in the active directory. Once you selected a
fixture, the TNC displays a graphic preview in the right
window to assist you in selecting the correct fixture.
Fixtures have the file name extension CFX
In the left window, use the mouse or arrow keys to
select a fixture. In the right window the TNC shows a
preview of the respectively selected fixture
Load fixture: The TNC calculates the required
sequence of measurement and displays it in the left
window. In the right window it shows the fixture.
Measurement points are marked with a colored
datum symbol on the fixture. In addition, there is a
sequence of numbers to show you the order for
measuring the fixture
Start the measurement process: The TNC shows a
soft-key row with permitted scanning functions for
the respective measuring process
Select the required probing function: The TNC is in the
menu for manual probing. Description of the probing
functions: See "Overview" on page 608
At the end of the probing process the TNC displays
the measured values
Load the measured values: The TNC ends the
measuring process, checks it off in the measurement
sequence and places the highlight on the subsequent
task
If input of a value is required in the respective fixture,
the TNC shows a highlight at the lower end of the
screen. Enter the requested value, e.g. jaw width of a
vise, and confirm with the ACCEPT VALUE soft key
When all measuring tasks are checked off by the TNC,
complete the measuring process with the
COMPLETE soft key
Editing fixtures
Removing fixtures
Danger of collision!
If you remove a fixture, the TNC no longer monitors it,
even if it is still clamped on the machine table!
Set-up clearance:
Setup clearance to the measuring point that the TNC
should maintain during pre-positioning. Input range
0 to 99999.9999
Tolerance:
Maximum permissible deviation between nominal
and actual position of the respective test points. Input
range 0 to 99999.999. If the test point is out of
tolerance, the TNC issues an error message
Tool number/tool name:
Tool number (or name) of the touch probe. Input
range 0 to 30000.9 if a number is entered; maximum
16 characters if a name is entered. If entering a tool
name, enter it between single quotation marks
Confirm the entries: The TNC generates the test
program, shows the name of the test program in a
pop-up window and asks whether you want to run the
test program
Answer with NO if you want to run the test program
later, and with YES if you want to run it now
If you have confirmed with YES, the TNC changes to
the Full Sequence mode and automatically selects
the generated program
Start the test program: The TNC prompts you to
manually pre-position the touch probe so that it is
located at clearance height. Follow the instructions in
the pop-up window
Start the measuring process: The TNC moves to each
test point one after the other. With a soft key you
specify the positioning strategy. Conform with NC
start each time
At the end of the test program the TNC displays a pop-
up window with the deviations from the nominal
position. If a test point is out of tolerance, the TNC
issues an error message in the pop-up window
Saving fixtures
Call the fixture management if required
Enter the path and file name of the stored fixture and
confirm with the ENT key, or open the file selection
dialog with the SELECTION WINDOW soft key in
order to select the stored fixture. The TNC displays a
preview in the selection dialog if you highlight a
stored fixture.
Your machine tool builder must have prepared the TNC for
this function, refer to your machine manual.
Just as fixture monitoring, you can also integrate tool carriers in the
collision monitoring.
Several work steps are required to enable tool carriers for collision
monitoring:
Model the tool carrier
On its Web site, HEIDENHAIN provides tool carrier templates that
were created with a PC software (KinematicsDesign). Your machine
tool builder can model additional tool carrier templates and provide
you with them. The tool carrier templates have the extension cft
Set the tool carrier parameters: ToolHolderWizard
With the ToolHolderWizard you define the exact dimensions of the
tool carrier (holder) by entering parameter values in the tool carrier
template. Call the ToolHolderWizard from the tool table if you wish
to assign tool carrier kinematics to a tool. Tool carrier templates with
parameters have the extension cfx
Activate the tool carrier
In the tool table TOOL.T, assign the selected tool carrier to a tool in
the KINEMATIC column (see "Assigning the tool-carrier kinematics" on
page 192).
Tool-carrier templates
HEIDENHAIN provides various tool carrier templates. If you need any
of them, please contact HEIDENHAIN (e-mail address service.nc-
[email protected]) or your machine tool builder.
Danger of collision!
If you remove a tool carrier, the TNC no longer monitors it,
even if it is still in the spindle!
Delete the name of the tool carrier from the KINEMATIC column in
the tool table (TOOL.T).
Activating/deactivating a function
Key /
Functions
Soft key
Jump to previous function
Basic rotation
The basic rotation function enables you to compensate a workpiece
misalignment. The effect corresponds to the basic rotation function
that you can define in the manual mode with the probing functions.
You can change the basic rotation value in the form, but the TNC does
not write it back into the basic rotation menu or the preset table.
Please also note that when a preset is activated by an NC program
(e.g. via Cycle 247), the TNC activates the basic rotation entered in the
corresponding row of the preset table (ROT column of the preset table).
In this case the TNC replaces the value entered in the form with the
value from the preset table. If the value 0 is entered in the preset table,
then no basic rotation is active once such a row has been activated.
If you press the SET STANDARD VALUES soft key, the TNC restores
the basic rotation assigned to the active preset.
Superimposed mirroring
With the superimposed mirroring function you can mirror all active
axes.
Superimposed rotation
With the superimposed rotation function you can define any rotation
of the coordinate system in the presently active working plane.
Handwheel superimposition
The handwheel superimposition function enables you to use the
handwheel to move the axes while the TNC is running a program. If
the"Tilt the working plane" function is active, you can select via check
1 2
box whether you want to traverse the tool in the machine-based
coordinate system or in the tilted input coordinate system:
Traverse in the machine-based coordinate system 1:
The TNC moves the tool in the machine-based coordinate system,
i.e. always parallel to the machine axes X, Y or Z. While doing so, the
TNC does not take any basic rotation or active coordinate
transformations into account.
Traverse in the tilted coordinate system 2:
If the function for tilting the working plane (PLANE) is active, the TNC
moves the tool in the tilted working plane defined in PLANE.
In the Max. val. column you define the maximum distance by which
you can move the axis by handwheel. As soon as you interrupt the
program run (control-in-operation signal is off), the TNC shows the
distances actually moved in each axis in the actual value column. The
actual value remains saved until you delete it, even after a power
interruption. You can also edit the actual value. If required, the TNC
decreases the value that you entered to the respective Max. val.
Limit plane
The Limit Plane function provided by the TNC is a powerful function
for different applications. This function makes it especially easy for
you to realize the following machining operations:
Avoiding limit switch messages:
NC programs created in CAM systems often output safety
positioning movements near the limit switch range of a specific
machine. If you need to change to a smaller machine on short
notice, these positioning blocks result in interruptions of program
run. The Limit Plane function enables you to limit the traverse range
of a smaller machine so that limit switch messages are no longer
generated.
Machining definable ranges:
During repair work that is often limited to a small range the Limit
Plane function enables you to quickly and easily define the range
with graphic support. The TNC then only machines within the
defined range.
Machining at limit height:
The definition of a limit plane in the tool-axis direction enables you—
if only the finishing contour is available, for example—to simulate
infeeds in the negative direction by moving the limit multiple times.
The TNC executes machining operations that are defined outside
the limit, but the tool is kept at the defined limit in the tool-axis
direction.
Danger of collision!
Please note that the definition of one or more limit planes
will result in positioning movements that are not defined
in the NC program, and therefore cannot be simulated!
Use the Limit Plane function only in conjunction with
straight-line blocks. The TNC does not monitor any circular
movements!
For mid-program startup at a position outside the active
traverse range, the TNC positions the tool to the position
at which it would leave the defined traverse range.
If the tool is located at a position outside the traverse
range when a cycle is called, then the cycle will not be
executed!
The TNC executes all miscellaneous functions M that are
defined outside the traverse range in the NC program.
This also applies to PLC positioning movements or
traverse commands from NC macros.
The limit plane function is also active in MDI mode.
The functions for defining the limit plane are available in the Global
Program Settings form on the Limit plane tab. Once you enabled the
Limit Plane function (On/Off checkbox) and selected a checkbox to
activate an axis range, the TNC graphically displays this plane on the
right side of the screen. The green cuboid represents your machine's
traverse range.
The TNC provides the functions described below:
Coordinate system section:
Here you specify the coordinate system on which the data entered
in the Limit values range is to be based.
Machine coordinate system:
Limit values are based on the machine coordinate system (M91
system)
Workpiece coordinate system:
Limit values are based on the workpiece coordinate system. The
workpiece coordinate system is based on the datum set on the
workpiece without consideration of a defined basic rotation and
without consideration of any active coordinate transformations.
Input coordinate system:
Limit values are based on the input coordinate system. The input
coordinate system coincides with the workpiece coordinate
system if no coordinate transformations are active. If any
coordinate transformations (basic rotation, datum shift, mirroring,
rotation, scaling, tilted working plane) are active, the input
coordinate system differs from the workpiece coordinate system
correspondingly.
Here you define the actual limit values. You can define a minimum
and maximum limit plane for every axis. You also need to select a
checkbox to activate the function for the respective axis.
X Min:
Minimum value of the limit plane in X direction in mm or inches
X Max:
Maximum value of the limit plane in X direction in mm or inches
Y Min:
Minimum value of the limit plane in Y direction in mm or inches
Y Max:
Maximum value of the limit plane in Z direction in mm or inches
Z Min:
Minimum value of the limit plane in Z direction in mm or inches
Z Max:
Maximum value of the limit plane in Z direction in mm or inches
Z-limit mode range:
Here you specify how the TNC is to behave at a limit plane in the
tool-axis direction.
Hide machining:
The TNC stops the tool at the position where it reaches the
minimum axis limit in tool-axis direction. If a set-up clearance is
defined, the TNC retracts the tool by the respective value. As soon
as a position is within the permissible traverse range again, the
TNC positions the tool to this position using positioning logic and
takes the approach clearance into account if defined.
Move the Z axis:
The TNC stops movements in the direction of the negative tool
axis, but it executes all movements outside the limit in the
machining plane. As soon as the position in the tool axis is within
the traverse range again, the TNC continues moving the tool as
programmed. Function not available for movement in the positive
tool-axis direction
Positioning logic
The TNC uses the following positioning logic to move between the
point of exit and the point of reentry:
If defined, the TNC retracts the tool by the lift-off height in the
positive machine-axis direction. If tilting of the working plane is
active, (PLANE function), the TNC retracts the tool in the active tool-
axis direction by the Lift-off height.
Then the TNC positions the tool on a straight line to the point of
reentry. If defined, the TNC moves the point of reentry by the
Approach clearance in the positive tool-axis direction.
Then the TNC moves the tool to the point of reentry and continues
running the program
Danger of collision!
Please note that with M128 (FUNCTION TCPM) active and
tilted head axes, the TNC always retracts the tool in the
machine axis Z by the Lift-off height.
In adaptive feed control the TNC automatically controls the feed rate
during program run as a function of the current spindle power
consumption. The spindle power required for each machining step is
to be recorded in a teach-in cut and saved by the TNC in a file
belonging to the part program. When each machining step is started,
which is normally when the spindle is switched on, the TNC controls
the feed rate so that it remains within the limits that you have defined.
This makes it possible to avoid negative effects on the tool, the
workpiece, and the machine that might be caused by changing cutting
conditions. Cutting conditions are changed particularly by:
Tool wear
Fluctuating cutting depths that occur especially with cast parts
Fluctuating hardness caused by material flaws
Adaptive feed control (AFC) offers the following benefits:
Optimization of machining time
By controlling the feed rate, the TNC tries to maintain the recorded
maximum spindle power during the entire machining time. It
shortens the machining time by increasing the feed rate in
machining zones with little material removal.
Tool monitoring
If the spindle power exceeds the recorded maximum value, the TNC
decreases the feed rate until the reference spindle power is
reattained. If the maximum spindle power is exceeded during
machining and at the same time the feed rate falls below the
minimum that you defined, the TNC reacts by shutting down. This
helps to prevent further damage after a tool breaks or is worn out.
Protection of the machine's mechanical elements
Timely feed rate reduction and shutdown responses help to avoid
machine overload
Column Function
NR Consecutive line number in the table (has no further
functions)
Adaptive Name of the control setting. You enter this name in the
Feed AFC column of the tool table. It specifies the
Control assignment of control parameters to the tool.
(AFC)
FIDL Feed rate for traverse when the tool is not cutting.
Enter the value in percent of the programmed feed
rate.
FENT Feed rate for traverse when the tool moves into or out
of the material. Enter the value in percent with respect
to the programmed feed rate. Maximum input value:
100%
Column Function
SENS Sensitivity (aggressiveness) of regulation. A value
between 50 and 200 can be entered. 50 is for slow
control, 200 for a very aggressive control. An
aggressive control reacts quickly and with strong
changes to the values, but it tends to overshoot.
Recommended value: 100
Column Function
NR Number of the machining step
IDX Index of the tool with which the machining step was
performed (not editable)
You can also edit the <name>.H.AFC.DEP file in the Programming and
Editing mode of operation. If necessary, you can even delete a
machining step (entire line) there.
Log file
The TNC stores various pieces of information for each machining step
of a teach-in cut in the <name>.H.AFC2.DEP file. <name> is the name of
the NC program for which you have recorded the teach-in cut. During
control, the TNC updates the data and makes various evaluations. The
following data are to be saved in this table:
Column Function
NR Number of the machining step
IDX Index of the tool with which the machining step was
made
With the spindle load monitoring function you can easily have the
spindle load monitored in order, for example, to detect overloading the
spindle power.
The function is independent of AFC, i.e. it is not cut-based and does
not depend on teach-in steps. Through the functions that can be
defined by the machine tool builder, you only need to define the
percentage value for spindle limit power with respect to the rated
power.
When the defined limit spindle power range is not maintained, the
TNC conducts an NC stop.
Activating/deactivating ACC
In order to activate ACC you need to set the column ACC to 1, and enter
the number of tool teeth in the CUT. column. Other settings are not
required. If ACC is active, the TNC shows a corresponding symbol in
the position display.
In order to deactivate ACC, you need to set the column ACC to 0.
Note that the TNC may need many times more free
memory space on the hard disk than the size of the
program file to be converted.
Application example
The contour CONT1.H is to be milled in several infeeds. The TNC
generates the forward file CONT1_fwd.h and the backward file
CONT1_rev.h.
NC blocks
...
5 TOOL CALL 12 Z S6000 Tool call
6 L Z+100 R0 FMAX Retract in the tool axis
7 L X-15 Y-15 R0 F MAX M3 Pre-position in the plane, spindle on
8 L Z+0 R0 F MAX Approach the starting point in the tool axis
9 LBL 1 Set a mark
10 L IZ-2.5 F1000 Infeed depth in incremental values
11 CALL PGM CONT1_FWD.H Call the forward program
12 L IZ-2.5 F1000 Infeed depth in incremental values
13 CALL PGM CONT1_REV.H Call backward program
14 CALL LBL 1 REP3 Repeat program part three times starting with block
9
15 L Z+100 R0 F MAX M2 Retract tool, end of program
Inserting a UNIT
If you wish to discard changes and you are still editing the
form, simply press the DEL key. The TNC then resets to
the data stored before you called the form.
Once you have inserted a UNIT for the first time, you can
insert any conversational program blocks in the UNIT. If
you insert conversational program blocks later and then
make changes via the form, the TNC deletes the inserted
blocks again. In such cases you should always make the
changes via the conversational program editor.
It is not permitted to delete conversational program
blocks in the UNIT as it would lead to error messages and
incorrect machining.
Go to beginning of file
Go to end of file
Editing texts
The first line of the text editor is an information headline displaying the
file name, and the location and writing mode of the cursor:
File: Name of the text file
Line: Line in which the cursor is presently located
Column: Column in which the cursor is presently located
INSERT: Insert new text, pushing the existing text to the
right
OVERWRITE: Write over the existing text, erasing it by replacing
it with new text
Possible applications
In cutting data tables containing various workpiece and cutting DATEI: TOOL.T MM
material combinations, the TNC can use the cutting speed VC and the T R CUT. TYP TMAT CDT
0 ... ... ... ... ...
tooth feed fZ to calculate the spindle speed S and the feed rate F. This 1 ... ... ... ... ...
2 +5 4 MILL HSS PRO1
calculation is only possible if you defined the workpiece material in the 3 ... ... ... ... ...
program and various tool-specific features in the tool table. 4 ... ... ... ... ...
Before you let the TNC automatically calculate the cutting DATEI: PRO1.CDT
NR WMAT TMAT Vc1 F1
data, the tool table from which the TNC is to take the tool- 0 ... ... ... ...
specific data must be first be activated in the Test Run 1 ... ... ... ...
2 ST65 HSS 40 0.06
mode (status S). 3 ... ... ... ...
4 ... ... ... ...
Example of TNC.SYS
WMAT=TNC:\CUTTAB\WMAT_GB.TAB
TMAT=TNC:\CUTTAB\TMAT_GB.TAB
PCDT=TNC:\CUTTAB\
Structure
Meaning
command
NR Column number
The TNC aligns the entry fields on the right side left-
justified according to the longest dialog text. If an entry
field exceeds the greatest width that can be displayed, a
scrollbar appears at the bottom of the window. Use the
mouse or soft keys to scroll.
Example:
You wish to write to the columns “Radius,” “Depth” and “D” in line
5 of the presently opened table. The values to be written to the table
must be saved in the Q parameters Q5, Q6 and Q7.
53 FN0: Q5 = 3.75
54 FN0: Q6 = -5
55 FN0: Q7 = 7.5
56 FN 27: TABWRITE 5/“RADIUS,DEPTH,D“ = Q5
Example:
You wish to read the values of the columns “Radius,” “Depth” and
“D” from line 6 of the presently opened table. Save the first value in
Q parameter Q10 (second value in Q11, third value in Q12).
operator:
Separate feed rates for pre-positioning, machining, and
downfeeds, and define them via Q parameters at the beginning of
the program (see example)
In order to improve the structure of large NC programs, use the
TNC’s structuring function: See "Structuring programs" on page
158
Use the TNC’s commenting function in order to document NC
programs: See "Adding comments" on page 156
Use the comprehensive cycles of the TNC available for the
machining of drill holes and simple pocket geometries: See the
Cycle Programming User's Manual
For fits, output the contours with RL/RR tool radius compensation:
See "Tool radius compensation" on page 215. This makes it easy
for the machine operator to make necessary compensations
When defining roughing operations, make sure that the CAM PP TNC
sum of the chord error defined in the CAM system and
the tolerance from Cycle 32 is less than the defined S
machining oversize. This ensures that no contour gouging
T
will occur.
When defining finishing operations, make sure that the
chord error defined in the CAM system is not set to
greater than 5 µm. In Cycle 32, use the appropriate
tolerance factor T of 1.3 to 5. Z
How to adapt the chord error in the CAM program, depending on the
machining:
X
Roughing with a preference to speed
Use higher values for the chord error and the appropriate
tolerance in Cycle 32. Both values depend on the oversize
required on the contour. Typical values for the tolerance in Cycle
32 are between 0.05 mm and 0.3 mm. A typical chord error in the
CAM program is between 0.004 mm and 0.030 mm. If a special
cycle is available on your machine, use the roughing mode. In
roughing mode the machine generally moves with high jerk values
and high accelerations
Finishing with a preference to high accuracy
Use smaller values for the chord error and an appropriately small
tolerance in Cycle 32. The data density must be high enough for
the TNC to detect transitions and corners exactly. Typical values
for the tolerance in Cycle 32 are between 0.002 mm and
0.006 mm. A typical chord error in the CAM program is between
0.001 mm and 0.004 mm. If a special cycle is available on your
machine, use the finishing mode. In finishing mode the machine
generally moves with low jerk values and low accelerations
Finishing with a preference to high surface definition
Use smaller values for the chord error and an appropriately large
tolerance in Cycle 32. The TNC then smoothes the contour more
exactly. Typical values for the tolerance in Cycle 32 are between
0.010 mm and 0.020 mm. Do not define the chord error in the
CAM program to a value greater than 0.005 mm. If a special cycle
is available on your machine, use the finishing mode. In finishing
mode the machine generally moves with low jerk values and low
accelerations
FUNCTION TCPM Define the behavior of the TNC when positioning the rotary axes (improvement of Page 514
M128)
M114 Define the behavior of the TNC when positioning the rotary axes Page 522
M128 Define the behavior of the TNC when positioning the rotary axes Page 524
M134 Exact stop for positioning with rotary axes Page 527
PROJECTED Two projection angles: PROPR and PROMIN and a Page 495
rotation angle ROT
VECTOR Normal vector for defining the plane and base Page 499
vector for defining the direction of the tilted X axis
Position display
As soon as any PLANE function is active, the TNC shows the calculated
spatial angle in the additional status display (see figure). As a rule, the
TNC internally always calculates with spatial angles, independent of
which PLANE function is active.
During tilting (MOVE or TURN mode) in the Distance-To-Go mode (DIST),
the TNC shows (in the rotary axis) the distance to go (or calculated
distance) to the final position of the rotary axis.
Input parameters
Spatial angle A?: Rotational angle SPA around the
fixed machine axis X (see figure at top right). Input
range from –359.9999° to +359.9999°
Spatial angle B?: Rotational angle SPB around the
fixed machine axis Y (see figure at top right). Input
range from –359.9999° to +359.9999°
Spatial angle C?: Rotational angle SPC around the
fixed machine axis Z (see figure at center right). Input
range from –359.9999° to +359.9999°
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
Abbreviations used
Abbreviation Meaning
SPATIAL spatial means in space
Beispiel: NC block
Input parameters
Proj. angle 1st coordinate plane?: Projected angle
of the tilted machining plane in the 1st coordinate
plane of the fixed machine coordinate system (Z/X for
tool axis Z, see figure at top right). Input range: from
-89.9999° to +89.9999°. The 0° axis is the principal
axis of the active working plane (X for tool axis Z. See
figure at top right for positive direction)
Proj. angle 2nd coordinate plane?: Projected angle
in the 2nd coordinate plane of the fixed machine
coordinate system (Y/Z for tool axis Z, see figure at
top right). Input range: from –89.9999° to +89.9999°.
The 0° axis is the minor axis of the active machining
plane (Y for tool axis Z)
ROT angle of the tilted plane?: Rotation of the
tilted coordinate system around the tilted tool axis
(corresponds to a rotation with Cycle 10 ROTATION).
The rotation angle is used to simply specify the
direction of the principal axis of the working plane (X
for tool axis Z, Z for tool axis Y; see figure at bottom
right). Input range: from 0° to +360°.
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
NC block
Abbreviations used
Abbreviation Meaning
PROJECTED Projected
ROT Rotation
Input parameters
Rot. angle main coordinate plane?: Rotary
angleEULPR around the Z axis (see figure at top right).
Please note:
Input range: -180.0000° to 180.0000°
The 0° axis is the X axis
Swivel angle of tool axis?: Tilting angle EULNU of the
coordinate system around the X axis shifted by the
precession angle (see figure at center right). Please
note:
Input range: 0° to 180.0000°
The 0° axis is the Z axis
ROT angle of the tilted plane?: Rotation EULROT of
the tilted coordinate system around the tilted Z axis
(corresponds to a rotation with Cycle 10 ROTATION).
Use the rotation angle to simply define the direction
of the X axis in the tilted machining plane (see figure
at bottom right). Please note:
Input range: 0° to 360.0000°
The 0° axis is the X axis
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
NC block
Abbreviations used
Abbreviation Meaning
EULER Swiss mathematician who defined these angles
Input parameters
X component of base vector?: X component BX of the
base vector B (see figure at top right). Input range
-99.9999999 to +99.9999999
Y component of base vector?: Y component BY of the
base vector B (see figure at top right). Input range
-99.9999999 to +99.9999999
Z component of base vector?: Z component BZ of the
base vector B (see figure at top right). Input range
-99.9999999 to +99.9999999
X component of normal vector?: X component NX of
the normal vector N (see figure at center right). Input
range -99.9999999 to +99.9999999
Y component of normal vector?: Y component NY of
the normal vector N (see figure at center right). Input
range -99.9999999 to +99.9999999
Z component of normal vector?: Z component NZ of
the normal vector N (see figure at center right). Input
range -99.9999999 to +99.9999999
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
NC block
Abbreviations used
Abbreviation Meaning
VECTOR Vector
Input parameters
X coordinate of 1st plane point?: X coordinate P1X
of the 1st plane point (see figure at top right)
Y coordinate of 1st plane point?: Y coordinate P1Y
of the 1st plane point (see figure at top right)
Z coordinate of 1st plane point?: Z coordinate P1Z
of the 1st plane point (see figure at top right)
X coordinate of 2nd plane point?: X coordinate P2X
of the 2nd plane point (see figure at center right)
Y coordinate of 2nd plane point?: Y coordinate P2Y
of the 2nd plane point (see figure at center right)
Z coordinate of 2nd plane point?: Z coordinate P2Z
of the 2nd plane point (see figure at center right)
X coordinate of 3rd plane point?: X coordinate P3X
of the 3rd plane point (see figure at bottom right)
Y coordinate of 3rd plane point?: Y coordinate P3Y
of the 3rd plane point (see figure at bottom right)
Z coordinate of 3rd plane point?: Z coordinate P3Z
of the 3rd plane point (see figure at bottom right)
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
NC block
Abbreviations used
Abbreviation Meaning
POINTS Points
Input parameters
Incremental angle?: Spatial angle about which the
active machining plane is to be rotated additionally
(see figure at right). Use a soft key to select the axis
to be rotated about. Input range: –359.9999° to
+359.9999°
Continue with the positioning properties (see
"Specifying the positioning behavior of the PLANE
function" on page 506)
Abbreviations used
Abbreviation Meaning
RELATIV Relative to
Beispiel: NC block
PLANE AXIAL can also be used if you have only one rotary
axis active on your machine.
Yo can use the PLANE RELATIV function after PLANE AXIAL
if your machine allows spatial angle definitions. The
machine manual provides further information.
If you use the PLANE AXIAL together with STAY, you have
to position the rotary axes in a separate block after the
PLANE function (see "Positioning the rotary axes in a
separate block" on page 508).
1
1
Danger of collision!
Pre-position the tool to a position where there is no danger
of collision with the workpiece (clamping devices) during
positioning.
Select any PLANE function, and define automatic positioning with the
STAY option. During program execution the TNC calculates the
position values of the rotary axes present on the machine, and
stores them in the system parameters Q120 (A axis), Q121 (B axis)
and Q122 (C axis)
Define the positioning block with the angular values calculated by
the TNC
NC example blocks: Position a machine with a rotary table C and a
tilting table A to a spatial angle of B+45°.
...
12 L Z+250 R0 FMAX Position at clearance height
13 PLANE SPATIAL SPA+0 SPB+45 SPC+0 STAY Define and activate the PLANE function
14 L A+Q120 C+Q122 F2000 Position the rotary axis with the values calculated by
the TNC
... Define machining in the tilted working plane
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, the TNC selects the solution with which it can move the
rotary axes on the shortest path from the actual position to the
nominal position. The TNC then calculates the root of the square
sum of the rotary axis path of each solution, and then uses the
solution with the smaller value.
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.
Example for a machine with a rotary table C and a tilting table A.
Programmed function: PLANE SPATIAL SPA+0 SPB+45 SPC+0
Resulting axis
End switch Starting point SEQ
position
None A+0, C+0 not prog. A+45, C+90
–90 < A < +10 A+0, C+0 not prog. A–45, C–90
Example NC blocks:
...
12 L Z+50 R0 FMAX Position at clearance height
13 PLANE SPATIAL SPA+0 SPB-45 SPC+0 MOVE DIST50 F1000 Define and activate the PLANE function
14 L IB-17 F1000 M128 Set the incline angle and activate M128
... Define machining in the tilted working plane
Example NC blocks:
...
12 L Z+50 R0 FMAX Position at clearance height
13 PLANE SPATIAL SPA+0 SPB+45 SPC+0 MOVE DIST50 F1000 Define and activate the PLANE function
14 LN X+31.737 Y+21.954 Z+33.165 NX+0.3 NY+0 NZ+0.9539 F Set the incline angle via normal vector and activate
1000 M3 M128 M128
... Define machining in the tilted working plane
Example NC blocks:
...
13 FUNCTION TCPM F TCP ... Feed rate refers to the tool tip
14 FUNCTION TCPM F CONT ... Feed rate is interpreted as the speed of the tool
along the contour
...
Example NC blocks:
...
13 FUNCTION TCPM F TCP AXIS POS ... Rotary axis coordinates are axis angles
...
18 FUNCTION TCPM F TCP AXIS SPAT ... Rotary axis coordinates are spatial angles
20 L A+0 B+45 C+0 F MAX Set tool orientation to B+45 degrees (space angle).
Define space angle A and C with 0
...
Example NC blocks:
...
13 FUNCTION TCPM F TCP AXIS SPAT PATHCTRL AXIS Tool reference point moves along a straight line
14 FUNCTION TCPM F TCP AXIS POS PATHCTRL VECTOR Tool reference point and tool directional vector
move in one plane
...
Example NC block:
...
25 FUNCTION RESET TCPM Reset TCPM FUNCTION
...
Effect
M116 is effective in the working plane. With M117 you can reset M116.
M116 is also canceled at the end of the program.
M116 becomes effective at the start of block.
The behavior of the TNC while positioning rotary axes whose display
has been reduced to values less than 360° is dependent on bit 2 of
MP7682. This machine parameter defines whether the TNC should
always (even without M126) choose the shortest path when
traversing the difference between nominal and actual position, or only
if M126 is programmed. Examples for if the TNC should traverse the
rotary axis always along the number line:
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
Example NC blocks
To reduce display of all active rotary axes:
L M94
L M94 C
To reduce display of all active rotary axes and then move the tool in
the C axis to the programmed value:
Effect
M94 is effective only in the block in which it is programmed.
M94 becomes effective at the start of block.
Effect
M114 becomes effective at the start of block, M115 at the end of
block. M114 is not effective when tool radius compensation is active.
To cancel M114, enter M115. At the end of program, M114 is
automatically canceled.
After M128 you can program another feed rate, at which the TNC will X
carry out the compensation movements in the linear axes. If you
program no feed rate here, or if you program a larger feed rate than is
defined in MP7471, the feed rate from MP7471 will be effective.
Effect
M128 becomes effective at the start of block, M129 at the end of block.
M128 is also effective in the manual operating modes and remains
active even after a change of mode. The feed rate for the
compensation movement will be effective until you program a new
feed rate or until you cancel M128 with M129.
Enter M129 to cancel M128. The TNC also cancels M128 if you select a
new program in a program run operating mode.
Example NC blocks
Feed rate of 1000 mm/min for compensation movements:
M114 and M128 may not be active at the same time, since
overlaps of the two functions would occur, which could
lead to damage of the workpiece. The TNC outputs a
corresponding error message.
Effect
M134 becomes effective at the start of block, M135 at the end of
block.
You can reset M134 with M135. The TNC also resets M134 if you
select a new program in a program run operating mode.
Effect
M138 becomes effective at the start of block.
You can reset M138 by reprogramming it without entering any axes.
Example NC blocks
Perform the above-mentioned functions only in the tilting axis C:
Effect
M144 becomes effective at the start of the block. M144 does not
function in connection with M114, M128 or a tilted working plane.
You can cancel M144 by programming M145.
TZ
TY TX
R2
DR2>0
DL>0
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.
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.
L: Straight line
X, Y, Z: Compensated coordinates of the straight-line end point
L: Straight line
B, C: Coordinates of the rotary axes for tool orientation
RL: Radius compensation
F: Feed rate
M: Miscellaneous function
The effective sphere radius of a radius cutter deviates from the ideal
form owing to the production process. The maximum form inaccuracy
is specified by the tool manufacturer; common error is between 0.005
and 0.01 mm. DR20.004
The form inaccuracy can be determined with a laser system and the
corresponding laser cycles on the TNC. It can then be saved as a
compensation value table. This table contains angle values and the
deviation from the nominal radius R2 measured on the respective X
angle value.
The 3D-ToolComp software option enables the TNC to compensate
the value defined in the compensation value table depending on the
actual contact point of the tool.
Requirements
Software option 3D-ToolComp is enabled
Software option 2, 3-D machining is enabled
MP7680, bit 6 must be set to the value 1: The TNC takes R2 from
the tool table into account during tool length compensation
The DR2TABLE column in the tool table (TOOL.T) is enabled
(MP7266.42)
The tool was measured with the laser system and the
compensation value table is available in a directory under TNC:\.
Alternatively you can also create the compensation table manually
(see "Compensation-value table" on page 537)
The tool dimensions L, R and R2 are entered in the tool table
(TOOL.T)
The path name of the compensation value table for the tool to be
compensated is entered (without file extension) in the DR2TABLE
column of the tool table (TOOL.T) (see "Tool table: Standard tool
data" on page 182)
NC program: NC blocks with surface normal vectors are required
(see "NC program" on page 539)
If you wish to create and fill the compensation value table with data
yourself, proceed as follows:
To call the file management, press the PGM MGT key
Enter any file name with the TAB extension and confirm with the
ENT key. The TNC displays a pop-up window with permanently
saved table formats
Use the arrow key to select the table format 3DTOOLCOMP.TAB and
confirm with the ENT key. The TNC opens a new table containing
only one line and those columns that are required for the function of
3D-ToolComp
Function
If you are executing a program with surface normal vectors and
assigned a compensation value table (DR2TABLE column) to the active
tool in the tool table (TOOL.T), the TNC uses the values from the
compensation value table instead of the compensation value DR2 from
TOOL.T.
In doing so, the TNC takes the compensation value from the
compensation value table defined for the current contact point of the
tool with workpiece into account. If the contact point is between two
compensation points, the TNC interpolates the compensation value
linearly between the two closest angles.
Example:
+0.03
50° -0.02 mm (measured)
+0.02
45° (contact point) +0.005 mm (interpolated)
+0.01
+0.005
0
The TNC generates an error message if it cannot 40° 45° 50° ANGLE
determine a compensation value through interpolation. 0.01
10 ...
The TNC executes the spline block according to the following third-
degree polynomials:
X(t) = K3X · t3 + K2X · t2+ K1X · t + X
Y(t) = K3Y · t3 + K2Y · t2+ K1Y · t + Y
Z(t) = K3Z · t3 + K2Z · t2 + K1Z · t + Z
where the variable t runs from 1 to 0. The incrementation of t depends
on the feed rate and the length of the spline.
The TNC executes the spline block according to the following third-
degree polynomials:
X(t) = K3X · t3 + K2X · t2 + K1X · t + X
Y(t) = K3Y · t3 + K2Y · t2 + K1Y · t + Y
Z(t) = K3Z · t3 + K2Z · t2 + K1Z · t + Z
A(t) = K3A · t3 + K2A · t2 + K1A · t + A
B(t) = K3B · t3 + K2B · t2 + K1B · t + B
where the variable t runs from 1 to 0. The incrementation of t depends
on the feed rate and the length of the spline.
Input ranges
Spline end point: –99 999.9999 to +99 999.9999
Spline parameter K: –9.99999999 to +9.99999999
Exponent for spline parameter K: –255 to +255 (whole number)
Pallet tables are used for machining centers with pallet changers: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different reference points.
Pallet tables contain the following information:
PAL/PGM (entry obligatory):
Identification for pallet or NC program (select with ENT or NO ENT)
NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see your machine tool manual). The program name
must be stored in the same directory as the pallet table. Otherwise
you must enter the full path name for the program
PALPRES (entry optional):
Preset number from the pallet preset table. The TNC interprets the
preset number defined here as pallet datum (PAL entry in column
PAL/PGM). You can use the pallet preset to compensate mechanical
differences between the pallets. A pallet preset can also be
activated automatically when a pallet is added
PRESET (entry optional):
Preset number from the preset table. The preset number defined
here is interpreted by the TNC either as a pallet datum (PAL entry in
PAL/PGM column) or as a workpiece datum (PGM entry in PAL/PGM line).
If there is a pallet preset table active on your machine, then use the
PRESET column only for workpiece datums
DATUM (entry optional):
Name of the datum table. The datum table must be stored in the
same directory as the pallet table. Otherwise you must enter the full
path name for the datum table. Datums from the datum table can be
activated in the NC program with Cycle 7 DATUM SHIFT
Position Meaning
Actual values Enter the coordinates of the current tool position
referenced to the active coordinate system.
With the arrow keys and the ENT key, select the position that you wish
to confirm. Then press the ALL VALUES soft key so that the TNC
saves the respective coordinates of all active axes in the pallet table.
With the PRESENT VALUE soft key, the TNC saves the coordinates of
the axis on which the highlight in the pallet table is presently located.
If your machine tool builder has enabled the pallet preset table, you
can edit the pallet preset table in Manual mode:
Select the Manual Operation or El. Handwheel mode of operation
Open the preset table: Press the DATUM
MANAGEMENT soft key. The TNC opens the preset
table
Scroll through the soft-key row
Open the pallet preset table: Press the PALLET
PRESET TBL soft key. The TNC displays additional
soft keys (see table below)
The following editing functions are available:
Pallet tables are used for machining centers with pallet changers: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different reference points.
Pallet tables contain the following information:
PAL/PGM (entry obligatory):
The entry PAL identifies the pallet, FIX marks the fixture level and PGM
is used to enter the workpiece.
W-STATE :
Current machining status. The machining status is used to
determine the current stage of machining. Enter BLANK for an
unmachined (raw) workpiece. During machining, the TNC changes
this entry to INCOMPLETE, and after machining has finished, to
ENDED. The entry EMPTY is used to identify a space at which no
workpiece is to be clamped. With the SKIP entry, you specify that a
workpiece is not to be machined by the TNC
METHOD (entry obligatory):
Entry that determines the method of program optimization.
Machining is workpiece-oriented if WPO is entered. Machining of the
piece is tool-oriented if TO is entered. In order to include subsequent
workpieces in the tool-oriented machining, you must enter CTO
(continued tool oriented). Tool-oriented machining is also possible
with pallet fixtures, but not for multiple pallets
NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see your machine tool manual). Programs must be
stored in the same directory as the pallet table. Otherwise you must
enter the full path and name for the program
Position Meaning
Actual values Enter the coordinates of the current tool position
referenced to the active coordinate system.
With the arrow keys and the ENT key, select the position that you wish
to confirm. Then press the ALL VALUES soft key so that the TNC
saves the respective coordinates of all active axes in the pallet table.
With the PRESENT VALUE soft key, the TNC saves the coordinates of
the axis on which the highlight in the pallet table is presently located.
Insert pallet
Insert fixture
Insert workpiece
Delete pallet
Delete workpiece
Tool-optimized machining
Workpiece-optimized machining
The various levels of the entry form can be reached with the
appropriate soft keys. The current level is highlighted in the status line
of the entry form. When you switch to table view with the screen
layout button, the cursor is placed in the same level as it was in the
form view.
Status: The soft key BLANK identifies the pallet and the
corresponding fixtures and workpieces as not yet having been
machined, and enters BLANK in the Status field. Use the EMPTY
POSITION or OMIT soft key if you want to skip the pallet during
machining. EMPTY or SKIP then appears in the status field.
Status: The soft key BLANK identifies the fixture and the
corresponding workpieces as not yet having been machined, and
enters BLANK in the Status field. Use the EMPTY POSITION or
OMIT soft key if you want to skip the fixture during machining. EMPTY
or SKIP then appears in the status field.
The entry TO or CTO in the Method field tells the TNC that the
oriented machining is valid beyond these lines.
The pallet management starts the NC program given in the line with
the entry TO.
The first workpiece is machined until the next tool call is pending.
Departure from the workpiece is coordinated by a special tool-
change macro.
The entry in the column W-STATUS is changed from BLANK to
INCOMPLETE, and the TNC enters a hexadecimal value in the field
CTID.
All lines in the pallet file that contain the entry CTO in the Method
field are machined in the same manner as the first workpiece.
Workpieces in several fixtures can be machined.
The TNC uses the next tool for the following machining steps again
from the line with the entry TO if one of the following situations
applies:
If the entry PAL is in the PAL/PGM field in the next line.
If the entry TO or WPO is in the Method field in the next line.
If in the lines already machined there are entries under Method
which do not have the status EMPTY or ENDED.
The NC program is continued at the stored location based on the
value entered in the CTID field. Usually the tool is changed for the
first piece, but the TNC suppresses the tool change for the following
workpieces.
The entry in the CTID field is updated after every machining step. If
an END PGM or M2 is executed in an NC program, then an existing
entry is deleted and ENDED is entered in the Machining Status field.
Switch on the power supply for TNC and machine. The TNC
automatically initiates the following dialog
MEMORY TEST
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
The TNC is now ready for operation in the Manual Operation mode.
Danger of collision!
Make sure that the angle values entered in the menu for
tilting the working plane match the actual angles of the
tilted axis.
If available, you can also traverse the axes in the direction of the
current tool axis (see "Setting the current tool-axis direction as the
active machining direction (FCL 2 function)" on page 622).
Danger of collision!
If you use this function, then for non-absolute encoders
you must confirm the positions of the rotary axes, which
the TNC displays in a pop-up window. The position
displayed is the last active position of the rotary axes
before switch-off.
If one of the two functions that were active before is active now, the
NC START button has no function. The TNC outputs a corresponding
error message.
Switch-off
To prevent data from being lost at switch-off, you need to shut down
the operating system of the TNC as follows:
Select the Manual Operation mode
Select the function for shutting down, confirm again
with the YES soft key
When the TNC displays the message Now you can
switch off the TNC in a pop-up window, you may cut
off the power supply to the TNC
You can move several axes at a time with these two methods. You can
change the feed rate at which the axes are traversed with the F soft
key, see "Spindle speed S, feed rate F and miscellaneous functions M",
page 579.
8 8
If the TNC has triggered an emergency stop you must reactivate the
handwheel. Proceed as follows:
Select the Programming and Editing mode of operation
Press the MOD key to select the MOD function
Scroll through the soft-key row
Select the configuration menu for the wireless
handwheel: Press the SET UP WIRELESS
HANDWHEEL soft key
Click the Start handwheel button to reactivate the
wireless handwheel
To save the configuration and exit the configuration
menu, press the END button
The MOD mode of operation includes a function for initial operation
and configuration of the handwheel (see "Configuring the HR 550 FS
wireless handwheel" on page 699).
Select the desired operating mode via the OPM soft key if necessary
(see "Changing operating modes" on page 577)
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:
Press the CTRL and Handwheel keys on the HR 5xx. The TNC
shows the soft-key menu for selecting the potentiometers on the
handwheel display
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:
Press the CTRL and Handwheel keys on the HR 5xx. The TNC
shows the soft-key menu for selecting the potentiometers on the
handwheel display
Press the KBD soft key to activate the potentiometers of the
machine operating panel
Setting a datum
Press the handwheel soft key F3 (MSF)
Press the handwheel soft key F4 (PRS)
If required, select the axis in which the datum is to be set
Reset the axis with the handwheel soft key F3 (OK) or with F1 and
F2 set the desired value and then confirm with F3 (OK). By also
pressing the CTRL key, you can increase the counting increment to
10
Entering values
Spindle speed S, miscellaneous function M
SPINDLE SPEED S=
Explanation of terms
Safety-related operating modes:
Safety functions
Danger of collision!
Approach the test positions successively in such a way
that no collision between tool and the workpiece or the
clamping devices can occur. If necessary, pre-position the
axes manually.
Press the INFO SOM soft key: The TNC opens the
window containing the overview of permitted speeds
and feed rates
Column Meaning
SLS2 Safely limited speeds in the safety-related
operating mode 2(SOM_2) for the respective
axes
You fix a preset by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
Clamp and align the workpiece
Insert the zero tool with known radius into the spindle
Ensure that the TNC is showing the actual position values
Protective measure Y
DATUM SETTING Z=
Danger of collision!
Keep in mind that moving an indexing feature on your
machine table (realized by changing the kinematics
description) may also shift datums that are not directly
connected to the indexing feature.
Danger of collision!
When activating a preset from the preset table, the TNC
resets the active datum shift.
However, a coordinate transformation that was
programmed in Cycle 19 Tilted Working Plane, or through
the PLANE function, remains active.
If you activate a datum that does not contain values in all
coordinates, the last effective datum remains active in
these axes.
The following touch probe cycles are available in the Manual Operation
mode:
After executing any selected probe cycle, the TNC displays the soft
key PRINT. If you press this soft key, the TNC will record the current
values determined in the active touch probe cycle. You can then use
the PRINT function in the menu for setting the data interface (see the
User's Manual Chapter 12, "MOD Functions, Setting the Data
Interfaces") to define whether the TNC is to
print the measuring result,
store the measuring results on the TNC’s hard disk, or
store the measuring results on a PC.
If you store the measuring results, the TNC creates the ASCII file
%TCHPRNT.A. Unless you define a specific path and interface in the
interface configuration menu, the TNC will store the %TCHPRNT file
in the main directory TNC:\.
With the ENTER IN DATUM TABLE soft key, the TNC can write the
values measured during a touch probe cycle in a datum table:
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
With the ENTER IN PRESET TABLE soft key, the TNC can write the
values measured during a probe cycle in the preset table. The
measured values are then stored referenced to the machine-based
coordinate system (REF coordinates). The preset table has the name
PRESET.PR, and is saved in the directory TNC:\.
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
During calibration, the TNC finds the "effective" length of the stylus
and the "effective" radius of the ball tip. To calibrate the touch probe,
clamp a ring gauge of known height and known internal radius to the
machine table.
Make sure that you have activated the correct tool number
before using the touch probe, regardless of whether you
wish to run the touch probe cycle in automatic mode or
manual mode.
If MP 7411=1 is set, the TNC shows the tool number and
name in the calibration menu.
If your machine has been prepared for it, the TNC can also
conduct a real, three-dimensional set-up compensation. If
necessary, contact your machine tool builder.
Setting bit 18 in MP7680 suppresses the error message
Axis angle not equal to tilt angle when a manual
probing cycle is used to measure a basic rotation or to
align the workpiece by means of the rotary axis. This way
you can determine the basic rotation at positions that
would not be accessible without tilting the head.
Overview
After the probing process, enter the preset number in which the
TNC is to save the active basic rotation in the Number in table:
input box
Press the ENTRY IN PALLET PRES. TAB. soft key to save the basic
rotation in the pallet preset table
The TNC shows an active pallet preset in the additional status display
(see "General pallet information (PAL tab)" on page 89).
Probing holes
Pre-position the touch probe approximately in the center of the hole.
After you have pressed the NC Start key, the TNC automatically
probes four points on the wall of the hole.
Move the touch probe to the next hole, repeat the probing operation
and have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Workpiece alignment:
Danger of collision!
Retract the touch probe before alignment so as to exclude
a collision with the fixtures or workpieces.
Press the POSITION ROTARY TABLE soft key. The TNC will show
a warning that the touch probe must be retracted
Start alignment with NC Start: The TNC will position the rotary table
After the probing process, enter the preset number in which the
TNC is to save the active basic rotation in the Number in table:
input box
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active datum (or on the
datum most recently set in the Manual operating mode),
although the datum shift is included in the position display.
For incomplete circles (circular arcs) you can choose the appropriate
probing direction. X X+
X+ X
Probing holes
Pre-position the touch probe approximately in the center of the hole.
After you have pressed the NC Start key, the TNC automatically
probes four points on the wall of the hole.
Move the touch probe to the next hole, repeat the probing operation
and have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Overview
Cycle Soft key
Basic rotation using 2 holes:
The TNC measures the angle between the line
connecting the centers of two holes and a nominal
position (angle reference axis).
The TNC supports the tilting functions on machine tools with swivel
heads and/or tilting tables. Typical applications are, for example, 10°
oblique holes or contours in an oblique plane. The working plane is
always tilted around the active datum. The program is written as usual
in a main plane, such as the X/Y plane, but is executed in a plane that X
is tilted relative to the main plane.
There are three functions available for tilting the working plane:
Manual tilting with the 3-D ROT soft key in the Manual Operation
mode and Electronic Handwheel mode, see "Activating manual
tilting", page 621
Tilting under program control, Cycle 19 WORKING PLANE in the part
program (see User’s Manual for Cycles, Cycle 19 WORKING
PLANE)
Tilting under program control, PLANE function in the part program
(see "The PLANE function: Tilting the working plane (software
option 1)" on page 489)
The TNC functions for "tilting the working plane" are coordinate
transformations. The working plane is always perpendicular to the
direction of the tool axis.
When tilting the working plane, the TNC differentiates between two
machine types:
Machine with tilting table
You must tilt the workpiece into the desired position for
machining by positioning the tilting table, for example with an L
block.
The position of the transformed tool axis does not change in
relation to the machine-based coordinate system. Thus if you
rotate the table—and therefore the workpiece—by 90° for
example, the coordinate system does not rotate. If you press the
Z+ axis direction button in the Manual Operation mode, the tool
moves in Z+ direction.
In calculating the transformed coordinate system, the TNC
considers only the mechanically influenced offsets of the
particular tilting table (the so-called "translational" components).
Machine with swivel head
You must bring the tool into the desired position for machining by
positioning the swivel head, for example with an L block.
The position of the transformed tool axis changes in relation to the
machine-based coordinate system. Thus if you rotate the swivel
head of your machine—and therefore the tool—in the B axis by
90° for example, the coordinate system rotates also. If you press
the Z+ axis direction button in the Manual Operation mode, the
tool moves in X+ direction of the machine-based coordinate
system.
In calculating the transformed coordinate system, the TNC
considers both the mechanically influenced offsets of the
particular swivel head (the so-called "translational" components)
and offsets caused by tilting of the tool (3-D tool length
compensation).
Danger of collision!
Always set a reference point in all three reference axes.
If your machine tool is not equipped with axis control, you
must enter the actual position of the rotary axis in the
menu for manual tilting: The actual positions of one or
several rotary axes must match the entry. Otherwise the
TNC will calculate an incorrect datum.
To reset the tilting function, set the desired operating modes in the
menu "Tilt working plane" to inactive.
If the tilted working plane function is active and the TNC moves the
machine axes in accordance with the tilted axes, the status display
shows the symbol.
If you activate the "Tilt working plane" function for the Program Run
operating mode, the tilt angle entered in the menu becomes active in
the first block of the part program. If you use Cycle 19 WORKING PLANE
or the PLANEfunction in the part program, the angle values defined
there are in effect. Angle values entered in the menu will be
overwritten.
To reset the tilting function, set the Manual Operation menu item in
the "Tilt working plane" menu to inactive.
The symbol appears in the status display when the Move in tool-
axis direction function is active.
Constraints:
FK free contour programming, programming graphics and
program run graphics cannot be used.
The $MDI file must not contain a program call (PGM CALL).
X
50
50
Straight-line function: See "Straight line L", page 234, DRILLING cycle:
See User’s Manual, Cycles, Cycle 200 DRILLING.
Use the touch probe to rotate the coordinate system. See "Touch
Probe Cycles in the Manual Operation and El. Handwheel modes of
operation," section "Compensating workpiece misalignment," in the
Touch Probe Cycles User's Manual.
Write down the rotation angle and cancel the basic rotation
Conclude entry
DESTINATION FILE =
HOLE Enter the name under which you want to save the
current contents of the $MDI file
Erasing the contents of the $MDI file is done in a similar way: Instead
of copying the contents, however, you erase them with the DELETE
soft key. The next time you select the Positioning with MDI operating
mode, the TNC will display an empty $MDI file.
628
Positioning with Manual Data Input
Test Run and
Program Run
16.1 Graphics
16.1 Graphics
Application
In the program run modes of operation as well as in the Test Run
mode, the TNC graphically simulates the machining of the workpiece.
Using soft keys, select whether you desire:
Plan view
Projection in three planes
3-D view
The TNC graphic depicts the workpiece as if it were being machined
with a cylindrical end mill. If a tool table is active, you can also simulate
the machining operation with a spherical cutter. For this purpose,
enter R2 = R in the tool table.
The TNC will not show a graphic if
the current program has no valid workpiece blank definition
no program is selected
Using the new 3-D graphics in the Test Run mode, you can
now also graphically display machining operations in the
tilted working plane as well as multi-sided machining
operations, provided that you have already simulated the
program in another view. You need at least the MC 422 B
hardware in order to use this function. In order to increase
the speed of the test graphics on older hardware versions,
bit 5 of MP7310 should be set to 1. This deactivates
functions which were implemented specifically for the 3-
D graphics.
The TNC graphics do not show a radius oversize DR that
has been programmed in the TOOL CALL 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 639). Otherwise, the TNC
always performs the test run at the maximum possible
speed.
The most recently set speed remains active, even if the
power is interrupted, until you change it.
After you have started a program, the TNC displays the following soft
keys with which you can set the simulation speed:
You can also set the simulation speed before you start a program:
Shift the soft-key row
3-D view
Plan view
This is the fastest of the graphic display modes.
Shift the soft-key row until the soft key for the
functions for shifting the sectional plane appears
Select the functions for shifting the sectional plane.
The TNC offers the following soft keys:
3-D view
The workpiece is displayed in three dimensions. If you have the
appropriate hardware, then with its high-resolution 3-D graphics the
TNC can also display machining operations in the tilted working plane
as well as multi-sided machining operations.
You can rotate the 3-D display about the vertical and horizontal axes
via soft keys. If there is a mouse attached to your TNC, you can also
perform this function by holding down the right mouse button and
dragging the mouse.
The shape of the workpiece can be depicted by a frame overlay at the
beginning of the graphic simulation.
In the Test Run mode of operation you can isolate details for
magnification, see "Magnifying details", page 637.
Press the soft key for 3-D view Press the soft key
twice to switch to the high-resolution 3-D graphics.
This switch is only possible once the simulation has
finished. The high-resolution graphics show more
surface details of the workpiece being machined.
You can also use the mouse with the 3-D graphics. The following
functions are available:
In order to rotate the graphic shown in three dimensions: Hold the
right mouse button down and move the mouse. The TNC displays a
coordinate system showing the currently active orientation of the
workpiece. After you release the right mouse button, the TNC
orients the workpiece to the defined orientation
In order to shift the graphic shown: Hold the center mouse button
or the wheel button down and move the mouse. The TNC shifts the
workpiece in the corresponding direction. After you release the
center mouse button, the TNC shifts the workpiece to the defined
position
In order to zoom in on a certain area with the mouse: Draw a
rectangular zoom area while holding the left mouse button down.
You can shift the zoom area by moving the mouse horizontally and
vertically as required. After you release the left mouse button, the
TNC zooms in on the defined area of the workpiece
In order to quickly zoom in and out with the mouse: Rotate the
wheel button forward or backward
Double-click with the right mouse button to reset the zoom factor
Press the SHIFT key and double-click with the right mouse button to
reset the zoom factor and the angle of rotation
Show the frame for the BLK FORM: Set the highlight
in the soft key to SHOW
Hide the frame for the BLK FORM: Set the highlight in
the soft key to OMIT
With the WINDOW BLK FORM soft key, you return the
displayed workpiece blank to its originally programmed
dimensions, even after isolating a detail without
TRANSFER DETAIL.
Test Run
The TNC takes the following into account for the time calculation:
Traverse movements at feed rate
Dwell times
Machine dynamics settings (accelerations, filter settings, motion
control)
The time calculated by the TNC does not include rapid-traverse
movements and times depending on the individual machine tool (e.g.
tool change).
If you have switched the "calculate machining time" function on, you
can generate a file listing the usage times of all tools used in the
program (see "Tool usage test" on page 202).
During the test run, the TNC resets the machining time as
soon as a new BLK FORM is evaluated.
Danger of collision!
The TNC cannot graphically simulate all traverse motions
actually performed by the machine. These include
Traverse motions during tool change, if the machine
manufacturer defined them in a tool-change macro or via
the PLC
Positioning movements that the machine manufacturer
defined in an M-function macro
Positioning movements that the machine manufacturer
performs via the PLC
Positioning movements that lead to a pallet change
HEIDENHAIN therefore recommends proceeding with
caution for every new program, even when the program
test did not output any error message, and no visible
damage to the workpiece occurred.
After a tool call, the TNC always starts a program test at
the following position:
In working plane in the center of the defined workpiece
blank
In the tool axis, 1 mm above the MAX point defined in the
BLK FORM
If you call the same tool, the TNC resumes program
simulation from the position last programmed before the
tool call.
In order to ensure unambiguous behavior during program
run, after a tool change you should always move to a
position from which the TNC can position the tool for
machining without causing a collision.
Halt test run (soft key only appears once you have
started the test run)
You can interrupt the test run and continue it again at any point—even
within a fixed cycle. In order to continue the test, the following actions
must not be performed:
Selecting another block with the arrow keys or the GOTO key
Making changes to the program
Switching the operating mode
Selecting a new program
You can use this function to test programs whose kinematics does not
match the active machine kinematics (e.g. on machines with head
change or traverse range switchover).
If your machine manufacturer saved different kinematic configurations
in your machine, you can activate one of these kinematics
configurations with the MOD function and use it for a test run. The
active machine kinematics will remain unchanged.
Select the Test Run operating mode
Choose the program you want to test
Select MOD functions
You can use this function on machines, where you want to define the
working plane by manually setting the machine axes.
Select the Test Run operating mode
Choose the program you want to test
Select MOD functions
You can adjust the feed rate and spindle speed with the
override knobs.
It is possible to reduce the feed rate when starting the NC
program using the FMAX soft key. The reduction applies
to all rapid traverse and feed rate movements. The value
you enter is no longer in effect after the machine has been
turned off and on again. In order to re-establish the
respectively defined maximum feed rate after switch-on,
you need to re-enter the corresponding value.
Ensure that you have referenced all axes before you start
program run. Otherwise the TNC will stop machining as
soon as it gets to an NC block with an axis that has not
been referenced.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the following
entries:
STOPP (with and without miscellaneous function)
Miscellaneous function M0, M2 or M30
Miscellaneous function M6 (defined by the machine tool builder)
Danger of collision!
Please note that program jumps with the GOTO function
do not reset modal functions.
If you want to restart a program after an interruption,
always select the program with the PGM MGT key.
Danger of collision!
If you interrupt program run while the working plane is
tilted, you can switch the coordinate system between
tilted and non-tilted, as well as to the active tool axis
direction, by pressing the 3-D ROT soft key.
The functions of the axis direction buttons, the electronic
handwheel and the positioning logic for returning to the
contour are then evaluated by the TNC. When retracting
the tool make sure the correct coordinate system is active
and the angular values of the tilt axes are entered in the
3D-ROT menu, if necessary.
Application example:
Retracting the spindle after tool breakage
Interrupt machining
Enable the external direction keys: Press the MANUAL TRAVERSE
soft key
If necessary, press the 3-D ROT soft key in order to activate the
coordinate system in which you want to traverse
Move the axes with the machine axis-direction keys
Note that the stored data remain active until they are reset
(e.g. if you select a new program).
The TNC uses the stored data for returning the tool to the contour after
manual machine axis positioning during an interruption (RESTORE
POSITION soft key).
If you cannot correct the error, write down the error message and
contact your service agency.
With the RESTORE POS AT N feature (block scan) you can start a part
program at any block you desire. The TNC scans the program blocks
up to that point. Machining can be graphically simulated. If you start at
a machining position within a smarT.NC point table (.HP), you can
select the start position via soft key with graphic support. When
starting at a machining position within a point table with the file
extension .PNT, the TNC does not provide graphic support. However,
you can use the point number to select any point as startup position.
If you have interrupted a part program with an INTERNAL STOP, the
TNC automatically offers the interrupted block N for mid-program
startup.
If the program was interrupted by one of the conditions listed below,
the TNC saves the point of interruption.
EMERGENCY STOP
Power interruption
Control software crash
After you have called the mid-program startup function, you can press
the soft keySELECT LAST BLOCK to reactivate the point of
interruption and approach it with an NC start. After switch-on the TNC
shows the message NC program canceled.
Danger of collision!
If you press the GOTO key and enter a block number for
going into a program, neither the TNC nor the PLC will
execute any functions that ensure a safe start.
If you use the GOTO block number key for going into a
subprogram, the TNC will skip the end of the subprogram
(LBL 0)! In such cases you must always use the mid-
program startup function.
In a Program Run operating mode, you can use the AUTOSTART soft
key (see figure at upper right) to define a specific time at which the
program that is currently active in this operating mode is to be started:
Show the window for entering the starting time (see
figure at center right)
Time (h:min:sec): Time of day at which the program
is to be started
Date (DD.MM.YYYY): Date at which the program is to
be started
To activate the start, set the AUTOSTART soft key to
ON
Call the operating mode in which you wish to change the MOD
functions.
Select the MOD functions: Press the MOD key. The
figures at right show typical screen menus in
Programming and Editing mode (figure at upper right),
Test Run mode (figure at lower right) and in a machine
operating mode (see figure on next page).
To exit the MOD functions, press the END key or END soft key
In addition, you can use the keyword version to create a file containing
all current software numbers of your control:
Enter the keyword version and confirm with the ENT key
The TNC displays all current software numbers on the screen
To terminate the version overview, press the END key
Operating
External device Symbol
mode
PC with HEIDENHAIN data transfer FE1
software TNCremoNT
Assignment
This function sets the destination for the transferred data.
Applications:
Transferring values with Q parameter function FN15
Transferring values with Q parameter function FN16
The TNC mode of operation determines whether the PRINT or PRINT
TEST function is used:
TNC mode of operation Transfer function
Program Run, Single Block PRINT
Function Path
Output data via RS-232 RS232:\....
File names
Data Operating mode File name
Values with FN15 Program Run %FN15RUN.A
Check whether the TNC is connected to the correct serial port on your
PC or to the network.
Once you have started TNCremoNT, you will see a list of all files that
are stored in the active directory in the upper section of the main
window 1. Using the menu items <File> and <Change directory>, you
can change the active directory or select another directory on your PC.
If you want to control data transfer from the PC, establish the
connection with your PC in the following manner:
Select <File>, <Setup connection>. TNCremoNT now receives the
file and directory structure from the TNC and displays this at the
bottom left of the main window 2
To transfer a file from the TNC to the PC, select the file in the TNC
window with a mouse click and drag and drop the highlighted file
into the PC window 1
To transfer a file from the PC to the TNC, select the file in the PC
window with a mouse click and drag and drop the highlighted file
into the TNC window 2
If you want to control data transfer from the TNC, establish the
connection with your PC in the following manner:
Select <Extras>, <TNCserver>. TNCremoNT is now in server mode.
It can receive data from the TNC and send data to the TNC
You can now call the file management functions on the TNC by
pressing the PGM MGT key (see "Data transfer to or from an
external data medium" on page 151) and transfer the desired files
Exiting TNCremoNT
Select the menu items <File>, <Exit>
Connection possibilities
You can connect the Ethernet card in your TNC to your network
through the RJ45 connection (X26, 100BaseTX or 10BaseT), or directly
to a PC. The connection is metallically isolated from the control
electronics.
For a 100BaseTX or 10BaseT connection you need a Twisted Pair
cable to connect the TNC to your network.
Setting Meaning
Primary Name of the Ethernet interface to be integrated
interface in your company network. Only active if a
second, optional Ethernet interface is available
on the control hardware
Setting Meaning
Interface list List of the active Ethernet interfaces. Select one
of the listed interfaces (via mouse or arrow
keys)
Activate button:
Activate the selected interface (an X appears
in the Active column)
Deactivate button:
Deactivate the selected interface (a hyphen
(-) appears in the Active column)
Configuration button:
Open the Configuration menu
Setting Meaning
Status Interface active:
Connection status of the selected Ethernet
interface
Name:
Name of the interface you are currently
configuring
Plug connection:
Number of the plug connection of this
interface on the logic unit of the control
Setting Meaning
Domain Name Automatically procure DNS option:
Server (DNS) The TNC is to automatically procure the IP
address of the domain name server
Manually configure the DNS option:
Manually enter the IP addresses of the
servers and the domain name
Default Automatically procure default gateway
gateway option:
The TNC is to automatically procure the
default gateway
Manually configure the default gateway
option:
Manually enter the IP addresses of the default
gateway
Apply the changes with the OK button, or discard them with the
Cancel button
Select the Internet tab:
Setting Meaning
Proxy Direct connection to Internet/NAT:
The control forwards Internet inquiries to the
default gateway and from there they must be
forwarded through network address
translation (e.g. if a direct connection to a
modem is available)
Use proxy:
Define the Address and Port of the Internet
router in your network, ask your network
administrator for the correct address and port
Setting Meaning
Ping In the Address: field, enter the IP number for
which you want to check the network
connection. Input: Four numerical values
separated by periods, e.g. 160.1.180.20. As an
alternative, you can enter the name of the
computer whose connection you want to check
Press the Start button to begin the test. The
TNC shows the status information in the Ping
field
Press the Stop button to conclude the test
Select the NFS UID/GID tab to enter the user and group
identifications:
Setting Meaning
Set UID/GID User ID:
for NFS shares Definition of which user identification the end
user uses to access files in the network. Ask
your network specialist for the proper value
Group ID:
Definition of the group identification with
which you access files in the network. Ask
your network specialist for the proper value
Select the DHCP server tab to configure the DHCP server settings of
the machine network:
Setting Meaning
DHCP server IP addresses as of:
active on: Define the IP address as of which the TNC is
to derive the pool of dynamic IP addresses.
The TNC transfers the values that appear
dimmed from the static IP address of the
defined Ethernet interface; these values
cannot be edited.
IP addresses up to:
Define the IP address up to which the TNC is
to derive the pool of dynamic IP addresses.
Lease Time (hours):
Time within which the dynamic IP address is
to remain reserved for a client. If a client logs
on within this time, the TNC reassigns the
same dynamic IP address.
Domain name:
Here you can define a name for the machine
network if required. This is necessary if the
same names are assigned in the machine
network and in the external network, for
example.
Forward DNS to external:
If IP Forwarding is active (Interfaces tab)
and the option is active, you can specify that
the name resolution for devices in the
machine network can also be used by the
external network.
Forward DNS from external:
If IP Forwarding is active (Interfaces tab)
and the option is active, you can specify that
the TNC is to forward DNS inquiries from
devices within the machine network to the
name server of the external network if the
DNS server of the MC cannot answer the
inquiry.
Status button:
Call an overview of the devices that are
provided with a dynamic IP address in the
machine network. You can also select
settings for these devices.
Advanced options button:
Additional settings for the DNS/DHCP server.
Set standard values button:
Define the factory default settings.
Setting Meaning
Network drive List of all connected network drives. The
TNC shows the respective status of the
network connections in the columns:
Mount:
Network drive connected / not connected
Auto:
Network drive is to be connected
automatically /manually
Type:
Type of network connection. cifs and nfs
are possible
Drive:
Designation of the drive on the TNC
ID:
Internal ID that identifies if a mount point
has been used for more than one
connection
Server:
Name of the server
Share name:
Name of the directory on the server that
the TNC is to access
User:
User name with which the user logs on to
the network
Password:
Network drive password protected / not
protected
Ask for password?:
Request / Do not request password during
connection
Options:
Display additional connection options
To manage the network drives, use the
screen buttons.
To add network drives, use the Add button:
The TNC then starts the connection wizard,
which guides you by dialog through the
required definitions.
Prerequisite:
The network card must already be installed on the PC and
ready for operation.
If the PC that you want to connect the iTNC to is already
integrated in your company network, then keep the PC’s
network address and adapt the TNC’s network address
accordingly (see "Configuring the TNC" on page 671).
Dependent files
In addition to the file extension, dependent files also have the
extension .SEC.DEP (SECtion, DEPendent). The following different
types are available:
.H.SEC.DEP
The TNC creates files with the .SEC.DEP extension if you work with
the structure function. The file contains information needed by the
TNC to rapidly jump from one structure point to the next
.T.DEP: Tool usage file for individual conversational-format programs
(see "Tool usage test" on page 202)
.P.T.DEP: Tool usage file for a complete pallet
The TNC creates files with the .P.T.DEP ending if, in a Program Run
mode, you run the tool usage test (see "Tool usage test" on page
202) for a pallet entry of the active pallet file. This file then lists the
sum of all tool usage times of all tools that you use within a pallet
.H.AFC.DEP: File in which the TNC saves the control parameters for
the adaptive feed control (AFC) (see "Adaptive Feed Control (AFC—
software option)" on page 440)
.H.AFC2.DEP: File in which the TNC saves the statistical data of the
adaptive feed control (AFC) (see "Adaptive Feed Control (AFC—
software option)" on page 440)
Function Display 31
With the MOD function Position display 1, you can select the position
display in the status display.
With Position display 2, you can select the position display in the
additional status display.
Display of presets
The values shown at the top right of the screen define the currently
active preset. The preset can have been set manually or can have been
activated from the preset table. The preset cannot be changed in the
screen menu.
Danger of collision!
Before starting the data carrier check, put the machine in
the EMERGENCY STOP condition. The TNC restarts the
software before performing the check!
The TNC must be reset after you change the time zone,
date or system time. In such cases the TNC displays a
warning when the window closes.
The TNC allows you to carry out TeleService. To be able to use this
feature, your TNC should be equipped with an Ethernet card which
achieves a higher data transfer rate than the serial RS232-C interface.
With the HEIDENHAIN TeleService software, your machine tool
builder can then establish a connection to the TNC via an ISDN modem
and carry out diagnostics. The following functions are available:
On-line screen transfer
Polling of machine states
Data transfer
Remote control of the TNC
Calling/exiting TeleService
Select any machine mode of operation
Press the MOD key to select the MOD function
Establish a connection to the service agency: Set the
SERVICE or SUPPORT soft key to ON. The TNC
breaks the connection automatically if no new data
have been transferred for a time set by the machine
tool builder (default: 15 min)
To break the connection to the service agency: Set the
SERVICE or SUPPORT soft key to OFF. The TNC
terminates the connection after approx. one minute
The soft key SERVICE can be used to grant or restrict access through
the LSV-2 interface.
With an entry in the configuration file TNC.SYS you can protect a
directory and its subdirectories with a password. The password is
requested when data from this directory is accessed from the LSV-2
interface. Enter the path and password for external access in the
configuration file TNC.SYS.
With the HOST COMPUTER OPERATION soft key you transfer the
command to an external host computer in order to transfer data to the
control, for example.
Note that your machine tool builder can specify that you
may not terminate host computer operation manually;
refer to the relevant machine tool manual.
Note that your machine tool builder can specify that the
host computer operation can also be automatically
activated externally; refer to the relevant machine tool
manual.
Statistics
Under Statistics, the TNC displays information about the
transmission quality.
If the reception quality is poor so that a proper and safe stop of the
axes cannot be ensured anymore, an emergency-stop reaction of the
wireless handwheel is triggered.
The displayed value Max. successive lost indicates whether
reception quality is poor. If the TNC repeatedly displays values greater
than 2 during normal operation of the wireless handwheel within the
desired range of use, then there is a risk of an undesired
disconnection. This can be corrected by increasing the transmitter
power or by changing to another channel with less radio traffic.
If this occurs, try to improve the transmission quality by selecting
another channel (see "Setting the transmission channel" on page 700)
or by increasing the transmitter power (see "Selecting the transmitter
power" on page 701).
To display the statistical data, proceed as follows:
Press the MOD key to select the MOD function
Scroll through the soft-key row
To select the configuration menu for the wireless
handwheel, press the SET UP WIRELESS
HANDWHEEL soft key: The TNC displays the
configuration menu with the statistical data
702
MOD Functions
Tables and Overviews
18.1 General user parameters
Example:
Instead of the decimal number 27 you can also enter the binary
number %11011 or the hexadecimal number $1B.
The individual machine parameters can be entered in the different
number systems.
Some machine parameters have more than one function. The input
value for these machine parameters is the sum of the individual
values. For these machine parameters the individual values are
preceded by a plus sign.
Touch probes
Selecting signal transmission MP6010
Touch probe with cable transmission: 0
Touch probe with infrared transmission: 1
Touch probes
Rapid traverse for triggering touch probes MP6150
1 to 300 000 [mm/min]
Automatic calibration cycle: Center of the MP6180.0 (traverse range 1) to MP6180.2 (traverse range 3)
calibration ring in the X axis referenced to 0 to 99 999.9999 [mm]
the machine datum
Automatic calibration cycle: Center of the MP6181.x (traverse range 1) to MP6181.2 (traverse range 3)
calibration ring in the Y axis referenced to 0 to 99 999.9999 [mm]
the machine datum
Automatic calibration cycle: Upper edge of MP6182.x (traverse range 1) to MP6182.2 (traverse range 3)
the calibration ring in the Z axis referenced 0 to 99 999.9999 [mm]
to the machine datum
Automatic calibration cycle: Distance below MP6185.x (traverse range 1) to MP6185.2 (traverse range 3)
the upper edge of the ring where the 0.1 to 99 999.9999 [mm]
calibration is carried out by the TNC
Radius measurement with the TT 130: MP6530.0 (traverse range 1) to MP6530.2 (traverse range 3)
Distance from lower edge of tool to upper 0.001 to 99.9999 [mm]
edge of stylus
Touch probes
Coordinates of the TT 120 stylus center MP6580.0 (traverse range 1)
relative to the machine datum X axis
Acknowledgment of MP7212
POWER INTERRUPTED Acknowledge with key: 0
after switch-on Acknowledge automatically: 1
SL cycles MP7420
The following applies to Cycles 21, 22, 23, 24:
Mill channel around the contour—clockwise for islands and
counterclockwise for pockets: Bit 0 = 0
Mill channel around the contour—clockwise for pockets and
counterclockwise for islands: Bit 0 = 1
First mill the channel, then rough out the contour: Bit 1 = 0
Rough out the contour, then mill the channel: Bit 1 = 1
Combine compensated contours: Bit 2 = 0
Combine uncompensated contours: Bit 2 = 1
Rough out to each pocket depth: Bit 3 = 0
Mill pocket and rough-out for each infeed depth before continuing to the
next depth: Bit 3 = 1
The following applies to Cycles 6, 15, 16, 21, 22, 23, and 24:
At the end of the cycle, move the tool to the position that was last
programmed before the cycle call: Bit 4 = 0
At the end of the cycle, retract the tool in the spindle axis only: Bit 4 = 1
Adapter block
TNC Conn. cable 365725-xx Connecting cable 274545-xx
310085-01
Male Assignment Female Color Female Male Female Male Color Female
1 Do not use 1 1 1 1 1 White/Brown 1
2 RXD 2 Yellow 3 3 3 3 Yellow 2
3 TXD 3 Green 2 2 2 2 Green 3
4 DTR 4 Brown 20 20 20 20 Brown 8
5 Signal GND 5 Red 7 7 7 7 Red 7
6 DSR 6 Blue 6 6 6 6 6
7 RTS 7 Gray 4 4 4 4 Gray 5
8 CTS 8 Pink 5 5 5 5 Pink 4
9 Do not use 9 8 Violet 20
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg. Hsg. External shield Hsg.
Adapter block
TNC Connecting cable 355484-xx Connecting cable 366964-xx
363987-02
Male Assignment Female Color Male Female Male Female Color Female
1 Do not use 1 Red 1 1 1 1 Red 1
2 RXD 2 Yellow 2 2 2 2 Yellow 3
3 TXD 3 White 3 3 3 3 White 2
4 DTR 4 Brown 4 4 4 4 Brown 6
5 Signal GND 5 Black 5 5 5 5 Black 5
6 DSR 6 Violet 6 6 6 6 Violet 4
7 RTS 7 Gray 7 7 7 7 Gray 8
8 CTS 8 White/Green 8 8 8 8 White/Green 7
9 Do not use 9 Green 9 9 9 9 Green 9
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg. Hsg. External shield Hsg.
Non-HEIDENHAIN devices
The connector layout of a non-HEIDENHAIN device may substantially
differ from that of a HEIDENHAIN device.
It depends on the unit and the type of data transfer. The table below
shows the connector pin layout on the adapter block.
Adapter block
TNC Connecting cable 355484-xx
363987-01
Female Assignment Male Color Female Male Female
1 RTS 1 Red 1 1 1
2 DTR 2 Yellow 2 2 2
3 RXD 3 White 3 3 3
4 TXD 4 Brown 4 4 4
5 Signal GND 5 Black 5 5 5
6 CTS 6 Violet 6 6 6
7 DSR 7 Gray 7 7 7
8 RXD 8 White/Green 8 8 8
9 TXD 9 Green 9 9 9
Hsg. External shield Hsg. External shield Hsg. Hsg. Hsg.
4 Vacant
5 Vacant
7 Vacant
8 Vacant
User functions
Short description Basic version: 3 axes plus spindle
16 additional axes or 15 additional axes plus 2nd Spindle
Digital current and shaft speed control
Program entry HEIDENHAIN conversational format, with smarT.NC and as per ISO
Position data Nominal positions for lines and arcs in Cartesian coordinates or polar coordinates
Incremental or absolute dimensions
Display and entry in mm or inches
Display of the handwheel path during machining with handwheel superimpositioning
Tool compensation Tool radius in the working plane and tool length
Radius compensated contour look ahead for up to 99 blocks (M120)
Three-dimensional tool-radius compensation for subsequent changing of tool data
without having to recalculate the program
Cutting-data tables Cutting data tables for automatic calculation of spindle speeds and feed rates from tool-
specific data ?(cutting speed, feed per tooth)
Constant contour speed With respect to the path of the tool center
With respect to the cutting edge
Parallel operation Creating a program with graphical support while another program is being run
3-D machining (software 3-D tool compensation through surface normal vectors
option 2) Using the electronic handwheel to change the angle of the swivel head during program
run without affecting the position of the tool point (TCPM = Tool Center Point
Management)
Keeping the tool normal to the contour
Tool radius compensation normal to the direction of traverse and the tool direction
Spline interpolation
FK free contour programming FK free contour programming in HEIDENHAIN conversational format with graphic
support for workpiece drawings not dimensioned for NC
Fixed cycles Drilling cycles for drilling, pecking, reaming, boring, tapping with a floating tap holder,
rigid tapping
Cycles for milling internal and external threads
Milling and finishing rectangular and circular pockets
Cycles for clearing level and inclined surfaces
Cycles for milling linear and circular slots
Cartesian and polar point patterns
Contour pockets—also with contour-parallel machining
Contour train
OEM cycles (special cycles developed by the machine tool builder) can also be
integrated
User functions
Teach-In Actual positions can be transferred directly into the NC program
Program verification graphics Graphic simulation before program run, even while another program is being run
Display modes
Plan view / projection in 3 planes / 3-D view
Magnification of details
Programming graphics In the Programming and Editing mode, the contours of the NC blocks are drawn on
screen while they are being entered (2-D pencil-trace graphics), even while another
program is running
Program Run graphics Graphic simulation of real-time machining in plan view / projection in 3 planes / 3-D
Display modes view
Machining time Calculating the machining time in the Test Run mode of operation
Display of the current machining time in the Program Run modes
Contour, returning to Mid-program startup in any block in the program, returning the tool to the calculated
nominal position to continue machining
Program interruption, contour departure and return
Pallet tables Pallet tables (with as many entries as desired for the selection of pallets, NC programs
and datums) can be machined workpiece by workpiece or tool by tool
Specifications
Components Main computer: MC 74xx or MC 75xx, MC 6441, MC 65xx or MC 66xx
Controller unit: CC 6106, 6108 or 6110
Remote keypad
15.1-inch or 19-inch TFT color flat-panel display with soft keys
IPC 6341 Industrial PC with Windows 7 (option)
Axis feedback control Position loop resolution: Signal period of the position encoder/1024
Cycle time of position controller: 1.8 ms
Speed controller cycle time: 600 µs
Cycle time of current controller: minimum 100 µs
Error compensation Linear and nonlinear axis error, backlash, reversal peaks during circular movements,
thermal expansion
Static friction
Data interfaces One each RS-232-C /V.24 and RS-422 / V.11 max. 115 kilobaud
Expanded interface with LSV-2 protocol for external operation of the TNC over the
interface with HEIDENHAIN software TNCremo
Ethernet interface 100BaseT
Approx. 2 to 5 megabaud (depending on file type and network load)
USB 2.0 interface
For pointing (mouse) devices and block devices (memory sticks, hard disks, CD-ROM
drives)
Accessories
Electronic handwheels One HR 550 FS portable wireless handwheel with display or
One HR 520 portable handwheel with display, or
One HR 420 portable handwheel with display, or
One HR 410 portable handwheel, or
One HR 130 panel-mounted handwheel, or
Up to three HR 150 panel-mounted handwheels via HRA 110 handwheel adapter
Software option 2
3-D machining 3-D tool compensation through surface normal vectors
Using the electronic handwheel to change the angle of the swivel head during program
run without affecting the position of the tool point (TCPM = Tool Center Point
Management)
Keeping the tool normal to the contour
Tool radius compensation normal to the direction of traverse and the tool direction
Spline interpolation
Circle radii –99 999.9999 to +99 999.9999 if values are entered directly, radii up to
210 m possible via Q parameter programming
(5.4: places before and after the decimal point) [mm]
Tool names 32 characters, enclosed by quotation marks with TOOL CALL. Permitted
special characters: #, $, %, &, -
Angle for polar coordinates, rotation, tilting –360.0000 to 360.0000 (3, 4) [°]
the working plane
Polar coordinate angle for helical –99 999.9999 to +99 999.9999 (5.4) [°]
interpolation (CP)
Q parameter values –999 999 999 to +999 999 999 (9 digits, floating point)
Labels (LBL) for program jumps Any text string in quotes (“”)
8 Mirroring
9 Dwell time
10 Rotation
11 Scaling factor
12 Program call
14 Contour definition
20 Contour data SL II
21 Pilot drilling SL II
22 Rough out SL II
23 Floor finishing SL II
24 Side finishing SL II
25 Contour train
26 Axis-specific scaling
27 Cylinder surface
32 Tolerance
200 Drilling
201 Reaming
202 Boring
240 Centering
736
Miscellaneous functions
M Effect Effective at block Start End Page
M0 Program run STOP/Spindle STOP if necessary/Coolant OFF if necessary Page 379
M6 Tool change/Stop program run (depending on machine parameter)/Spindle STOP Page 379
M90 Only in following error mode: Constant contouring speed at corners Page 383
M91 Within the positioning block: Coordinates are referenced to machine datum Page 380
M92 Within the positioning block: Coordinates are referenced to position defined by Page 380
machine tool builder, such as tool change position
M94 Reduce the rotary axis display to a value below 360° Page 521
M101 Automatic tool change with replacement tool if maximum tool life has expired Page 200
M102 Reset M101
M103 Reduce feed rate during plunging to factor F (percentage) Page 388
M107 Suppress error message for replacement tools with oversize Page 200
M108 Reset M107
M114 Automatic compensation of machine geometry when working with tilted axes Page 522
M115 Reset M114
M124 Do not include points when executing non-compensated line blocks Page 384
M128 Retain position of tool tip when positioning tilting axes (TCPM) Page 524
M129 Reset M128
M130 Moving to position in an untilted coordinate system with a tilted working plane Page 382
M134 Exact stop at nontangential contour transitions when positioning with rotary axes Page 527
M135 Reset M134
M140 Retraction from the contour in the tool-axis direction Page 394
M144 Compensate the machine's kinematics configuration for ACTUAL/NOMINAL positions Page 528
at end of block
M145 Reset M144
M148 Retract the tool automatically from the contour at NC stop Page 397
M149 Reset M148
M150 Suppress limit switch message (function effective blockwise) Page 398
738
Index
SYMBOLE C D
3-D compensation ... 529 CAD data, filtering ... 455 Datum table
Delta values ... 531 Calculating with parentheses ... 349 Confirming probed values ... 597
Delta values via DR2TABLE ... 536 Calculator ... 159 Datum, setting the ... ... 106
Depending on the contact CAM programming ... 529 DCM ... 406
angle ... 536 Chamfer ... 235 Depart the contour ... 225
Face milling ... 532 Chatter control ... 451 Dependent files ... 680
Normalized vector ... 530 Circle calculations ... 323 Dialog ... 111
Peripheral milling ... 534 Circle center ... 237 Directory ... 124, 132
Tool orientation ... 532 Circular path ... 238, 239, 241, 248, 249 Copying ... 136
Tool shapes ... 531 Code numbers ... 665 Creating ... 132
3-D touch probes Collision monitoring ... 406 Deleting ... 137
calibrating Comments, adding ... 156 DR2TABLE ... 536
touch trigger probe ... 599 Compensating workpiece misalignment DXF data, processing ... 274
Managing more than one block of By measuring two points of a Dynamic collision monitoring ... 406
calibration data ... 601 line ... 602 Test Run ... 411
3-D view ... 634 From two holes ... 603, 612 tool carriers ... 192
Over two studs ... 606, 612
A Constant contouring speed M90 ... 383 E
ACC ... 451 Context-sensitive help ... 170 Ellipse ... 370
Accessories ... 98 Contour approach ... 225 Enter the spindle speed ... 197
Actual position capture ... 113 with polar coordinates ... 227 Error list ... 166
Adaptive Feed Control ... 440 Contour departure Error messages ... 165, 166
Adaptive Feed Control (AFC) ... 440 with polar coordinates ... 227 Help ... 165
Additional axes ... 103 Contour, returning to ... 657 Ethernet interface
Animation, PLANE function ... 491 Contour, selecting from DXF ... 280 Configuring ... 671
Archive files ... 144, 145 Conversational Programming ... 111 Connection possibilities ... 671
ASCII files ... 464 Converting Introduction ... 671
Automatic cutting data FK programs ... 257 Network drives, connecting and
calculation ... 188, 469 Generating a backward disconnecting ... 153
Automatic program start ... 658 program ... 452 Excel files, opening ... 147
Automatic tool measurement ... 186 Converting FK programs ... 257 Exchange buffer battery ... 734
Axis positions, checking the ... ... 583 Coordinate transformation ... 457 External access ... 696
Copying program sections ... 118 External data transfer
B Corner rounding ... 236 iTNC 530 ... 151
Backward program, generating ... 452 Cutting data calculation ... 469
Basic rotation Cutting-data table ... 469
Measuring in the Manual Operation Cylinder ... 372
mode ... 604, 606, 607
Baud rate, setting the ... 667 D
Block Data backup ... 123
Deleting ... 115 Data carrier, checking ... 693
Inserting, editing ... 115 Data interface
Blocks assigning ... 668
BMP files, opening ... 150 Pin layouts ... 721
setting ... 667
Data transfer rate ... 667
Data transfer software ... 669
Datum shift ... 457
Coordinate input ... 457
Resetting ... 459
Using the datum table ... 458
F F G
FCL ... 664 FixtureWizard ... 413, 423 GIF files, opening ... 150
FCL function ... 10 FK programming ... 254 Global program settings ... 425
Feature Content Level ... 10 Circular paths ... 260 GOTO during program
Feed control, automatic ... 440 Fundamentals ... 254 interruption ... 649
Feed rate ... 579 Graphics ... 256 Graphic selection of contour
Changing ... 580 Input options sections ... 290
for rotary axes, M116 ... 519 Auxiliary points ... 264 Graphic simulation ... 638
Input possibilities ... 112 Circle data ... 262 Tool display ... 638
Feed rate factor for plunging Closed contours ... 263 Graphics
movements M103 ... 388 Direction and length of contour Display modes ... 632
Feed rate in millimeters per spindle elements ... 261 Magnifying details ... 637
revolution M136 ... 389 End points ... 260 while programming ... 160, 162
File Relative data ... 265 detail magnification ... 161
Creating ... 132 Straight lines ... 259 Graphics files, opening ... 150
File management ... 124 FK programs
Converting to conversational H
Copying files ... 133 dialog ... 257 Handwheel ... 569
Deleting files ... 137 FN14: ERROR: Display error Handwheel positioning, superimposing
Protecting files ... 141 messages ... 328 M118 ... 393
Renaming files ... 140 FN15: PRINT: Unformatted output of Hard disk ... 121
Calling ... 127 texts ... 332 Hard disk, checking ... 693
Configuring via MOD ... 679 FN16: F-PRINT: Formatted output of Helical ... 250
Copying tables ... 135 texts ... 333 Helical interpolation ... 250
Dependent files ... 680 FN18: SYSREAD: Read system Help files, displaying ... 691
Directories ... 124 data ... 338 Help files, downloading ... 175
Copying ... 136 FN19: PLC: Transfer values to the Help system ... 170
Creating ... 132 PLC ... 346 Help with error messages ... 165
External data transfer ... 151 FN20: WAIT FOR: NC and PLC Host computer operation ... 698
File synchronization ... 347 HTML files, displaying ... 147
Creating ... 132 FN23: CIRCLE DATA: Calculating a
File name ... 122 circle from 3 points ... 323 I
File selection ... 129 FN24: CIRCLE DATA: Calculating a IGES files ... 292
File type ... 121 circle from 4 points ... 323 Inclined-tool machining in a tilted
external file types ... 123 FN26: TABOPEN: Opening a freely plane ... 512
Overview of functions ... 125 definable table ... 478 Indexed tools ... 190
Overwriting files ... 134 FN27: TABWRITE: Writing to a freely Information on formats ... 733
Shortcuts ... 143 definable table ... 479 INI files, opening ... 149
Tagging files ... 138 FN28: TABREAD: Reading a freely Internet files, displaying ... 147
File status ... 128 definable table ... 480 iTNC 530 ... 78
Filter for hole positions during DXF data Form view ... 477
transfer ... 288 FS, functional safety ... 581 J
Fixture monitoring ... 412 FSELECT ... 256 JPG files, opening ... 150
Fixture placement ... 415 Full circle ... 238
Fixture position, checking ... 417 Functional safety (FS) ... 581 L
Fixture templates ... 413, 422 Fundamentals ... 102 Laser cutting machines, miscellaneous
Fixtures, deactivating ... 421 FX programming functions ... 399
Fixtures, editing ... 416 Dialog initiation ... 258 L-block generation ... 688
Fixtures, loading ... 420, 421 Limit plane ... 436
Fixtures, managing ... 419 List of error messages ... 166
Fixtures, removing ... 416 Local Q parameters, defining ... 317
Fixtures, saving ... 420 Look-ahead ... 391
740
Index
M O P
M functions Open contour corners M98 ... 387 PLANE function ... 489
Operating modes ... 82 Animation ... 491
See Miscellaneous functions Operating panel ... 81 Automatic positioning ... 506
M91, M92 ... 380 Operating times ... 692 Axis angle definition ... 504
Machine axes, moving the … ... 567 Option number ... 664 Euler angle definition ... 497
Machine parameters Output of data to the server ... 337 Inclined milling ... 512
for 3-D touch probes ... 705 Incremental definition ... 503
for external data transfer ... 705 P Point definition ... 501
for machining and program Pallet datum ... 547 Positioning behavior ... 506
run ... 719 Pallet preset ... 547 Projection angle definition ... 495
for TNC displays and TNC Pallet table Resetting ... 492
editor ... 709 Application ... 544, 550 Selection of possible
Machining time, measuring the ... 639 Entering coordinates ... 545, 551 solutions ... 509
Machining, interrupting ... 649 Executing ... 549, 561 Spatial angle definition ... 493
Mid-program startup ... 653 Selecting and exiting ... 546, 555 Vector definition ... 499
After power failure ... 653 Parametric programming PLC and NC synchronization ... 347
Miscellaneous functions PNG files, opening ... 150
Entering ... 378 See Q parameter programming Pocket table ... 194
for contouring behavior ... 383 Part families ... 318 Polar coordinates
for coordinate data ... 380 Path ... 124 Approach/depart contour ... 227
for laser cutting machines ... 399 Path Contours Fundamentals ... 104
for program run ... 379 Polar coordinates Programing ... 246
for rotary axes ... 519 Path contours Positioning
for spindle and coolant ... 379 Cartesian coordinates with a tilted working plane ... 382,
MOD function Circular path around circle center 528
Exiting ... 662 CC ... 238 with Manual Data Input ... 624
Overview ... 663 Circular path with defined Positions, selecting from DXF ... 283
Select ... 662 radius ... 239 Preset table ... 588
Monitoring Circular path with tangential Confirming probed values ... 598
Collision ... 406 connection ... 241 For pallets ... 547
Moving the axes overview ... 233 Presets, managing ... 588
incrementally ... 568 Straight line ... 234 Presetting ... 586
with machine axis direction Polar coordinates without 3-D touch probe ... 586
buttons ... 567 Circular path around circle center Presetting, manually
with the handwheel ... 569 CC ... 248 Center line as preset ... 611
Multiaxis machining ... 514 Circular path with tangential Circle center as preset ... 610
connection ... 249 Corner as preset ... 609
N Overview ... 246 In any axis ... 608
NC and PLC synchronization ... 347 Straight line ... 247 using holes/circular studs ... 612
NC error messages ... 165, 166 Path functions Principal axes ... 103
Nesting ... 302 Fundamentals ... 220 Probed values, writing to datum
Network connection ... 153 Circles and circular arcs ... 222 tables ... 597
Network settings ... 671 Pre-positioning ... 223 Probed values, writing to preset
Nonvolatile Q parameters, PDF viewer ... 146 table ... 598
defining ... 317 Pin layouts for data interfaces ... 721 Probing cycles
Normal vector ... 499, 513, 529, 530 Plan view ... 632 See "Touch Probe Cycles" User's
Manual
P Q S
Processing DXF data Q parameter programming ... 314, 353 Status display ... 85
Basic settings ... 276 Q parameters Additional ... 87
Filter for hole positions ... 288 Checking ... 326 General ... 85
Selecting a contour ... 280 Formatted output ... 333 STEP files ... 292
Selecting hole positions Local QL parameters ... 314 Straight line ... 234, 247
Diameter entry ... 286 Nonvolatile QR parameters ... 314 String param. ... 353
Mouseover ... 285 Preassigned ... 364 Structuring programs ... 158
Single selection ... 284 Transfer values to the PLC ... 346 Subprogram ... 297
Selecting machining Unformatted output ... 332 Superimposed transformations ... 425
positions ... 283 Q-parameter programming Swapping axes ... 431
Setting layers ... 277 Additional functions ... 327 Switch-off ... 566
Setting the datum ... 278 Angle functions ... 321 Switch-on ... 564
Program Basic arithmetic functions ... 319 System time, reading the ... ... 358
editing ... 114 Circle calculations ... 323 System time, setting ... 694
Open new ... 109 If-then decisions ... 324
Setup ... 107 Programming notes ... 316, 355, T
structuring ... 158 356, 357, 361, 363 T vector ... 530
Program call TCPM ... 514
Any desired program as R Resetting ... 518
subprogram ... 300 Radius Compensation ... 215 Teach in ... 113, 234
Program defaults ... 403 Radius compensation Teach-in cut ... 443
Program jumps with GOTO ... 649 input ... 217 TeleService ... 695
Program management outside corners, inside Test Run
see File management corners ... 218 Overview ... 640
Program name Rapid traverse ... 178 Speed setting ... 631
see File management, File name Reference system ... 103 up to a certain block ... 644
Program Run Replacing texts ... 120 Test run
Block skip ... 659 Retraction from the contour ... 394 Executing ... 643
Executing ... 648 Rotary axes Text file
Global program settings ... 425 Reducing display M94 ... 521 Text files
Interrupting ... 649 Shorter-path traverse: M126 ... 520 Finding text sections ... 468
Mid-program startup ... 653 Rotary axis Functions for deleting ... 466
Overview ... 647 Functions for editing ... 465
Resuming after an S Opening and exiting ... 464
interruption ... 652 Screen layout ... 80 Text files, opening ... 149
Program run Screen output of data ... 337 Text variables ... 353
Program section repeats ... 299 Search function ... 119 Tilting and swivel axes ... 522, 524
Program sections, copying ... 118 Service pack, installing a ... ... 666 Tilting the working plane ... 489, 617
Programming aids ... 405 Software number ... 664 Time zone, setting the... ... 694
Programming graphics ... 256 Software options ... 729 TNC software, updating the ... ... 666
Projection in three planes ... 633 Software update ... 666 TNCguide ... 170
SPEC FCT ... 402 TNCremo ... 669
Special functions ... 402 TNCremoNT ... 669
Specifications ... 724 Tool breakage, monitoring for ... ... 450
Sphere ... 374 Tool change ... 199
Spindle load monitoring ... 450 Tool compensation
Spindle speed, changing the … ... 580 Length ... 214
Spline interpolation ... 540 Radius ... 215
Block format ... 540 Three-dimensional ... 529
Input range ... 542
742
Index
T U
Tool data Unit of measure, selection ... 109
calling ... 197 Upper and lower case letters, switching
delta values ... 181 between ... 465
entering into tables ... 182 USB devices,
entering into the program ... 181 connecting/removing ... 154
indexing ... 190 User parameters ... 704
Tool length ... 180 General
Tool management ... 205 general
Tool material ... 188, 471 for 3-D touch probes ... 705
Tool measurement ... 186 for external data transfer ... 705
Tool movements, programming ... 111 for machining and program
Tool name ... 180 run ... 719
Tool names, looking for ... 198 for TNC displays and TNC
Tool number ... 180 editor ... 709
Tool radius ... 180 Machine-specific ... 681
Tool table
Available input data ... 182 V
editing functions ... 190, 207, 209 Variable program call with QS ... 460
editing, exiting ... 189 Version numbers ... 665
Tool type, selecting ... 188 View CAD data ... 292
Tool usage file ... 202 Virtual axis VT ... 435
Tool Usage Test ... 202 Virus protection ... 97
Tool-carrier kinematics ... 192 Visual display unit ... 79
Touch probe cycles
Manual Operation mode ... 595 W
Touch probe functions, use with Wireless handwheel ... 572
mechanical probes or dial Configuring ... 699
gauges ... 616 Handwheel holder, assigning ... 699
Touch probe monitoring ... 395 Statistical data ... 701
TRANS DATUM ... 457 Transmission channel,
Traverse range, limiting ... 436 setting ... 700
Traverse reference points ... 564 Transmitter power,
Trigonometric functions ... 321 selecting... ... 701
Trigonometry ... 321 WMAT.TAB ... 470
TXT files, opening ... 149 Working plane, tilting
Manually ... 617
Working space, monitoring ... 682
Workpiece blank definition ... 109
Workpiece material, defining ... 470
Workpiece measurement ... 613
Workpiece positions
Absolute ... 105
Incremental ... 105
Workspace monitoring ... 643
Z
ZIP archive ... 148
ZIP files ... 144, 145
• Workpiece alignment
• Setting datums
• Workpiece measurement
• Tool measurement
• Wear monitoring
• Tool breakage detection