Heidenhain Manual
Heidenhain Manual
Heidenhain Manual
HEIDENHAIN
Conversational
Programming
iTNC 530
NC software
606 420-02
606 421-02
606 424-02
English (en)
12/2011
Function
Function
Show calculator
Function
File names, comments
Navigation keys
DIN/ISO programming
Key
Function
Move highlight
Function
Manual Operation
Feed rate
Spindle speed
100
100
smarT.NC
50
150
50
150
F %
S %
Key
Function
Define touch probe cycles
Programming modes
Key
Function
Tool functions
Key
Function
Define tool data in the program
Call tool data
Function
...
...
Function
Approach/depart contour
Q-parameter programming /
Q-parameter status
Straight line
Key
Function
Show special functions
smarT.NC: Select next tab on form
smarT.NC: Select first input field in
previous/next frame
NC software number
606 420-02
606 421-02
606 421-02
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.
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)
Feed rate in mm/min for rotary axes: M116
Tilting the machining plane (Cycle 19, PLANE function and 3-D ROT
soft key in the Manual operating mode)
Circle in 3 axes with tilted working plane
Software option 2
5-axis interpolation
Spline interpolation
3-D machining:
M114: Automatic compensation of machine geometry when
working with swivel axes
M128: Maintaining the position of the tool tip when positioning
with tilted axes (TCPM)
FUNCTION TCPM: Maintaining the position of the tool tip when
positioning with tilted axes (TCPM) in selectable modes
M144: Compensating the machines 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)
DCM Collision software option
Description
Page 396
Description
Page 268
Description
Page 680
Description
Page 416
Description
Page 427
Description
Description
Page 427
Description
Page 200
Description
Description
Page 285
Description
Page 712
Description
Machine Manual
Description
Machine Manual
Description
Machine Manual
10
Description
Page 400
Page 399
Machine Manual
FCL 3 functions
Description
Page 484
User documentation as a
context-sensitive help system
Page 164
Page 124
11
FCL 3 functions
Description
smarT.NC Pilot
smarT.NC Pilot
smarT.NC Pilot
FCL 2 functions
Description
Page 156
Page 601
Page 134
Page 441
smarT.NC Pilot
smarT.NC Pilot
smarT.NC Pilot
Legal information
This product uses open source software. Further information is
available on the control under
U
U
U
12
New functions 606 42x-01 since the predecessor versions 340 49x-05
13
New functions 606 42x-01 since the predecessor versions 340 49x-05
In Manual mode the RW-3D mode for position display is now also
available (see Position Display Types on page 663)
Entries in the tool table TOOL.T (see Tool table: Standard tool data
on page 176)
New DR2TABLE column for definition of a compensation table for
tool radius compensation depending on the tools contact angle
New LAST_USE column, into which the TNC enters the date and
time of the last tool call
Q parameter programming: QS string parameters can now also be
used for jump addresses of conditional jumps, subprograms or
program section repeats (see "Calling a subprogram", page 289, see
"Calling a program section repeat", page 290 and see "Programming
If-Then decisions", page 315)
The generation of tool usage lists in the Program Run modes can be
configured in a form (see Settings for the tool usage test on page
197)
The behavior during deletion of tools from the tool table can now be
influenced via machine parameter 7263 see "Editing tool tables",
page 183
In the positioning mode TURN of the PLANE function you can now
define a clearance height to which the tool is to be retracted before
tilting to tool axis direction (see Automatic positioning:
MOVE/TURN/STAY (entry is mandatory) on page 486)
The following additional functions are now available in the expanded
tool management (see Tool management (software option) on
page 200):
Columns with special functions are also editable now
The form view of the tool data can now be exited with or without
saving changed values
The table view now offers a search function
Indexed tools are now shown correctly in the form view
The tool sequence list includes more detailed information now
The loading and unloading list of the tool magazine can now be
loaded and unloaded by drag and drop
Columns in the table view can be moved simply by drag and drop
Several special functions (SPEC FCT) are now available in the MDI
operating mode (see Programming and Executing Simple
Machining Operations on page 604)
There is a new manual probing cycle that can be used to
compensate workpiece misalignments by rotating the rotary table
(see Workpiece alignment using 2 points on page 586)
New touch probe cycle for calibrating a touch probe by means of a
calibration sphere (see User's Manual for Cycle Programming)
14
New functions 606 42x-01 since the predecessor versions 340 49x-05
15
16
17
18
Changed functions 606 42x-01 since the predecessor versions 340 49x-06
19
20
Table of Contents
21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
23
2 Introduction ..... 73
2.1 The iTNC 530 ..... 74
Programming: HEIDENHAIN conversational, smarT.NC and ISO formats ..... 74
Compatibility ..... 74
2.2 Visual Display Unit and Keyboard ..... 75
Visual display unit ..... 75
Sets the screen layout ..... 76
Operating panel ..... 77
2.3 Operating Modes ..... 78
Manual Operation and Electronic Handwheel ..... 78
Positioning with Manual Data Input ..... 78
Programming and Editing ..... 79
Test Run ..... 79
Program Run, Full Sequence and Program Run, Single Block ..... 80
2.4 Status Displays ..... 81
General status display ..... 81
Additional status displays ..... 83
2.5 Window Manager ..... 91
Soft-key row ..... 92
2.6 SELinux security software ..... 93
2.7 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels ..... 94
3-D touch probes ..... 94
HR electronic handwheels ..... 95
24
25
26
27
28
29
30
7 Programming: Data Transfer from DXF Files or Plain-language Contours ..... 267
7.1 Processing DXF Files (Software Option) ..... 268
Function ..... 268
Opening a DXF file ..... 269
Basic settings ..... 270
Layer settings ..... 271
Specifying the reference point ..... 272
Selecting and saving a contour ..... 274
Selecting and storing machining positions ..... 277
Zoom function ..... 283
7.2 Data transfer from plain-language programs ..... 284
Application ..... 284
Open plain-language file ..... 284
Define a reference point; select and save contours ..... 284
7.3 Open 3-D CAD data (software option) ..... 285
Application ..... 285
Operate CAD viewer ..... 286
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
17.14 Entering the Axis Traverse Limits, Datum Display ..... 667
Application ..... 667
Working without additional traverse limits ..... 667
Find and enter the maximum traverse ..... 667
Datum display ..... 668
17.15 Displaying HELP Files ..... 669
Application ..... 669
Selecting HELP files ..... 669
17.16 Displaying Operating Times ..... 670
Application ..... 670
17.17 Checking the Data Carrier ..... 671
Application ..... 671
Performing the data carrier check ..... 671
17.18 Setting the System Time ..... 672
Application ..... 672
Selecting appropriate settings ..... 672
17.19 TeleService ..... 673
Application ..... 673
Calling/exiting TeleService ..... 673
17.20 External Access ..... 674
Application ..... 674
17.21 Host computer operation ..... 675
Application ..... 675
17.22 Configuring the HR 550 FS Wireless Handwheel ..... 676
Application ..... 676
Assigning the handwheel to a specific handwheel holder ..... 676
Setting the transmission channel ..... 677
Selecting the transmitter power ..... 678
Statistics ..... 678
47
48
49
50
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 Program
Tool Setup
Workpiece Setup
Running the First Program
52
Switch on the power supply for control and machine. The TNC starts
the operating system. This process may take several minutes. Then
the TNC will display the message Power interruption.
U Press the CE key: The TNC converts the PLC
program
U
The TNC is now ready for operation in the Manual Operation mode.
Further information on this topic
Traversing the reference marks: See Switch-on on page 542
Operating modes: See Programming and Editing on page 79
53
Key
54
Press the PGM MGT key: the TNC displays the file
management. The file management of the TNC is
arranged much like the file management on a PC with
the Windows Explorer. The file management enables
you to manipulate data on the TNC hard disk
Enter a file name with the extension .H: The TNC then
automatically opens a program and asks for the unit
of measure for the new program. Please note the
restrictions regarding special characters in the file
name (see File names on page 116)
The TNC automatically generates the first and last blocks of the
program. Afterwards you can no longer change these blocks.
Further information on this topic
File management: See Working with the File Manager on page
118
Creating a new program: See Creating and Writing Programs on
page 103
55
Spindle axis Z?: Enter the active spindle axis. Z is saved as default
setting. Accept with the ENT key
Def BLK FORM: Min-corner?: Smallest X coordinate of the workpiece
blank with respect to the reference point, e.g. 0. Confirm with the
ENT key
Def BLK FORM: Min-corner?: Smallest Y coordinate of the workpiece
blank with respect to the reference point, e.g. 0. Confirm with the
ENT key
Def BLK FORM: Min-corner?: Smallest Z coordinate of the workpiece
blank with respect to the reference point, e.g. -40. Confirm with the
ENT key
Def BLK FORM: Max-corner?: Largest X coordinate of the workpiece
blank with respect to the reference point, e.g. 100. Confirm with the
ENT key
Def BLK FORM: Max-corner?: Largest Y coordinate of the workpiece
blank with respect to the reference point, e.g. 100. Confirm with the
ENT key
Def BLK FORM: Max-corner?: Largest Z coordinate of the workpiece
blank with respect to the reference point, e.g. 0. Confirm with the
ENT key
Example NC blocks
0 BEGIN PGM NEW MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
Z
MAX
Y
100
X
0
-40
100
MIN
56
...
4 L Z+250 R0 FMAX
57
Program layout
58
Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
Press the orange Y axis key and enter the value for the
position to be approached, e.g. -20. Confirm with the
ENT key
10
95
10
4
20
20
X
9
59
Contour departure
60
Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
Y
100
90
10
10 20
80 90 100
61
Example NC blocks
0 BEGIN PGM C200 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
Tool call
4 L Z+250 R0 FMAX
5 PATTERN DEF
POS1 (X+10 Y+10
POS2 (X+10 Y+90
POS3 (X+90 Y+90
POS4 (X+90 Y+10
;SETUP CLEARANCE
Q201=-20
;DEPTH
Q206=250
Q202=5
;PLUNGING DEPTH
Q210=0
Q203=-10
;SURFACE COORDINATE
Q204=20
Q211=0.2
8 L Z+250 R0 FMAX M2
63
Press the PGM MGT key: the TNC displays the file
management
Press the SHOW ALL soft key: The TNC shows all
saved files in the right window
64
Press the PGM MGT key: The TNC displays the file
manager
Press the key for selecting the screen layout. The TNC
shows all available alternatives in the soft-key row
Plan view
3-D view
Press the STOP soft key: The TNC interrupts the test
run
Press the START soft key: The TNC resumes the test
run after a break
65
66
67
68
Insert the 3-D touch probe: In the Manual Data Input (MDI) operating
mode, run a TOOL CALL block containing the tool axis, and then return
to the Manual Operation mode (in MDI mode you can run an
individual NC block independently of the others)
U Select the probing functions: The TNC displays the
available functions in the soft-key row
U
69
Insert the 3-D touch probe: In the MDI mode, run a TOOL CALL block
containing the tool axis and then return to the Manual Operation
mode
U Select the probing functions: The TNC displays the
available functions in the soft-key row
U
70
Press the operating mode key: The TNC goes into the
Program Run, Single Block mode and the TNC
executes the program block by block. You have to
confirm each block with the NC key
Press the operating mode key: The TNC goes into the
Program Run, Full Sequence mode and the TNC
executes the program after NC start up to a program
break or to the end of the program
Press the PGM MGT key: The TNC displays the file
manager
Press the LAST FILES soft key: The TNC opens a popup window with the most recently selected files
71
Introduction
Compatibility
The TNC can run all part programs that were written on HEIDENHAIN
controls TNC 150 B and later. In as much as old TNC programs contain
OEM cycles, the iTNC 530 must be adapted to them with the PC
software CycleDesign. For more information, contact your machine
tool builder or HEIDENHAIN.
74
Introduction
1 Header
When the TNC is on, the selected operating modes are shown in
the screen header: the machining mode at the left and the
programming mode at right. The currently active mode is
displayed in the larger box, where the dialog prompts and TNC
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
immediately below them. The lines immediately above the softkey row indicate the number of soft-key rows that can be called
with the black arrow keys to the right and left. The active soft-key
row is indicated by brightened bar.
3
4
5
6
7
91
2
6
1
31
The15-inch screen has 8 soft keys, the 19-inch screen has 10 soft
keys.
Soft-key selection keys
Shifts between soft-key rows
Setting the screen layout
Shift key for switchover between machining and programming
modes
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 Switches soft-key rows for machine tool builders
5
4
6
1
31
75
76
Introduction
The TNC is delivered with different keyboards. The figures show the
controls and displays of the TE 730 (15") and TE 740 (19") keyboard
units.
1
Alphabetic keyboard for entering texts and file names, and for ISO
programming.
1
2
1
The functions of the individual keys are described on the inside front
cover.
4
1
9
7
3
8
7
10
2
1
4
1
5
3
9
7
6
8
77
Operating panel
Soft key
Positions
Left: positions, right: status display
Left: positions, right: active collision objects
(FCL4 function).
Soft key
Program
Left: program blocks, right: status display
Left: program blocks, right: active collision
objects (FCL4 function). If this view is selected,
then the TNC indicates a collision with a red
frame around the graphics window.
78
Introduction
Soft key
Program
Left: program, right: program structure
Left: program blocks, right: graphics
Left: program blocks, right: 3-D line graphics
3-D line graphics
Test Run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities,
missing or incorrect data within the program or violations of the work
space. This simulation is supported graphically in different display
modes.
With the dynamic collision monitoring (DCM) software option you can
test the program for potential collisions. As during program run, the
TNC takes into account all permanent machine components defined
by the machine manufacturer as well as all measured fixtures.
Soft keys for selecting the screen layout: see "Program Run, Full
Sequence and Program Run, Single Block", page 80.
79
Soft key
Program
Left: program, right: program structure
Left: program, right: status
Left: program, right: graphics
Graphics
Left: program blocks, right: active collision
objects (FCL4 function). If this view is selected,
then the TNC indicates a collision with a red
frame around the graphics window.
Active collision objects (FCL4 function). If this
view is selected, then the TNC indicates a
collision with a red frame around the graphics
window.
Soft keys for selecting the screen layout for pallet tables
Window
Soft key
Pallet table
Left: program blocks, right: pallet table
Left: pallet table, right: status
Left: pallet table, right: graphics
80
Introduction
Meaning
ACTL.
XYZ
FSM
Axis is locked.
81
Symbol
Meaning
The Dynamic Collision Monitoring function (DCM)
is active.
The Adaptive Feed Function (AFC) is active
(software option).
One or more global program settings are active
(software option)
Number of the active presets from the preset table.
If the datum was set manually, the TNC displays the
text MAN behind the symbol.
82
Introduction
With the soft keys or switch-over soft keys, you can choose directly
between the available status displays.
Please note that some of the status information described
below is not available unless the associated software
option is enabled on your TNC.
83
Overview
After switch-on, the TNC displays the Overview status form, provided
that you have selected the PROGRAM+STATUS screen layout (or
POSITION + STATUS). The overview form contains a summary of the
most important status information, which you can also find on the
various detail forms.
Soft key
Meaning
Position display in up to 5 axes
Tool information
Active M functions
Active coordinate transformations
Active subprogram
Active program section repeat
Program called with PGM CALL
Current machining time
Name of the active main program
Meaning
No direct
selection
possible
84
Introduction
Meaning
No direct
selection
possible
Meaning
No direct
selection
possible
Meaning
No direct
selection
possible
85
Meaning
No direct
selection
possible
86
Introduction
Meaning
Type of position display, e.g. actual position
Value traversed in virtual axis direction VT (only with
global program settings software option)
Tilt angle of the working plane
Angle of a basic rotation
Meaning
T: Tool number and name
RT: Number and name of a replacement tool
Tool axis
Tool lengths and radii
Oversizes (delta values) from the tool table (TAB) and
the TOOL CALL (PGM)
Tool life, maximum tool life (TIME 1) and maximum
tool life for TOOL CALL (TIME 2)
Display of the active tool and the (next) replacement
tool
87
Soft key
Meaning
No direct
selection
possible
Meaning
Name of the active datum table
Active datum number (#), comment from the
active line of the active datum number (DOC) from
Cycle 7
Active datum shift (Cycle 7); The TNC displays an
active datum shift in up to 8 axes
Mirrored axes (Cycle 8)
Active basic rotation
Active rotation angle (Cycle 10)
Active scaling factor/factors (Cycles 11 / 26); The
TNC displays an active scaling factor in up to 6
axes
Scaling datum
88
Introduction
Soft key
Meaning
No direct
selection
possible
Swapped axes
Soft key
Meaning
No direct
selection
possible
Locked axes
89
Soft key
Meaning
No direct
selection
possible
90
Introduction
91
Soft-key row
In the task bar you can choose different workspaces by mouse click.
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 Xfce: Information on the Windows manager Xfce
About HeROS: Information about the operation system of the TNC
NC Control: Start and stop the TNC software. Only permitted for
diagnostic purposes
Web Browser: Start Mozilla Firefox
Diagnostics: Available only to authorized specialists to start
diagnostic functions
Settings: Configuration of miscellaneous settings
Date/Time: Set the date and time
Language: Language setting for the system dialogs. During startup
the TNC overwrites this setting with the language setting of
MP 7230
Network: Network setting
Reset WM-Conf: Restore basic settings of the Windows Manager
May also reset settings implemented by your machine
manufacturer
Screensaver: Settings for the screen saver; several are available
Shares: Configure network connections
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 139)
92
Introduction
93
94
Introduction
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 548).
95
96
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
equipped with linear encoders, rotary tables and tilting axes with angle
encoders.
Y
X
XMP
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
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.
98
3.1 Fundamentals
+Z
+Y
The iTNC 530 can control up to 18 axes. The axes U, V and W are
secondary linear axes parallel to the main axes X, Y and Z, respectively.
Rotary axes are designated as A, B and C. The illustration at lower right
shows the assignment of secondary axes and rotary axes to the main
axes.
+X
+Z
+X
+Y
In addition, the machine tool builder can define any number of auxiliary
axes identified by lowercase letters
Z
Y
W+
C+
B+
V+
A+
U+
99
3.1 Fundamentals
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
dimensions in polar coordinates.
PR
PA2
PA3
PR
PR
10
PA1
CC
30
X/Y
+X
Y/Z
+Y
Z/X
+Z
Z
X
Z
Y
X
X
100
3.1 Fundamentals
Hole 2
X = 30 mm
Y = 20 mm
Hole 3
X = 50 mm
Y = 30 mm
Y
3
30
2
20
10
10
30
10
10
X = 10 mm
Y = 10 mm
Hole 5, with respect to 4
X = 20 mm
Y = 10 mm
10
50
10
20
20
Y
+IPR
PR
PR
10
PA
CC
30
PR
+IPA +IPA
101
Z
MAX
If the production drawing is not dimensioned for NC, set the datum at
a position or corner on the workpiece which is suitable for deducing
the dimensions of the remaining workpiece positions.
MIN
The fastest, easiest and most accurate way of setting the datum is by
using a 3-D touch probe from HEIDENHAIN. See Setting the Datum
with a 3-D Touch Probe in the Touch Probe Cycles Users Manual.
Y
7
750
6
5
320
150
0
-150
0
Example
The workpiece drawing shows holes (1 to 4) whose dimensions are
shown with respect to an absolute datum with the coordinates X=0
Y=0. The holes (5 to 7) are dimensioned with respect to a relative
datum with the absolute coordinates X=450, Y=750. With the DATUM
SHIFT cycle you can temporarily set the datum to the position X=450,
Y=750, to be able to program the holes (5 to 7) without further
calculations.
3000,1
3.1 Fundamentals
325 450
900
950
102
Block
10 L X+10 Y+5 R0 F100 M3
Path function
Words
Block number
The last block of a program is identified by END PGM the program name
and the active unit of measure.
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!
103
Select the directory in which you wish to store the new program:
FILE NAME = OLD.H
Enter the new program name and confirm your entry
with the ENT key.
104
The TNC generates the block numbers as well as the BEGIN and END
block automatically.
If you do not wish to define a blank form, cancel the dialog
at Working spindle axis X/Y/Z by pressing the DEL key!
The TNC can display the graphics only if the shortest side
is at least 50 m long and the longest side is no longer
than 99 999.999 mm.
105
20
100
MISCELLANEOUS FUNCTION M?
Enter the miscellaneous function M3 spindle ON.
Pressing the ENT key terminates this dialog.
106
Soft key
Key
107
Place the input box at the position in the block where you want to
insert a position value.
U Select the actual-position-capture function. In the
soft-key row the TNC displays the axes whose
positions can be transferred
U
108
Editing a program
You cannot edit a program while it is being run by the TNC
in a machine operating mode. The TNC allows you to place
the cursor in the block, but it does not save the changes
and responds instead with an error message.
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:
Function
Soft key/Keys
Go to previous page
Go to next page
Go to beginning of program.
Go to end of program.
Change the position of the current block on
the screen. Press this soft key to display
additional program blocks that are
programmed before the current block.
Change the position of the current block on
the screen. Press this soft key to display
additional program blocks that are
programmed after the current block.
Move from one block to the next.
Select individual words in a block.
To select a certain block, press the GOTO key,
enter the desired block number, and confirm
with the ENT key. Or: Enter the block number
step and press the N LINES soft key to jump
over the entered number of lines upward or
downward.
109
Function
Soft key/Key
110
The word that is highlighted in the new block is the same as the one
you selected previously.
If you have started a search in a very long program, the
TNC shows a progress display window. You then have the
option of canceling the search via soft key.
Finding any text
U To select the search function, press the FIND soft key. The TNC
displays the Find text: dialog prompt.
U Enter the text that you wish to find.
U To find the text, press the EXECUTE soft key.
111
U
U
Soft key
112
Search functions
Soft key
113
Search options
Soft key
If required, select the block containing the word you wish to find.
U Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row.
114
Type
Programs
In HEIDENHAIN format
In DIN/ISO format
.H
.I
smarT.NC files
Structured unit program
Contour descriptions
Point tables for machining positions
.HU
.HC
.HP
Tables for
Tools
Tool changers
Pallets
Datums
Points
Presets
Cutting data
Cutting materials, workpiece materials
.T
.TCH
.P
.D
.PNT
.PR
.CDT
.TAB
Texts as
ASCII files
Help files
.A
.CHM
Drawing data as
ASCII files
.DXF
Other files
Fixture templates
Parameterized fixtures
Dependent data (such as structure items)
Archives
.CFT
.CFX
.DEP
.ZIP
When you write a part program on the TNC, you must first enter a file
name. The TNC saves the program to the hard disk as a file with the
same name. The TNC can also save texts and tables as files.
The TNC provides a special file management window in which you can
easily find and manage your files. Here you can call, copy, rename and
erase files.
You can manage 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 large.
115
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
116
Type
PDF files
Excel tables
pdf
xls
csv
html
Internet files
Text files
txt
ini
Image files
bmp
gif
jpg
png
For further information about displaying and editing the listed file
types, See Additional tools for management of external file types on
page 139.
Data backup
We recommend saving newly written programs and files on a PC at
regular intervals.
The TNCremoNT data transmission freeware from HEIDENHAIN is a
simple and convenient method for backing up data stored on the TNC.
You additionally need a data medium on which all machine-specific
data, such as the PLC program, machine parameters, etc., are stored.
Ask your machine manufacturer for assistance, if necessary.
Saving the contents of the entire hard disk (>2 GB) can
take up to several hours. In this case, it is a good idea to
save the data outside of work hours, e.g. during the night.
Take the time occasionally to delete any unneeded files so
that the TNC always has enough hard-disk space for
system files (such as the tool table).
117
Paths
A path indicates the drive and all directories and subdirectories under
which a file is saved. The individual names are separated by a
backslash \.
The path, including all drive characters, directory and the
file name, including the extension, must not exceed 82
characters!
Drive designations must not include more than 8
uppercase letters.
Example
The directory AUFTR1 was created on the TNC:\ drive. Then, in the
AUFTR1 directory, the directory NCPROG was created and the part
program PROG1.H was copied into it. The part program now has the
following path:
TNC:\
AUFTR1
TNC:\AUFTR1\NCPROG\PROG1.H
NCPROG
WZTAB
A35K941
ZYLM
TESTPROG
HUBER
KAR25T
118
Soft key
Page
Page 126
Page 126
Page 122
Page 125
Page 129
Page 130
Mark a file.
Page 131
Rename a file.
Page 133
Page 134
Page 134
Archive files
Page 137
Page 138
Page 124
119
Function
Soft key
Page
Page 146
Copy a directory.
Page 129
120
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
Type
File type
Size
Changed
Status
File properties:
E: Program is selected in the Programming
and Editing mode of operation.
S: Program is selected in the Test Run mode
of operation.
M: Program is selected in a Program Run
mode of operation.
P: File is protected against deletion and
editing.
+: Dependent files exist (structure file, toolusage file)
121
Use the arrow keys or the soft keys to move the highlight to the
desired position on the screen:
122
4*.H
The TNC opens the selected file in the operating mode from which you
called the file manager.
123
With the arrow keys or the soft keys you can move the highlight to an
.HU or .HC file:
124
NEW
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
125
126
Move the highlight to the directory into which you wish to copy the
files, and display the files in this directory with the ENT key.
Select the directory with the files that you wish to copy and press
ENT to display them.
U Call the file tagging functions
U
Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, if desired
127
Copying a table
If you are copying tables, you can overwrite individual lines or columns
in the target table with the REPLACE FIELDS soft key. Prerequisites:
The target table must already exist
The file to be copied must only contain the columns or lines you
want to replace.
The REPLACE FIELDS soft key does not appear when you
want to overwrite the table in the TNC with an external
data transfer software, such as TNCremoNT. Copy the
externally created file into a different directory, and then
copy the desired fields with the TNC file management.
The file extension of the externally created table should be
.A (ASCII). In these cases the table can contain any
number of lines. If you create a file of type *.T, then the
table must contain sequential line numbers beginning
with 0.
Example
With a tool presetter you have measured the length and radius of ten
new tools. The tool presetter then generates the tool table TOOL.A
with 10 lines (for the 10 tools) and the columns
Tool number (column T)
Tool length (column L)
Tool radius (column R)
U
U
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.
128
Copying a directory
In order to copy directories, you must have set the view so
that the TNC displays directories in the window on the
right (see Adapting the file manager on page 135).
Please note that when copying directories, the TNC only
copies those files that are displayed by the current filter
settings.
U
U
U
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
129
Deleting a file
Caution: Data may be lost!
Once you delete files they cannot be undeleted!
U
Deleting a directory
Caution: Data may be lost!
Once you delete directories they cannot be undeleted!
U
130
Marking files
Marking function
Soft key
131
Some functions, such as copying or erasing files, can not only be used
for individual files, but also for several files at once. To tag several files,
proceed as follows:
Move the highlight to the first file.
132
Renaming a file
U
133
Additional functions
Protecting a file / Canceling file protection
U Move the highlight to the file you want to protect.
U To select the additional functions, press the MORE
FUNCTIONS soft key.
U
For more information: See USB devices on the TNC (FCL 2 function)
on page 147.
134
135
136
Archive 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. TNC packs TNC-specific files (e.g.
plain-language programs) in an internal format (binary
format), so you must observe the points below:
You might not be able to open packed files with an
ASCII editor on an external computer.
When transferring ZIP archives to other iTNC controls,
the version of the NC software must be identical
because otherwise the file format is different.
Follow the steps outlined below for archiving:
U
In the right half of the screen, you mark the files and directories you
want to archive
U To select the additional functions, press the MORE
FUNCTIONS soft key
U
137
In the right half of the screen, you mark the ZIP file you want to
extract
U To select the additional functions, press the MORE
FUNCTIONS soft key
U
Confirm with the OK soft key and the TNC extracts the
archive
138
Description
Page 139
Page 140
Page 140
Page 141
Page 142
Page 143
Press ENT: The TNC opens the PDF file in its own
application using the PDF viewer additional tool.
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:
U
U
139
Press ENT: The TNC opens the Excel file in its own
application using the Gnumeric additional tool
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:
U
U
Press ENT: The TNC opens the Internet file in its own
application using the Mozilla Firefox additional tool
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:
U
U
140
Press ENT: The TNC opens the archive file in its own
application using the Xarchiver additional tool
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 the Xarchiver function is provided under
Help.
Please note that the TNC does not carry out any binary-toASCII 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.
To exit Xarchiver, proceed as follows:
U
U
141
142
Press ENT: The TNC opens the image file in its own
application using the ristretto additional tool
With the key combination ALT+TAB you can always return to the TNC
user interface while leaving the image 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 the ristretto function is provided
under Help.
To exit ristretto, proceed as follows:
U
U
143
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window
Moves the highlight from the left to the right window,
and vice versa.
If you wish to copy from the TNC to the external data medium, move
the highlight in the left window to the file to be transferred.
144
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.
Confirm with the OK soft key or with the ENT key. A status window
appears on the TNC, informing about the copying progress, or
145
Function
Soft key
146
147
Press the PGM MGT soft key to call the file manager.
148
Programming:
Programming Aids
Enter the data for a program block, then press the semicolon key ;
on the alphabetic keyboardthe TNC displays the dialog prompt
COMMENT?
Enter your comment and conclude the block by pressing the END
key.
150
Soft key
151
152
Use the CALC key to show and hide the on-line pocket calculator.
The calculator is operated with short commands through the
alphabetic keyboard. The commands are shown in a special color in
the calculator window
Mathematical function
Command (key)
Addition
Subtraction
Multiplication
Division
Sine
Cosine
Tangent
Arc sine
AS
Arc cosine
AC
Arc tangent
AT
Powers
Square root
Inversion
Calculations in parentheses
()
Pi (3.14159265359)
Display result
153
Use the arrow keys to select the block up to which you want the
graphic to be generated, or press GOTO and enter the desired block
number.
U To generate graphics, press the RESET + START soft
key.
Additional functions:
Function
Soft key
154
Soft key
With the WINDOW BLK FORM soft key, you can restore the original
section.
155
To show program blocks to the left and 3-D line graphics to the right,
press the SPLIT SCREEN key and PROGRAM + 3D LINES soft key.
To show the 3-D line graphics on the entire screen, press the SPLIT
SCREEN key and 3D LINES soft key.
Soft key
156
Function
Soft key
157
You can also use the mouse with the 3-D line graphics. The following
functions are available:
U
U
U
158
Display HELP
U
159
With the CE key or the DEL key you can delete the
error message from the pop-up window momentarily
selected. When you delete the last error message,
the pop-up window closes as well
Parallel to the error list you can also view the respective
help text in a separate window: Press the HELP key.
160
Window contents
Column
Meaning
Number
Class
Group
Error message
161
162
163
164
Press the HELP key if the TNC is not already showing an error
message
Click the help symbol at the lower right of the screen beforehand,
then click the appropriate soft keys
Use the file manager to open a help file (.chm file). The TNC can
open any .chm file, even if it is not saved on the TNCs hard disk
If one or more error messages are waiting for your
attention, the TNC shows the help directly associated
with the error messages. To start the TNCguide, you first
have to acknowledge all error messages.
When the help system is called on the programming
station or the dual-processor version, the TNC starts the
internally defined standard browser (usually the Internet
Explorer), and on the single-processor version a browser
adapted by HEIDENHAIN.
For many soft keys there is a context-sensitive call through which you
can go directly to the description of the soft keys function. This
functionality requires using a mouse. Proceed as follows:
U
U
U
U
165
Soft key
166
Function
Soft key
167
Subject index
The most important subjects in the Manual are listed in the subject
index (Index tab). You can select them directly by mouse or with the
cursor keys.
The left side is active.
U
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
Full-text search
In the Find tab you can search the entire TNCguide for a specific word.
The left side is active.
U
Enter the desired word and confirm with the ENT key:
the TNC lists all sources containing the word
168
TNC directory
German
TNC:\tncguide\de
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
169
Language
TNC directory
Chinese (simplified)
TNC:\tncguide\zh
Chinese (traditional)
TNC:\tncguide\zh-tw
TNC:\tncguide\sl
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
170
Programming: Tools
S
S
Y
F
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.
To move your machine at rapid traverse, you can also
program the corresponding numerical value, e.g. F30000.
Unlike FMAX, this rapid traverse remains in effect not only
in the individual block but in all blocks until you program a
new feed rate.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached. FMAX is only effective in the block
in which it is programmed. After the block with FMAX is executed, the
feed rate will return to the last feed rate entered as a numerical value.
Changing during program run
You can adjust the feed rate during program run with the feed-rate
override knob F.
172
Programming: Tools
Spindle speed S
The spindle speed S is entered in revolutions per minute (rpm) in a
TOOL CALL block. Instead, you can also define the cutting speed Vc in
m/min.
Programmed change
In the part program, you can change the spindle speed in a TOOL CALL
block by entering the spindle speed only:
U
173
12
13
18
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
machining.
Z
L3
Tool radius R
You can enter the tool radius R directly.
L1
L2
174
Programming: Tools
DR>0
Input range: You can enter a delta value with up to 99.999 mm.
Delta values from the tool table influence the graphical
representation of the tool. The representation of the
workpiece remains the same in the simulation.
DR<0
DL<0
DL>0
175
Inputs
Dialog
NAME
Tool name?
Tool length?
Tool radius R?
Tool radius 2 for toroid cutters (only for 3-D radius compensation
or graphical representation of a machining operation with
spherical or toroid cutters)
176
Programming: Tools
Inputs
Dialog
DL
Abbr.
Input range: 0 to 90
TL
RT
Tool locked?
Yes = ENT / No = NO ENT
Replacement tool?
Maximum tool life in minutes during TOOL CALL: If the current tool
age exceeds this value, the TNC changes the tool during the next
TOOL CALL (see also CUR.TIME).
Tool description?
PLC status?
177
Abbr.
Inputs
Dialog
PLC-VAL
PLC value?
Limits the spindle speed for this tool. The programmed value is
monitored (error message) as well as an increase in the shaft
speed via the potentiometer. Function inactive: Enter
Input : Y and N
P1 ... P3
Value?
Point angle of the tool. Is used by the Centering cycle (Cycle 240)
in order to calculate the centering depth from the diameter entry
Control setting for the adaptive feed control AFC that you have
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)
Feedback-control strategy?
178
Programming: Tools
Inputs
Dialog
DR2TABLE
Compensation-value table?
LAST_USE
Date and time at which the TNC inserted the tool for the last time
via TOOL CALL.
Abbr.
179
Inputs
Dialog
CUT
Number of teeth?
Input range: 0 to 99
LTOL
Cutting direction of the tool for measuring the tool during rotation
TT:R-OFFS
180
Programming: Tools
Inputs
Dialog
LBREAK
Abbr.
181
Inputs
Dialog
TYPE
Tool type: Press the ASSIGN TYPE soft key (3rd soft-key row); the
TNC superimposes a window where you can select the type of
tool. Functions are currently only assigned to the DRILL and MILL
tool types
Tool type?
TMAT
Tool material: Press the ASSIGN MATERIAL soft key (3rd soft-key
row): The TNC superimposes a window where you can select the
type of cutting material
Tool material?
Cutting data table: Press the SELECT CDT soft key (3rd soft-key
row): The TNC displays a pop-up window where you can select a
cutting data table
Inputs
Dialog
CAL-OF1
During calibration, the TNC stores in this column the spindle angle
at which the 3-D probe was calibrated, if a tool number is
indicated in the calibration menu
182
Programming: Tools
When you have opened the tool table, you can edit the tool data by
moving the cursor to the desired position in the table with the arrow
keys or the soft keys. You can overwrite the stored values, or enter
new values at any position. The available editing functions are
illustrated in the table below.
If the TNC cannot show all positions in the tool table in one screen
page, the highlight bar at the top of the table will display the >> or <<
symbols.
Editing functions for tool tables
Soft key
183
Soft key
184
Programming: Tools
185
Tool-carrier kinematics
The TNC must be adapted by your machine tool builder to
be able to account for the tool carrier kinematics. In
particular, your machine tool builder must provide the
corresponding carrier kinematics or parameterizable tool
carriers. Refer to your machine manual.
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.
HEIDENHAIN provides tool-carrier kinematics
for HEIDENHAIN touch probes. If required, please
contact HEIDENHAIN.
Assigning the tool-carrier kinematics
Follow the procedure below to assign carrier kinematics to a tool:
U
186
Programming: Tools
U
U
Copy the tool table TOOL.T to the TNC, for example to TST.T
Start the data transfer software TNCremoNT on the PC
Establish a connection with the TNC
Transfer the copied tool table TST.T to the PC
Use any text editor to reduce TST.T to the lines and columns to be
changed (see figure). Make sure that the header is not changed and
the data is always flush in the column. The tool number (column T)
need not be consecutive
In TNCremoNT, select the menu item <Extras> and <TNCcmd>:
This starts TNCcmd
To transfer TST.T to the TNC, enter the following command and
confirm with the return key (see figure):
put tst.t tool.t /m
During transfer, only the tool data defined in the subfile
(e.g. TST.T) is overwritten. All other tool data of the table
TOOL.T remains unchanged.
The procedure for copying tool tables using the TNC file
manager is described in the section on file management
(see Copying a table on page 128).
187
188
Programming: Tools
Abbr.
Inputs
Dialog
Tool number
Tool number?
ST
Special Tool with a large radius requiring several pockets in the tool
magazine. If your special tool takes up pockets in front of and behind its
actual pocket, these additional pockets need to be locked in column L
(status L)
Special tool?
Fixed tool number. The tool is always returned to the same pocket in the tool
magazine
PLC
PLC status?
TNAME
DOC
PTYP
Tool type. Function is defined by the machine tool builder. The machine tool
documentation provides further information.
P1 ... P5
Value?
RSV
LOCKED_ABOVE
LOCKED_BELOW
LOCKED_LEFT
LOCKED_RIGHT
S1 ... S5
Value?
189
Soft key
190
Programming: Tools
Select the tool call function with the TOOL CALL key.
U Tool number: Enter the number or name of the tool.
The tool must already be defined in a TOOL DEF block
or in the tool table. Press the TOOL NAME soft key to
enter the name. The TNC automatically places the
tool name in quotation marks. The tool name always
refers to the entry in the active tool table TOOL.T. If
you wish to call a tool with other compensation
values, also enter the index you defined in the tool
table after the decimal point. There is a SELECT soft
key for calling a window from which you can select a
tool defined in the tool table TOOL.T directly without
having to enter the number or name: See also
Editing tool data in the selection window on page
192.
U
191
U
U
U
Use the arrow keys to select the line and then the column of the
value to be edited: The light-blue background marks the editable
field
Set the EDIT soft key to ON, enter the desired value and confirm
with the ENT key
If needed, select further columns and repeat the described
procedure
Press the ENT key to load the selected tool into the program
192
Programming: Tools
193
Tool change
The tool change function can vary depending on the
individual machine tool. The machine tool manual
provides further information.
Tool change position
The tool change position must be approachable without collision. With
the miscellaneous functions M91 and M92, you can enter machinebased (rather than workpiece-based) coordinates for the tool change
position. If TOOL CALL 0 is programmed before the first tool call, the
TNC moves the tool spindle in the tool axis to a position that is
independent of the tool length.
Manual tool change
To change the tool manually, stop the spindle and move the tool to the
tool change position:
U
U
U
U
194
Programming: Tools
195
196
Programming: Tools
Select the Program Run, Single Block mode or the Program Run, Full
Sequence mode.
Press the Tool Usage soft key: The TNC shows a soft-key row with
functions for the usage test.
Press the SETTINGS soft key: The TNC displays the form with the
available settings.
You can define the following settings separately for Program Run,
Full Sequence / Single Block and the Test Run.
Do not generate tool-usage file setting
The TNC does not generate a tool usage file.
Generate tool-usage file once setting
The TNC generates a tool usage file once with the next NC start or
start of the simulation. Then the TNC automatically deactivates the
Do not generate tool-usage file mode to prevent the usage file
from being overwritten during further NC starts.
Generate new tool usage file after changes or as needed (basic
setting):
The TNC generates a tool usage file with every NC start or every
start of the test run. The setting ensures that the TNC also
generates a new tool-usage file after program changes.
197
Meaning
TOKEN
TNR
IDX
Tool index
NAME
TIME
WTIME
RAD
198
Programming: Tools
Meaning
BLOCK
PATH
Column
OVRMAX
OVRMIN
NAMEPROG
There are two ways to run a tool usage test for a pallet file:
The highlight is on a pallet entry in the pallet file:
The TNC runs the tool usage test for the entire pallet.
The highlight is on a program entry in the pallet file:
The TNC runs the tool usage test for the selected program.
199
200
Select the tool table: Press the TOOL TABLE soft key
Programming: Tools
In the new view, the TNC presents all tool information in the following
four card registers:
Tools:
Tool specific information
Tool pockets:
Pocket-specific information
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 197). 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 197) 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 fillable form view,
which you can activate by pressing the FORM TOOL soft
key or the ENT key for the tool that is highlighted on the
screen.
201
Soft key
202
Programming: Tools
203
If the form view is active, the following functions are available to you:
Editing functions, form view
Soft key
204
Programming: Tools
Copy the tool table to be imported to the hard disk of the TNC in the
TNC:\systems\tooltab directory
Start Extended Tool Management
Select the IMPORT TOOL soft key in the Tool Management: The
TNC shows a pop-up window with the CSV files stored in the
TNC:\systems\tooltab directory
Use the arrow keys or mouse to select the file to be imported and
confirm with the ENT key: The TNC shows the content of the CSV
file in a pop-up window
Start import procedure with START soft key.
The CSV file to be imported must be stored in the
TNC:\system\tooltab directory.
If you import the tool data of tools whose numbers are
in the pocket table, the TNC issues an error message.
You can then decide whether you want to skip this data
record or insert a new tool. The TNC inserts a new tool
into the first empty line of the tool table.
Make sure that the column designations are specified
correctly (see Tool table: Standard tool data on page
176).
You can import any tool data, the associated data record
does not have to contain all the columns (or data) of the
tool table.
The column names can be in any order, the data must
be defined in the corresponding order.
205
4,125.995,7.995,0,0
9,25.06,12.01,0,0
28,196.981,35,0,0
U
U
In the tool management you use the arrow keys or mouse to mark
the tool data that you wish to export
Select the EXPORT TOOL soft key, the TNC shows a pop-up
window: specify the name for the CSV file, confirm with the ENT
key
Start the export procedure with the START soft key: The TNC shows
the status of the export procedure in a pop-up window
Terminate the export procedure by pressing the END key or soft key
The TNC always stores the exported CSV file in the
TNC:\system\tooltab directory.
206
Programming: Tools
In the tool management you use the arrow keys or mouse to mark
the tool data that you wish to delete
Select the DELETE MARKED TOOLS soft key and the TNC shows a
pop-up window listing the tool data to be deleted
Start the delete procedure with the START soft key: The TNC shows
the status of the delete procedure in a pop-up window
Terminate the delete procedure by pressing the END key or soft key
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.
207
208
Programming: Tools
RL
R0
X
Y
209
The tool center moves along the contour at a distance equal to the
radius. Right or left are to be understood as based on the
direction of tool movement along the workpiece contour. See figures.
Between two program blocks with different radius
compensations RR and RL you must program at least one
traversing block in the working plane without radius
compensation (that is, with R0).
RL
RR
210
Programming: Tools
RL
RL
RL
211
Programming: Tools
Programming:
Programming Contours
Path functions
A workpiece contour is usually composed of several contour elements
such as straight lines and circular arcs. With the path functions, you
can program the tool movements for straight lines and circular arcs.
L
CC
L
L
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
coolant supply on and off
The path behavior of the tool
Y
80
CC
60
R4
0
40
10
115
214
You create a part program by programming the path functions for the
individual contour elements in sequence. You usually do this by
entering the coordinates of the end points of the contour
elements given in the production drawing. The TNC calculates the
actual path of the tool from these coordinates, and from the tool data
and radius compensation.
Y
X
100
Example:
50 L X+100
50
L
X+100
Block number
Path function straight line at
Coordinate of the end point
50
The tool retains the Y and Z coordinates and moves to the position
X=100. See figure.
70
L X+70 Y+50
The tool retains the Z coordinate and moves in the XY plane to the
position X=70, Y=50 (see figure).
Y
X
Three-dimensional movement
The program block contains three coordinates. The TNC thus moves
the tool in space to the programmed position.
Example:
L X+80 Y+0 Z-10
-10
80
215
Main plane
XY, also
UV, XV, UY
ZX, also
WU, ZU, WX
YZ, also
VW, YW, VZ
216
YCC
CC
XCC
Z
Y
DR+
DR
CC
CC
Pre-positioning
Before running a part program, always pre-position the tool to prevent
the possibility of damaging it or the workpiece.
217
COORDINATES?
Enter the coordinates of the straight-line end point,
e.g. 20 in X
COORDINATES?
Enter the coordinates of the straight-line end point,
e.g. 30 in Y, and confirm with the ENT key.
RADIUS COMP.: RL/RR/NO COMP.?
Select the radius compensation (here, press the R0
soft keythe tool moves without compensation).
FEED RATE F=? / F MAX = ENT
100
218
Approach
Departure
219
Meaning
APPR
Approach
DEP
Departure
Line
Circle
Normal (perpendicular)
RL
RL
PN R0
PA RL
PE RL
PH RL
PS R0
220
Polar coordinates
You can also program the contour points for the following
approach/departure functions over polar coordinates:
APPR LT becomes APPR PLT
APPR LN becomes APPR PLN
APPR CT becomes APPR PCT
APPR LCT becomes APPR PLCT
DEP LCT becomes DEP PLCT
Select by soft key an approach or departure function, then press the
orange P key.
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.
221
U
U
15
35
20
10
RR
PA
RR
PH
PS
R0
RR
20
35
40
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3
9 L X+35 Y+35
10 L ...
U
U
Y
RR
35
20
PA
RR
15
10
PH
RR
10
PS
R0
20
40
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3
9 L X+20 Y+35
10 L ...
222
35
RR
20
PA
RR
CCA=
180
0
R1
10
PH
10
PS
R0
20
40
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3
9 L X+20 Y+35
10 L ...
223
35
RR
20
PA
RR
0
R1
10
PH
PS
R0
RR
10
20
40
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3
9 L X+20 Y+35
10 L ...
224
Y
RR
The tool moves on a straight line from the last contour point PE to the
end point PN. The line lies on the extension of the last contour
element. PN is separated from PE by the distance LEN.
Program the last contour element with the end point PE and radius
compensation
Initiate the dialog with the APPR/DEP key and DEP LT soft key:
U LEN: Enter the distance from the last contour element
PE to the end point PN
20
PE
RR
12.5
PN
R0
X
Example NC blocks
23 L Y+20 RR F100
25 L Z+100 FMAX M2
Program the last contour element with the end point PE and radius
compensation
Initiate the dialog with the APPR/DEP key and DEP LN soft key:
U LEN: Enter the distance from the last contour element
to PN.
Always enter LEN as a positive value!
Y
RR
PN
20
R0
PE
20
RR
Example NC blocks
23 L Y+20 RR F100
25 L Z+100 FMAX M2
225
Y
RR
The tool moves on a circular arc from the last contour point PE to the
end point PN. The path is tangentially connected to the last contour
element.
U
U
Program the last contour element with the end point PE and radius
compensation
Initiate the dialog with the APPR/DEP key and DEP CT soft key:
U
PN
R0
20
R8
PE
180
RR
Example NC blocks
23 L Y+20 RR F100
Center angle=180,
Arc radius=8 mm
25 L Z+100 FMAX M2
Y
RR
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.
The arc is tangentially connected both to the last contour element and
to the line from PH to PN. The radius R uniquely defines the arc.
20
12
Program the last contour element with the end point PE and radius
compensation
Initiate the dialog with the APPR/DEP key and DEP LCT soft key:
U
R8
PN
R0
PE
RR
PH
R0
10
Example NC blocks
23 L Y+20 RR F100
25 L Z+100 FMAX M2
226
Tool movement
Required input
Page
Line L
Straight line
Page 228
Chamfer CHF
Page 229
Circle Center CC
None
Page 231
Circle C
Page 232
Circular arc CR
Page 233
Circular arc CT
Page 235
Rounding radius R
Page 230
FK Free Contour
Programming
Page 251
227
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
preceding block.
Coordinates of the end point of the straight line, if
necessary
Feed rate F
Miscellaneous function M
40
15
10
Straight line L
Example NC blocks
7 L X+10 Y+40 RL F200 M3
8 L IX+20 IY-15
9 L X+60 IY-10
10
20
60
In the Manual Operation mode, move the tool to the position you
wish to capture.
Switch the screen display to Programming and Editing.
Select the program block after which you want to insert the L block.
U Press the ACTUAL-POSITION-CAPTURE key: The
TNC generates an L block with the actual position
coordinates.
In the MOD function, you define the number of axes that
the TNC saves in a L block (see "Selecting the Axes for
Generating L Blocks", page 666).
228
Example NC blocks
7 L X+0 Y+30 RL F300 M3
30
12
The line blocks before and after the CHF block must be in the same
working plane as the chamfer
The radius compensation before and after the CHF block must be the
same
The chamfer must be machinable with the current tool
12
The chamfer enables you to cut off corners at the intersection of two
straight lines.
40
8 L X+40 IY+5
9 CHF 12 F250
10 L IX+5 Y+0
229
40
R5
25
Example NC blocks
5 L X+10 Y+40 RL F300 M3
6 L X+40 Y+25
7 RND R5 F100
8 L X+10 Y+5
10
40
230
You can define a circle center for circles that you have programmed
with the C key (circular path C). This is done in the following ways:
Entering the Cartesian coordinates of the circle center in the
working plane, or
Using the circle center defined in an earlier block, or
Capturing the coordinates with the ACTUAL-POSITION-CAPTURE
key
U
Example NC blocks
5 CC X+25 Y+25
Z
CC
YCC
X CC
or
10 L X+25 Y+25
11 CC
The program blocks 10 and 11 do not refer to the illustration.
Duration of effect
The circle center definition remains in effect until a new circle center
is programmed. You can also define a circle center for the secondary
axes U, V and W.
Entering the circle center incrementally
If you enter the circle center with incremental coordinates, you have
programmed it relative to the last programmed position of the tool.
The only effect of CC is to define a position as circle
center: The tool does not move to this position.
The circle center is also the pole for polar coordinates.
231
Direction of rotation DR
Feed rate F
Miscellaneous function M
CC
DR+
Full circle
For the end point, enter the same point that you used for the starting
point.
25
CC
DR
The starting and end points of the arc must lie on the
circle.
Input tolerance: up to 0.016 mm (selected with MP7431).
25
45
232
Radius R
Note: The algebraic sign determines the size of the
arc!
Direction of rotation DR
Note: The algebraic sign determines whether the arc
is concave or convex!
Miscellaneous function M
Feed rate F
Full circle
For a full circle, program two blocks in succession:
E1=S
CC
S1=E
The end point of the first semicircle is the starting point of the second.
The end point of the second semicircle is the starting point of the first.
233
DR
40
R
DR+
ZW
R
2
70
or
DR
ZW
R
40
or
11 CR X+70 Y+40 R-20 DR+ (ARC 4)
The distance from the starting and end points of the arc
diameter cannot be greater than the diameter of the arc.
4
DR+
40
70
234
Feed rate F
Miscellaneous function M
Example NC blocks
30
25
20
25
45
235
10
95
10
20
20
X
9
Call tool in the spindle axis and with the spindle speed S
4 L Z+250 R0 FMAX
6 L Z-5 R0 F1000 M3
8 L Y+95
Move to point 2
9 L X+95
10 CHF 10
11 L Y+5
Point 4: 2nd straight line for corner 3, 1st straight line for corner 4
12 CHF 20
13 L X+5
15 L Z+250 R0 FMAX M2
236
Y
95
2
3
R10
R3
85
40
5
5
30 40
70
95
Call tool in the spindle axis and with the spindle speed S
4 L Z+250 R0 FMAX
6 L Z-5 R0 F1000 M3
8 L X+5 Y+85
10 L X+30 Y+85
12 L X+95
Move to point 5
13 L X+95 Y+40
Move to point 6
14 CT X+40 Y+5
Move to point 7: End point of the arc, circular arc with tangential
connection to point 6, TNC automatically calculates the radius
237
15 L X+5
17 L Z+250 R0 FMAX M2
238
50
CC
50
Tool call
4 CC X+50 Y+50
5 L Z+250 R0 FMAX
7 L Z-5 R0 F1000 M3
9 C X+0 DR-
11 L Z+250 R0 FMAX M2
239
Tool movement
Required input
Page
Straight line LP
Straight line
Page 241
Circular arc CP
Page 242
Page 243
Helical interpolation
Page 244
240
YCC
CC
Example NC blocks
12 CC X+45 Y+25
Straight line LP
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.
Polar coordinate radius PR: Enter the distance from
the pole CC to the straight-line end point
30
XCC
60
25
60
CC
45
241
Direction of rotation DR
Example NC blocks
25
R2
CC
18 CC X+25 Y+25
19 LP PR+20 PA+0 RR F250 M3
20 CP PA+180 DR+
25
242
Y
120
0
R3
30
R2
Example NC blocks
12 CC X+40 Y+35
35
CC
40
243
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.
Application
Large-diameter internal and external threads
Lubrication grooves
CC
Work
direction
Direction of
rotation
Radius
comp.
Right-handed
Left-handed
Z+
Z+
DR+
DR
RL
RR
Right-handed
Left-handed
Z
Z
DR
DR+
RR
RL
Right-handed
Left-handed
Z+
Z+
DR+
DR
RR
RL
Right-handed
Left-handed
Z
Z
DR
DR+
RL
RR
External thread
244
CC
270
Direction of rotation DR
Clockwise helix: DR
Counterclockwise helix: DR+
R3
25
40
245
Programming a helix
Y
100
3
5
60
R4
CC
50
5
5
50
100
Tool call
4 CC X+50 Y+50
5 L Z+250 R0 FMAX
7 L Z-5 R0 F1000 M3
9 LP PA+120
Move to point 2
10 LP PA+60
Move to point 3
11 LP PA+0
Move to point 4
12 LP PA-60
Move to point 5
13 LP PA-120
Move to point 6
14 LP PA+180
Move to point 1
16 L Z+250 R0 FMAX M2
246
Example: Helix
50
CC
50
M64 x 1,5
100
100
Tool call
4 L Z+250 R0 FMAX
6 CC
7 L Z-12.75 R0 F1000 M3
Helical interpolation
11 L Z+250 R0 FMAX M2
247
Fundamentals
Workpiece drawings that are not dimensioned for NC often contain
unconventional coordinate data that cannot be entered with the gray
path function keys. For example:
R2
.5
28
X
45
R4
You can enter such dimensional data directly by using the FK free
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
workpiece drawing for which FK programming is the most convenient
programming method.
88.15
18
36
21
20
248
10 5 0
249
If you do not yet wish to select a green contour element, press the
END SELECT soft key to continue the FK dialog.
Select the green contour elements as soon as possible
with the SELECT SOLUTION soft key. This way you can
reduce the ambiguity of subsequent elements.
The machine tool builder may use other colors for the FK
graphics.
NC blocks from a program that you called with PGM CALL
are displayed in another color.
Show block number in graphic window
To show a block number in the graphic window:
U
250
251
If you initiate the FK dialog with one of these soft keys, the TNC shows
additional soft-key rows that you can use for entering known
coordinates, directional data and data regarding the course of the
contour.
FK element
Soft key
252
253
Input possibilities
End point coordinates
Known data
Soft keys
R15
30
30
20
Example NC blocks
7 FPOL X+20 Y+30
8 FL IX+10 Y+20 RR F100
9 FCT PR+15 IPA+30 DR+ R15
20
254
10
Known data
Length of a straight line
Soft keys
IAN
AN
LEN
0
Example NC blocks
27 FLT X+25 LEN 12.5 AN+35 RL F200
28 FC DR+ R6 LEN10 AN-45
35
5
R1
.5
12
R6
10
15
45
25
255
If you wish to define the circle center in polar coordinates you must
use FPOL, not CC, to define the pole. FPOL is entered in Cartesian
coordinates and remains in effect until the control encounters a block
in which another FPOL is defined.
A circle center that was calculated or programmed
conventionally is then no longer valid as a pole or circle
center for the new FK contour: If you enter conventional
polar coordinates that refer to a pole from a CC block you
have defined previously, then you must enter the pole
again in a CC block after the FK contour.
R3
15
FPOL
CC
40
X
20
Known data
Soft keys
Example NC blocks
10 FC CCX+20 CCY+15 DR+ R15
11 FPOL X+20 Y+15
12 FL AN+40
13 FC DR+ R15 CCPR+35 CCPA+40
256
Closed contours
You can identify the beginning and end of a closed contour with the
CLSD soft key. This reduces the number of possible solutions for the
last contour element.
Enter CLSD as an addition to another contour data entry in the first and
last blocks of an FK section.
Beginning of contour:
End of contour:
CLSD+
CLSD
CLSD+
Example NC blocks
12 L X+5 Y+35 RL F500 M3
13 FC DR- R15 CLSD+ CCX+20 CCY+35
...
CLSD
257
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.
Auxiliary points on a contour
The auxiliary points are located on the straight line, the extension of
the straight line, or on the circular arc.
Known data
Soft keys
60.071
53
X coordinate of an auxiliary
point
P1 or P2 of a straight line
R10
70
Y coordinate of an auxiliary
point
P1 or P2 of a straight line
X coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
50
42.929
Y coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
Soft keys
Example NC blocks
13 FC DR- R10 P1X+42.929 P1Y+60.071
14 FLT AN-70 PDX+50 PDY+53 D10
258
Data whose values are based on another contour element are called
relative data. The soft keys and program words for entries begin with
the letter R for Relative. The figure at right shows the entries that
should be programmed as relative data.
Y
20
20
45
20
10
R20
90
FPOL
10
35
Soft keys
Cartesian Coordinates
relative to block N
Polar coordinates relative to block N
Example NC blocks
12 FPOL X+10 Y+10
13 FL PR+20 PA+20
14 FL AN+45
15 FCT IX+20 DR- R20 CCA+90 RX 13
16 FL IPR+35 PA+0 RPR 13
259
Relative data
Known data
Soft key
220
20
95
12.5
105
Example NC blocks
12.5
17 FL LEN 20 AN+15
15
20
Soft key
20
35
R10
Example NC blocks
12 FL X+10 Y+10 RL
15
CC
10
13 FL ...
14 FL X+18 Y+35
15 FL ...
10
18
16 FL ...
17 FC DR- R10 CCA+0 ICCX+20 ICCY-15 RCCX12 RCCY14
260
Example: FK programming 1
Y
100
5
R1
75
30
R18
R15
20
20
50
75
100
Tool call
4 L Z+250 R0 FMAX
6 L Z-10 R0 F1000 M3
FK contour section:
9 FLT
261
10
10
R20
55
Example: FK programming 2
30
60
R30
30
Tool call
4 L Z+250 R0 FMAX
6 L Z+5 R0 FMAX M3
7 L Z-5 R0 F100
262
FK contour section:
20 L Z+250 R0 FMAX M2
263
Y
R1
0
R5
R4
R5
30
R6
R6
-10
-25
R1,5
R36
R24
50
R65
0
R5
Example: FK programming 3
12
44
65
110
Tool call
4 L Z+250 R0 FMAX
6 L Z-5 R0 F1000 M3
264
FK contour section:
9 FLT
31 L X-70 R0 FMAX
32 L Z+250 R0 FMAX M2
265
266
Programming: Data
Transfer from DXF Files
or Plain-language
Contours
268
Select the desired DXF file, and load it with the ENT
key. The TNC starts the DXF converter and shows the
contents of the DXF file on the screen. The TNC
shows the layers in the left window, and the drawing
in the right window.
269
Basic settings
The third soft-key row has various possibilities for settings:
Setting
Soft key
Please note that you must set the correct unit of measure,
since the DXF file does not contain any such information.
If you want to generate programs for older TNC controls,
you must limit the resolution to three decimal places. In
addition, you must remove the comments that the DXF
converter inserts into the contour program.
270
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.
The DXF file to be processed must contain at least one
layer.
You can even select a contour if the designer has saved it
on different layers.
U
271
272
273
274
To save the selected contour elements in a plainlanguage program, enter 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
275
U
U
U
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
276
277
Individual selection
U 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.
278
Press the shift key on the keyboard and drag the left
mouse key to define an area in which the TNC is to
adopt all included circle centers as hole positions: the
TNC opens a window in which you can filter the holes
by size.
279
280
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
Soft key
Soft key
281
Element information
At the bottom left of the screen, the TNC displays the coordinates of
the machining position that you last selected via mouse click in the left
or right window.
Undoing actions
You can undo the four most recent actions that you have taken in the
mode for selecting machining positions. The last soft key row provides
the following soft keys for this purpose:
Function
Soft key
282
Zoom function
The TNC features a powerful zoom function for easy recognition of
small details during contour or point selection.
Function
Soft key
283
284
285
Soft key
Mouse functions
The following functions are available for mouse operation:
U
U
U
286
Programming:
Subprograms and
Program Section
Repeats
HEIDENHAIN iTNC 530
287
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. The number of label names you
can enter is only limited by the internal memory.
If a label name or number is set more than once, the TNC
sends an error message at the end of the LBL block. With
very long programs, you can limit the number of blocks to
be checked for repeated labels with MP7229.
Label 0 (LBL 0) is used exclusively to mark the end of a subprogram
and can therefore be used as often as desired.
288
8.2 Subprograms
8.2 Subprograms
Operating sequence
1
2
3
Programming notes
A main program can contain up to 254 subprograms
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
U
To mark the end, press the LBL SET key and enter the
label number 0
Calling a subprogram
U
289
Operating sequence
1
2
3
The TNC executes the part program up to the end of the program
section (CALL LBL n REPn)
Then the program section between the called LBL CALL LBL n REPn
is repeated the number of times entered for REP
The TNC then resumes the part program after the last repetition
LBL1
2
2/1
2/2
Programming notes
290
Operating sequence
If you want to program variable program calls in
connection with string parameters, use the SEL PGM
function (see "Define program call" on page 446)
1
2
3
Programming notes
0 BEGIN PGM A
1
0 BEGIN PGM B
S
2
CALL PGM B
3
END PGM A
END PGM B
Alternatively you can also enter the program name or the complete
path name of the program to be called directly via the keyboard.
291
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.
292
8.5 Nesting
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: 10, where a CYCL
CALL acts like a main program call
You can nest program section repeats as often as desired
293
8.5 Nesting
35 L Z+100 R0 FMAX M2
36 LBL "SP1"
...
39 CALL LBL 2
...
45 LBL 0
End of subprogram 1
46 LBL 2
Beginning of subprogram 2
...
End of subprogram 2
62 LBL 0
63 END PGM SUBPGMS MM
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
294
8.5 Nesting
...
20 LBL 2
...
27 CALL LBL 2 REP 2
...
...
...
N20 G98 L2 *
...
N27 L2,2 *
...
N35 L1,1 *
...
295
8.5 Nesting
Repeating a subprogram
Example NC blocks
0 BEGIN PGM SUBPGREP MM
...
10 LBL 1
11 CALL LBL 2
Subprogram call
...
19 L Z+100 R0 FMAX M2
20 LBL 2
Beginning of subprogram
...
End of subprogram
28 LBL 0
29 END PGM SUBPGREP MM
Program execution
1 Main program UPGREP is executed up to block 11.
2 Subprogram 2 is called and executed.
3 Program section between block 10 and block 12 is repeated twice.
Subprogram 2 is repeated twice.
4 Main program SPGREP is executed from block 13 to block 19. End
of program.
296
Y
100
5
R1
75
30
R18
R15
20
20
50
75
100
Tool call
4 L Z+250 R0 FMAX
6 L Z+0 R0 FMAX M3
297
7 LBL 1
8 L IZ-4 R0 FMAX
Contour approach
Contour
11 FLT
12 FCT DR- R15 CCX+50 CCY+75
13 FLT
14 FCT DR- R15 CCX+75 CCY+20
15 FLT
16 FCT DR- R18 CLSD- CCX+20 CCY+30
17 DEP CT CCA90 R+5 F1000
Contour departure
Retract tool
20 L Z+250 R0 FMAX M2
298
Y
100
2
60
5
20
20
10
15
45
75
100
Tool call
4 L Z+250 R0 FMAX
Q200=2
;SET-UP CLEARANCE
Q201=-10
;DEPTH
Q206=250
Q202=5
;PLUNGING DEPTH
Q210=0
Q203=+0
;SURFACE COORDINATE
Q204=10
299
7 CALL LBL 1
9 CALL LBL 1
11 CALL LBL 1
12 L Z+250 R0 FMAX M2
13 LBL 1
14 CYCL CALL
Hole 1
18 LBL 0
End of subprogram 1
300
100
2
60
5
10
15
20
20
45
75
100
-15
-20
4 L Z+250 R0 FMAX
Q200=2
;SET-UP CLEARANCE
Q201=-3
;DEPTH
Q206=250
Q202=3
;PLUNGING DEPTH
Q210=0
Q203=+0
;SURFACE COORDINATE
Q204=10
301
7 L Z+250 R0 FMAX M6
Tool change
9 FN 0: Q201 = -25
10 FN 0: Q202 = +5
11 CALL LBL 1
12 L Z+250 R0 FMAX M6
Tool change
Q200=2
;SET-UP CLEARANCE
Q201=-15
;DEPTH
Q206=250
Q211=0.5
Q208=400
Q203=+0
;SURFACE COORDINATE
Q204=10
15 CALL LBL 1
16 L Z+250 R0 FMAX M2
17 LBL 1
19 CALL LBL 2
21 CALL LBL 2
23 CALL LBL 2
24 LBL 0
End of subprogram 1
25 LBL 2
26 CYCL CALL
30 LBL 0
End of subprogram 2
302
Programming:
Q-Parameters
Q6
Coordinate values
Feed rates
Spindle speeds
Cycle data
Q1
Q3
Q4
Q2
Q5
Range
Q0 to Q99
Q100 to Q199
Q200 to Q1199
Q1200 to Q1399
Parameters that are primarily used for callactive OEM cycles, globally effective for all
programs that are stored in the TNC memory
Q1400 to Q1499
Parameters that are primarily used for Defactive OEM cycles, globally effective for all
programs that are stored in the TNC memory
Q1500 to Q1599
304
Programming: Q-Parameters
Range
Q1600 to Q1999
QL0 to QL499
QR0 to QR499
Meaning
QS parameters (the S stands for string) are also available on the TNC
and enable you to process texts. In principle, the same ranges are
available for QS parameters as for Q parameters (see table above).
Note that for the QS parameters the QS100 to QS199 range
is reserved for internal texts.
305
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.
Some Q and QS parameters are always assigned the
same data by the TNC. For example, Q108 is always
assigned the current tool radius (see "Preassigned Q
Parameters", page 353).
If you are using the parameters Q60 to Q99 in encoded
OEM cycles, use MP7251 to define whether the
parameters are only to be used locally in the OEM cycles
(.CYC file), or can be used globally for all programs.
With MP7300 you specify whether the TNC should reset
Q parameters at the end of the program, or if the values
should be saved. Make sure that this setting does not
have any effect on your Q parameter programs!
306
Programming: Q-Parameters
Soft key
Page
Page 309
Trigonometric functions
Page 311
Page 313
Page 314
Other functions
Page 317
Page 338
Cycles
Manual
Page 342
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.
307
Assignment
...
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
Cylinder height
Cylinder Z1
Cylinder Z2
R = Q1
H = Q2
Q1 = +30
Q2 = +10
Q1 = +10
Q2 = +50
Q1
Q1
Q2
Q2
308
Z2
Z1
Programming: Q-Parameters
Overview
Function
Soft key
FN 0: ASSIGN
Example: FN 0: Q5 = +60
Assigns a numerical value.
FN 1: ADDITION
Example: FN 1: Q1 = -Q2 + -5
Calculates and assigns 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
Calculates and assigns the quotient of two values.
Not permitted: Division by 0
FN 5: SQUARE ROOT
Example: FN 5: Q20 = SQRT 4
Calculates and assigns 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.
309
Example:
16 FN 0: Q5 = +10
Call the Q parameter functions by pressing the Q key
17 FN 3: Q12 = +Q5 * +7
1. VALUE OR PARAMETER?
10
1. VALUE OR PARAMETER?
Q5
2. VALUE OR PARAMETER?
7
310
Programming: Q-Parameters
sin = a / c
cos = b / c
tan = a / b = sin / cos
c
where
c is the side opposite the right angle
a is the side opposite the angle
b is the third side.
(a + b)
311
Soft key
FN 6: SINE
Example: FN 6: Q20 = SIN-Q5
Calculates and assigns the sine of an angle in
degrees ()
FN 7: COSINE
Example: FN 7: Q21 = COS-Q5
Calculates and assigns the cosine of an angle in
degrees ()
FN 8: ROOT SUM OF SQUARES
Example: FN 8: Q10 = +5 LEN +4
Calculates and assigns length from two values
FN 13: ANGLE
Example: FN 13: Q20 = +25 ANG-Q1
Calculates the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360) and assigns it to a parameter
312
Programming: Q-Parameters
Soft key
Soft key
313
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
314
Programming: Q-Parameters
Soft key
FN 9: IF EQUAL, JUMP
Example: FN 9: IF +Q1 EQU +Q3 GOTO LBL UPCAN25
If the two values or parameters are equal, jump to the
given label.
FN 10: IF UNEQUAL, JUMP
Example: FN 10: IF +10 NE Q5 GOTO LBL 10
If the two values or parameters are unequal, jump to
the given label.
FN 11: IF GREATER, JUMP
Example: FN 11: IF+Q1 GT+10 GOTO QS5
If the first value or parameter is greater than the
second, jump to the given label.
FN 12: IF LESS, JUMP
Example: FN 12: IF+Q5 LT+0 GOTO LBL ANYNAME
If the first value or parameter is less than the second,
jump to the given label.
Abbreviations used:
IF
EQU
NE
GT
LT
GOTO
:
:
:
:
:
:
If
Equals
Not equal
Greater than
Less than
Go to
315
316
Programming: Q-Parameters
Soft key
Page
FN 14:ERROR
Output of error messages
Page 318
FN 15:PRINT
Unformatted output of texts or
Q parameter values
Page 322
FN 16:F-PRINT
Formatted output of texts or Q parameter
values
Page 323
Page 327
FN 19:PLC
Send values to the PLC
Page 334
FN 20:WAIT FOR
Synchronize NC and PLC
Page 335
FN 25:PRESET
Set the datum during program run
Page 337
FN 26:TABOPEN
Open a freely definable table
Page 464
FN 27:TABWRITE
Write to a freely definable table
Page 465
FN 28:TABREAD
Read from a freely definable table
Page 466
317
0 ... 299
Machine-dependent dialog
Example NC block
The TNC is to display the text stored under error number 254:
180 FN 14: ERROR = 254
Error message predefined by HEIDENHAIN
Error number
Text
1000
Spindle?
1001
1002
1003
1004
Range exceeded
1005
1006
1007
1008
1009
1010
1011
1012
Incorrect sign
1013
1014
1015
318
Programming: Q-Parameters
Text
1016
Contradictory input
1017
CYCL incomplete
1018
1019
1020
Wrong rpm
1021
1022
Rounding-off undefined
1023
1024
1025
Excessive nesting
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
Error number
319
Error number
Text
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
Datum table?
1069
1070
320
Programming: Q-Parameters
Text
1071
1072
Tolerance exceeded
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
Line is write-protected
1086
1087
1088
Contradictory data
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
Error number
321
Error number
Text
1100
1101
1102
322
Programming: Q-Parameters
Function
...........
%9.3LF
%S
323
Function
CALL_PATH
M_CLOSE
ALL_DISPLAY
MM_DISPLAY
INCH_DISPLAY
L_ENGLISH
L_GERMAN
L_CZECH
L_FRENCH
L_ITALIAN
L_SPANISH
L_SWEDISH
L_DANISH
L_FINNISH
L_DUTCH
L_POLISH
L_PORTUGUE
L_HUNGARIA
L_RUSSIAN
L_SLOVENIAN
L_ALL
HOUR
MIN
SEC
324
Programming: Q-Parameters
Function
DAY
MONTH
STR_MONTH
YEAR2
YEAR4
Keyword
F-PRINT TNC:\MASKE\MASKE1.A/RS232:\PROT1.A
The TNC then outputs the file PROT1.A through the serial interface:
MEASURING LOG OF IMPELLER CENTER OF GRAVITY
DATE: 27:11: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.
325
F-PRINT TNC:\MASKE\MASKE1.A/SCREEN:
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:
96 FN 16:
F-PRINT TNC:\MASKE\MASKE1.A/SCLR:
Specify the target path in the MOD function under Print or PrintTest if you always want to save to the same directory on the server
(see also Assignment on page 648):
96 FN 16:
326
Programming: Q-Parameters
With the function FN 18: SYS-DATUM READ you can read system data
and store it in Q parameters. You select the system data through a
group name (ID number), and additionally through a number and an
index.
Group name, ID no.
Number
Index
Meaning
Program information, 10
mm/inch condition
10
11
15
17
Machine status, 20
Cycle parameter, 30
327
328
Number
Index
Meaning
10
11
12
13
14
15
Tool no.
Tool length
Tool no.
Tool radius
Tool no.
Tool radius R2
Tool no.
Tool no.
Tool no.
Tool no.
Tool inhibited (0 or 1)
Tool no.
Tool no.
10
Tool no.
11
Tool no.
12
Tool no.
PLC status
13
Tool no.
14
Tool no.
15
Tool no.
16
Tool no.
17
Tool no.
18
Tool no.
19
Tool no.
20
Tool no.
21
Tool no.
22
Tool no.
23
Tool no.
PLC value
Programming: Q-Parameters
Number
Index
Meaning
24
Tool no.
25
Tool no.
26
Tool no.
27
Tool no.
28
Tool no.
Maximum speed
Tool pocket, 52
File information, 56
Position programmed
immediately after TOOL CALL, 70
Pocket number
Tool number
Pocket number
Pocket number
Pocket number
Pocket number
PLC status
Pocket number
Tool type
7 to 11
Pocket number
12
Pocket number
13
Pocket number
14
Pocket number
15
Pocket number
16
Pocket number
Tool no.
Pocket number P
Tool no.
Q parameter
number, as of
which the status
of the axes is
stored. +1: axis
active, -1: axis
inactive
X axis
329
Number
Index
Meaning
Y axis
Z axis
330
Programming: Q-Parameters
Number
Index
Meaning
X axis
Y axis
Z axis
A axis
B axis
C axis
U axis
V axis
W axis
1 to 9
1 to 9
X axis
Y axis
Z axis
A axis
B axis
C axis
U axis
V axis
W axis
X axis
Y axis
Z axis
A axis
B axis
C axis
U axis
V axis
331
Index
Meaning
W axis
116
128
144
1 to 9 (X to W)
1 to 9 (X to W)
1 to 9 (X to W)
1 to 9 (X to W)
1 to 10 (X to VT)
1 to 10 (X to VT)
332
Number
Programming: Q-Parameters
Number
Index
Meaning
10
11
12
Effective length
13
14
15
20
21
1 to 9
1 to 9
333
Number
Index
Meaning
Datum
number
1 to 9
X axis to W axis
Datum
number
1 to 9
X axis to W axis
Preset
number
1 to 9
X axis to W axis
Preset
number
1 to 9
X axis to W axis
Preset
number
Active line
MP
number
MP index
Existence of machine
parameter, 1010
Example: Assign the value of the active scaling factor for the Z
axis to Q25.
55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3
334
Programming: Q-Parameters
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
operand
Abbreviation
Address range
Marker
0 to 4999
Input
Output
0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter
48 to 79
Timer
0 to 95
Byte
0 to 4095
Word
0 to 2047
Double
word
2048 to 4095
335
Abbreviation
Equals
==
Less than
<
Greater than
>
<=
>=
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 lookahead 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
Example: Pause internal look-ahead calculation, read current
position in the X axis
32 FN 20: WAIT FOR SYNC
33 FN 18: SYSREAD Q1 = ID270 NR1 IDX1
336
Programming: Q-Parameters
U
U
U
U
U
337
Soft key
Addition
Example: Q10 = Q1 + Q5
Subtraction
Example: Q25 = Q7 Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Square of a value
Example: Q15 = SQ 5
Square root
Example: Q22 = SQRT 25
Sine of an angle
Example: Q44 = SIN 45
Cosine of an angle
Example: Q45 = COS 45
Tangent of an angle
Example: Q46 = TAN 45
Arc sine
Inverse of the sine. Determines the angle from the
ratio of the side opposite the hypotenuse.
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the hypotenuse.
Example: Q11 = ACOS Q40
338
Programming: Q-Parameters
Mathematical function
Soft key
Arc tangent
Inverse of the tangent. Determines the angle from the
ratio of the opposite to the adjacent side.
Example: Q12 = ATAN Q50
Powers of values
Example: Q15 = 3^3
Constant pi (3.14159)
Example: Q15 = PI
Natural logarithm (LN) of a number
Base 2.7183
Example: Q15 = LN Q11
Logarithm of a number, base 10
Example: Q33 = LOG Q22
Exponential function, 2.7183 to the power of n
Example: Q1 = EXP Q12
Negate (multiplication by 1)
Example: Q2 = NEG Q1
Truncate decimal places
Form an integer
Example: Q3 = INT Q42
Absolute value of a number
Example: Q4 = ABS Q22
Truncate places before the decimal point
Form a fraction
Example: Q5 = FRAC Q23
Check algebraic sign of a number
Example: Q12 = SGN Q50
If result for Q12 = 1, then Q50 >= 0
If result for Q12 = 1, then Q50 < 0
Calculate modulo value (division remainder)
Example: Q12 = 400 % 360
Result: Q12 = 40
339
Q1 = 5 * 3 + 2 * 10 = 35
1st calculation: 5 * 3 = 15
2ndcalculation: 2 * 10 = 20
3rdcalculation: 15 + 20 = 35
or
13
Q2 = SQ 10 - 3^3 = 73
340
Programming: Q-Parameters
Programming example
Calculate an angle with the arc tangent from the opposite side (Q12)
and adjacent side (Q13); then store in Q25.
To select the formula entering function, press the Q
key and the FORMULA soft key, or use the shortcut:
12
Select division.
13
Example NC block
37
341
Soft key
Page
Page 343
Page 343
Page 345
Page 346
Page 347
Soft key
Page
Page 349
Page 350
Page 351
Page 352
342
Programming: Q-Parameters
Example NC block:
37 DECLARE STRING QS10 = WORKPIECE
343
Parameter contents:
QS12: Workpiece
QS13: Status:
QS14: Scrap
QS10: Workpiece Status: Scrap
344
Programming: Q-Parameters
345
346
Programming: Q-Parameters
347
348
Programming: Q-Parameters
349
350
Programming: Q-Parameters
351
352
Programming: Q-Parameters
353
Parameter value
Q109 = 1
X axis
Q109 = 0
Y axis
Q109 = 1
Z axis
Q109 = 2
U axis
Q109 = 6
V axis
Q109 = 7
W axis
Q109 = 8
Parameter value
Q110 = 1
Q110 = 0
Q110 = 1
M5 after M3
Q110 = 2
M5 after M4
Q110 = 3
Parameter value
M8: Coolant ON
Q111 = 1
Q111 = 0
354
Programming: Q-Parameters
Parameter value
Q113 = 0
Q113 = 1
Parameter value
X axis
Q115
Y axis
Q116
Z axis
Q117
4th Axis
depending on MP100
Q118
5th axis
depending on MP100
Q119
355
Parameter value
Tool length
Q115
Tool radius
Q116
Parameter value
A axis
Q120
B axis
Q121
C axis
Q122
356
Programming: Q-Parameters
Parameter value
Q150
Q151
Q152
Diameter
Q153
Pocket length
Q154
Pocket width
Q155
Q156
Q157
Q158
Q159
Q160
Measured deviation
Parameter value
Q161
Q162
Diameter
Q163
Pocket length
Q164
Pocket width
Q165
Measured length
Q166
Q167
Parameter value
Q170
Q171
Q172
357
Workpiece status
Parameter value
Good
Q180
Rework
Q181
Scrap
Q182
Parameter value
X axis
Q185
Y axis
Q186
Z axis
Q187
Q188
Parameter value
Reserved
Q190
Reserved
Q191
Reserved
Q192
Reserved
Q193
Parameter value
Q195
Q196
Q197
Q198
Parameter value
Q199 = 0.0
Q199 = 1.0
Q199 = 2.0
358
Programming: Q-Parameters
30
50
50
50
Center in X axis
2 Q2 = +50
Center in Y axis
3 Q3 = +50
Semiaxis in X
4 Q4 = +30
Semiaxis in Y
5 Q5 = +0
6 Q6 = +360
7 Q7 = +40
8 Q8 = +0
9 Q9 = +5
Milling depth
10 Q10 = +100
11 Q11 = +350
12 Q12 = +2
Tool call
16 L Z+250 R0 FMAX
17 CALL LBL 10
359
18 L Z+100 R0 FMAX M2
19 LBL 10
26 Q36 = Q5
27 Q37 = 0
Set counter
31 L Z+Q12 R0 FMAX
32 L Z-Q9 R0 FQ10
33 LBL 1
34 Q36 = Q36 + Q35
35 Q37 = Q37 + 1
46 LBL 0
End of subprogram
360
Programming: Q-Parameters
Z
R4
-50
100
50
100
Center in X axis
2 Q2 = +0
3 Q3 = +0
Center in Z axis
4 Q4 = +90
5 Q5 = +270
6 Q6 = +40
Cylinder radius
7 Q7 = +100
8 Q8 = +0
9 Q10 = +5
10 Q11 = +250
11 Q12 = +400
12 Q13 = +90
Number of cuts
Tool call
16 L Z+250 R0 FMAX
17 CALL LBL 10
18 FN 0: Q10 = +0
Reset allowance
19 CALL LBL 10
361
20 L Z+100 R0 FMAX M2
21 LBL 10
23 Q20 = +1
Set counter
33 L Z+5 R0 F1000 M3
34 LBL 1
35 CC Z+0 X+0
37 L Y+Q7 R0 FQ12
38 Q20 = +Q20 + +1
42 L Y+0 R0 FQ12
43 Q20 = +Q20 + +1
46 LBL 99
47 CYCL DEF 10.0 ROTATION
End of subprogram
362
Programming: Q-Parameters
100
R4
5
R4
50
50
100
-50
Center in X axis
2 Q2 = +50
3 Q4 = +90
4 Q5 = +0
5 Q14 = +5
6 Q6 = +45
Sphere radius
7 Q8 = +0
8 Q9 = +360
9 Q18 = +10
10 Q10 = +5
11 Q11 = +2
12 Q12 = +350
Tool call
16 L Z+250 R0 FMAX
363
17 CALL LBL 10
18 Q10 = +0
Reset allowance
19 Q18 = +5
20 CALL LBL 10
21 L Z+100 R0 FMAX M2
22 LBL 10
24 Q24 = +Q4
26 Q28 = +Q8
35 CC X+0 Y+0
37 CC Z+0 X+Q108
364
Programming: Q-Parameters
43 LP PR+Q6 PA+Q5
44 L Z+Q23 R0 F1000
45 L X+Q26 R0 FMAX
47 Q24 = +Q4
End of subprogram
365
39 LBL 2
Programming: Q-Parameters
Programming:
Miscellaneous
Functions
Example NC blocks
87 STOP M6
368
10.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant
Effect
M0
M1
M2
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
M13
Spindle ON clockwise
Coolant ON
M14
Spindle ON counterclockwise
Coolant ON
M30
Same as M2
Effective at block...
Start
End
369
XMP
X (Z,Y)
The distance in each axis from the scale reference point to the
machine datum is defined by the machine tool builder in a machine
parameter.
Standard behavior
The TNC references coordinates to the workpiece datum (see "Datum
Setting without a 3-D Touch Probe", page 565).
Behavior with M91Machine datum
If you want the coordinates in a positioning block to be referenced to
the machine datum, end the block with M91.
If you program incremental coordinates in an M91 block,
enter them with respect to the last programmed M91
position. If no M91 position is programmed in the active
NC block, then enter the coordinates with respect to the
current tool position.
The coordinate values on the TNC screen are referenced to the
machine datum. Switch the display of coordinates in the status display
to REF (see "Status Displays", page 81).
370
If datum setting is inhibited for all axes, the TNC no longer displays the
SET DATUM soft key in the Manual Operation mode.
The figure shows coordinate systems with the machine datum and
workpiece datum.
M91/M92 in the Test Run mode
In order to be able to graphically simulate M91/M92 movements, you
need to activate working space monitoring and display the workpiece
blank referenced to the set datum (see "Showing the Workpiece in the
Working Space", page 660).
Z
Y
Y
X
X
M
371
372
M90 becomes effective at the start of block. Operation with servo lag
must be active.
373
374
Effect
M97 is effective only in the blocks in which it is programmed.
A corner machined with M97 will not be completely
finished. You may wish to rework the contour with a
smaller tool.
13
16
14
15
17
375
Example NC blocks
5 TOOL CALL 20 ...
...
13 L X... Y... R... F... M97
15 L IX+100 ...
17 L X... Y...
376
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
12 L IX+ ...
10
11
12
377
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.
M103 is also effective in an active tilted working plane.
The feed rate reduction is then effective during traverse in
the negative direction of the tilted tool axis.
Example NC blocks
The feed rate for plunging is to be 20% of the feed rate in the plane.
...
500
18 L Y+50
500
19 L IZ-2.5
100
20 L IY+5 IZ-5
141
21 L IX+50
500
22 L Z+5
500
378
379
380
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.
381
Restrictions
After an external or internal stop, you can only re-enter
the contour with the function RESTORE POS. AT N.
Before you start the block scan, you must cancel M120
(select program again via PGM MGT, do not use
GOTO 0), otherwise the TNC will output an error
message
When using the path functions RND and CHF, the blocks
before and after RND or CHF must contain only
coordinates in the working plane.
If you enter an LA value that is too great, the edited
contour might change, because the TNC might then
output too many NC blocks
If you want to approach the contour on a tangential
path, you must use the function APPR LCT. The block
with APPR LCT must contain only coordinates of the
working plane.
If you want to depart the contour on a tangential path,
use the function DEP LCT. The block with DEP LCT
must contain only coordinates of the working plane.
Before using the functions listed below, you have to
cancel M120 and the radius compensation:
Cycle 32 Tolerance
Cycle 19 Working plane
PLANE function
M114
M128
M138
M144
TCPM FUNCTION
WRITE TO KINEMATIC
382
383
384
Danger of collision!
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!
385
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.
386
The TNC retracts the tool by 0.1 mm in the direction of the tool axis if,
in the LIFTOFF column of the tool table, you set the parameter Y for the
active tool (see Tool table: Standard tool data on page 176).
LIFTOFF takes effect in the following situations:
An NC stop triggered by you
An NC stop triggered by the software, e.g. if an error occurred in the
drive system
When a power interruption occurs. The path that the TNC
withdraws if a power interruption occurs is set by your machine tool
builder in machine parameter 1160
Danger of collision!
Remember that, especially on curved surfaces, the
surface can be damaged during return to the contour. Back
the tool off before returning to the contour!
Effect
M148 remains in effect until deactivated with M149.
M148 becomes effective at the start of block, M149 at the end of
block.
387
388
389
0 to 9999 Volt
0 to 1 999 seconds
Effect
M203 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
0 to 9999 Volt
0 to 1 999 seconds
Effect
M204 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
390
Programming:
Special Functions
Description
Page 396
Page 416
Page 427
Page 450
Page 455
Page 461
Press the SPEC FCT and the corresponding soft keys to access further
special functions of the TNC. The following tables will give you an
overview of which functions are available.
Function
Soft key
Description
Page 448
Page 393
Page 471
Page 394
Page 395
Page 152
392
Function
Soft key
Description
Page 103
Page 456
See Users
Manual for Cycles
See Users
Manual for Cycles
Load fixture
Page 412
Reset fixtures
Page 412
Function
Soft key
Description
See Users
Manual for Cycles
See Users
Manual for Cycles
See Users
Manual for Cycles
See Users
Manual for Cycles
393
Function
Soft key
Description
See Users
Manual for Cycles
See Users
Manual for Cycles
See Users
Manual for Cycles
Function
Soft key
Description
Page 493
Page 442
Page 446
Define coordinate
transformations
Page 443
Page 342
394
Function
Soft key
Description
Page 251
Unstructured program
conversion from FK to H
Page 251
Page 438
Filter contours
Page 441
395
396
397
Symbol
U
U
398
Danger of collision!
The M140 (see Retraction from the contour in the toolaxis direction: M140 on page 384) and M150 (see
Suppress limit switch message: M150 on page 388)
functions might cause non-programmed movements if the
TNC detects a collision when executing these functions!
The TNC monitors motions blockwise, i.e. it outputs a warning in the
block which would cause a collision, and interrupts program run. A
reduction of the feed rate, as with Manual Operation, does not occur.
399
Soft key
U
U
400
401
You can switch between the various views via soft key:
Function
Soft key
402
403
Fixture templates
HEIDENHAIN provides various fixture templates in a fixture library. If
you need any of them, please contact HEIDENHAIN (e-mail address
service.nc-pgm@heidenhain.de) or your machine tool builder.
404
Exit FixtureWizard
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 graphic are displayed in the size you prefer.
You can change the depiction of the 3-D graphic 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
Button
Exit FixtureWizard
405
Select the fixture: The TNC opens the menu for fixture
selection and shows in the left window all fixtures
available in the active directory. Fixtures have the file
name extension CFX
406
Editing fixtures
Only value input is editable. The position of the fixture on
the machine table cannot be corrected after placement. To
change the position of the fixture you have to remove it
first and then place it again!
U
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!
U
407
408
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
At the end of the test program the TNC displays a popup 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
409
Manage fixtures
You can save and restore measured fixtures via the Archive function.
This function is especially useful for integrated fixtures and speeds up
the setup procedure considerably.
Functions for managing fixtures
The following functions for fixture management are available:
Function
Soft key
Save fixture
Load saved fixture
Copy saved fixture
Rename saved fixture
Delete saved fixture
410
Saving fixtures
U Call the fixture management, if required
U
Enter the file name and confirm with the YES soft key:
The TNC saves the zip archive in a fixed archive folder
(TNC:\system\Fixture\Archive)
411
Specify the path and file name of the store fixture and
confirm your entry with ENT
Example: NC block
13 SEL FIXTURE "TNC:\SYSTEM\FIXTURE\F.ZIP"
412
Example: NC block
13 FIXTURE SELECTION RESET
Just as fixture monitoring, you can also integrate tool holder in the
collision monitoring.
Several work steps are required to enable tool holders for collision
monitoring:
Model the tool holder
On its Web site, HEIDENHAIN provides tool holder templates that
were created with a PC software (KinematicsDesign). Your machine
tool builder can model additional tool holder templates and provide
you with them. The tool holder templates have the file name
extension cft.
Set the tool holder parameters: ToolHolderWizard
With the ToolHolderWizard you define the exact dimensions of the
tool holder by entering parameter values in the tool holder template.
Call the ToolHolderWizard from the tool table if you wish to assign
tool carrier kinematics to a tool. Tool holder templates with
parameters have the file name extension cfx.
Activate the tool holder
In the tool table TOOL.T, assign the selected tool holder to a tool in
the KINEMATICS column (see Assigning the tool-carrier kinematics
on page 186).
Tool-holder templates
HEIDENHAIN provides various tool holder templates. If you need any
of them, please contact HEIDENHAIN (e-mail address service.ncpgm@heidenhain.de) or your machine tool builder.
413
414
Delete the name of the tool holder from the KINEMATICS column in
the tool table (TOOL.T).
415
Icon
Page
Basic rotation
Page 421
Swapping axes
Page 422
Page 423
Superimposed mirroring
Page 423
Superimposed rotation
Page 424
Axis locking
Page 424
Definition of a handwheel
superimposition, even in the virtual axis
direction VT
Page 425
Page 424
416
417
Technical prerequisites
The global program settings function is a software
option and must be enabled by your machine tool builder.
The machine tool builder can provide functions with which
you can set and reset global program settings under
program control, e.g. M functions or manufacturer cycles.
You can use the Q-parameter function to query the status
of the global program settings GS (see "FN 18: SYSDATUM READ: Read system data" page 327 ff).
To be able to use the handwheel superimposition function,
HEIDENHAIN recommends the use of the HR 520 handwheel (see
Traversing with electronic handwheels on page 548). Direct
selection of the virtual tool axis is possible with the HR 520.
In principle, you can then use the HR 410 handwheel, but your
machine tool builder must then assign a function key of the handwheel
to selection of the virtual tool axis and program it in his PLC program.
To be able to use all functions without limits, the following
machine parameters must be set:
MP7641, bit 4 = 1:
Permit selection of the virtual axis on the HR 420
MP7503 = 1:
Traverse in active tool-axis direction is active in the
Manual operating mode and during a program
interruption
MP7682, bit 9 = 1:
Automatic transfer of the tilt status from the automatic
mode to the Move axes during a program
interruption function
MP7682, bit 10 = 1:
Permit 3-D compensation with active tilted working
plane and active M128 (TCPM)
418
Activating/deactivating a function
Global program settings remain active until you manually
reset them. Note that your machine tool builder can
provide functions with which you can set and reset global
program settings also under program control.
If a global program setting is active, the TNC shows
the
symbol in the position display.
If you use the file manager to select a program, the TNC
displays a warning message if global settings are active.
Then you can simply acknowledge the message with the
soft key or call the form directly to make the changes.
Global program settings have no effect in the smarT.NC
operating mode.
U
419
The following functions help you to navigate in the form. You can also
use the mouse to use the form.
Functions
Key/Soft key
420
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.
The TNC synchronizes the values entered in the basic rotation menu
or the ROT column of the preset table with the fillable form.
You can change the basic rotation values in the form, but the TNC
does not write them back into the basic rotation menu or the preset
table.
If you press the SET STANDARD VALUES soft key, the TNC restores
the basic rotation assigned to the active preset.
Remember that you may have to return to the contour
after activation of this function. The TNC then
automatically calls the return-to-contour menu after the
form is closed (see Returning to the contour on page
636).
Please note that probing cycles with which you measure
and write a basic rotation during program run overwrite the
value defined by you in the fillable form.
421
Swapping axes
With the axis swapping function you can adapt the axes programmed
in any NC program to your machines axis configuration or to the
respective clamping situation.
After activation of the axis swapping function, all
subsequent transformations are applied to the swapped
axes.
Be sure to swap the axes appropriately. Otherwise the
TNC will display error messages.
Positioning to M91 positions is not permitted for swapped
axes.
Remember that you may have to return to the contour
after activation of this function. The TNC then
automatically calls the return-to-contour menu after the
form is closed (see Returning to the contour on page
636).
U
U
U
U
If you work with a mouse, you can select the desired axis directly by
clicking it in the respective pull-down menu.
422
Superimposed mirroring
With the superimposed mirroring function you can mirror all active
axes.
The mirrored axes defined in the form work in addition to
the values already defined in the program through Cycle 8
(mirroring).
Remember that you may have to return to the contour
after activation of this function. The TNC then
automatically calls the return-to-contour menu after the
form is closed (see Returning to the contour on page
636).
U
U
U
If you work with a mouse, you can select the desired axis directly by
clicking it.
423
Axis locking
With this function you can lock all active axes. Then when you run a
program, the TNC does not move any of the axes you locked.
When you activate this function, ensure that the positions
of the locked axes cannot cause any collisions.
U
U
U
If you work with a mouse, you can select the desired axis directly by
clicking it.
Superimposed rotation
With the superimposed rotation function you can define any rotation
of the coordinate system in the presently active working plane.
The superimposed rotation defined in the form works in
addition to the values already defined in the program
through Cycle 10 (rotation).
Remember that you may have to return to the contour
after activation of this function. The TNC then
automatically calls the return-to-contour menu after the
form is closed (see Returning to the contour on page
636).
424
Handwheel superimposition
The handwheel superimposition function enables you to use the
handwheel to move the axes while the TNC is running a program.
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.
If an actual value is entered during activation of the
function, then when the window closes, the TNC calls the
Return to contour function to move by the defined value
(see Returning to the contour on page 636).
The TNC overwrites a maximum traverse distance, already
defined in the NC program with M118 by the value entered
in the form. In turn, the TNC enters distances that have
already been traversed with the handwheel using M118 in
the actual value column of the form so that there is no
jump in the display during activation. If the distance
already traversed with M118 is greater than the maximum
permissible value in the form, then when the window
closes the TNC calls the return to contour function in
order to move by the difference value (see Returning to
the contour on page 636).
If you try to enter a actual value greater than the max.
value, the TNC shows an error message. Never enter an
actual value greater that the Max. value.
Do not enter too large a value for max. value. The TNC
reduces the useable traverse range in positive and
negative direction by the value you enter.
425
Virtual axis VT
To be able to traverse with the handwheel in the virtual
axis direction VT you have to enable M128 or FUNCTION
TCPM.
You can only move with handwheel superimpositioning in
the virtual axis direction if DCM is inactive.
You can also carry out handwheel superimpositioning in the currently
active tool axis direction. You can use the Virtual Tool axis line (VT).
Values traversed with the handwheel in a virtual axis remain active in
the default setting even after a tool change. Using the Reset VT value
function you can specify that the TNC resets to values traversed in VT
upon tool change:
U
You can select the VT axis via a HR 5xx handwheel in order to traverse
with superimpositioning in the virtual axis direction (see Selecting the
axis to be moved on page 553). Working with the virtual VT axis is
particularly convenient with the HR 550 FS wireless handwheel (see
Traversing with electronic handwheels on page 548).
The TNC also shows the path traversed in the virtual axis in the
additional status display (POS tab) in the separate VT position display.
Your machine tool builder can provide functions with
which the procedure can be influenced by the PLC in the
virtual axis direction.
426
427
428
Function
NR
AFC
FMIN
FMAX
FIDL
Feed rate for traverse when the tool is not cutting (feed
rate in the air). Enter the value in percent of the
programmed feed rate.
FENT
Feed rate for traverse when the tool moves into or out
of the material. Enter the value in percent with respect
to the programmed feed rate. Maximum input value:
100%
OVLD
POUT
429
Column
Function
SENS
PLC
430
Function
NR
TOOL
IDX
PREF
ST
AFC
431
432
433
Activating/deactivating AFC
U
434
Log file
In a teach-in cut, the TNC saves for each machining step relevant data
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
TOOL
IDX
SNOM
SDIF
LTIME
CTIME
TDIFF
PMAX
PREF
FMIN
OVLD
BLOCK
435
The TNC records the total machining time for all teach-in
cuts (LTIME), all control cuts (CTIME) and the total time
difference (TDIFF), and enters it after the keyword TOTAL
in the last line of the log file.
The TNC can only calculate the time difference (TDIFF) if
you have completed the teach-in step. Otherwise the
column remains empty.
Proceed as follows to select the <name>.H.AFC2.DEP file:
436
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.
437
438
439
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
8 L Z+0 R0 F MAX
9 LBL 1
Set a mark
10 L IZ-2.5 F1000
12 L IZ-2.5 F1000
15 L Z+100 R0 F MAX M2
440
441
Function
Meaning
FILE COPY
Copy a file:
Enter the name and path of the file to
be copied, as well as the target path.
FILE MOVE
Move a file:
Enter the name and path of the file to
be moved, as well as the target path.
FILE DELETE
Delete a file:
Enter the path and name of the file to
be deleted.
442
Soft key
Select transformations
Example: NC block
13 TRANS DATUM AXIS X+10 Y+25 Z+42
443
Select transformations
Example: NC block
13 TRANS DATUM TABLE TABLINE25
444
Select transformations
Example: NC block
13 TRANS DATUM RESET
445
Example: NC blocks
13 SEL PGM ROT34.H
14 ...
33 CALL PGM SELECTED
34 ...
66 SEL PGM QS35
446
11.11 smartWizard
11.11 smartWizard
Application
The new smart wizard completely unifies the worlds of smarT.NC and
conversational programming. The strengths of both worlds are now
available in a single user interface. You can now combine the full
flexibility of conversational programming, based on NC blocks, at any
location with the fast, form-based workstep programming method of
smarT.NC.
Programming is significantly faster particularly in combination with SL
cycles, the DXF converter or the graphically supported definition of
any machining patterns. All other machining units available in
smarT.NC also simplify the creation of conversational programs.
447
11.11 smartWizard
Insert UNIT
An overview of all the UNITs available is to be found in the
smarT.NC pilot. The pilot also describes the fundamentals
of working with UNITs and how to navigate in the forms.
448
11.11 smartWizard
Edit UNIT
Changes can be made either in the form or directly in the appropriate
conversational program block. Here you can decide yourself which
method you prefer.
If you want to modify the conversational program block concerned,
use the arrow keys to select the value to be corrected.
If you want to make changes via the form, proceed as follows:
U
U
U
449
To leave the text editor, call the file manager and select a file of a
different file type, for example a part program.
Cursor movements
Soft key
450
Editing functions
Key
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:
Line:
Column:
INSERT:
OVERWRITE:
451
Move the cursor to the word or line that you wish to erase and insert
at a different place in the text
Press the DELETE WORD or DELETE LINE soft key. The text is
placed in the buffer memory
Move the cursor to the location where you wish to insert the text,
and press the RESTORE LINE/WORD soft key
Function
Soft key
452
To select a text block, move the cursor to the first character of the
text you wish to select
U Press the SELECT BLOCK soft key
U
After selecting the desired text block, you can edit the text with the
following soft keys:
Function
Soft key
Move the cursor to the location where you want to insert the
temporarily stored text block
U Press the INSERT BLOCK soft key for the text block
to be inserted
You can insert the temporarily stored text block as often as desired
To transfer the selected text to a different file
U Select the text block as described previously
U Press the APPEND TO FILE soft key. The TNC
displays the dialog prompt Destination file =
U
Enter the path and name of the file you want to insert
453
454
Applications
In cutting data tables containing various workpiece and cutting
material combinations, the TNC can use the cutting speed VC and the
tooth feed Z to calculate the spindle speed S and the feed rate F. This
calculation is only possible if you defined the workpiece material in the
program and various tool-specific features in the tool table.
Before you let the TNC automatically calculate the cutting
data, the tool table from which the TNC is to take the toolspecific data must be first be activated in the Test Run
mode (status S).
Editing function for cutting data tables
Insert line
Soft key
DATEI: TOOL.T
T
R
CUT.
0
...
...
1
...
...
2
+5 4
3
...
...
4
...
...
MM
TMAT
...
...
HSS
...
...
CDT
...
...
PRO1
...
...
DATEI: PRO1.CDT
NR WMAT TMAT
0
...
...
1
...
...
2
ST65
HSS
3
...
...
4
...
...
Vc1
...
...
40
...
...
TYP
...
...
MILL
...
...
F1
...
...
0.06
...
...
Delete line
Go to beginning of next line
Sort the table
Copy the highlighted field (2nd soft-key row)
Insert the copied field (2nd soft-key row)
Edit the table format (2nd soft-key row)
455
456
457
458
4
5
6
7
459
Entries in TNC.SYS
Meaning
WMAT=
TMAT=
PCDT=
Example of TNC.SYS
WMAT=TNC:\CUTTAB\WMAT_GB.TAB
TMAT=TNC:\CUTTAB\TMAT_GB.TAB
PCDT=TNC:\CUTTAB\
460
461
Press the EDIT FORMAT soft key (2nd soft-key level). The TNC
opens the editing window, in which the table structure is shown
rotated by 90. In other words, a line in the editing window defines
a column in the associated table. The meanings of the structure
commands (header entries) are shown in the following table.
Structure
command
Meaning
NR
Column number
NAME
Column name
TYPE
N: Numerical input
C: Alphanumeric input
L: Input value in long format
X: Permanently defined format for date and time:
hh:mm:ss dd.mm.yyyy
WIDTH
DEC
ENGLISH
to
HUNGARIA
462
Press the FORM LIST soft key. The TNC switches to the view that
is not highlighted in the soft key.
In the form view the TNC lists the line numbers with the contents of
the first column in the left half of the screen.
In the right half you can change the data.
U
U
U
Press the key or click in the ENT entry field with the mouse.
To save any data you have changed, press the END key or the SAVE
soft key.
To discard any changes, press the DEL key or the CANCEL soft key.
The TNC aligns the entry fields on the right side leftjustified 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.
463
464
465
466
Programming:
Multiple Axis Machining
Description
Page
PLANE
Page 469
PLANE/M128
Inclined-tool machining
Page 491
FUNCTION TCPM
Define the behavior of the TNC when positioning the rotary axes (improvement of
M128)
Page 493
M116
Page 498
M126
Page 499
M94
Page 500
M114
Define the behavior of the TNC when positioning the rotary axes
Page 501
M128
Define the behavior of the TNC when positioning the rotary axes
Page 503
M134
Page 506
M138
Page 506
M144
Page 507
LN blocks
Page 508
SPL blocks
Spline interpolation
Page 519
468
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Required parameters
SPATIAL
Page 473
PROJECTED
Page 475
EULER
Page 477
VECTOR
Page 479
POINTS
Page 481
RELATIVE
Single, incrementally
effective spatial angle
Page 483
AXIAL
Up to three absolute or
incremental axis angles
A, B, C
Page 484
RESET
Page 472
Soft key
Page
469
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
470
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Select the desired function directly via soft key. The TNC continues
the dialog and requests the required parameters
Position display
As soon as a 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 space 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.
471
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Example: NC block
25 PLANE RESET MOVE SET-UP50 F1000
472
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
473
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U 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
U
Abbreviations used
Abbreviation
Meaning
SPATIAL
Spatial = in space
SPA
SPB
SPC
Example: NC block
5 PLANE SPATIAL SPA+27 SPB+0 SPC+45 .....
474
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
475
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U 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).
U
NC block
5 PLANE PROJECTED PROPR+24 PROMIN+24 ROT+30 .....
Abbreviations used
Abbreviation
Meaning
PROJECTED
Projected
PROPR
Principal plane
PROMIN
Minor plane
ROT
Rotation
476
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
477
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U Rot. angle main coordinate plane?: Rotary angle
EULPR 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
U
NC block
5 PLANE EULER EULPR45 EULNU20 EULROT22 .....
Abbreviations used
Abbreviation
Meaning
EULER
EULPR
EULNU
EULROT
478
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
479
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U 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
U
NC block
5 PLANE VECTOR BX0.8 BY-0.4 BZ-0.42 NX0.2 NY0.2 NZ0.92 ..
Abbreviations used
Abbreviation
Meaning
VECTOR
Vector
BX, BY, BZ
NX, NY, NZ
480
Function
A machining plane can be uniquely defined by entering any three
points P1 to P3 in this plane. This possibility is realized in the PLANE
POINTS function.
P3
P2
+Z
P1
+X
+Y
481
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U X coordinate of 1st plane point?: X coordinate P1X
of the 1st plane point (see figure at top right).
U
NC block
5 PLANE POINTS P1X+0 P1Y+0 P1Z+20 P2X+30 P2Y+31 P2Z+20
P3X+0 P3Y+41 P3Z+32.5 .....
Abbreviations used
Abbreviation
Meaning
POINTS
482
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Abbreviations used
Abbreviation
Meaning
RELATIVE
Example: NC block
5 PLANE RELATIVE SPB-45 .....
483
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
484
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Input parameters
U Axis angle A?: Axis angle to which the A axis is to
be tilted. If entered incrementally, it is the angle by
which the A axis is to be tilted from its current
position. Input range: 99999.9999 to +99999.9999
U
Abbreviations used
Abbreviation
Meaning
Example: NC block
5 PLANE AXIAL B-45 .....
AXIAL
485
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
If you have selected the MOVE (PLANE function is to position the axes
automatically), the following two parameters must still be defined:
Dist. tool tip center of rot. and Feed rate? F=.
If you have selected the TURN option (PLANE function is to position the
axes automatically without any compensating movement), the
following parameters must still be defined: Retraction length MB and
Feed rate? F=.
As an alternative to defining a feed rate F directly by numerical value,
you can also position with FMAX (rapid traverse) or FAUTO (feed rate from
the TOOL CALL block).
If you use 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 488).
486
Dist. tool tip center of rot. (incremental): The TNC tilts the
tool (or table) relative to the tool tip. The SET UP parameter shifts the
center of rotation of the tilting movement relative to the current
position of the tool tip.
If the tool is already at the given distance to the
workpiece before positioning, then relatively speaking
the tool is at the same position after positioning (see
figure at center right, 1 = SET UP)
If the tool is not at the given distance to the workpiece
before positioning, then relatively speaking the tool is
offset from the original position after positioning (see
figure at bottom right, 1 = SET UP)
U
U
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
1
1
487
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
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
...
488
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
If you do not define SEQ, the TNC determines the solution as follows:
1
2
3
4
The TNC first checks whether both solution possibilities are within
the traverse range of the rotary axes.
If they are, then the TNC selects the shortest possible solution.
If only one solution is within the traverse range, the TNC selects
this solution.
If neither solution is within the traverse range, the TNC displays
the Entered angle not permitted error message.
489
12.2 The PLANE Function: Tilting the Working Plane (Software Option 1)
Starting
position
SEQ
Resulting axis
position
None
A+0, C+0
not prog.
A+45, C+90
None
A+0, C+0
A+45, C+90
None
A+0, C+0
A45, C90
None
A+0, C-105
not prog.
A45, C90
None
A+0, C-105
A+45, C+90
None
A+0, C-105
A45, C90
A+0, C+0
not prog.
A45, C90
A+0, C+0
Error message
None
A+0, C135
A+45, C+90
490
IB
Example NC blocks:
...
12 L Z+50 R0 FMAX M128
14 L IB-17 F1000
...
491
Example NC blocks:
...
12 L Z+50 R0 FMAX M128
...
492
Function
B
Z
X
For tilted axes with Hirth coupling:
Only change the position of the tilted axis after retracting
the tool. Otherwise you might damage the contour when
disengaging from the coupling.
493
Example NC blocks:
...
13 FUNCTION TCPM F TCP ...
...
494
...
18 FUNCTION TCPM F TCP AXIS SPAT ...
...
495
...
496
Example NC block:
...
25 FUNCTION RESET TCPM
...
497
498
Nominal position
Traverse
350
10
340
10
340
+330
Nominal position
Traverse
350
10
+20
10
340
30
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
499
538
180
-358
500
Standard behavior
The TNC moves the tool to the positions given in the part program. If
the position of a tilted axis changes in the program, the resulting offset
in the linear axes must be calculated by a postprocessor and traversed
in a positioning block. As the machine geometry is also relevant, the
NC program must be calculated separately for each machine tool.
Behavior with M114
The machine geometry must be specified by the machine
tool builder in the description of kinematics.
B
dx
dz
If your machine tool does not have controlled tilted axes (head tilted
manually or positioned by the PLC), you can enter the current valid
swivel head position after M114 (e.g. M114 B+45, Q parameters
permitted).
The radius compensation must be calculated by a CAD system or by a
postprocessor. A programmed radius compensation RL/RR will result
in an error message.
dB
501
502
Standard behavior
The TNC moves the tool to the positions given in the part program. If
the position of a tilted axis changes in the program, the resulting offset
in the linear axes must be calculated, and traversed in a positioning
block.
Behavior with M128 (TCPM: Tool Center Point Management)
The machine geometry must be specified by the machine
tool builder in the description of kinematics.
Z
X
Z
in the
503
3
4
5
504
505
506
507
Z
Y
If, in addition, you want to carry out a tool orientation or a threedimensional radius compensation, these blocks need also a
normalized vector with the components TX, TY and TZ, which
determines the tool orientation (see Definition of a normalized
vector on page 509).
PT
NX
NZ
NY
Z
Y
X
TZ
TY
508
TX
R2
PT
PT
R2
PT'
PT
PT
PSP
509
R
L
R2
DR2>0
DL>0
510
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.
511
512
RL
RR X
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.
513
514
Straight line
Compensated coordinates of the straight-line end point
Straight line
Coordinates of the rotary axes for tool orientation
Radius compensation
Feed rate
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 deviations are
between 0.005 and 0.01 mm.
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
angle value.
DR2+0.002
DR20.004
515
Compensation-value table
The laser measuring cycle 598 automatically creates the
compensation value table. In this regard, please note the
documentation for laser measuring cycles.
If you wish to create and fill the compensation value table with data
yourself, proceed as follows:
U
U
+180
+90
516
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:
Angle value
Compensation value
40
+0.03 mm (measured)
50
-0.02 mm (measured)
45 (contact point)
+0.005 mm (interpolated)
NOM - DR2
+0.04
+0.03
+0.02
+0.01
+0.005
0
0.01
40
45
50
ANGLE
0.02
0.03
0.04
517
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.
NC Program
3-D ToolComp works only with programs that contain a surface normal
vector (see Definition of a normalized vector on page 509). The
following must be considered for NC program generation by means of
the CAM system:
NZ
NX
518
Z
N
NZ
TZ
TX
NX
10 ...
The TNC executes the spline block according to the following thirddegree 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
whereby the variable t runs from 1 to 0. The incrementation of t
depends on the feed rate and the length of the spline.
Example: Block format for five axes
7 L X+33.909 X-25.838 Z+75.107 A+17 B-10.103 FMAX
9 ...
519
The TNC executes the spline block according to the following thirddegree 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
whereby the variable t runs from 1 to 0. The incrementation of t
depends on the feed rate and the length of the spline.
For every end-point coordinate in the spline block, the
spline parameters K3 to K1 must be programmed. The
end-point coordinates can be programmed in any
sequence within the spline block.
The TNC always expects the spline parameters K for each
axis in the sequence K3, K2, K1.
Beside the principal axes X, Y and Z, the TNC can also
process the secondary axes U, V and W, and the rotary
axes A, B and C. The respective corresponding axis must
then be programmed in the spline parameter K
(e.g. K3A+0.0953 K2A-0.441 K1A+0.5724).
If the absolute value of a spline parameter K becomes
greater than 9.99999999, then the post processor must
output K in exponential notation (e.g. K3X+1.2750 E2).
The TNC can execute a program with spline blocks even
when the working plane is tilted.
Ensure that the transitions from one spline to the next are
as tangential as possible (directional changes of less than
0.1). The TNC otherwise performs an exact stop if the
filter functions are disabled, resulting in a jolting of the
machine tool. If the filter functions are active, the TNC
decreases the feed rate accordingly at these positions.
The spline starting point can deviate from the end point of
the previous contour by no more than 1 m. Larger
deviations will provoke an error message.
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)
520
Programming:
Pallet Editor
522
Position
Meaning
Actual values
Reference
values
ACTL measured
values
REF measured
values
With the arrow keys and ENT, select the position that you wish to
confirm. Then press the ALL VALUES soft key so that the TNC saves
the respective coordinates of all active axes in the pallet table. With
the PRESENT VALUE soft key, the TNC saves the coordinates of the
axis on which the highlight in the pallet table is presently located.
If you have not defined a pallet before an NC program, the
programmed coordinates are then referenced to the
machine datum. If you do not define an entry, the datum
that was set manually remains active.
Editing function
Soft key
523
Editing function
Soft key
Press the PGM MGT soft key to call the file manager.
To select a different type of file, press the SELECT TYPE soft key
and the soft key for the desired file type, for example SHOW.H.
Select the desired file
524
525
If your machine tool builder has enabled the pallet preset table, you
can edit the pallet preset table in Manual mode:
U
U
Soft key
526
U
U
U
527
528
Position
Meaning
Actual values
Reference
values
ACTL measured
values
REF measured
values
529
With the arrow keys and ENT, select the position that you wish to
confirm. Then press the ALL VALUES soft key so that the TNC saves
the respective coordinates of all active axes in the pallet table. With
the PRESENT VALUE soft key, the TNC saves the coordinates of the
axis on which the highlight in the pallet table is presently located.
If you have not defined a pallet before an NC program, the
programmed coordinates are then referenced to the
machine datum. If you do not define an entry, the datum
that was set manually remains active.
SP-X, SP-Y, SP-Z (entry optional, other axes also possible):
Safety positions can be entered for the axes. These positions can be
read with SYSREAD FN18 ID510 NR 6 from NC macros. SYSREAD
FN18 ID510 NR 5 can be used to determine if a value was
programmed in the column. The positions entered are only
approached if these values are read and correspondingly
programmed in the NC macros.
CTID (entered by the TNC):
The context ID number is assigned by the TNC and contains
instructions about the machining progress. Machining cannot be
resumed if the entry is deleted or changed.
FIXTURE
In this column you can enter a fixture archive (ZIP file), that the TNC
is to automatically activate during machining of the pallet table. You
have to use the fixture management to archive fixture archives (see
Manage fixtures on page 410)
Editing function in table mode
Soft key
530
Soft key
531
Soft key
Delete fixture
Delete workpiece
Delete buffer memory contents
Tool-optimized machining
Workpiece-optimized machining
Connect or separate the types of machining
Mark level as being empty
Mark level as being unmachined
532
533
534
535
536
537
538
If the entries TO or CTO for all workpieces within a group contain the
status ENDED, the next lines in the pallet file are run.
In mid-program startup, only one tool-oriented machining
operation is possible. Subsequent pieces are machined
according to the method entered.
The value entered in the CT-ID field is stored for a
maximum of 2 weeks. Within this time the machining
process can be continued at the stored location. After this
time the value is deleted, in order to prevent large
amounts of unnecessary data on the hard disk.
The operating mode can be changed after executing a
group of entries with TO or CTO.
The following functions are not permitted:
Switching the traverse range
PLC datum shift
M118
Press the PGM MGT soft key to call the file manager.
To select a different type of file, press the SELECT TYPE soft key
and the soft key for the desired file type, for example SHOW.H.
Select the desired file
U
U
U
539
540
542
543
544
Switch-off
To prevent data from being lost at switch-off, you need to shut down
the operating system of the TNC as follows:
U
545
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 558.
546
16
JOG INCREMENT =
Enter the jog increment in mm, and confirm with the
ENT key.
547
548
3
4
4
5
6
8
7
8
9
10
14
11
12
15
13
16
17
18
19
549
Handwheel display
The handwheel display (see image) consists of a header and 6 status
lines in which the TNC shows the following information:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
550
1
3
4
5
5
7
12
6
2
8
10
11
2
13
14
551
552
If the TNC has triggered an emergency stop you must reactivate the
handwheel. Proceed as follows:
U
U
U
Press the handwheel soft key F1 (AX): The TNC displays all active
axes on the handwheel display. The currently active axis blinks
Select the desired axis (e.g. the VT axis) with the handwheel soft
keys F1 (->) or F2 (<-) and confirm with the handwheel soft key F3
(OK)
553
Select the desired operating mode via the OPM soft key if necessary
(see Changing Modes of Operation on page 556).
554
Potentiometer settings
The potentiometers of the machine operating panel continue to be
active after you have activated the handwheel. If you want to use the
potentiometers on the handwheel, proceed as follows:
U
Press the CTRL and Handwheel keys 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.
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.
U
U
555
556
557
Entering values
Spindle speed S, miscellaneous function M
To enter the spindle speed, press the S soft key.
SPINDLE SPEED S =
1000
558
559
560
Explanation of terms
Safety-related operating modes
Designation
Short description
SOM_1
SOM_2
SOM_3
SOM_4
Safety functions
Designation
Short description
STO
SOS
SLS
561
U
U
562
Press the INFO SOM soft key: The TNC opens the
window containing the overview of permitted speeds
and feed rates
Column
Meaning
SLS2
SLS3
SLS4
563
Short description
STO
SLS
SOS
STO
564
You fix a datum by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
U
U
U
565
Protective measure
If the workpiece surface must not be scratched, you can
lay a metal shim of known thickness d on it. Then enter a
tool axis datum value that is larger than the desired datum
by the value d.
Z
Y
-R
-R
X
Move the tool slowly until it touches (scratches) the
workpiece surface
566
567
Danger of collision!
Keep in mind that moving an indexing feature on your
machine table (realized by changing the kinematics
description) requires you to redefine any workpiece-based
presets.
568
569
Function
Soft key
570
Soft key
571
572
Soft key
Page
Page 578
Page 579
Page 583
Page 587
Page 588
Page 589
Page 590
Page 591
Page 591
Page 591
573
574
575
576
577
Set the datum in the spindle axis such that for the machine tool table
Z=0.
U To select the calibration function for the touch probe
length, press the TOUCH PROBE and CAL. L soft
keys. The TNC then displays a menu window with
four input fields.
578
Z
Y
5
Z
Y
X
10
In the Manual Operation mode, position the ball tip in the bore of the
ring gauge
U To select the calibration function for the ball-tip radius
and the touch probe center misalignment, press the
CAL. R soft key
U
Select the tool axis and enter the radius of the ring
gauge
Probing: press the NC Start button four times. The 3D touch probe contacts a position on the hole in each
axis direction and calculates the effective ball-tip
radius
Probing: press the NC Start button four times. The 3D touch probe contacts a position on the hole in each
axis direction and calculates the ball-tip center
misalignment
579
580
Introduction
The TNC electronically compensates workpiece misalignment by
computing a basic rotation.
For this purpose, the TNC sets the rotation angle to the desired angle
with respect to the reference axis in the working plane. See figure at
right.
PA
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.
581
Overview
Cycle
Soft key
582
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 preset table
The TNC shows an active pallet preset in the additional status display
(see General pallet information (PAL tab) on page 85).
583
584
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 process. and
have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Probing cylindrical studs
Position the ball tip at a starting position near the first touch point of
the stud. Select the probing direction by soft key and press the
machine START button to start probing. Perform the above procedure
four times.
Saving a basic rotation in the preset 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
U Press the ENTRY IN PRESET TABLE soft key to save the basic
rotation in the preset table
U
585
Workpiece alignment:
Danger of collision!
Retract the touch probe before alignment so as to exclude
a collision with the fixtures or workpieces.
U
U
U
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
586
Function
Page
Page 587
Page 588
Page 589
Page 590
Danger of collision!
Note that during an active datum shift the TNC always
bases the probed value on the active preset (or on the
reference point most recently set in the Manual operating
mode), although the datum shift is included in the position
display.
Z
Y
X
587
Y=?
P
X=?
U
U
588
With this function, you can set the datum at the center of bore holes,
circular pockets, cylinders, studs, circular islands, etc.
Inside circle:
The TNC automatically probes the inside wall in all four coordinate axis
directions.
Y+
For incomplete circles (circular arcs) you can choose the appropriate
probing direction.
U
X+
Y
X+
Y+
Outside circle:
U Position the touch probe at a position near the first touch point
outside of the circle.
U Select the probe direction by soft key.
U Probing: press the NC Start button
U Repeat the probing process for the remaining three points. See
figure at lower right.
U Datum: Enter the coordinates of the datum and confirm your entry
with the SET DATUM soft key, or write the values to a table (see
"Writing the measured values from touch probe cycles in datum
tables", page 575, or see "Writing the measured values from touch
probe cycles in the preset table", page 576, or see "Storing
measured values in the pallet preset table", page 577)
U To terminate the probe function, press the END key.
After the probing procedure is completed, the TNC displays the
coordinates of the circle center and the circle radius PR.
589
X+
X+
590
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 process. and
have the TNC repeat the probing procedure until all the holes have
been probed to set reference points.
Probing cylindrical studs
Position the ball tip at a starting position near the first touch point of
the stud. Select the probing direction by soft key and press the
machine START button to start probing. Perform the above procedure
four times.
Overview
Cycle
Soft key
591
The TNC shows the coordinates of the touch point as reference point.
Finding the coordinates of a corner in the working plane
Find the coordinates of the corner point: See Corner as datum
without using points that were already probed for a basic rotation. on
page 588. The TNC displays the coordinates of the probed corner as
reference point.
592
Datum: Enter 0.
The value displayed as datum is the distance between the two points
on the coordinate axis.
To return to the datum that was active before the length
measurement:
U
U
U
U
Select the probe function by pressing the PROBING POS soft key
Probe the first touch point again.
Set the datum to the value that you wrote down previously.
To terminate the dialog, press the END key.
Measuring angles
You can use the 3-D touch probe to measure angles in the working
plane. You can measure
the angle between the angle reference axis and a workpiece edge,
or
the angle between two sides
The measured angle is displayed as a value of maximum 90.
593
PA
U
U
U
Select the probe function by pressing the PROBING ROT soft key
Rotation angle: If you need the current basic rotation later, write
down the displayed rotation angle.
Make a basic rotation with first workpiece edge (see
Compensating Workpiece Misalignment with a 3-D Touch Probe
on page 581)
Probe the second edge as for a basic rotation, but do not set the
rotation angle to zero!
Press the PROBING ROT soft key to display the angle PA between
the sides as the rotation angle.
Cancel the basic rotation, or restore the previous basic rotation by
setting the rotation angle to the value that you wrote down
previously.
594
Z
L?
Y
a?
100
a?
10
100
Confirm the position: Press the actual-positioncapture key for the TNC to save the current position
Confirm the position: Press the actual-positioncapture key for the TNC to save the current position
595
Z
B
10
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 El. Handwheel mode, see "Activating manual tilting", page
600
Tilting under program control, Cycle 19 WORKING PLANE in the part
program (see Users Manual, Cycles, Cycle 19 WORKING PLANE)
Tilting under program control, PLANE function in the part program
(see The PLANE Function: Tilting the Working Plane (Software
Option 1) on page 469)
The TNC functions for "tilting the working plane" are coordinate
transformations. The working plane is always perpendicular to the
direction of the tool axis.
596
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 tableand therefore the workpieceby 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 machineand therefore the toolin 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).
597
598
599
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 PLANE function in the part program, the angle values defined
there are in effect. Angle values entered in the menu will be
overwritten.
600
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 toolaxis direction function is active.
This function is even available when you interrupt
program run and want to move the axes manually.
601
602
Positioning with
Manual Data Input
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).
604
First you pre-position the tool with straight-line blocks to the hole
center coordinates at a setup clearance of 5 mm above the workpiece
surface. Then drill the hole with Cycle 200 DRILLING.
Z
Y
50
50
2 L Z+200 R0 FMAX
Q200=5
;SETUP CLEARANCE
Q201=-15
;DEPTH
Q206=250
Q202=5
;PLUNGING DEPTH
Q210=0
Q203=-10
;SURFACE COORDINATE
Q204=20
Q211=0.2
5 CYCL CALL
6 L Z+200 R0 FMAX M2
End of program
605
Example 1
A hole with a depth of 20 mm is to be drilled into a single workpiece.
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines.
Write down the rotation angle and cancel the basic rotation.
606
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.
If you wish to delete $MDI, then
you must not have selected the Positioning with MDI
mode (not even in the background)
you must not have selected the $MDI file in the
Programming and Editing mode.
For more information: see "Copying a single file", page 126.
607
608
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 blank form definition
no program is selected
Using the new 3-D graphics in the Test Run mode, you can
now also graphically display machining operations in the
tilted working plane as well as multi-sided machining
operations, provided that you have already simulated the
program in another view. You need at least the MC 422 B
hardware in order to use this function. In order to increase
the speed of the test graphics on older hardware versions,
bit 5 of MP7310 should be set to 1. This deactivates
functions which were implemented specifically for the 3D graphics.
The TNC graphic does not show a radius oversize DR that
has been programmed in the TOOL CALL block.
Graphic simulation for special applications
NC programs usually contain a tool call with a defined tool number,
which automatically determines the tool data for graphic simulation.
For special applications that do not require any tool data (e.g. laser
cutting, laser drilling or waterjet cutting), you can set Machine
Parameters 7315 to 7317 such that the TNC will run a graphic
simulation even if no tool data are activated. However, you always
need a tool call with the definition of the tool axis orientation (e.g. TOOL
CALL Z). The tool number does not need to be entered.
610
16.1 Graphics
Soft key
611
16.1 Graphics
Soft key
Plan view
Projection in three planes
3-D view
Plan view
This is the fastest of the graphic display modes.
If your machine has a mouse, the status bar shows the
depth of any location on the workpiece when you move
the mouse pointer over it.
612
16.1 Graphics
Projection in 3 planes
Similar to a workpiece drawing, the part is displayed with a plan view
and two sectional planes. A symbol to the lower left indicates whether
the display is in first-angle or third-angle projection method according
to ISO 128 (selected with MP7310).
Details can be isolated in this display mode for magnification (see
"Magnifying details", page 617).
In addition, you can shift the sectional planes with the corresponding
soft keys:
U
Shift the soft-key row until the soft key for the
functions for shifting the sectional plane appears
Function
Soft keys
613
16.1 Graphics
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 blank 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 617.
U
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.
614
16.1 Graphics
Function
Soft keys
You can also use the mouse with the 3-D graphics. The following
functions are available:
U
U
U
615
16.1 Graphics
Switch the frame overlay display for the workpiece blank on/off:
U Shift the soft-key row until the soft key for the rotating and
magnification/reduction appears
U Select functions for rotating and magnifying/reducing:
616
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
16.1 Graphics
Magnifying details
You can magnify details in all display modes in the Test Run mode and
a Program Run mode.
The graphic simulation or the program run, respectively, must first
have been stopped. A detail magnification is always effective in all
display modes.
Changing the detail magnification
The soft keys are listed in the table
U
U
Function
Soft keys
617
16.1 Graphics
Soft key
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.
Soft key
618
16.1 Graphics
Stopwatch functions
Soft key
During the Test Run, the TNC resets the machining time
as soon as a new BLK FORM is evaluated.
619
Soft key
620
621
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 Test Run 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.
622
Call the file manager with the PGM MGT key and
select the file you wish to test, or
Soft key
623
624
You can use this function to test programs whose kinematics does not
match the active machine kinematics (e.g. on machines with head
change or traverse range switchover).
If your machine manufacturer saved different kinematic configurations
in your machine, you can activate one of these kinematics
configurations with the MOD function and use it for a test run. The
active machine kinematics will remain unchanged.
U
Show the available kinematics configurations in a popup window (shift the soft-key row, if necessary).
625
You can use this function on machines, where you want to define the
working plane by manually setting the machine axes.
U
626
627
628
Interrupting machining
There are several ways to interrupt a program run:
Programmed interruptions
Pressing the machine STOP button
Switching to "Single Block program run
Programming of noncontrolled axes (counter axes)
If the TNC registers an error during program run, it automatically
interrupts the machining process.
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:
STOP (with and without miscellaneous function)
Miscellaneous functions M0, M2 or M30
Miscellaneous function M6 (defined by the machine tool builder)
Interrupting the machining process with the machine STOP
button
U Press the machine STOP button: The block which the TNC is
currently executing is not completed. The asterisk in the status
display blinks
U If you do not wish to continue the machining process, you can reset
the TNC with the INTERNAL STOP soft key. The asterisk in the
status display goes out. In this case, the program must be restarted
from the program beginning
Interrupting the machining process by switching to the Program
Run, Single Block mode of operation
You can interrupt a program that is being run in the Program Run, Full
Sequence mode of operation by switching to the Program Run, Single
Block mode. The TNC interrupts the machining process at the end of
the current block.
Jumps within the program after an interruption
If program run is interrupted with the INTERNAL STOP function, the
TNC memorizes the current machining status. You can usually resume
machining with NC start. If you select other program lines with the
GOTO key, the TNC does not reset modally effective functions (e.g.
M136). This may have undesired effects, such as incorrect feed rates.
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.
629
630
631
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).
Resuming program run with the machine START button
You can resume program run by pressing the machine START button
if the program was interrupted in one of the following ways:
The machine STOP button was pressed
Programmed interruption
Resuming program run after an error
U Remove the cause of the error
U To clear the error message from the screen, press the CE key
U Restart the program, or resume program run where it was
interrupted
After a control software crash,
U Press and hold the END key for two seconds. This induces a TNC
system restart
U Remove the cause of the error
U Start again
If you cannot correct the error, write down the error message and
contact your repair service agency.
632
633
Danger of collision!
For safety reasons always check the distance to go to the
startup position after a block scan!
If you perform a mid-program startup in a program
containing M128, then the TNC performs any
compensation movements necessary. The compensation
movements are superimposed over the approach
movement!
634
635
636
637
In the Programming and Editing mode you select the block in which
the character is to be erased
U Erase the / character
638
639
640
MOD Functions
Select the desired MOD function in the displayed menu with the
arrow keys
To exit the MOD functions, press the END key or END soft key
642
MOD Functions
643
644
MOD Functions
Code number
123
NET123
555343
In addition, you can use the keyword version to create a file containing
all current software numbers of your control:
U
U
U
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
If necessary, you can output the file version.a saved in
the directory TNC:, and send it to your machine
manufacturer or HEIDENHAIN for diagnostic purposes.
645
U
U
646
MOD Functions
Operating
mode
Symbol
FE1
FE1
FE1
EXT1, EXT2
647
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
Test Run
PRINT TEST
Path
RS232:\....
RS422:\....
TNC:\....
servername:\....
Vacant
File names
Data
Operating mode
File name
Program Run
%FN15RUN.A
Test Run
%FN15SIM.A
648
MOD Functions
649
If you want to control data transfer from the TNC, establish the
connection with your PC in the following manner:
U
U
Exiting TNCremoNT
Select the menu items <File>, <Exit>
Refer also to the TNCremoNT context-sensitive help texts
where all of the functions are explained in more detail. The
help texts must be called with the F1 key.
650
MOD Functions
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.
The maximum cable length between TNC and a node
depends on the quality grade of the cable, the sheathing
and the type of network (100BaseTX or 10BaseT).
If you connect the TNC directly with a PC, you must use a
crossed cable.
TNC
PC
10BaseT / 100BaseTx
651
Setting
Meaning
Primary
interface
Computer name
Host file
Meaning
Interface list
Allow IP
forwarding
652
MOD Functions
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.
Profile
IP address
653
Setting
Meaning
Domain Name
Server (DNS)
Default
gateway
Apply the changes with the OK button, or discard them with the
Cancel button
Meaning
Proxy
Telemaintenance
654
MOD Functions
Select the Ping/Routing tab to enter the ping and routing settings:
Setting
Meaning
Ping
Routing
Select the NFS UID/GID tab to enter the user and group
identifications:
Setting
Meaning
Set UID/GID
for NFS shares
User ID:
Definition of which user identification the end
user uses to access files in the network. Ask
your network specialist for the proper value.
Group ID:
Definition of the group identification with
which you access files in the network. Ask
your network specialist for the proper value.
655
Meaning
Network drive
Status log
656
MOD Functions
657
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 197)
.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
197) 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
Software Option (AFC) on page 427).
.H.AFC2.DEP: File in which the TNC saves the statistical data of the
adaptive feed control (AFC) (see Adaptive Feed Control Software
Option (AFC) on page 427).
Changing the MOD setting for dependent files
To select the file manager in the Programming and Editing mode of
operation, press the PGM MGT key.
U Press the MOD key to select the MOD function.
U To select the Dependent files setting: Using the arrow keys, move
the highlight onto the Dependent files setting and use the ENT key
to switch between AUTOMATIC and MANUAL.
U
658
MOD Functions
659
660
MOD Functions
You can also activate the working-space monitor for the Test Run
mode in order to test the program with the current datum and the
active traverse ranges (see table below, last line).
Function
Soft key
661
Soft keys
662
MOD Functions
Application
In the Manual Operation mode and in the Program Run modes of
operation, you can select the type of coordinates to be displayed.
NOML.
ACTL.
Starting position
Target position of the tool
Workpiece datum
Machine datum
REF
Display
ACTL.
REF
LAG
NOML
DIST.
DG 3D
M118
21
DIST
31
41
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.
663
664
MOD Functions
665
666
MOD Functions
Application
The AXIS LIMIT MOD function allows you to set limits to axis traverse
within the machines actual working envelope.
Z max
Z min
Y
Xmin
Ymax
Xmax
Ymin
To allow a machine axis to use its full range of traverse, enter the
maximum traverse of the TNC (+/- 99 999 mm) as the TRAVERSE
RANGE.
667
Datum display
The values shown at the top right of the screen define the currently
active datum. The datum can have been set manually or can have been
activated from the preset table. The datum cannot be changed in the
screen menu.
The displayed values depend on your machine
configuration.
668
MOD Functions
669
Meaning
Control on
Machine on
Program run
670
MOD Functions
Press the YES soft key again to confirm that the check
should be started. This function shuts down the TNC
software and starts checking the data carrier. This
check can take some time, depending on the number
and size of the files that you have stored on the hard
disk
671
672
MOD Functions
17.19 TeleService
17.19 TeleService
Application
The TeleService functions are enabled and adapted by the
machine tool builder. Refer to your machine tool manual
for more information.
The TNC provides two soft keys for TeleService, making it
possible to configure two different service agencies.
The TNC allows you to carry out TeleService. To be able to use this
feature, your TNC should be equipped with an Ethernet card which
achieves a higher data transfer rate than the serial RS232-C interface.
With the HEIDENHAIN TeleService software, your machine tool
builder can then establish a connection to the TNC via an ISDN modem
and carry out diagnostics. The following functions are available:
On-line screen transfer
Polling of machine states
Data transfer
Remote control of the TNC
Calling/exiting TeleService
U
U
673
Meaning
REMOTE.PERMISSION=
REMOTE.TNCPASSWORD=
REMOTE.TNCPRIVATEPATH=
Path to be protected
Example of TNC.SYS
REMOTE.PERMISSION=PC2225;PC3547
REMOTE.TNCPASSWORD=KR1402
REMOTE.TNCPRIVATEPATH=TNC:\RK
Permitting/Restricting external access
U Select any machine mode of operation
U Press the MOD key to select the MOD function.
U Permit a connection to the TNC: Set the EXTERNAL
ACCESS soft key to ON. The TNC will then permit
data access through the LSV-2 interface. The
password is requested when a directory that was
entered in the configuration file TNC.SYS is accessed
U
674
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.
675
676
MOD Functions
677
Click the Set power button: The TNC shows the three
available power settings. Click the desired setting.
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 677)
or by increasing the transmitter power (see Selecting the transmitter
power on page 678).
To display the statistical data, proceed as follows:
U
U
678
MOD Functions
680
MP5020.x
7 data bits (ASCII code, 8th bit = parity): Bit 0 = 0
8 data bits (ASCII code, 9th bit = parity): Bit 0 = 1
Block Check Character (BCC) any: Bit 1 = 0
Block Check Character (BCC) control character not permitted: Bit 1 = 1
Transmission stop through RTS active: Bit 2 = 1
Transmission stop through RTS inactive: Bit 2 = 0
Transmission stop through DC3 active: Bit 3 = 1
Transmission stop through DC3 inactive: Bit 3 = 0
Character parity even: Bit 4 = 0
Character parity odd: Bit 4 = 1
Character parity undesired: Bit 5 = 0
Character parity desired: Bit 5 = 1
Number of stop bits that are transmitted at the end of a character:
1 stop bit: Bit 6 = 0
2 stop bits: Bit 6 = 1
1 stop bit: Bit 7 = 1
1 stop bit: Bit 7 = 0
Example:
Use the following setting to adjust the TNC interface EXT2 (MP 5020.1) to
an external non-HEIDENHAIN device:
8 data bits, any BCC, transmission stop through DC3, even character
parity, character parity desired, 2 stop bits
Input for MP 5020.1: %01101001
MP5030.x
Standard transmission: 0
Interface for blockwise transfer: 1
MP6010
Touch probe with cable transmission: 0
Touch probe with infrared transmission: 1
MP6120
1 to 3 000 [mm/min]
MP6130
0.001 to 99 999.9999 [mm]
MP6140
0.001 to 99 999.9999 [mm]
681
MP6150
1 to 300 000 [mm/min]
MP6151
Pre-position with speed from MP6150: 0
Pre-position at rapid traverse: 1
MP6160
No 180 rotation of the 3-D touch probe during calibration: 0
M function for 180 rotation of the touch probe during calibration: 1 to 999
MP6161
Function inactive: 0
Orientation directly through the NC: -1
M function for orienting the touch probe: 1 to 999
MP6162
0 to 359.9999 []
MP6163
0 to 3.0000 []
MP6165
Function inactive: 0
Orient infrared sensor: 1
MP6166
Function inactive: 0
Take basic rotation into account: 1
MP6170
1 to 3
MP6171
0.001 to 0.999 [mm]
682
MP6507
Calculate feed rate for second measurement with TT 130,
with constant tolerance: Bit 0 = 0
Calculate feed rate for second measurement with TT 130,
with variable tolerance: Bit 0 = 1
Constant feed rate for second measurement with TT 130: Bit 1 = 1
MP6510.0
0.001 to 0.999 [mm] (recommended input value: 0.005 mm)
MP6510.1
0.001 to 0.999 [mm] (recommended input value: 0.01 mm)
MP6520
1 to 3 000 [mm/min]
MP6540.0
0.001 to 30 000.000 [mm]
MP6540.1
0.001 to 30 000.000 [mm]
MP6550
10 to 10 000 [mm/min]
MP6560
0 to 999
1: Function inactive
MP6570
1.000 to 120.000 [m/min]
MP6572
0.000 to 1000.000 [rpm]
If you enter 0, the speed is limited to 1000 rpm
683
MP6585
Function inactive: 0
Monitor axis positions, definable bit-coded for each axis: 1
MP6586.0
Do not monitor the position of the A axis: 0
Monitor the position of the A axis: 1
MP6586.1
Do not monitor the position of the B axis: 0
Monitor the position of the B axis: 1
MP6586.2
Do not monitor the position of the C axis: 0
Monitor the position of the C axis: 1
MP6586.3
Do not monitor the position of the U axis: 0
Monitor the position of the U axis: 1
MP6586.4
Do not monitor the position of the V axis: 0
Monitor the position of the V axis: 1
MP6586.5
Do not monitor the position of the W axis: 0
Monitor the position of the W axis: 1
684
MP6600
0.001 to 0.999
MP6601
0.01 to 0.1
MP6602
Function inactive: -1
Position the rotary axis with a defined miscellaneous function: 0 to 9999
MP7160
Oriented spindle stop: 0
No oriented spindle stop: 1
Programming station
MP7210
TNC with machine: 0
TNC as programming station with active PLC: 1
TNC as programming station with inactive PLC: 2
Acknowledgment of
POWER INTERRUPTED
after switch-on
MP7212
Acknowledge with key: 0
Acknowledge automatically: 1
MP7220
0 to 150
MP7224.0
All file types selectable via soft key: %0000000
Disable selection of HEIDENHAIN programs (soft key SHOW .H): Bit 0 = 1
Disable selection of DIN/ISO programs (soft key SHOW .I): Bit 1 = 1
Disable selection of tool tables (soft key SHOW .T): Bit 2 = 1
Disable selection of datum tables (soft key SHOW .D): Bit 3 = 1
Disable selection of pallet tables (soft key SHOW .P): Bit 4 = 1
Disable selection of text files (soft key SHOW .A): Bit 5 = 1
Disable selection of point tables (soft key SHOW .PNT): Bit 6 = 1
MP7224.1
Do not disable editor: %0000000
Disable editor for
Note:
If a particular file type is
inhibited, the TNC will
erase all files of this type.
685
MP7224.2
Do not lock the EDITING ON/OFF soft key: %0000000
Lock the EDITING ON/OFF soft key for
Without function: Bit 0 = 1
Without function: Bit 1 = 1
Tool tables: Bit 2 = 1
Datum tables: Bit 3 = 1
Pallet tables: Bit 4 = 1
Without function: Bit 5 = 1
Point tables: Bit 6 = 1
MP7226.0
Pallet table inactive: 0
Number of pallets per pallet table: 1 to 255
MP7226.1
Datum table inactive: 0
Number of datums per datum table: 1 to 255
Program length up to
which the LBL
numbers are checked
MP7229.0
Blocks 100 to 9999
Program length up to
which FK blocks are
checked
MP7229.1
Blocks 100 to 9999
Dialog language
MP7230.0 to MP7230.3
English: 0
German: 1
Czech: 2
French: 3
Italian: 4
Spanish: 5
Portuguese: 6
Swedish: 7
Danish: 8
Finnish: 9
Dutch: 10
Polish: 11
Hungarian: 12
Reserved: 13
Russian (Cyrillic character set): 14 (only on the MC 422 B onwards)
Chinese (simplified): 15 (only on the MC 422 B onwards)
Chinese (traditional): 16 (only on the MC 422 B onwards)
Slovenian: 17 (only as of MC 422 B, software option)
Norwegian: 18 (only as of MC 422 B, software option)
Slovak: 19 (only as of MC 422 B, software option)
Latvian: 20 (only as of MC 422 B, software option)
Korean: 21 (only as of MC 422 B, software option)
Estonian: 22 (only as of MC 422 B, software option)
Turkish: 23 (only as of MC 422 B, software option)
Romanian: 24 (only as of MC 422 B, software option)
Lithuanian: 25 (only as of MC 422 B, software option)
686
MP7260
Inactive: 0
Number of tools generated by the TNC when a new tool table is opened: 1 to 254
If you require more than 254 tools, you can expand the tool table with the function APPEND N
LINES see "Tool Data", page 174
Configure pocket
tables
MP7261.0 (magazine 1)
MP7261.1 (magazine 2)
MP7261.2 (magazine 3)
MP7261.3 (magazine 4)
MP7261.4 (magazine 5)
MP7261.5 (magazine 6)
MP7261.6 (magazine 7)
MP7261.7 (magazine 8)
Inactive: 0
Number of pockets in the tool magazine: 1 to 9999
If the value 0 is entered in MP7261.1 through MP7261.7, the TNC uses only one tool magazine.
MP7262
Do not index: 0
Number of permissible indices: 1 to 9
Configuration of tool
table and pocket table
MP7263
Configuration settings for tool table and pocket table: %0000
Show the POCKET TABLE soft key in the tool table: Bit 0 = 0
Do not show the POCKET TABLE soft key in the tool table: Bit 0 = 1
External data transmission: Only transmit displayed columns: Bit 1 = 0
External data transmission: Transmit all columns: Bit 1 = 1
Show the EDIT ON/OFF soft key in the pocket table: Bit 2 = 0
Do not show the EDIT ON/OFF soft key in the pocket table: Bit 2 = 1
RESET COLUMN T and RESET POCKET TABLE soft keys active: Bit 3 = 0
RESET COLUMN T and RESET POCKET TABLE soft keys not active: Bit 3 = 1
Do not allow the deletion of tools if they are contained in the pocket table: Bit 4 = 0
Allow the deletion of tools if they are contained in the pocket table, deletion must be confirmed
by the user: Bit 4 = 1
Deletion of tools contained in the pocket table is possible with confirmation: Bit 5 = 0
Deletion of tools contained in the pocket table is possible without confirmation: Bit 5 = 1
Delete indexed tools without confirmation: Bit 6 = 0
Delete indexed tools with confirmation: Bit 6 = 1
687
688
MP7266.0
Tool name NAME: 0 to 42; column width: 32 characters
MP7266.1
Tool length L: 0 to 42; column width: 11 characters
MP7266.2
Tool radius R: 0 to 42; column width: 11 characters
MP7266.3
Tool radius 2 R2: 0 to 42; column width: 11 characters
MP7266.4
Oversize length DL: 0 to 42; column width: 8 characters
MP7266.5
Oversize radius DR: 0 to 42; column width: 8 characters
MP7266.6
Oversize radius 2 DR2: 0 to 42; column width: 8 characters
MP7266.7
Tool locked TL: 0 to 42; column width: 2 characters
MP7266.8
Replacement tool RT: 0 to 42; column width: 5 characters
MP7266.9
Maximum tool life TIME1: 0 to 42; column width: 5 characters
MP7266.10
Maximum tool life for TOOL CALL TIME2: 0 to 42; column width: 5 characters
MP7266.11
Current tool life CUR. TIME: 0 to 42; column width: 8 characters
MP7266.12
Tool comment DOC: 0 to 42; column width: 16 characters
MP7266.13
Number of teeth CUT.: 0 to 42; column width: 4 characters
MP7266.14
Tolerance for wear detection in tool length LTOL: 0 to 42; column width: 6 characters
MP7266.15
Tolerance for wear detection in tool radius RTOL: 0 to 42; column width: 6 characters
MP7266.16
Cutting direction DIRECT.: 0 to 42; column width: 7 characters
MP7266.17
PLC status PLC: 0 to 42; column width: 9 characters
MP7266.18
Offset of the tool in the tool axis in addition to MP6530 TT:L-OFFS: 0 to 42
column width: 11 characters
MP7266.19
Offset of the tool between stylus center and tool center TT:R-OFFS: 0 to 42
column width: 11 characters
MP7266.20
Tolerance for break detection in tool length LBREAK: 0 to 42; column width: 6 characters
MP7266.21
Tolerance for break detection in tool radius RBREAK: 0 to 42; column width: 6 characters
MP7266.22
Tooth length (Cycle 22) LCUTS: 0 to 42; column width: 11 characters
MP7266.23
Maximum plunge angle (Cycle 22) ANGLE.: 0 to 42; column width: 7 characters
MP7266.24
Tool type TYP: 0 to 42; column width: 5 characters
MP7266.25
Tool material TMAT: 0 to 42; column width: 16 characters
MP7266.26
Cutting data table CDT: 0 to 42; column width: 16 characters
MP7266.27
PLC value PLC-VAL: 0 to 42; column width: 11 characters
MP7266.28
Center misalignment in reference axis CAL-OFF1: 0 to 42; column width: 11 characters
MP7266.29
Center misalignment in minor axis CAL-OFF2: 0 to 42; column width: 11 characters
MP7266.30
Spindle angle for calibration CALL-ANG: 0 to 42; column width: 11 characters
MP7266.31
Tool type for the pocket tablePTYP: 0 to 42; column width: 2 characters
MP7266.32
Limitation of spindle speed NMAX: 0 to 42; Column width: 6 characters
MP7266.33
Retraction at NC stop LIFTOFF: 0 to 42; column width is 1 character
MP7266.34
Machine-dependent function P1: 0 to 42; column width: 10 characters
MP7266.35
Machine-dependent function P2: 0 to 42; column width: 10 characters
MP7266.36
Machine-dependent function P3: 0 to 42; column width: 10 characters
MP7266.37
Tool-specific kinematics description KINEMATIC: 0 to 42; column width: 16 characters
MP7266.38
Point angle T_ANGLE: 0 to 42; column width: 9 characters
MP7266.39
Thread pitch PITCH: 0 to 42; column width: 10 characters
MP7266.40
Adaptive feed control AFC: 0 to 42; column width: 10 characters
MP7266.41
Tolerance for wear detection in tool radius 2 R2TOL: 0 to 42; column width: 6 characters
MP7266.42
Name of the compensation-value table for 3-D tool radius compensation depending on the tool's
contact angle
MP7266.43
Date/Time of the last tool call
689
MP7267.0
Tool number T: 0 to 20
MP7267.1
Special tool ST: 0 to 20
MP7267.2
Fixed pocket F: 0 to 20
MP7267.3
Pocket locked L: 0 to 20
MP7267.4
PLC status PLC: 0 to 20
MP7267.5
Tool name from tool table TNAME: 0 to 20
MP7267.6
Comment from tool table DOC: 0 to 20
MP7267.7
Tool type PTYP: 0 to 20
MP7267.8
Value for PLC P1: 0 to 20
MP7267.9
Value for PLC P2: 0 to 20
MP7267.10
Value for PLC P3: 0 to 20
MP7267.11
Value for PLC P4: 0 to 20
MP7267.12
Value for PLC P5: 0 to 20
MP7267.13
Reserved pocket RSV: 0 to 20
MP7267.14
Pocket above locked LOCKED_ABOVE: 0 to 20
MP7267.15
Pocket below locked LOCKED_BELOW: 0 to 20
MP7267.16
Pocket at left locked LOCKED_LEFT: 0 to 20
MP7267.17
Pocket at right locked LOCKED_RIGHT: 0 to 20
MP7267.18
S1 value for PLC P6: 0 to 20
MP7267.19
S2 value for PLC P7: 0 to 20
Manual Operation
mode: Display of feed
rate
MP7270
Display feed rate F only if an axis direction button is pressed: 0
Display feed rate F even if no axis direction button is pressed (feed rate defined via soft key F or
feed rate of the slowest axis): 1
Decimal character
MP7280
The decimal character is a comma: 0
The decimal character is a point: 1
Select the
"Programming and
Editing" mode of
operation: Display of
multi-tiered NC blocks
MP7281.0
Always show all NC blocks completely: 0
Only show current block completely: 1
Only show NC block completely when editing: 2
690
MP7281.1
Always show all NC blocks completely: 0
Only show current block completely: 1
Only show NC block completely when editing: 2
MP7285
Display is referenced to the tool datum: 0
Display in the tool axis is referenced to the
tool face: 1
MP7289
0,1 : 0
0,05 : 1
0,01 : 2
0,005 : 3
0,001 : 4
0,0005 : 5
0,0001 : 6
Display step
MP7294
Do not disable datum setting: %00000000000000
Disable datum setting in the X axis: Bit 0 = 1
Disable datum setting in the Y axis: Bit 1 = 1
Disable datum setting in the Z axis: Bit 2 = 1
Disable datum setting in the IVth Disable axis: Bit 3 = 1
Disable datum setting in the Vth axis: Bit 4 = 1
Disable datum setting in the 6th axis: Bit 5 = 1
Disable datum setting in the 7th axis: Bit 6 = 1
Disable datum setting in the 8th axis: Bit 7 = 1
Disable datum setting in the 9th axis: Bit 8 = 1
Disable datum setting in the 10th axis: Bit 9 = 1
Disable datum setting in the 11th axis: Bit 10 = 1
Disable datum setting in the 12th axis: Bit 11 = 1
Disable datum setting in the 13th axis: Bit 12 = 1
Disable datum setting in the 14th axis: Bit 13 = 1
691
MP7295
Do not disable datum setting: %00000000000000
Disable datum setting in the X axis: Bit 0 = 1
Disable datum setting in the Y axis: Bit 1 = 1
Disable datum setting in the Z axis: Bit 2 = 1
Disable datum setting in the IVth Disable axis: Bit 3 = 1
Disable datum setting in the Vth axis: Bit 4 = 1
Disable datum setting in the 6th axis: Bit 5 = 1
Disable datum setting in the 7th axis: Bit 6 = 1
Disable datum setting in the 8th axis: Bit 7 = 1
Disable datum setting in the 9th axis: Bit 8 = 1
Disable datum setting in the 10th axis: Bit 9 = 1
Disable datum setting in the 11th axis: Bit 10 = 1
Disable datum setting in the 12th axis: Bit 11 = 1
Disable datum setting in the 13th axis: Bit 12 = 1
Disable datum setting in the 14th axis: Bit 13 = 1
MP7296
Do not disable datum setting: 0
Disable datum setting with the orange axis keys: 1
MP7300
Reset all when a program is selected: 0
Reset all when a program is selected and with M2, M30, END PGM: 1
Reset only status display and tool data when a program is selected: 2
Reset only status display, machining time and tool data when a program is selected and with M2,
M30, END PGM: 3
Reset status display, machining time and Q parameters when a program is selected: 4
Reset status display, machining time, and Q parameters when a program is selected and with
M2, M30, END PGM: 5
Reset status display and machining time when a program is selected: 6
Reset status display and machining time when a program is selected and with M2, M30, END
PGM: 7
MP7310
Projection in three planes according to ISO 128, projection method 1: Bit 0 = 0
Projection in three planes according to ISO 128, projection method 2: Bit 0 = 1
Display new BLK FORM in Cycle 7 DATUM SHIFT referenced to the old datum: Bit 2 = 0
Display new BLK FORM in Cycle 7 DATUM SHIFT referenced to the new datum: Bit 2 = 1
Do not show cursor position during projection in three planes: Bit 4 = 0
Show cursor position during projection in three planes: Bit 4 = 1
Software functions of the new 3-D graphics active: Bit 5 = 0
Software functions of the new 3-D graphics not active: Bit 5 = 1
Limitation of a tools
tooth length to be
simulated. Only
effective if LCUTS is
not defined.
MP7312
0 to 99 999.9999 [mm]
Factor by which the tool diameter is multiplied in order to increase the simulation speed. If 0 is
entered, the TNC assumes an infinitely long tooth length, which significantly increases the time
required for the simulation.
Graphic simulation
without programmed
tool axis: Tool radius
MP7315
0 to 99 999.9999 [mm]
692
MP7316
0 to 99 999.9999 [mm]
Graphic simulation
without programmed
tool axis: M function
for start
MP7317.0
0 to 88 (0: Function inactive)
Graphic simulation
without programmed
tool axis: M function
for end
MP7317.1
0 to 88 (0: Function inactive)
Screen saver
MP7392.0
0 to 99 [min]
Time in minutes until the screen saver switches on (0: Function not active)
MP7392.1
No screen saver is active: 0
Standard screensaver of the X server: 1
3-D line pattern: 2
693
MP7410
SCALING FACTOR effective in 3 axes: 0
SCALING FACTOR effective in the working plane only: 1
MP7411
The TNC saves the calibrated data for the 3-D touch probe internally: +0
The TNC uses the compensation values for the touch probe from the tool
table as calibration data for the 3-D touch probe: +1
SL cycles
MP7420
The following applies to Cycles 21, 22, 23, 24:
Mill channel around the contourclockwise for islands and
counterclockwise for pockets: Bit 0 = 0
Mill channel around the contourclockwise 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
MP7430
0.1 to 1.414
MP7431
0.0001 to 0.016 [mm]
MP7432
Function inactive: 0
Tolerance for the distance by which the software limit switch may be
exceeded with M140/M150: 0.0001 to 1.0000
694
MP7440
Program stop with M6: Bit 0 = 0
No program stop with M6: Bit 0 = 1
No cycle call with M89: Bit 1 = 0
Cycle call with M89: Bit 1 = 1
Program stop with M functions: Bit 2 = 0
No program stop with M functions: Bit 2 = 1
kV factors cannot be switched through M105 and M106: Bit 3 = 0
kV factors can be switched through M105 and M106: Bit 3 = 1
Reduce the feed rate in the tool axis with M103 F..
Function inactive: Bit 4 = 0
Reduce the feed rate in the tool axis with M103 F..
Function active: Bit 4 = 1
Reserved: Bit 5
Exact stop for positioning with rotary axes inactive: Bit 6 = 0
Exact stop for positioning with rotary axes active: Bit 6 = 1
MP7441
Display error message if M3/M4 not active: Bit 0 = 0
Suppress error message if M3/M4 not active: Bit 0 = 1
Reserved: Bit 1
Suppress error message if positive depth programmed: Bit 2 = 0
Display error message if positive depth programmed: Bit 2 = 1
MP7442
Function inactive: 0
Orientation directly through the NC: -1
M function for orienting the spindle: 1 to 999
MP7470
0 to 99 999 [mm/min]
MP7471
0 to 99 999 [mm/min]
MP7475
Datum shifts are referenced to the workpiece datum: 0
If the value 1 was entered in older TNC controls or in controls with
software 340 420-xx, datum shifts were referenced to the machine datum.
This function is no longer available. You must now use the preset table
instead of datum tables referenced to REF (see Datum management with
the preset table on page 567).
MP7485
0 to 100 [%]
695
18.2 Pin Layouts and Connecting Cables for the Data Interfaces
Adapter block
310 085-01
Female
Female
Male
Female
Male
Color
Female
White/Brown
Male
Assignment
Do not assign 1
RXD
Yellow
Yellow
TXD
Green
Green
DTR
Brown
20
20
20
20
Brown
Signal GND
Red
Red
DSR
Blue
RTS
Gray
Gray
CTS
Pink
Pink
Do not assign 9
Violet
20
Hsg.
Ext. shield
Hsg.
External shield
Hsg.
696
Hsg.
Color
External shield
Hsg.
Hsg.
Hsg.
18.2 Pin Layouts and Connecting Cables for the Data Interfaces
Adapter block
363 987-02
Male
Assignment
Female
Color
Male
Female
Male
Female
Color
Female
Do not assign
Red
Red
RXD
Yellow
Yellow
TXD
White
White
DTR
Brown
Brown
Signal GND
Black
Black
DSR
Violet
Violet
RTS
Gray
Gray
CTS
White/Green
White/Green
Do not assign
Green
Green
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 the connector layout 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 363 987-02 Connecting cable 366 964-xx
Female
Male
Female
Color
Female
Red
Yellow
White
Brown
Black
Violet
Gray
White/Green 7
Green
Hsg.
Hsg.
Hsg.
Ext. shield
Hsg.
697
18.2 Pin Layouts and Connecting Cables for the Data Interfaces
RS-422/V.11 interface
Only non-HEIDENHAIN devices are connected to the RS-422
interface.
The interface complies with the requirements of
EN 50 178 for low voltage electrical separation.
The pin layouts on the TNC logic unit (X28) and on the
adapter block are identical.
TNC
Connecting cable
355 484-xx
Adapter block
363 987-01
Female
Pin layout
Male Color
Female
Male
Female
RTS
Red
DTR
Yellow
RXD
White
TXD
Brown
Signal GND
Black
CTS
Violet
DSR
Gray
RXD
White /
Green
TXD
Green
Hsg.
Ext. shield
Hsg.
External Hsg.
shield
Hsg.
Hsg.
698
18.2 Pin Layouts and Connecting Cables for the Data Interfaces
Signal
Description
TX+
Transmit Data
TX
Transmit Data
REC+
Receive Data
Vacant
Not assigned
REC
Not assigned
Not assigned
Receive Data
699
Program entry
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 tables
Cutting-data tables
Cutting data tables for automatic calculation of spindle speed and feed rate from toolspecific data (cutting speed, feed per tooth)
Parallel operation
Creating a program with graphical support while another program is being run
3-D machining
(software option 2)
700
User functions
Contour elements
Straight line
Chamfer
Circular path
Circle center point
Circle radius
Tangentially connected arc
Corner rounding
Program jumps
Subroutines
Program-section repeat
Any desired program as subroutine
Fixed cycles
Drilling cycles for drilling, pecking, reaming, boring, tapping with a floating tap holder,
rigid tapping
Cycles for milling internal and external threads
Milling and finishing rectangular and circular pockets
Cycles for clearing level and inclined surfaces
Cycles for milling linear and circular slots
Linear and circular point patterns
Contour pocketsalso with contour-parallel machining
Contour train
OEM cycles (special cycles developed by the machine tool builder) can also be
integrated
Coordinate transformation
Q parameters
Programming with variables
Programming aids
Calculator
Context-sensitive help function for error messages
The context-sensitive help system TNCguide (FCL 3 function)
Graphic support for the programming of cycles
Comment blocks in the NC program
701
User functions
Actual position capture
Graphic simulation before program run, even while another program is being run
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
Machining time
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
Datum tables
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
Program memory
Input range
702
Specifications
Interpolation
Linear in 4 axes
Linear in 5 axes (subject to export permit) (software option 1)
Circular in 2 axes
Circular in 3 axes with tilted working plane (software option 1)
Helix:
Combination of circular and linear motion
Spline:
Execution of splines (3rd degree polynomials)
0.5 ms
Range of traverse
Spindle speed
Error compensation
Linear and nonlinear axis error, backlash, reversal peaks during circular movements,
thermal expansion
Stick-slip friction
Data interfaces
One each RS-232-C /V.24 and RS-422 / V.11 max. 115 kilobaud
Expanded interface with LSV-2 protocol for external operation of the TNC over the
interface with HEIDENHAIN software TNCremo.
Ethernet interface 100BaseT
Approx. 2 to 5 megabaud (depending on file type and network load)
USB 2.0 interface
For pointing (mouse) devices and block devices (memory sticks, hard disks, CD-ROM
drives)
Surrounding temperature
Operation: 0 C to +45 C
Storage: 30 C to +70 C
703
Accessories
Electronic handwheels
Touch probes
704
Coordinate transformation
Interpolation
Software option 2
3-D machining
Interpolation
Slovenian
Norwegian
Slovak
Latvian
Korean
Estonian
Turkish
Romanian
Lithuanian
705
Software option 1
Swapping axes
Superimposed datum shift
Superimposed mirroring
Axis locking
Handwheel superimposition
Superimposed basic rotation and datum-based rotation
Feed rate factor
Compensate the delta radius of the tool depending on the tool's contact angle at the
workpiece
Prerequisite: LN blocks
Compensation values can be defined in a separate table
706
Changing of the control parameters depending on the position of the axes in the
working space
Changing of the control parameters depending on the speed or acceleration of an axis
707
708
Graphical depiction of the protected space when DCM collision monitoring is active
Handwheel superimposition in stopped condition when DCM collision monitoring is
active
3-D basic rotation (set-up compensation, must be adapted by the machine tool builder)
Circle radii
Tool numbers
0 to 32 767.9 (5.1)
Tool names
Spindle speeds
Feed rates
0 to 360.0000 (3.4) []
0 to 2999 (4.0)
Miscellaneous functions M
0 to 999 (3.0)
Q parameter numbers
0 to 1999 (4.0)
Q parameter values
0 to 999 (3.0)
1 to 65 534 (5.0)
0 to 1099 (4.0)
Spline parameter K
709
710
19.1 Introduction
19.1 Introduction
Functionality
The software option 133 must be enabled in order to be
able to operate a Windows computer unit via the TNC.
With the HEIDENHAIN IPC 6341 Windows computer you can start
and remotely operate Windows-based applications via the iTNC user
interface. The user interface is displayed on the control screen.
The IPC 6341 is usually mounted in the electrical cabinet
of your machine tool. It is configured and commissioned
by your machine tool builder. The TNC is also configured
by your machine tool builder; see your machine tool
manual.
Since Windows runs on a separate computer, it does not influence the
NC machining process. The Windows computer is connected to the
TNC main computer via Ethernet.
RAM
2 GB
Interfaces
2 x Ethernet 100BaseT
2 x USB 2.0
1 x RS-232C
712
19.1 Introduction
Exiting Windows
Before shutting down the TNC you must terminate
Windows 7 on the IPC. Direct switch-off via the master
switch of the machine tool can cause data loss or a defect
in the Windows system.
713
19.1 Introduction
714
Overview Tables
Machining cycles
Cycle
number
Cycle designation
DEF
active
Datum shift
Mirror image
Dwell time
10
Rotation
11
Scaling factor
12
Program call
13
14
Contour definition
19
20
SL II contour data
21
SL II pilot drilling
22
SL II rough out
23
Floor finishing SL II
24
Side finishing SL II
25
Contour train
26
Axis-specific scaling
27
Cylinder surface
28
29
30
32
Tolerance
39
200
Drilling
201
Reaming
202
Boring
203
Universal drilling
CALL
active
715
Cycle
number
Cycle designation
204
Back boring
205
Universal pecking
206
207
208
Bore milling
209
220
221
230
Multipass milling
231
Ruled surface
232
Face milling
240
Centering
241
247
Datum setting
251
252
253
Slot milling
254
Circular slot
256
257
262
Thread milling
263
Thread milling/countersinking
264
Thread drilling/milling
265
267
270
275
Trochoidal slot
716
DEF
active
CALL
active
Miscellaneous functions
M
Effect
M0
End
Page
Page 369
M1
Page 639
M2
Page 369
M3
M4
M5
Spindle ON clockwise
Spindle ON counterclockwise
Spindle STOP
M6
M8
M9
Coolant ON
Coolant OFF
M13
M14
Spindle ON clockwise/Coolant ON
Spindle ON counterclockwise/Coolant ON
M30
Same function as M2
M89
Page 369
Page 369
Page 369
Page 369
Page 369
Cycles
Manual
Page 373
M90
M91
Page 370
M92
Page 370
M94
Page 500
M97
Page 375
M98
Page 377
M99
Cycles
Manual
Page 195
M101 Automatic tool change with replacement tool if maximum tool life has expired
M102 Reset M101
M103 Reduce feed rate during plunging to factor F (percentage)
Page 378
Page 372
Page 680
Page 195
717
Effect
End
Page
M114 Automatic compensation of machine geometry when working with tilted axes
M115 Reset M114
Page 383
Page 381
Page 374
M128 Retain position of tool tip when positioning tilting axes (TCPM)
M129 Reset M128
M130 Moving to position in an untilted coordinate system with a tilted working plane
M134 Exact stop at nontangential contour transitions when positioning with rotary axes
M135 Reset M134
Page 506
Page 384
Page 385
Page 386
Page 386
Page 507
Page 388
Page 389
M200
M201
M202
M203
M204
718
Page 380
Page 501
Page 498
Page 499
Page 503
Page 372
Page 506
Page 379
Page 387
A
Accessories ... 94
Actual position capture ... 108
Adaptive feed control ... 427
AFC ... 427
Animation, PLANE function ... 471
Archive files ... 137, 138
ASCII files ... 450
Automatic cutting data
calculation ... 182, 455
Automatic program start ... 637
Automatic tool measurement ... 180
B
Backup ... 117
Basic rotation
Measuring in the Manual Operation
mode ... 583, 585, 586
Baud rate, setting the ... ... 647
Block
Deleting ... 110
Inserting, editing ... 110
Blocks
BMP files, opening ... 143
Buffer battery exchange ... 710
719
Index
SYMBOLE
Index
FK Programming
Circular paths ... 254
Converting to conversational
dialog ... 251
Dialog initiation ... 251
Input possibilities
Auxiliary points ... 258
Circle data ... 256
Closed contours ... 257
Direction and length of contour
elements ... 255
End points ... 254
Relative data ... 259
Straight lines ... 253
FK programming
Input possibilities
FN 25: PRESET: Set a new
datum ... 337
FN14: ERROR: Displaying error
messages ... 318
FN15: PRINT: Formatted output of
texts ... 323
FN15: PRINT: Unformatted output of
texts ... 322
FN18: SYSREAD: Read system
data ... 327
FN19: PLC: Transfer values to the
PLC ... 334
FN20: WAIT FOR: NC and PLC
synchronization ... 335
FN23: CIRCLE DATA: Calculating a
circle from 3 points ... 313
FN24: CIRCLE DATA: Calculating a
circle from 4 points ... 313
FN26: TABOPEN: Opening a freely
definable table ... 464
FN27: TABWRITE: Writing to a freely
definable table ... 465
FN28: TABREAD: Reading a freely
definable table ... 466
Form view ... 463
FS, Functional safety ... 560
FSELECT ... 250
Full circle ... 232
Fundamentals ... 98
F
FCL ... 644
FCL function ... 11
Feature content level ... 11
Feed control, automatic ... 427
Feed rate ... 558
Changing ... 559
for rotary axes, M116 ... 498
Input possibilities ... 107
Feed rate factor for plunging
movements M103 ... 378
Feed rate in millimeters per spindle
revolution M136 ... 379
File
Creating ... 125
720
M functions
See Miscellaneous functions
M91, M92 ... 370
Machine axes, moving the ... 546
In increments ... 547
With the machine axis direction
buttons ... 546
Machine parameters
For 3-D touch probes ... 681
For external data transfer ... 681
For machining and program
run ... 694
For TNC displays and TNC
editor ... 685
Machining time, measuring the... ... 619
Manage fixtures ... 410
Mid-program startup ... 633
After power failure ... 633
Miscellaneous Functions
Miscellaneous functions
Entering ... 368
For contouring behavior ... 373
For coordinate data ... 370
For laser cutting machines ... 389
For program run control ... 369
for Rotary Axes ... 498
For spindle and coolant ... 369
MOD function
Exiting ... 642
Overview ... 643
Select ... 642
Monitoring
Collision ... 396
Monitoring for tool breakage ... 437
Multiaxis machining ... 493
I
IGES files ... 285
Image files, opening ... 143
Inclined-tool machining in a tilted
plane ... 491
Indexed tools ... 184
Information on formats ... 709
INI files, opening ... 142
Internet files, displaying ... 140
Interrupt machining ... 629
iTNC 530 ... 74
with Windows 7 ... 712
K
Keyboard ... 77
L
Laser cutting machines, miscellaneous
functions ... 389
L-block generation ... 666
List of error messages ... 160
Loading fixtures ... 411, 412
Local Q parameters, defining ... 307
Look-ahead ... 381
O
Open contour corners M98 ... 377
Operating modes ... 78
Operating times ... 670
Option number ... 644
Output of data to the server ... 326
P
Pallet datum ... 525
Pallet preset ... 525
Pallet table
Application ... 522, 528
Entering coordinates ... 523, 529
Executing ... 527, 539
Selecting and leaving ... 524, 533
Parametric programming: See Q
parameter programming
Part families ... 308
Path ... 118
Path contours
Cartesian coordinates
Circular arc with tangential
connection ... 235
Circular path around circle center
CC ... 232
Circular path with defined
radius ... 233
Overview ... 227
Straight line ... 228
Polar coordinates
Circular arc with tangential
connection ... 243
Circular path around pole
CC ... 242
Overview ... 240
Straight line ... 241
721
Index
Index
Path functions
Fundamentals ... 214
Circles and circular arcs ... 216
Pre-position ... 217
PDF viewer ... 139
Pin layout for data interfaces ... 696
Plan view ... 612
PLANE function ... 469
Animation ... 471
Automatic positioning ... 486
Axis angle definition ... 484
Euler angle definition ... 477
Inclined-tool machining ... 491
Incremental definition ... 483
Points definition ... 481
Positioning behavior ... 486
Projection angle definition ... 475
Reset ... 472
Selection of possible
solutions ... 489
Space-angle definition ... 473
Vector definition ... 479
PLC and NC synchronization ... 335
PNG files, opening ... 143
Pocket table ... 188
Polar coordinates
Approach/depart contour ... 221
Fundamentals ... 100
Programming ... 240
Positioning
With a tilted working
plane ... 372, 507
with manual data input (MDI) ... 604
Positions, selecting from DXF ... 277
Preset table ... 567
Confirming probed values ... 576
For pallets ... 525
Principal axes ... 99
Probe cycles
See Users Manual for Touch Probe
Cycles
Probing cycles
Program
Editing ... 109
Open new ... 104
-Structure ... 103
Structuring ... 152
Program call
Any desired program as
subroutine ... 291
722
Q
Q parameter programming ... 304, 342
Additional functions ... 317
Basic arithmetic (assign, add,
subtract, multiply, divide, square
root) ... 309
Circle calculations ... 313
If/then decisions ... 314
Programming
notes ... 306, 344, 345, 346, 350,
352
Trigonometric functions ... 311
Q parameters
Checking ... 316
Formatted output ... 323
Local QL parameters ... 304
Nonvolatile QR parameters ... 304
Preassigned ... 353
Transferring values to the
PLC ... 334
Unformatted output ... 322
S
Saving fixtures ... 411
Screen ... 75
Screen layout ... 76
Screen output of data ... 326
Search for tool names ... 193
Search function ... 113
Secondary axes ... 99
Service pack, installing a ... ... 646
Software number ... 644
Software options ... 705
Software update ... 646
SPEC FCT ... 392
Special functions ... 392
Specifications ... 700
Sphere ... 363
Spindle load monitoring ... 437
Spindle speed, changing the ... 559
Spindle speed, entering ... 191
Spline interpolation ... 519
Block format ... 519
Input range ... 520
Status display ... 81
Additional ... 83
General ... 81
STEP files ... 285
Straight line ... 228, 241
String parameters ... 342
Structuring programs ... 152
Subprogram ... 289
Superimposed transformations ... 416
Superimposing handwheel positioning
M118 ... 383
Tool data
Calling ... 191
Delta values ... 175
Entering into tables ... 176
Entering them into the
program ... 175
Indexing ... 184
Tool length ... 174
Tool management ... 200
Tool material ... 182, 457
Tool measurement ... 180
Tool name ... 174
Tool number ... 174
Tool radius ... 174
Tool table
Editing functions ... 183, 202, 204
Editing, exiting ... 183
Input possibilities ... 176
Tool type, selecting ... 182
Tool usage file ... 197
Tool usage test ... 197
Tool-carrier kinematics ... 186
Touch probe cycles
Manual Operation mode ... 573
Touch probe functions, use with
mechanical probes or dial
gauges ... 595
Touch probe monitoring ... 385
TRANS DATUM ... 443
Traversing machine axes
with the handwheel ... 548
Trigonometric functions ... 311
Trigonometry ... 311
T
T vector ... 509
TCPM ... 493
Resetting ... 497
Teach in ... 108, 228
Teach-in cut ... 431
TeleService ... 673
Test Run
Overview ... 620
Test run
Executing ... 623
Speed setting ... 611
Up to a certain block ... 624
Text file
Delete functions ... 452
Editing functions ... 451
Opening and exiting ... 450
Text sections, finding ... 454
Text files, opening ... 142
Text variables ... 342
Tilting the working plane ... 469, 596
Manually ... 596
Time zone, setting the... ... 672
TNC software, updating the ... ... 646
TNCguide ... 164
TNCremo ... 649
TNCremoNT ... 649
Tool change ... 194
Tool compensation
Length ... 208
Radius ... 209
Three-dimensional ... 508
W
Windows 7 ... 712
Wireless handwheel ... 551
Configuring ... 676
Handwheel holder, assigning
... ... 676
Statistical data ... 678
Transmission channel,
setting... ... 677
Transmitter power,
selecting... ... 678
WMAT.TAB ... 456
Workpiece blank, defining a ... ... 104
Workpiece material, defining ... 456
Workpiece measurement ... 592
Workpiece positions
Absolute ... 101
Incremental ... 101
Workspace monitoring ... 623, 660
Writing probed values in datum
tables ... 575
Writing probed values in preset
table ... 576
X
XT files, opening ... 142
723
Index
724
Index
workpiece alignment
datum setting
workpiece measurement
digitizing 3-D surfaces