TNC320 UserManual - 2
TNC320 UserManual - 2
HEIDENHAIN
Conversational
TNC 320
NC Software
340 551-04
340 554-04
English (en)
9/2009
Controls of the TNC Program/file management, TNC functions
Keys on visual display unit Key Function
Key Function Select or delete programs and files,
external data transfer
Split screen layout
Define program call, select datum and
point tables
Toggle display between machining and
programming modes
Select MOD functions
Soft keys for selecting functions on
screen
Display help text for NC error messages,
call TNCguide
Shift between soft-key rows
Display all current error messages
100 100
Programming modes
Key Function
50 150 50 150
Programming and Editing
F % S %
0 0
Test Run
Cycles, subprograms and program section repeats
Key Function
Define touch probe cycles
Key Function
Polar coordinate input / Incremental
Approach/depart contour values
The machine tool builder adapts the usable features of the TNC to his
machine by setting machine parameters. Some of the functions
described in this manual may therefore not be among the features
provided by the TNC on your machine tool.
TNC functions that may not be available on your machine include:
Tool measurement with the TT
Please contact your machine tool builder to become familiar with the
features of your machine.
Many machine manufacturers, as well as HEIDENHAIN, offer
programming courses for the TNCs. We recommend these courses as
an effective way of improving your programming skill and sharing
information and ideas with other TNC users.
6
TNC Model, Software and Features
Software options
The TNC 320 features various software options that can be enabled by
your machine tool builder. Each option is to be enabled separately and
contains the following respective functions:
Hardware options
Additional axis for 4 axes and open-loop spindle
Tilting the machining plane (plane functions, Cycle 19 and 3-D ROT
soft key in the Manual Operation mode)
Legal information
This product uses open source software. Further information is
available on the control under
U Programming and Editing operating mode
U MOD function
U LICENSE INFO soft key
8
New Functions of Software 340 55x-04
New Functions of Software
340 55x-04
The PLANE function for flexible definition of a tilted working plane
was introduced (see The PLANE Function: Tilting the Working
Plane (Software Option 1) on page 325)
The context-sensitive help system TNCguide was introduced (see
Calling the TNCguide on page 126)
The FUNCTION PARAX function for defining the behavior of the parallel
axes U, V and W was introduced (see Working with the Parallel
Axes U, V and W on page 317)
The conversational languages Estonian, Korean, Latvian,
Norwegian, Romanian, Slovak and Turkish were introduced (see
Parameter list on page 440)
Individual characters can now be deleted by using the backspace
key (see Coordinate axes and numbers: Entering and editing on
page 3)
The PATTERN DEF function for defining point patterns was introduced
(see User's Manual for Cycles)
The SEL PATTERN function makes it possible to select point tables
(see User's Manual for Cycles)
With the CYCL CALL PAT function, cycles can now be run in
connection with point tables (see User's Manual for Cycles)
The DECLARE CONTOUR function can now also define the depth of the
contour (see User's Manual for Cycles)
New Cycle 241 for Single-Fluted Deep-Hole Drilling was introduced
(see Users Manual for Cycles)
The new fixed cycles 251 to 257 were introduced for milling
pockets, studs and slots (see User's Manual for Cycles)
Touch probe cycle 416 (Datum on Circle Center) was expanded by
parameter Q320 (safety clearance) (see User's Manual for Cycles)
Touch probe cycles 412, 413, 421 and 422: Additional parameter
Q365 (type of traverse) (see User's Manual for Cycles)
Touch probe cycle 425 (Measure Slot) was expanded by parameters
Q301 (Move to clearance height) and Q320 (setup clearance) (see
User's Manual for Cycles)
Touch probe cycles 408 to 419: The TNC now also writes to line 0
of the preset table when the display value is set (see User's Manual
for Cycles)
In the machine operating modes Program Run, Full Sequence and
Program Run, Single Block, datum tables can now also be selected
(STATUS M)
The definition of feed rates in fixed cycles can now also include FU
and FZ values (see User's Manual for Cycles)
10
Table of Contents First Steps with the TNC 320
1
Introduction
2
Programming: Fundamentals, File
Management 3
Programming: Programming Aids
4
Programming: Tools
5
Programming: Programming Contours
6
Programming: Subprograms and
Program Section Repeats 7
Programming: Q Parameters
8
Programming: Miscellaneous Functions
9
Programming: Special Functions
10
Programming: Multiple Axis Machining
11
Manual Operation and Setup
12
Positioning with Manual Data Input
13
Test Run and Program Run
14
MOD Functions
15
Tables and Overviews
16
14
3 Programming: Fundamentals, File Management ..... 73
3.1 Fundamentals ..... 74
Position encoders and reference marks ..... 74
Reference system ..... 74
Reference system on milling machines ..... 75
Designation of the axes on milling machines ..... 75
Polar coordinates ..... 76
Absolute and incremental workpiece positions ..... 77
Setting the datum ..... 78
3.2 Creating and Writing Programs ..... 79
Organization of an NC program in HEIDENHAIN Conversational ..... 79
Define the blank: BLK FORM ..... 79
Creating a new part program ..... 80
Programming tool movements in conversational format ..... 82
Actual position capture ..... 84
Editing a program ..... 85
The TNC search function ..... 89
3.3 File Management: Fundamentals ..... 91
Files ..... 91
Data backup ..... 92
3.4 Working with the File Manager ..... 93
Directories ..... 93
Paths ..... 93
Overview: Functions of the file manager ..... 94
Calling the file manager ..... 95
Selecting drives, directories and files ..... 96
Creating a new directory ..... 98
Creating a new file ..... 98
Copying a single file ..... 99
Copying files into another directory ..... 100
Copying a directory ..... 100
Choosing one of the last files selected ..... 101
Deleting a file ..... 101
Deleting a directory ..... 102
Tagging files ..... 103
Renaming a file ..... 104
File sorting ..... 104
Additional functions ..... 105
Data transfer to or from an external data medium ..... 106
The TNC in a network ..... 108
USB devices on the TNC (FCL 2 function) ..... 109
16
5 Programming: Tools ..... 131
5.1 Entering Tool-Related Data ..... 132
Feed rate F ..... 132
Spindle speed S ..... 133
5.2 Tool Data ..... 134
Requirements for tool compensation ..... 134
Tool numbers and tool names ..... 134
Tool length L ..... 134
Tool radius R ..... 134
Delta values for lengths and radii ..... 135
Entering tool data into the program ..... 135
Entering tool data in the table ..... 136
Pocket table for tool changer ..... 142
Calling tool data ..... 145
5.3 Tool Compensation ..... 146
Introduction ..... 146
Tool length compensation ..... 146
Tool radius compensation ..... 147
18
6.6 Path Contours FK Free Contour Programming (Advanced Programming Features Software Option) ..... 187
Fundamentals ..... 187
Graphics during FK programming ..... 189
Initiating the FK dialog ..... 190
Pole for FK programming ..... 191
Free programming of straight lines ..... 191
Free programming of circular arcs ..... 192
Input possibilities ..... 193
Auxiliary points ..... 197
Relative data ..... 198
20
8 Programming: Q Parameters ..... 221
8.1 Principle and Overview ..... 222
Programming notes ..... 224
Calling Q-parameter functions ..... 225
8.2 Part FamiliesQ Parameters in Place of Numerical Values ..... 226
Function ..... 226
8.3 Describing Contours through Mathematical Operations ..... 227
Application ..... 227
Overview ..... 227
Programming fundamental operations ..... 228
8.4 Trigonometric Functions ..... 229
Definitions ..... 229
Programming trigonometric functions ..... 230
8.5 Circle Calculations ..... 231
Application ..... 231
8.6 If-Then Decisions with Q Parameters ..... 232
Application ..... 232
Unconditional jumps ..... 232
Programming If-Then decisions ..... 232
Abbreviations used: ..... 233
8.7 Checking and Changing Q Parameters ..... 234
Procedure ..... 234
8.8 Additional Functions ..... 235
Overview ..... 235
FN 14: ERROR: Displaying error messages ..... 236
FN 16: F-PRINT: Formatted output of text and Q parameter values ..... 241
FN 18: SYS-DATUM READ: Read system data ..... 245
FN 19: PLC: Transfer values to the PLC ..... 254
FN 20: WAIT FOR: NC and PLC synchronization ..... 255
FN29: PLC: Transferring values to the PLC ..... 256
FN37:EXPORT ..... 257
8.9 Accessing Tables with SQL Commands ..... 258
Introduction ..... 258
A Transaction ..... 259
Programming SQL commands ..... 261
Overview of the soft keys ..... 261
SQL BIND ..... 262
SQL SELECT ..... 263
SQL FETCH ..... 266
SQL UPDATE ..... 267
SQL INSERT ..... 267
SQL COMMIT ..... 268
SQL ROLLBACK ..... 268
22
9 Programming: Miscellaneous Functions ..... 295
9.1 Entering Miscellaneous Functions M and STOP ..... 296
Fundamentals ..... 296
9.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant ..... 297
Overview ..... 297
9.3 Miscellaneous Functions for Coordinate Data ..... 298
Programming machine-referenced coordinates: M91/M92 ..... 298
Moving to positions in a non-tilted coordinate system with a tilted working plane: M130 ..... 300
9.4 Miscellaneous Functions for Contouring Behavior ..... 301
Machining small contour steps: M97 ..... 301
Machining open contours corners: M98 ..... 303
Feed rate factor for plunging movements: M103 ..... 304
Feed rate in millimeters per spindle revolution: M136 ..... 305
Feed rate for circular arcs: M109/M110/M111 ..... 305
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 (Miscellaneous functions software
option) ..... 306
Superimposing handwheel positioning during program run: M118 (Miscellaneous functions software
option) ..... 308
Retraction from the contour in the tool-axis direction: M140 ..... 309
Suppressing touch probe monitoring: M141 ..... 310
Automatically retract tool from the contour at an NC stop: M148 ..... 311
24
11 Programming: Multiple Axis Machining ..... 323
11.1 Functions for Multiple Axis Machining ..... 324
11.2 The PLANE Function: Tilting the Working Plane (Software Option 1) ..... 325
Introduction ..... 325
Define the PLANE function ..... 327
Position display ..... 327
Reset the PLANE function ..... 328
Defining the machining plane with space angles: PLANE SPATIAL ..... 329
Defining the machining plane with projection angles: PROJECTED PLANE ..... 331
Defining the machining plane with Euler angles: EULER PLANE ..... 333
Defining the machining plane with two vectors: VECTOR PLANE ..... 335
Defining the machining plane via three points: POINTS PLANE ..... 337
Defining the machining plane with a single, incremental space angle: PLANE RELATIVE ..... 339
Tilting the working plane through axis angle: PLANE AXIAL (FCL 3 function) ..... 340
Specifying the positioning behavior of the PLANE function ..... 342
11.3 Miscellaneous Functions for Rotary Axes ..... 346
Feed rate in mm/min on rotary axes A, B, C: M116 (software option 1) ..... 346
Shorter-path traverse of rotary axes: M126 ..... 347
Reducing display of a rotary axis to a value less than 360: M94 ..... 348
26
12.8 Datum Setting with 3-D Touch Probe (Touch Probe Function Software Option) ..... 375
Overview ..... 375
Datum setting in any axis ..... 375
Corner as datum ..... 376
Circle center as datum ..... 377
Measuring Workpieces with a 3-D Touch Probe ..... 378
Using the touch probe functions with mechanical probes or dial gauges ..... 381
12.9 Tilting the Working Plane (Software Option 1) ..... 382
Application, function ..... 382
Traversing the reference points in tilted axes ..... 384
Position display in a tilted system ..... 384
Limitations on working with the tilting function ..... 384
Activating manual tilting ..... 385
28
14 Test Run and Program Run ..... 393
14.1 Graphics (Advanced Graphic Features Software Option) ..... 394
Application ..... 394
Overview of display modes ..... 395
Plan view ..... 395
Projection in 3 planes ..... 396
3-D view ..... 397
Magnifying details ..... 398
Repeating graphic simulation ..... 399
Measuring the machining time ..... 400
14.2 Show the Workpiece in the Working Space (Advanced Graphic Features Software Option) ..... 401
Application ..... 401
14.3 Functions for Program Display ..... 402
Overview ..... 402
14.4 Test Run ..... 403
Application ..... 403
14.5 Program Run ..... 405
Application ..... 405
Running a part program ..... 406
Interrupting machining ..... 407
Moving the machine axes during an interruption ..... 408
Resuming program run after an interruption ..... 409
Mid-program startup (block scan) ..... 410
Returning to the contour ..... 412
14.6 Automatic Program Start ..... 413
Application ..... 413
14.7 Optional Block Skip ..... 414
Application ..... 414
Insert the "/" character ..... 414
Erase the / character ..... 414
14.8 Optional Program-Run Interruption ..... 415
Application ..... 415
30
16 Tables and Overviews ..... 437
16.1 Machine-Specific User Parameters ..... 438
Application ..... 438
16.2 Pin Layouts and Connecting Cables for the Data Interfaces ..... 446
RS-232-C/V.24 interface for HEIDENHAIN devices ..... 446
Non-HEIDENHAIN devices ..... 447
Ethernet interface RJ45 socket ..... 447
16.3 Technical Information ..... 448
16.4 Exchanging the Buffer Battery ..... 453
-
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
Setting Up Tools
Workpiece Setup
Running the First Program
U Switch on the power supply for control and machine. The TNC starts
the operating system. This process may take several minutes. Then
the TNC will display the message Power interruption.
U Press the CE key: The TNC converts the PLC
program
U Switch on the control voltage: The TNC checks
operation of the emergency stop circuit and goes into
the reference run mode
U Cross the reference points manually in the displayed
sequence: For each axis press the machine START
button. If you have absolute linear and angle encoders
on your machine there is no need for a reference run.
The TNC is now ready for operation in the Manual Operation mode.
Cycle programming: See Users Manual for Cycles 5 PATTERN DEF POS1( X... Y... Z... ) ...
6 CYCL DEF...
7 CYCL CALL PAT FMAX M13
8 L Z+250 R0 FMAX M2
9 END PGM BSBCYC MM
10
U Call the tool: Enter the tool data. Confirm each of your
entries with the ENT key. Do not forget the tool axis
U Retract the tool: Press the orange axis key Z in order
to get clear in the tool axis, and enter the value for the
position to be approached, e.g. 250. Confirm with the
ENT key
20
1 4
U Confirm Radius comp.: RL/RR/no comp? by pressing 5
Example NC blocks
0 BEGIN PGM C200 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Definition of workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL CALL 5 Z S4500 Tool call
4 L Z+250 R0 FMAX Retract the tool
5 PATTERN DEF Define machining positions
POS1 (X+10 Y+10 Z+0)
POS2 (X+10 Y+90 Z+0)
POS3 (X+90 Y+90 Z+0)
POS4 (X+90 Y+10 Z+0)
U 3-D view
Compatibility
The scope of functions of the TNC 320 does not correspond to that of
the TNC 4xx and iTNC 530 series of controls. Therefore, machining
programs created on HEIDENHAIN contouring controls (starting from
the TNC 150 B) may not always run on the TNC 320. If NC blocks
contain invalid elements, the TNC will mark them as ERROR blocks
when the file is opened.
56 Introduction
2.2 Visual Display Unit and Keyboard
2.2 Visual Display Unit and
Keyboard
Visual display unit
The TNC is delivered with a 15-inch TFT color flat-panel display (see
figure at top right). 8
1
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 91
7
messages also appear (unless the TNC is showing only graphics).
2 Soft keys
In the footer the TNC indicates additional functions in a soft-key
row. You can select these functions by pressing the keys
immediately below them. The lines immediately above the 5 2 6
1
soft-key row indicate the number of soft-key rows that can be
called with the black arrow keys to the right and left. The active 31
soft-key row is indicated by brightened bar. 4 4
3 Soft-key selection keys
4 Shift between soft-key rows
5 Sets the screen layout
6 Shift key for switchover between machining and programming
modes
7 Soft-key selection keys for machine tool builders
8 Switches soft-key rows for machine tool builders
9 USB connection
58 Introduction
2.2 Visual Display Unit and Keyboard
Operating panel
The TNC 320 is delivered with an integrated keyboard. The figure at
right shows the controls and displays of the keyboard:
1 File management
Calculator
MOD function
HELP function
2 Programming modes
3 Machine operating modes
4 Initiation of programming dialog
5 Arrow keys and GOTO jump command
6 Numerical input and axis selection
7 Navigation keys
The functions of the individual keys are described on the inside front
cover.
1 4
1
Machine panel buttons, e.g. NC START or NC STOP, are
described in the manual for your machine tool. 6
3 2
1
7 5
60 Introduction
2.3 Operating Modes
Programming and Editing
In this mode of operation you can write your part programs. The FK
free programming feature, the various cycles and the Q parameter
functions help you with programming and add necessary information.
If desired, you can have the programming graphics show the
programmed paths of traverse.
Soft keys for selecting the screen layout
Test Run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities,
missing or incorrect data within the program or violations of the work
space. This simulation is supported graphically in different display
modes (Advanced Graphic Features software option).
Soft keys for selecting the screen layout: see "Program Run, Full
Sequence and Program Run, Single Block", page 62.
Soft keys for selecting the screen layout for pallet tables (Pallet
Management software option)
62 Introduction
2.4 Status Displays
2.4 Status Displays
General status display
The status display in the lower part of the screen informs you of the
current state of the machine tool. It is displayed automatically in the
following modes of operation:
Program Run, Single Block and Program Run, Full Sequence, except
if the screen layout is set to display graphics only, and
Positioning with Manual Data Input (MDI).
In the Manual mode and Electronic Handwheel mode the status
display appears in the large window.
Symbol Meaning
ACTL. Actual or nominal coordinates of the current position
Axis is locked
No active program.
64 Introduction
2.4 Status Displays
Additional status displays
The additional status displays contain detailed information on the
program run. They can be called in all operating modes except for the
Programming and Editing mode of operation.
With the soft keys or switch-over soft keys, you can choose directly
between the available status displays.
Tool information
Active M functions
Active subprogram
Current time
Active programs
66 Introduction
2.4 Status Displays
Program section repeat/Subprograms (LBL tab)
68 Introduction
2.4 Status Displays
Positions and coordinates (POS tab)
Tool axis
Scaling datum
70 Introduction
2.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels
2.5 Accessories: HEIDENHAIN 3-D
Touch Probes and Electronic
Handwheels
3-D touch probes (Touch Probe Function
software option)
With the various HEIDENHAIN 3-D touch probe systems you can:
Automatically align workpieces
Quickly and precisely set datums
Measure the workpiece during program run
Measure and inspect tools
HR electronic handwheels
Electronic handwheels facilitate moving the axis slides precisely by
hand. A wide range of traverses per handwheel revolution is available.
Apart from the HR 130 and HR 150 integral handwheels,
HEIDENHAIN also offers the HR 410 portable handwheel.
72 Introduction
Programming:
Fundamentals, File
Management
3.1 Fundamentals
3.1 Fundamentals
Position encoders and reference marks
Z
The machine axes are equipped with position encoders that register
the positions of the machine table or tool. Linear axes are usually Y
equipped with linear encoders, rotary tables and tilting axes with angle
encoders. X
When a machine axis moves, the corresponding position encoder
generates an electrical signal. The TNC evaluates this signal and
calculates the precise actual position of the machine axis.
If there is a power interruption, the calculated position will no longer
correspond to the actual position of the machine slide. To recover this
association, incremental position encoders are provided with
reference marks. The scales of the position encoders contain one or
more reference marks that transmit a signal to the TNC when they are
crossed over. From that signal the TNC can re-establish the
assignment of displayed positions to machine positions. For linear
encoders with distance-coded reference marks the machine axes
need to move by no more than 20 mm, for angle encoders by no more
than 20.
With absolute encoders, an absolute position value is transmitted to
the control immediately upon switch-on. In this way the assignment XMP
of the actual position to the machine slide position is re-established
directly after switch-on.
X (Z,Y)
Reference system
A reference system is required to define positions in a plane or in
space. The position data are always referenced to a predetermined
point and are described through coordinates.
The Cartesian coordinate system (a rectangular coordinate system) is
based on the three coordinate axes X, Y and Z. The axes are mutually
perpendicular and intersect at one point called the datum. A
coordinate identifies the distance from the datum in one of these
directions. A position in a plane is thus described through two
coordinates, and a position in space through three coordinates.
Coordinates that are referenced to the datum are referred to as Z
absolute coordinates. Relative coordinates are referenced to any other
known position (reference point) you define within the coordinate
system. Relative coordinate values are also referred to as incremental
coordinate values. Y
U+
Y/Z +Y
Z
Z/X +Z Y
X
Z Y
10
X = 10 mm
Y = 10 mm 4
10
Hole 5, with respect to 4 Hole 6, with respect to 5
X = 20 mm X = 20 mm 10
Y = 10 mm Y = 10 mm
10 20 20 X
Absolute and incremental polar coordinates
Absolute polar coordinates always refer to the pole and the reference
axis.
Incremental coordinates always refer to the last programmed nominal
position of the tool.
Y
+IPR
PR
+IPA +IPA PR
PR PA
10 0
CC
X
30
The fastest, easiest and most accurate way of setting the datum is by
using a 3-D touch probe from HEIDENHAIN. See Setting the Datum
with a 3-D Touch Probe in the Touch Probe Cycles Users Manual.
Y
Example
The workpiece drawing shows holes (1 to 4) whose dimensions are 7 150
shown with respect to an absolute datum with the coordinates X=0 3 4
0
Y=0. Holes 5 to 7 are dimensioned with respect to a relative datum 750 6
with the absolute coordinates X=450, Y=750. With the DATUM SHIFT 5 -150
3000,1
cycle you can temporarily set the datum to the position X=450, Y=750,
to be able to program holes 5 to 7 without further calculations.
0
320
1 2
X
325 450 900
950
You only need to define the blank form if you wish to run
a graphic test for the program!
Select the directory in which you wish to store the new program:
The TNC generates the block numbers as well as the BEGIN and END
block automatically.
Start block.
COORDINATES?
MISCELLANEOUS FUNCTION M?
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Go to next page
Go to beginning of program
Go to end of program
If you want to insert a word, press the horizontal arrow key repeatedly
until the desired dialog appears. You can then enter the desired value.
The word that is highlighted in the new block is the same as the one
you selected previously.
U If required, select the block containing the word you wish to find.
U Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row.
U Enter the text to be searched for. Please note that the
search is case-sensitive. Then confirm with the ENT
key.
U Enter the text to be inserted. Please note that the
entry is case-sensitive.
U Start the search process: The TNC moves to the next
occurrence of the text you are searching for.
U To replace the text and then move to the next
occurrence of the text, press the REPLACE soft key.
To replace all text occurrences, press the REPLACE
ALL soft key. To skip the text and move to its next
occurrence press the FIND soft key.
U End the search function.
Tables for
Tools .T
Tool changers .TCH
Pallets .P
Datums .D
Points .PNT
Presets .PR
Touch probes .TP
Backup files .BAK
Texts as
ASCII files .A
Log files .TXT
Help files .CHM
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.
With the TNC you can manage and save files up to a total size of 300
MB.
PROG20 .H
File name File type
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.
Paths
A path indicates the drive and all directories and subdirectories under
which a file is saved. The individual names are separated by a
backslash \.
Example
The directory AUFTR1 was created on the TNC:\ drive. Then, in the
AUFTR1 directory, the directory NCPROG was created and the part TNC:\
program PROG1.H was copied into it. The part program now has the
following path: AUFTR1
TNC:\AUFTR1\NCPROG\PROG1.H NCPROG
The chart at right illustrates an example of a directory display with WZTAB
different paths.
A35K941
ZYLM
TESTPROG
HUBER
KAR25T
Rename directory
Press the PGM MGT key: The TNC displays the file
management window (see figure for default setting.
If the TNC displays a different screen layout, press
the WINDOW soft key.)
The narrow window on the left shows the available drives and
directories. Drives designate devices with which data are stored or
transferred. One drive is the hard disk of the TNC. Other drives are the
interfaces (RS232, Ethernet), which can be used, for example, for
connecting a personal computer. A directory is always identified by a
folder symbol to the left and the directory name to the right.
Subdirectories are shown to the right of and below their parent
directories. A triangle in front of the folder symbol indicates that there
are further subdirectories, which can be shown with the /+ or ENT
keys.
The wide window on the right shows you all files that are stored in the
selected directory. Each file is shown with additional information,
illustrated in the table below.
Display Meaning
File name Name with max. 25 characters
Use the arrow keys or the soft keys to move the highlight to the
desired position on the screen:
The TNC opens the selected file in the operating mode from which you
called the file manager.
Move the highlight in the left window to the directory in which you
want to create a subdirectory.
NEW Enter the new file name, and confirm with ENT.
Select the directory in which you wish to create the new file.
NEW Enter the new file name with the file extension, and
confirm with ENT.
NEW Enter the new file name with the file extension, and
confirm with ENT.
U Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, if desired
U Copy the tagged files into the target directory
Copying a directory
U Move the highlight in the right window onto the directory you want
to copy.
U Press the COPY soft key: the TNC opens the window for selecting
the target directory.
U Select the target directory and confirm with ENT or the OK soft key.
The TNC copies the selected directory and all its subdirectories to
the selected target directory.
Use the arrow keys to move the highlight to the file you wish to select:
Moves the highlight up and down within a window.
Deleting a file
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:
To tag further files, press the TAG FILES soft key, etc.
File sorting
U Select the folder in which you wish to sort the files
U Select the SORT soft key
For more information: See USB devices on the TNC (FCL 2 function)
on page 109.
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window.
Transfer several files: Press the TAG soft key (in the
second soft-key row, see "Tagging files", page 103)
Confirm with the OK soft key or with the ENT key. A status window
appears on the TNC, informing about the copying progress, or
The TNC also displays the USB: TNC does not support
device error message if you connect a USB hub. In this
case simply acknowledge the message with the CE key.
In theory, you should be able to connect all USB devices
with the file systems mentioned above to the TNC. It may
happen that a USB device is not identified correctly by the
control. In such cases, use another USB device.
Subtraction
Multiplication *
Division /
Parenthetic calculations ()
Sine SIN
Cosine COS
Tangent TAN
Inversion 1/x
pi (3.14159265359) PI
Natural logarithm LN
Logarithm LOG
Delete value CE
While you are writing the part program, you can have the TNC
generate a 2-D pencil-trace graphic of the programmed contour.
U To switch the screen layout to displaying program blocks to the left
and graphics to the right, press the SPLIT SCREEN key and
PROGRAM + GRAPHICS soft key
U Set the AUTO DRAW soft key to ON. While you are
entering the program lines, the TNC generates each
path contour you program in the graphics window in
the right screen half
If you do not wish to have the TNC generate graphics during
programming, set the AUTO DRAW soft key to OFF.
Even when AUTO DRAW ON is active, graphics are not generated for
program section repeats.
Additional functions:
U Press the ERR key. The TNC closes the error window.
If the cause of the error has not been removed, the error
message cannot be deleted. In this case, the error
message remains in the window.
Error log
The TNC stores errors and important events (e.g. system startup) in an
error log. The capacity of the error log is limited. If the log is full, the
TNC uses a second file. If this is also full, the first error log is deleted
and written to again, and so on. To view the error history, switch
between CURRENT FILE and PREVIOUS FILE.
U Open the error window.
U Press the LOG FILES soft key.
U To open the error log, press the ERROR LOG FILE soft
key.
U If you need the previous log file, press the PREVIOUS
FILE soft key.
U If you need the current log file, press the CURRENT
FILE soft key.
The oldest entry is at the beginning of the error log file, and the most
recent entry is at the end.
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 Select the soft-key row containing the desired soft key
U Click with the mouse on the help symbol that the TNC displays just
above the soft-key row: The mouse pointer turns into a question
mark
U Move the question mark to the soft key for which you want an
explanation, and click: The TNC opens the TNCguide. If no specific
part of the help is assigned to the selected soft key, the TNC opens
the book file main.chm, in which you can use the search function
or the navigation to find the desired explanation manually
Even if you are editing an NC block, context-sensitive help is available:
U Select any NC block
U Use the arrow keys to move the cursor to the block
U Press the HELP key: The TNC start the help system and shows a
description for the active function (does not apply to auxiliary
functions or cycles that were integrated by your machine tool
builder)
Full-text search
In the Find tab you can search the entire TNCguide for a specific word.
The left side is active.
U Select the Find tab
U Activate the Find: input field
U Enter the desired word and confirm with the ENT key:
the TNC lists all sources containing the word
U Use the arrow key to highlight the desired source
U Press the ENT key to go to the selected source
English TNC:\tncguide\en
Czech TNC:\tncguide\cs
French TNC:\tncguide\fr
Italian TNC:\tncguide\it
Spanish TNC:\tncguide\es
Portuguese TNC:\tncguide\pt
Swedish TNC:\tncguide\sv
Danish TNC:\tncguide\da
Finnish TNC:\tncguide\fi
Dutch TNC:\tncguide\nl
Polish TNC:\tncguide\pl
Hungarian TNC:\tncguide\hu
Russian TNC:\tncguide\ru
Rapid traverse
If you wish to program rapid traverse, enter F MAX. To enter FMAX,
press the ENT key or the FMAX soft key when the dialog question
FEED RATE F = ? appears on the control's screen.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached. 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.
Programmed change
In the part program, you can change the spindle speed in a TOOL CALL
block by entering the spindle speed only:
U To program a tool call, press the TOOL CALL key
U Ignore the dialog question for Tool number ? with the
NO ENT key
U Ignore the dialog question for Working spindle axis
X/Y/Z ? with the NO ENT key
U Enter the new spindle speed for the dialog question
Spindle speed S= ?, and confirm with END, or switch
via the VC soft key to entry of the cutting speed
L
Tool numbers and tool names
R
Each tool is identified by a number between 0 and 32767. If you are
working with tool tables, you can also enter a tool name for each tool.
Tool names can have up to 16 characters. X
The tool number 0 is automatically defined as the zero tool with the
length L=0 and the radius R=0. In tool tables, tool T0 should also be
defined with L=0 and R=0.
Tool length L
You should always enter the tool length L as an absolute value based
on the tool reference point. The entire tool length is essential for the
TNC in order to perform numerous functions involving multi-axis Z
machining.
L3
Tool radius R L1
L2
You can enter the tool radius R directly.
Example
4 TOOL DEF 5 L+10 R+5
NAME Name by which the tool is called in the program (no more than 16 Tool name?
characters, all capitals, no spaces)
R2 Tool radius R2 for toroid cutters (only for 3-D radius compensation Tool radius R2?
or graphical representation of a machining operation with
spherical or toroid cutters)
DR2 Delta value for tool radius R2 Tool radius oversize R2?
LCUTS Tooth length of the tool for Cycle 22 Tooth length in the tool axis?
ANGLE Maximum plunge angle of the tool for reciprocating plunge-cut in Maximum plunge angle?
Cycles 22 and 208
TIME1 Maximum tool life in minutes. This function can vary depending Maximum tool age?
on the individual machine tool. Your machine manual provides
more information
CUR_TIME Current age of the tool in minutes: The TNC automatically counts Current tool life?
the current tool life (CUR_TIME). A starting value can be entered
for used tools
TYPE Tool type: Press the SELECT TYPE (3rd soft-key row); the TNC Tool type?
superimposes a window where you can select the type of tool
you want. You can assign tool types to specify the display filter
settings such that only the selected type is visible in the table.
PLC Information on this tool that is to be sent to the PLC PLC status?
PTYP Tool type for evaluation in the pocket table Tool type for pocket table?
LIFTOFF Definition of whether the TNC should retract the tool in the Retract tool Y/N ?
direction of the positive tool axis at an NC stop in order to avoid
leaving dwell marks on the contour. If Y is defined, the TNC
retracts the tool from the contour by 0.1 mm, provided that this
function was activated in the NC program with M148 (see
Automatically retract tool from the contour at an NC stop:
M148 on page 311).
TP_NO Reference to the number of the touch probe in the touch-probe Number of the touch probe
table
T_ANGLE Point angle of the tool. Is used by the Centering cycle (Cycle 240) Point angle?
in order to calculate the centering depth from the diameter entry
LTOL Permissible deviation from tool length L for wear detection. If the Wear tolerance: length?
entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
RTOL Permissible deviation from tool radius R for wear detection. If the Wear tolerance: radius?
entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
R2TOL Permissible deviation from tool radius R2 for wear detection. If Wear tolerance: Radius 2?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = )?
R_OFFS For tool length measurement: Tool offset between stylus center Tool offset: radius?
and tool center. Default setting: No value entered (offset = tool
radius)
L_OFFS Tool radius measurement: tool offset in addition to Tool offset: length?
offsetToolAxis (114104) between upper surface of stylus and
lower surface of tool. Default: 0
LBREAK Permissible deviation from tool length L for breakage detection. If Breakage tolerance: length?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
RBREAK Permissible deviation from tool radius R for breakage detection. If Breakage tolerance: radius?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
U Press the SELECT TYPE soft key to select the file type
U To show type .T files, press the SHOW .T soft key
U Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
When you have opened the tool table, you can edit the tool data by
moving the cursor to the desired position in the table with the arrow
keys or the soft keys. You can overwrite the stored values, or enter
new values at any position. The available editing functions are
illustrated in the table below.
If the TNC cannot show all positions in the tool table in one screen
page, the highlight bar at the top of the table will display the >> or <<
symbols.
For automatic tool changing you need the pocket table TOOL_P.TCH.
The TNC can manage several pocket tables with any file names. To
activate a specific pocket table for program run you must select it in
the file management of a Program Run mode of operation (status M).
U Press the SHOW ALL soft key to select the file type.
U Select a file or enter a new file name. Conclude your
entry with the ENT key or the SELECT soft key
RSV Pocket reservation for box magazines Pocket reserv.: Yes = ENT
/ No = NOENT
ST Special tool with a large radius requiring several pockets in the tool Special tool?
magazine. If your special tool takes up pockets in front of and behind its
actual pocket, these additional pockets need to be locked in column L
(status L)
F Fixed tool number. The tool is always returned to the same pocket in the tool Fixed pocket? Yes = ENT /
magazine No = NO ENT
L Locked pocket (see also column ST) Pocket locked Yes = ENT /
No = NO ENT
PLC Information on this tool pocket that is to be sent to the PLC PLC status?
P1 ... P5 Function is defined by the machine tool builder. The machine tool Value?
documentation provides further information.
PTYP Tool type. Function is defined by the machine tool builder. The machine tool Tool type for pocket
documentation provides further information. table?
LOCKED_ABOVE Box magazine: Lock the pocket above Lock the pocket above?
LOCKED_BELOW Box magazine: Lock the pocket below Lock the pocket below?
LOCKED_LEFT Box magazine: Lock the pocket at left Lock the pocket at left?
LOCKED_RIGHT Box magazine: Lock the pocket at right Lock the pocket at right?
For tool length compensation, the control takes the delta values from
both the TOOL CALL block and the tool table into account:
Compensation value = L + DLTOOL CALL + DLTAB where
For radius compensation, the TNC takes the delta values from both the
TOOL CALL block and the tool table into account:
Compensation value = R + DRTOOL CALL + DRTAB where
R Tool radius R from the TOOL DEF block or tool table
DR TOOL CALL Oversize for radius DR in the TOOL CALL block (not
taken into account by the position display)
DR TAB: Oversize for radius DR in the tool table
X
Y
RR
Danger of collision!
To prevent the tool from damaging the contour, be careful
not to program the starting or end position for machining
inside corners at a corner of the contour.
RL RL
Miscellaneous functions M
With the TNC's miscellaneous functions you can affect
the program run, e.g., a program interruption
the machine functions, such as switching spindle rotation and Y
coolant supply on and off
the path behavior of the tool 80
CC
60
Subprograms and program section repeats
0
R4
40
If a machining sequence occurs several times in a program, you can
save time and reduce the chance of programming errors by entering
the sequence once and then defining it as a subprogram or program
section repeat. If you wish to execute a specific program section only
under certain conditions, you also define this machining sequence as X
a subprogram. In addition, you can have a part program call a separate 10 115
program for execution.
Programming with subprograms and program section repeats is
described in Chapter 7.
50 L X+100 Y
X
50 Block number 50
L Path function straight line at
X+100 Coordinate of the end point
The tool retains the Y and Z coordinates and moves to the position 70
X=100. See figure.
The tool retains the Z coordinate and moves in the XY plane to the Y
position X=70, Y=50 (see figure).
X
Three-dimensional movement
The program block contains three coordinates. The TNC thus moves
the tool in space to the programmed position.
Example: 80
-10
L X+80 Y+0 Z-10
Y ZX, also
WU, ZU, WX CC
YCC
X YZ, also
VW, YW, VZ
X X
You can program circles that do not lie parallel to a main XCC
plane by using the function for tilting the working plane
(see User's Manual for Cycles, Cycle 19, WORKING
PLANE) or Q parameters (see "Principle and Overview",
page 222).
Pre-positioning
Danger of collision!
Before running a part program, always pre-position the
tool to prevent the possibility of damaging it or the
workpiece.
COORDINATES?
COORDINATES?
MISCELLANEOUS FUNCTION M?
Abbreviation Meaning
APPR Approach
DEP Departure
L Line
C Circle
N Normal (perpendicular)
Radius compensation
The tool radius compensation is programmed together with the first
contour point PA in the APPR block. The DEP blocks automatically
discard the tool radius compensation.
Contour approach without radius compensation: If you program the
APPR block with R0, the TNC will calculate the tool path for a tool
radius of 0 mm and a radius compensation RR! The radius
compensation is necessary to set the direction of contour approach
and departure in the APPR/DEP LN and APPR/DEP CT functions. In
addition, you must program both coordinates in the working plane
in the first traverse block after APPR.
RR
straight line that connects tangentially to the contour. The auxiliary PA
15
point PH is separated from the first contour point PA by the distance 20 RR
LEN.
U Use any path function to approach the starting point PS
10
U Initiate the dialog with the APPR/DEP key and APPR LT soft key: PH PS
U Coordinates of the first contour point PA RR R0
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LT X+20 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR, distance PH to PA: LEN=15
9 L X+35 Y+35 End point of the first contour element
10 L ... Next contour element
RR
straight line perpendicular to the first contour element. The auxiliary PA
point PH is separated by the distance LEN plus the tool radius from the 20 RR
first contour point PA. 15
U Use any path function to approach the starting point PS
10
U Initiate the dialog with the APPR/DEP key and APPR LN soft key: PH PS
U Coordinates of the first contour point PA RR R0
U Length: Distance to the auxiliary point PH. Always
enter LEN as a positive value! X
10 20 40
U Radius compensation RR/RL for machining
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LN X+10 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
RR
a circular arc that is tangential to the first contour element. PA
20 RR
The arc from PH to PA is determined through the radius R and the CCA=
center angle CCA. The direction of rotation of the circular arc is 180
automatically derived from the tool path for the first contour element. 0
10 R1
U Use any path function to approach the starting point PS PS
R0
U Initiate the dialog with the APPR/DEP key and APPR CT soft key:
PH
U Coordinates of the first contour point PA
X
U Radius R of the circular arc 10 20 40
If the tool should approach the workpiece in the
direction defined by the radius compensation: Enter
R as a positive value.
If the tool should approach from the workpiece
side:
Enter R as a negative value
U Center angle CCA of the arc
CCA can be entered only as a positive value.
Maximum input value 360
U Radius compensation RR/RL for machining
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR CT X+10 Y+20 Z-10 CCA180 R+10 RR F100 PA with radius comp. RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
RR
auxiliary point PH. It then moves to the first contour point PA on a PA
circular arc. The feed rate programmed in the APPR block is effective 20 RR
for the entire path that the TNC traversed in the approach block (path
PS to PA).
0
10 R1
If you have programmed the coordinates of all three principal axes X, PS
Y and Z in the approach block, the TNC moves the tool from the
R0
position defined before the APPR block simultaneously in all three PH
axes to the auxiliary point PH and then, only in the working plane, from RR
PH to PA. X
10 20 40
The arc is connected tangentially both to the line PSPH as well as to
the first contour element. Once these lines are known, the radius then
suffices to completely define the tool path.
U Use any path function to approach the starting point PS
U Initiate the dialog with the APPR/DEP key and APPR LCT soft key:
U Coordinates of the first contour point PA
Example NC blocks
7 L X+10 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LCT X+10 Y+20 Z-10 R10 RR F100 PA with radius comp. RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
12.5
U 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 PN
R0
X
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LT LEN12.5 F100 Depart contour by LEN=12.5 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LN LEN+20 F100 Depart perpendicular to contour by LEN=20 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
R8
RR
U Initiate the dialog with the APPR/DEP key and DEP CT soft key:
U Center angle CCA of the arc
U Radius R of the circular arc
If the tool should depart the workpiece in the X
direction of the radius compensation (i.e. to the
right with RR or to the left with RL): Enter R as a
positive value
If the tool should depart the workpiece in the
direction opposite to the radius compensation:
Enter R as a negative value
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP CT CCA 180 R+8 F100 Center angle=180,
Arc radius=8 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
The tool moves on a circular arc from the last contour point PE to an
auxiliary point PH. It then moves on a straight line to the end point PN.
20
The arc is tangentially connected both to the last contour element and PE
R8
to the line from PH to PN. The radius R uniquely defines the arc. RR
U Program the last contour element with the end point PE and radius 12
PH
compensation PN
R0
U Initiate the dialog with the APPR/DEP key and DEP LCT soft key: R0
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LCT X+10 Y+12 R+8 F100 Coordinates PN, arc radius=8 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Chamfer CHF Chamfer between two Chamfer side length Page 168
straight lines
Circle C Circular arc around a circle Coordinates of the arc end Page 171
center CC to an arc end point point, direction of rotation
Circular arc CR Circular arc with a certain Coordinates of the arc end Page 172
radius point, arc radius, direction of
rotation
Circular arc CT Circular arc with tangential Coordinates of the arc end Page 174
connection to the preceding point
and subsequent contour
elements
Corner Rounding RND Circular arc with tangential Rounding radius R Page 169
connection to the preceding
and subsequent contour
elements
FK Free Contour Straight line or circular path see "Path Contours FK Free Page 190
Programming with any connection to the Contour Programming
preceding contour element (Advanced Programming
Features Software Option)",
page 187
15
U Radius compensation RL/RR/R0
10
U Feed rate F
U Miscellaneous function M
Example NC blocks
20 X
10
7 L X+10 Y+40 RL F200 M3
60
8 L IX+20 IY-15
9 L X+60 IY-10
12
5
The chamfer must be machinable with the current tool 30
Example NC blocks 5 X
7 L X+0 Y+30 RL F300 M3 40
8 L X+40 IY+5
9 CHF 12 F250
10 L IX+5 Y+0
Example NC blocks
5 L X+10 Y+40 RL F300 M3
5
6 L X+40 Y+25
7 RND R5 F100 X
10 40
8 L X+10 Y+5
Example NC blocks
X CC
5 CC X+25 Y+25
or
10 L X+25 Y+25
11 CC
U Feed rate F
U Miscellaneous function M
X
The TNC normally makes circular movements in the active
working plane. If you program circular arcs that do not lie
in the active working plane, for example C Z... X... DR+
with a tool axis Z, and at the same time rotate this
movement, then the TNC moves the tool in a spatial arc,
which means a circular arc in 3 axes.
Example NC blocks
5 CC X+25 Y+25 Y
6 L X+45 Y+25 RR F200 M3
7 C X+45 Y+25 DR+ DR+
Full circle CC
25
For the end point, enter the same point that you used for the starting
point.
DR
The starting and end points of the arc must lie on the
circle.
X
Input tolerance: up to 0.016 mm (selected through the 25 45
circleDeviation machine parameter).
Smallest possible circle that the TNC can traverse:
0.0016 m.
or
R R
11 CR X+70 Y+40 R-20 DR- (ARC 3) 40
or
4
11 CR X+70 Y+40 R-20 DR+ (ARC 4) DR+
X
The distance from the starting and end points of the arc 40 70
diameter cannot be greater than the diameter of the arc.
The maximum radius is 99.9999 m.
You can also enter rotary axes A, B and C.
U Feed rate F
U Miscellaneous function M
Example NC blocks
X
25 45
7 L X+0 Y+25 RL F300 M3
8 L X+25 Y+30
9 CT X+45 Y+20
10 L Y+0
Y 10
3
95
2
10
20
1 4
5
20 X
5 9
95
2 4 5
R3
85
R10 3
0
6
40
1 7
5
X
5 30 40 70 95
CC
50
X
50
Circular arc CP + Circular path around circle Polar angle of the arc end Page 181
center/pole to arc end point point, direction of rotation
Circular arc CTP + Circular arc with tangential Polar radius, polar angle of Page 182
connection to the preceding the arc end point
contour element
Helical interpolation + Combination of a circular and Polar radius, polar angle of Page 183
a linear movement the arc end point, coordinate
of the end point in the tool
axis
Example NC blocks
12 CC X+45 Y+25
X
Straight line LP XCC
The tool moves in a straight line from its current position to the
straight-line end point. The starting point is the end point of the
preceding block. Y
U Polar coordinate radius PR: Enter the distance from
the pole CC to the straight-line end point
30
U Polar coordinate angle PA: Angular position of the
60
straight-line end point between 360 and +360 60
The sign of PA depends on the angle reference axis: 25
CC
If the angle from the angle reference axis to PR is counterclockwise:
PA>0
If the angle from the angle reference axis to PR is clockwise: PA<0
Example NC blocks X
45
12 CC X+45 Y+25
13 LP PR+30 PA+0 RR F300 M3
14 LP PA+60
15 LP IPA+60
16 LP PA+180
18 CC X+25 Y+25
19 LP PR+20 PA+0 RR F250 M3
20 CP PA+180 DR+ X
25
5
0
R3
R2
Example NC blocks 30
35
12 CC X+40 Y+35 CC
Right-handed Z DR RR
Left-handed Z DR+ RL
External thread
Right-handed Z+ DR+ RR
Left-handed Z+ DR RL
Right-handed Z DR RL
Left-handed Z DR+ RR
5
270
U Polar coordinates angle: Enter the total angle of
25 X
tool traverse along the helix in incremental
dimensions. After entering the angle, specify the
tool axis with an axis selection key. 40
U Coordinate: Enter the coordinate for the height of the
helix in incremental dimensions.
U Direction of rotation DR
Clockwise helix: DR
Counterclockwise helix: DR+
U Enter the radius compensation according to the table
above
Example NC blocks: Thread M6 x 1 mm with 5 revolutions
12 CC X+40 Y+25
13 L Z+0 F100 M3
14 LP PR+3 PA+270 RL F50
15 CP IPA-1800 IZ+5 DR-
Y
100
3
2
60
5
R4
CC
50 1 4
6 5
5
X
5 50 100
Y
100
M64 x 1,5
CC
50
X
50 100
28
Y
.5
R2
Directional data and data regarding the course of the contour
18
You can enter such dimensional data directly by using the FK free
X
contour programming function. The TNC derives the contour from the
known coordinate data and supports the programming dialog with the
interactive programming graphics. The figure at upper right shows a
R4
workpiece drawing for which FK programming is the most convenient 45
programming method.
21
20 10 5 0
R15
30
Polar coordinates referenced to FPOL 30
20
Example NC blocks
AN
Chord length LEN of an arc LEN
0
R6
Example NC blocks .5
12
R1
35
5
27 FLT X+25 LEN 12.5 AN+35 RL F200
15
28 FC DR+ R6 LEN10 AN-45
29 FCT DR- R15 LEN 15 45
X
25
Radius of an arc
Example NC blocks
... X
17 FCT DR- R+15 CLSD-
X coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc X
50
42.929
Y coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
Example NC blocks
R20
20
The block number of the contour element on which the 10
relative data are based can only be located up to 64 FPOL
positioning blocks before the block in which you program
the reference. 35 X
If you delete a block on which relative data are based, the 10
TNC will display an error message. Change the program
first before you delete the block.
Example NC blocks
95
20
Distance from a straight line to a parallel contour
12.5
element
105 15
Example NC blocks
12.5 X
17 FL LEN 20 AN+15
20
18 FL AN+105 LEN 12.5
19 FL PAR 17 DP 12.5
20 FSELECT 2
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
15
R10
Example NC blocks
CC
12 FL X+10 Y+10 RL 10
13 FL ...
14 FL X+18 Y+35
15 FL ... X
10 18
16 FL ...
17 FC DR- R10 CCA+0 ICCX+20 ICCY-15 RCCX12 RCCY14
Y
100
R1
5
75
R18
30
R15
20
X
20 50 75 100
10
Y 10
R20
55
R30 60
30
X
30
Y
R1
0
50
R36
R24
R1,5
R5
30
R6
R6 R5 X
-10
0
R4
R65
-25
R5
0
12 44 65 110
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.
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 beginning, press the LBL SET key
U Enter the subprogram number. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry
U To mark the end, press the LBL SET key and enter the
label number 0
Calling a subprogram
U To call a subprogram, press the LBL CALL key
U Label number: Enter the label number of the
subprogram you wish to call. If you want to use a label
name, press the LBL NAME soft key to switch to text
entry
U Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program
section repeats
1 The TNC executes the part program up to the end of the program LBL1
section (CALL LBL n REPn)
2 R 2/1 R 2/2
2 Then the program section between the called LBL CALL LBL n REPn
is repeated the number of times entered after REP
3 The TNC then resumes the part program after the last repetition
CALL LBL 1 REP 2
3
Programming notes
END PGM ...
You can repeat a program section up to 65 534 times in succession
The total number of times the program section is executed is always
one more than the programmed number of repeats
You need only enter the program name if the program you
want to call is located in the same directory as the program
you are calling it from.
If the called program is not located in the same directory
as the program you are calling it from, you must enter the
complete path, e.g. TNC:\ZW35\SCHRUPP\PGM1.H
If you want to call a DIN/ISO program, enter the file type .I
after the program name.
You can also call a program with 12 PGM CALL.
As a rule, Q parameters are effective globally with a PGM
CALL. So please note that changes to Q parameters in the
called program can also influence the calling program.
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for main program calls: 6, where a
CYCL CALL acts like a main program call
You can nest program section repeats as often as desired
Program execution
1 Main program SUBPGMS is executed up to block 17
2 Subprogram SP1 is called, and executed up to block 39
3 Subprogram 2 is called, and executed up to block 62. End of
subprogram 2 and return jump to the subprogram from which it
was called
4 Subprogram 1 is executed from block 40 up to block 45. End of
subprogram 1 and return jump to the main program SUBPGMS
5 Main program SUBPGMS is executed from block 18 up to block
35. Return jump to block 1 and end of program
Program execution
1 Main program REPS is executed up to block 27
2 Program section between block 20 and block 27 is repeated twice
3 Main program REPS is executed from block 28 to block 35
4 Program section between block 15 and block 35 is repeated once
(including the program section repeat between 20 and block 27)
5 Main program REPS is executed from block 36 to block 50 (end of
program)
Program execution
1 Main program UPGREP is executed up to block 11
2 Subprogram 2 is called and executed.
3 Program section between block 10 and block 12 is repeated twice.
Subprogram 2 is repeated twice.
4 Main program SPGREP is executed from block 13 to block 19. End
of program.
Program sequence
Pre-position the tool to the workpiece surface
Enter the infeed depth in incremental values Y
Contour milling
100
Repeat downfeed and contour-milling
R1
5
75
R18
30
R15
20
X
20 50 75 100
Program sequence
Approach the groups of holes in the main
program Y
Call the group of holes (subprogram 1)
100
Program the group of holes only once in
subprogram 1
2
60
5
20
1 3
20
10
X
15 45 75 100
Program sequence
Program the fixed cycles in the main program
Y Y
Call the entire hole pattern (subprogram 1)
Approach the groups of holes in subprogram 1, 100
call group of holes (subprogram 2)
Program the group of holes only once in
subprogram 2 2
60
5
20
1 3
20
10
X Z
15 45 75 100 -15
-20
Meaning Range
Freely applicable parameters, as long as no Q0 to Q99
overlapping with SL cycles can occur, globally
effective for all programs stored in the TNC
memory
QS parameters (the S stands for string) are also available on the TNC
and enable you to process texts. In principle, the same ranges are
available for QS parameters as for Q parameters (see table above).
Example NC blocks
15 FN O: Q10=25 Assign
... Q10 is assigned the
value 25
25 L X +Q10 Means L X +25
You need write only one program for a whole family of parts, entering
the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values to
the individual Q parameters.
Example
Cylinder with Q parameters
Cylinder radius R = Q1
Cylinder height H = Q2 Q1
Cylinder Z1 Q1 = +30
Q2 = +10
Cylinder Z2 Q1 = +10
Q2 = +50 Q1
Q2 Z2
Q2
Z1
Overview
FN 1: ADDITION
Example: FN 1: Q1 = -Q2 + -5
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!
16 FN 0: Q5 = +10
Call the Q parameter functions by pressing the Q key
17 FN 3: Q12 = +Q5 * +7
where c
a
c is the side opposite the right angle
a is the side opposite the angle
b
b is the third side.
The TNC can find the angle from the tangent:
= arc tan (a / b) = arc tan (sin / cos )
Example:
a = 25 mm
b = 50 mm
= arctan (a / b) = arctan 0.5 = 26.57
Furthermore:
a + b = c (where a = a x a)
c = (a + b)
FN 7: COSINE
Example: FN 7: Q21 = COS-Q5
Calculates and assigns the cosine of an angle in
degrees ()
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.
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
Example NC block
The TNC is to display the text stored under error number 254:
Special
Function
character
........... Define output format for texts and variables
between the quotation marks
Keyword Function
CALL_PATH Gives the path for the NC program where you
will find the FN16 function. Example:
Measuring program: %S,CALL_PATH;
The TNC then outputs the file PROT1.A through the serial interface:
CALIBRAT. CHART IMPELLER CENTER GRAVITY
DATE: 27:11:2001
TIME: 8:56:34
NO. OF MEASURED VALUES : = 1
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
If the message has more lines than fit in the pop-up window, you can
use the arrow keys to page in the window.
To close the pop-up window, press the CE key. To have the program
close the window, program the following NC block:
Exporting messages
You can also use the FN 16 function in the NC program in order to
externally save the files generated with FN 16. Two possibilities are
available for this:
Enter the complete target path in the FN 16 function:
Specify the target path in the MOD function under Print or Print-
Test if you always want to save to the same directory on the server:
System jump addresses, 13 1 - Label jumped to during M2/M30 instead of ending the
current program. Value = 0: M2/M30 has the normal
effect
7 - Gear range
21 - Probing angle
22 - Probing path
Data for SQL tables, 40 1 - Result code for the last SQL command
8 - Tool index
2 - Length
3 - Radius
4 - Index
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
51 - Effective length
2 Rounding radius
55 1 Rapid traverse
2 Safety clearance
75 1 Rapid traverse
77 - Spindle speed
78 - Probing direction
Reference point from touch probe 1 1 to 9 Last reference point of a manual touch probe cycle, or
cycle, 360 (X, Y, Z, A, B, C, U, V, last touch point from Cycle 0 without probe length
W) compensation but with probe radius compensation
(workpiece coordinate system)
Value from the active datum table Line Column Read values
in the active coordinate system,
500
2 - Tool radius R
3 - Tool radius R2
7 - Tool locked TL
0 = not locked, 1 = locked
12 - PLC status
23 - PLC value
32 - Point angle
34 - Lift off
11 - Search phase
Example: Assign the value of the active scaling factor for the
Z axis to Q25
55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3
With function FN 20: WAIT FOR you can synchronize the NC and PLC
with each other 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:
Output O 0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter C 48 to 79
Timer ING 0 to 95
Byte B 0 to 4095
Word W 0 to 2047
Condition Abbreviation
Equal ==
In addition, the FN20: WAIT FOR SYNC function is available. WAIT FOR
SYNC is used whenever you read, for example, system data via FN18
that require synchronization with real time. The TNC stops the look-
ahead calculation and executes the subsequent NC block only when
the NC program has actually reached that block.
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN 20: WAIT FOR M4095==1
Example: Stop program run until the PLC sets the symbolic
operand to 1
32 FN20: APISPIN[0].NN_SPICONTROLINPOS==1
The TNC exports the value that the parameter has at the
time of the EXPORT command.
The parameter is exported only to the presently calling
program.
You can lock the selected rows. Other processes can then read
these rows, but cannot change the table entries. You should
always lock the selected rows when you are going to make
changes (SQL SELECT ... FOR UPDATE).
3 Read rows from the result set, change rows or insert new rows:
Transfer one row of the result set into the Q parameters of your
NC program (SQL FETCH...).
Prepare changes in the Q parameters and transfer one row from
the result set (SQL UPDATE...).
Prepare new table row in the Q parameters and transfer into the
result set as a new row (SQL INSERT...).
4 Conclude transaction:
If changes/insertions were made, the data from the result set is
placed in the table (file). The data is now saved in the file. Any locks
are canceled, and the result set is released (SQL COMMIT...).
If table entries were not changed or inserted (only read access),
any locks are canceled and the result set is released (SQL
ROLLBACK... WITHOUT INDEX).
Multiple transactions can be edited at the same time.
SQL BIND
Bind a Q parameter to a table column.
SQL FETCH
Read table rows from the result set and save them in Q
parameters.
SQL UPDATE
Save data from the Q parameters in an existing table
row in the result set.
SQL INSERT
Save data from the Q parameters in a new table row in
the result set.
SQL COMMIT
Transfer table rows from the result set into the table
and conclude the transaction.
SQL ROLLBACK
If INDEX is not programmed: Discard any
changes/insertions and conclude the transaction.
If INDEX is programmed: The indexed row remains in
the result set. All other rows are deleted from the
result set. The transaction is not concluded.
An SQL BIND command without a table or column name cancels the 12 SQL BIND Q882 "TAB_EXAMPLE.MEAS_X"
binding. Binding remains effective at most until the end of the NC 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
program or subprogram.
14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
You can program any number of bindings. Read and
write processes only take into account the columns that Example: Cancel binding
were entered in the "Select" command.
91 SQL BIND Q881
SQL BIND... must be programmed before "Fetch,"
"Update" or "Insert" commands are programmed. You 92 SQL BIND Q882
can program a "Select" command without a preceding
93 SQL BIND Q883
"Bind" command.
If in the Select command you include columns for 94 SQL BIND Q884
which no binding is programmed, an error occurs during
read/write processes (program interrupt).
Not equal to !=
<>
Logical OR OR
U Parameter no. for result: Q parameter in which the 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
SQL server reports the result: 14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
0: No error occurred.
1: Error occurred (incorrect handle or index too large) . . .
20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
U Data bank: SQL access ID: Q parameter with the
handle for identifying the result set (also see SQL MEAS_Z FROM TAB_EXAMPLE"
SELECT). . . .
U Data bank: Index for SQL result: Row number 30 SQL FETCH Q1 HANDLE Q5 INDEX+Q2
within the result set. The table entries of this row are
read and are transferred into the bound Q Example: Row number is programmed directly
parameters. If you do not enter an index, the first row
is read (n=0). . . .
Either enter the row number directly or program the
Q parameter containing the index. 30 SQL FETCH Q1 HANDLE Q5 INDEX5
U Parameter no. for result: Q parameter in which the 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
SQL server reports the result: 14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
0: No error occurred.
1: Error occurred (incorrect handle, index too large, . . .
value outside of value range or incorrect data format) 20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
U Data bank: SQL access ID: Q parameter with the MEAS_Z FROM TAB_EXAMPLE"
handle for identifying the result set (also see SQL . . .
SELECT).
30 SQL FETCH Q1 HANDLE Q5 INDEX+Q2
U Data bank: Index for SQL result: Row number
. . .
within the result set. The table entries prepared in the
Q parameters are written to this row. If you do not 40 SQL UPDATE Q1 HANDLE Q5 INDEX+Q2
enter an index, the first row is written to (n=0).
Either enter the row number directly or program the Example: Row number is programmed directly
Q parameter containing the index.
. . .
40 SQL UPDATE Q1 HANDLE Q5 INDEX5
SQL INSERT
SQL INSERT generates a new row in the result set and transfers the Example: Row number is transferred in a
data prepared in the Q parameters into the new row. Q parameter
SQL INSERT takes into account all columns entered in the "Select" 11 SQL BIND Q881 "TAB_EXAMPLE.MEAS_NO"
command. Table columns not entered in the "Select" command are
filled with default values. 12 SQL BIND Q882 "TAB_EXAMPLE.MEAS_X"
U Parameter no. for result: Q parameter in which the 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
SQL server reports the result: 14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
0: No error occurred.
1: Error occurred (incorrect handle, value outside of . . .
value range or incorrect data format) 20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
U Data bank: SQL access ID: Q parameter with the MEAS_Z FROM TAB_EXAMPLE"
handle for identifying the result set (also see SQL . . .
SELECT).
40 SQL INSERT Q1 HANDLE Q5
SQL ROLLBACK
The execution of SQL ROLLBACK depends on whether INDEX is Example:
programmed:
11 SQL BIND Q881 "TAB_EXAMPLE.MEAS_NO"
If INDEX is not programmed: The result set is not written back to the
table (any changes/insertions are discarded). The transaction is 12 SQL BIND Q882 "TAB_EXAMPLE.MEAS_X"
closed and the handle given in the SQL SELECT command loses its 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
validity. Typical application: Ending a transaction solely containing
read-accesses. 14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
If INDEX is programmed: The indexed row remains. All other rows . . .
are deleted from the result set. The transaction is not concluded. A 20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
lock set with SELECT...FOR UPDATE remains for the indexed row. For
MEAS_Z FROM TAB_EXAMPLE"
all other rows it is reset.
. . .
U Parameter no. for result: Q parameter in which the
SQL server reports the result: 30 SQL FETCH Q1 HANDLE Q5 INDEX+Q2
0: No error occurred. . . .
1: Error occurred (incorrect handle)
50 SQL ROLLBACK Q1 HANDLE Q5
U Data bank: SQL access ID: Q parameter with the
handle for identifying the result set (also see SQL
SELECT).
U Data bank: Index for SQL result: Row that is to
remain in the result set. Either enter the row number
directly or program the Q parameter containing the
index.
Subtraction
Example: Q25 = Q7 Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Square of a value
Example: Q15 = SQ 5
Square root
Example: Q22 = SQRT 25
Sine of an angle
Example: Q44 = SIN 45
Cosine of an angle
Example: Q45 = COS 45
Tangent of an angle
Example: Q46 = TAN 45
Arc sine
Inverse of the sine. Determines the angle from the
ratio of the side opposite the hypotenuse.
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determines the angle from the
ratio of the side adjacent to the hypotenuse.
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
Constant pi (3.14159)
Example: Q15 = PI
Negate (multiplication by 1)
Example: Q2 = NEG Q1
1st calculation: 5 * 3 = 15
2nd calculation: 2 * 10 = 20
3rd calculation: 15 + 20 = 35
or
13 Q2 = SQ 10 - 3^3 = 73
Distributive law
Law for calculating with parentheses
a * (b + c) = a * b + a * c
Select division.
Example NC block
37 Q25 = ATAN (Q12/Q13)
Example NC block:
37 DECLARE STRING QS10 = WORKPIECE
Parameter contents:
QS12: Workpiece
QS13: Status:
QS14: Scrap
QS10: Workpiece Status: Scrap
X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
V axis Q109 = 7
W axis Q109 = 8
M5 after M3 Q110 = 2
M5 after M4 Q110 = 3
Y axis Q116
Z axis Q117
B axis Q121
C axis Q122
Diameter Q153
Diameter Q163
Rework Q181
Scrap Q182
Y axis Q186
Z axis Q187
Reserved Q191
Reserved Q192
Reserved Q193
Example: Ellipse
Program sequence
The contour of the ellipse is approximated by
many short lines (defined in Q7). The more Y
calculation steps you define for the lines, the
smoother the curve becomes.
The machining direction can be altered by 50
changing the entries for the starting and end
angles in the plane:
30
Clockwise machining direction:
starting angle > end angle
50
Counterclockwise machining direction:
starting angle < end angle
The tool radius is not taken into account.
X
50
33 LBL 1
34 Q36 = Q36 + Q35 Update the angle
35 Q37 = Q37 + 1 Update the counter
36 Q21 = Q3 * COS Q36 Calculate the current X coordinate
37 Q22 = Q4 * SIN Q36 Calculate the current Y coordinate
38 L X+Q21 Y+Q22 R0 FQ11 Move to next point
39 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
Program sequence
Z
This program functions only with a spherical
cutter. The tool length refers to the sphere R4
center. 0 X
The contour of the cylinder is approximated by
many short line segments (defined in Q13). The
more line segments you define, the smoother -50
the curve becomes. Y Y
The cylinder is milled in longitudinal cuts (here: 100
parallel to the Y axis).
The machining direction can be altered by
changing the entries for the starting and end
angles in space:
Clockwise machining direction:
starting angle > end angle
Counterclockwise machining direction:
starting angle < end angle
The tool radius is compensated automatically.
50 100 X Z
Program sequence
This program requires an end mill.
The contour of the sphere is approximated by Y Y
many short lines (in the Z/X plane, defined in
Q14). The smaller you define the angle 100
increment, the smoother the curve becomes.
You can determine the number of contour cuts
through the angle increment in the plane
5
5
R4
R4
(defined in Q18).
The tool moves upward in three-dimensional 50
cuts.
The tool radius is compensated automatically.
X Z
50 100 -50
87 STOP M6
M3 Spindle ON clockwise
M4 Spindle ON counterclockwise
M5 Spindle STOP
M6 Tool change
Spindle STOP
Stop program run
M8 Coolant ON
M9 Coolant OFF
M30 Same as M2
Standard behavior
The TNC references coordinates to the workpiece datum (see "Datum
Setting without a 3-D Touch Probe", page 358).
Effect
M91 and M92 are effective only in the blocks in which they are
programmed.
M91 and M92 take effect at the start of block.
Workpiece datum
If you want the coordinates to always be referenced to the machine
datum, you can inhibit datum setting for one or more axes.
Z
If datum setting is inhibited for all axes, the TNC no longer displays the
SET DATUM soft key in the Manual Operation mode. Z
The figure shows coordinate systems with the machine datum and Y
workpiece datum.
Y
M91/M92 in the Test Run mode X
In order to be able to graphically simulate M91/M92 movements, you
need to activate working space monitoring and display the workpiece
blank referenced to the set datum (see "Show the Workpiece in the X
Working Space (Advanced Graphic Features Software Option)", page M
401).
Danger of collision!
Subsequent positioning blocks or fixed cycles are carried
out in a tilted coordinate system. This can lead to problems
in fixed cycles with absolute pre-positioning.
The function M130 is allowed only if the tilted working
plane function is active.
Effect
M130 functions blockwise in straight-line blocks without tool radius
compensation.
Effect
M97 is effective only in the blocks in which it is programmed.
Y
A corner machined with M97 will not be completely
finished. You may wish to rework the contour with a
smaller tool.
S S
13 16
17
14 15
Effect
M98 is effective only in the blocks in which it is programmed. S S
M98 takes effect at the end of block.
X
Example NC blocks
Move to the contour points 10, 11 and 12 in succession:
10 L X... Y... RL F
11 L X... IY... M98
Y
12 L IX+ ...
10
11 12
X
Programming M103
If you enter M103 in a positioning block, the TNC continues the dialog
by asking you the factor F.
Effect
M103 becomes effective at the start of block.
To cancel M103, program M103 once again without a factor.
Example NC blocks
The feed rate for plunging is to be 20% of the feed rate in the plane.
With M136, the TNC does not move the tool in mm/min, but rather at
the programmed feed rate F in millimeters per spindle revolution. If
you change the spindle speed by using the spindle override, the TNC
changes the feed rate accordingly.
Effect
M136 becomes effective at the start of block.
You can cancel M136 by programming M137.
Effect
M109 and M110 become effective at the start of block. To cancel
M109 and M110, enter M111.
Input
If you enter M120 in a positioning block, the TNC continues the dialog
for this block by asking you the number of blocks LA that are to be X
calculated in advance.
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, 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 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
Input
If you enter M118 in a positioning block, the TNC continues the dialog
for this block by asking you the axis-specific values. The coordinates
are entered with the orange axis direction buttons or the ASCII
keyboard.
Effect
Cancel handwheel positioning by programming M118 once again
without coordinate input.
M118 becomes effective at the start of block.
Example NC blocks
You want to be able to use the handwheel during program run to move
the tool in the working plane X/Y by 1 mm and in the rotary axis B by
5 from the programmed value:
Input
If you enter M140 in a positioning block, the TNC continues the dialog
and asks for the desired path of tool departure from the contour. Enter
the requested path that the tool should follow when departing the
contour, or press the MB MAX soft key to move to the limit of the
traverse range.
In addition, you can program the feed rate at which the tool traverses
the entered path. If you do not enter a feed rate, the TNC moves the
tool along the entered path at rapid traverse.
Effect
M140 is effective only in the block in which it is programmed.
M140 becomes effective at the start of the block.
Example NC blocks
Block 250: Retract the tool 50 mm from the contour.
Block 251: Move the tool to the limit of the traverse range.
Danger of collision!
If you use M141, make sure that you retract the touch
probe in the correct direction.
M141 functions only for movements with straight-line
blocks.
Effect
M141 is effective only in the block in which it is programmed.
M141 becomes effective at the start of the block.
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!
In the CfgLiftOff machine parameter, define the value by
which the tool is to be retracted . In the CfgLiftOff
machine parameter you can also switch off the function.
Effect
M148 remains in effect until deactivated with M149.
M148 becomes effective at the start of block, M149 at the end of
block.
312
Programming: Miscellaneous Functions
Programming: Special
Functions
10.1 Overview of Special Functions
10.1 Overview of Special Functions
Press the SPEC FCT and the corresponding soft keys to access further
special functions of the TNC. The following tables will give you an
overview of which functions are available.
The axes U, V and W are secondary axes parallel to the principal axes
X, Y and Z, respectively. Principal axes and parallel axes are
permanently assigned to each other. Z
Principal axis Parallel axis Rotary axis
X U A Y W+
Y V B
C+
Z W C B+
V+ A+ X
The TNC provides the following functions for machining with the
parallel axes U, V and W:
U+
Function Meaning Soft key Page
PARAXCOMP Define the TNC's Page 320
behavior when
positioning parallel axes
The TNC uses the PARAXCOMP MOVE function to compensate for the
movement of a parallel axis by performing a compensation movement
in the associated principal axis.
For example, if a parallel axis moves in the negative W-axis direction,
the principal axis Z simultaneously moves in the positive direction by
the same value. The relative distance from the tool to the workpiece
remains the same. Application in gantry-type milling machine: Retract
the spindle sleeve to move the cross beam down simultaneously.
Proceed as follows for the definition:
U Show the soft-key row with special functions
U Show the soft-key row with special functions 13 FUNCTION PARAXCOMP OFF W
Use the PARAXMODE function to define the axes the TNC is to use for
machining. You program all traverse movements and contour
descriptions in the principal axes X, Y and Z, independent of your
machine.
Define the three axes in the PARAXMODE function (e.g. FUNCTION
PARAXMODE X Y W), which the TNC is to use to execute the programmed
traverse movements.
Proceed as follows for the definition:
U Show the soft-key row with special functions
Position display
As soon as a PLANE function is active, the TNC shows the calculated
space angle in the additional status display (see figure). As a rule, the
TNC internally always calculates with space angles, independent of
which PLANE function is active.
Abbreviation Meaning
SPATIAL Spatial = in space
Example: NC block
Abbreviations used
Abbreviation Meaning
PROJECTED Projected
PROROT Rotation
Abbreviations used
Abbreviation Meaning
EULER Swiss mathematician who defined these angles
Abbreviations used
Abbreviation Meaning
VECTOR Vector
Abbreviations used
Abbreviation Meaning
POINTS
Input parameters
U Incremental angle?: Space angle about which the
active machining plane is to be rotated additionally
(see figure at right). Use a soft key to select the axis
to be rotated about. Input range: -359.9999 to
+359.9999
U Continue with the positioning properties (see
Specifying the positioning behavior of the PLANE
function on page 342)
Abbreviations used
Abbreviation Meaning
RELATIVE
Example: NC block
PLANE AXIAL can also be used if you have only one rotary
axis active on your machine.
You can use the PLANE RELATIVE function after PLANE
AXIAL if your machine allows space angle definitions. The
machine tool manual provides further information.
Note:
If the tool is already at the given distance to the
workpiece before positioning, then relatively speaking
the tool is at the same position after positioning (see
figure at center right, 1 = SET UP) 1
If the tool is not at the given distance to the workpiece 1
before positioning, then relatively speaking the tool is
offset from the original position after positioning (see
figure at bottom right, 1= SET UP)
U Select any PLANE function, and define automatic positioning with the
STAY option. During program execution the TNC calculates the
1
position values of the rotary axes present on the machine, and
stores them in the system parameters Q120 (A axis), Q121 (B axis) 1
and Q122 (C axis)
U Define the positioning block with the angular values calculated by
the TNC
NC example blocks: Position a machine with a rotary table C and a
tilting table A to a space angle of B+45.
...
12 L Z+250 R0 FMAX Position at clearance height.
13 PLANE SPATIAL SPA+0 SPB+45 SPC+0 STAY Define and activate the PLANE function
14 L A+Q120 C+Q122 F2000 Position the rotary axis with the values calculated by
the TNC
... Define machining in the tilted working plane
If you do not define SEQ, the TNC determines the solution as follows:
1 The TNC first checks whether both solution possibilities are within
the traverse range of the rotary axes.
2 If they are, then the TNC selects the shortest possible solution.
3 If only one solution is within the traverse range, the TNC selects
this solution.
4 If neither solution is within the traverse range, the TNC displays
the Entered angle not permitted error message.
Effect
M116 is effective in the working plane. With M117 you can reset
M116. M116 is also canceled at the end of the program.
M116 becomes effective at the start of block.
10 340 +330
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.
Example NC blocks
To reduce display of all active rotary axes:
L M94
L M94 C
To reduce display of all active rotary axes and then move the tool in
the C axis to the programmed value:
Effect
M94 is effective only in the block in which it is programmed.
M94 becomes effective at the start of block.
Switch on the power supply for control and machine. The TNC then
displays the following dialog:
SYSTEM STARTUP
TNC is started
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
Danger of collision!
Make sure that the angle values entered in the menu for
tilting the working plane match the actual angles of the
tilted axis.
Deactivate the "Tilt Working Plane" function before you
cross the reference points. Take care that there is no
collision. Retract the tool from the current position first, if
necessary.
If one of the two functions that were active before is active now, the
NC START button has no function. The TNC outputs a corresponding
error message.
Switch-off
To prevent data from being lost at switch-off, you need to shut down
the operating system of the TNC as follows:
U Select the Manual Operation mode
U Select the function for shutting down, confirm again
with the YES soft key
U When the TNC displays the message NOW IT IS SAFE
TO TURN POWER OFF in a superimposed window, you
may cut off the power supply to the TNC.
You can move several axes at a time with these two methods. You can
change the feed rate at which the axes are traversed with the F soft
key, see "Spindle Speed S, Feed Rate F and Miscellaneous Functions
M", page 356.
JOG INCREMENT =
You can only move the machine axes when a permissive button is
depressed (machine-dependent function). 2
The red indicator lights show the axis and feed rate you have selected.
It is also possible to move the machine axes with the handwheel
during program run if M118 is active.
Procedure
Entering values
Spindle speed S, miscellaneous function M
SPINDLE SPEED S =
You fix a datum by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
U Clamp and align the workpiece
U Insert the zero tool with known radius into the spindle
U Ensure that the TNC is showing the actual position values
Fragile workpiece? Y
DATUM SETTING Z=
The TNC automatically saves the datum set with the axis
keys in line 0 of the preset table.
With the ENTER IN DATUM TABLE soft key, the TNC can write the
values measured during a touch probe cycle in a datum table:
U Select any probe function
U Enter the desired coordinates of the datum in the appropriate input
boxes (depends on the touch probe cycle being run)
U Enter the datum number in the Number in table= input box
U Press the ENTER IN DATUM TABLE soft key. The TNC saves the
datum in the indicated datum table under the entered number
With the ENTER IN PRESET TABLE soft key, the TNC can write the
values measured during a probe cycle in the preset table. The
measured values are then stored referenced to the machine-based
coordinate system (REF coordinates). The preset table has the name
PRESET.PR, and is saved in the directory TNC:\table\.
U Select any probe function
U Enter the desired coordinates of the datum in the appropriate input
boxes (depends on the touch probe cycle being run)
U Enter the preset number in the Number in table: input box
U Press the ENTER IN PRESET TABLE soft key. The TNC saves the
datum in the preset table under the entered number
During calibration, the TNC finds the effective length of the stylus
and the effective radius of the ball tip. To calibrate the 3-D touch
probe, clamp a ring gauge of known height and known internal radius
to the machine table.
Make sure that you have activated the correct tool number
before using the touch probe, regardless of whether you
wish to run the touch probe cycle in automatic mode or
manual mode.
The determined calibration values are not considered until
a tool is called (or called again, if required).
For incomplete circles (circular arcs) you can choose the appropriate
probing direction. X X+
Outside circle:
U Position the touch probe at a position near the first touch point X
outside of the circle
U Select the probe direction by soft key
U To probe the workpiece, press the machine START button Y+ X
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 368, or see "Writing the measured values from touch
probe cycles in the preset table", page 369).
U To terminate the probe function, press the END soft key.
The TNC supports the tilting functions on machine tools with swivel
heads and/or tilting tables. Typical applications are, for example, 10
oblique holes or contours in an oblique plane. The working plane is
always tilted around the active datum. The program is written as usual
in a main plane, such as the X/Y plane, but is executed in a plane that X
is tilted relative to the main plane.
There are three functions available for tilting the working plane:
3-D ROT soft key in the Manual Operation mode and Electronic
Handwheel mode, see "Activating manual tilting", page 385.
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 325).
The TNC functions for "tilting the working plane" are coordinate
transformations. The working plane is always perpendicular to the
direction of the tool axis.
Danger of collision!
Be sure that the function for tilting the working plane is
active in the Manual Operation mode and that the angle
values entered in the menu match the actual angles of the
tilted axis.
Deactivate the "Tilt Working Plane" function before you
cross the reference points. Take care that there is no
collision. Retract the tool from the current position first, if
necessary.
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.
386
Manual Operation and Setup
Positioning with Manual
Data Input
13.1 Programming and Executing Simple Machining Operations
13.1 Programming and Executing
Simple Machining Operations
The Positioning with Manual Data Input mode of operation is
particularly convenient for simple machining operations or pre-
positioning of the tool. It enables you to write a short program in
HEIDENHAIN conversational programming or in DIN/ISO format, and
execute it immediately. You can also call TNC cycles. The program is
stored in the file $MDI. In the Positioning with MDI mode of operation,
the additional status displays can also be activated.
Limitation
The following functions are not available in the MDI mode:
FK free contour programming
Program section repeats
Subprogramming
Path compensation
The programming graphics
Program call PGM CALL
The program-run graphics
X
50
Example 1
A hole with a depth of 20 mm is to be drilled into a single workpiece. 50
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines.
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.
Use the 3-D touch probe to rotate the coordinate system. See Touch
Probe Cycles in the Manual and Electronic Handwheel Operating
Modes, section Compensating workpiece misalignment, in the
Touch Probe Cycles Users Manual.
Write down the rotation angle and cancel the basic rotation
Conclude entry
TARGET FILE =
HOLE Enter the name under which you want to save the
current contents of the $MDI file
392
Positioning with Manual Data Input
Test Run and
Program Run
14.1 Graphics (Advanced Graphic Features Software Option)
14.1 Graphics (Advanced Graphic
Features Software Option)
Application
In the program run modes of operation as well as in the Test Run
mode, the TNC provides the following three display modes: Using soft
keys, select whether you desire:
Plan view
Projection in three planes
3-D view
The TNC graphic depicts the workpiece as if it were being machined
with a cylindrical end mill. If a tool table is active, you can also simulate
the machining operation with a spherical cutter. For this purpose,
enter R2 = R in the tool table.
The TNC will not show a graphic if
the current program has no valid blank form definition
no program is selected
3-D view
Plan view
This is the fastest of the graphic display modes.
U Press the soft key for plan view
U Regarding depth display, remember: The deeper the
surface, the darker the shade
U Shift the soft-key row until the soft key for the
functions for shifting the sectional plane appears
U Select the functions for shifting the sectional plane.
The TNC offers the following soft keys:
With the WINDOW BLK FORM soft key, you return the
displayed workpiece blank to its originally programmed
dimensions, even after isolating a detail without
TRANSFER DETAIL.
Test Run
The timer displays the time that the TNC calculates for the duration of
tool movements that are executed at feed rate. Dwell times are
included in the calculation by the TNC. The time calculated by the TNC
can only conditionally be used for calculating the production time
because the TNC does not account for the duration of
machine-dependent interruptions, such as tool change.
U Select the desired function via soft key, e.g. saving the
displayed time.
During the Test Run, the TNC resets the machining time
as soon as a new BLK FORM is evaluated.
Halt program test (soft key only appears once you have
started the program test)
You can interrupt the program test and continue it again at any point
even within a machining cycle. In order to continue the test, the
following actions must not be performed:
Selecting another block with the arrow keys or the GOTO key
Making changes to the program
Switching the operating mode
Selecting a new program
You can adjust the feed rate and spindle speed with the
override knobs.
It is possible to reduce the feed rate when starting the NC
program using the FMAX soft key. The reduction applies
to all rapid traverse and feed rate movements. The value
you enter is no longer in effect after the machine has been
turned off and on again. In order to re-establish the
respectively defined maximum feed rate after switch-on,
you need to re-enter the corresponding value.
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)
Symbol Meaning
Program run stopped.
Application example:
Retracting the spindle after tool breakage
U Interrupt machining
U Enable the external direction keys: Press the MANUAL TRAVERSE
soft key
U Move the axes with the machine axis direction buttons
Note that the stored data remain active until they are reset
(e.g. if you select a new program).
The stored data are used for returning the tool to the contour after
manual machine axis positioning during an interruption (RESTORE
POSITION soft key).
If you cannot correct the error, write down the error message and
contact your repair service agency.
With the RESTORE POS AT N feature (block scan) you can start a part
program at any block you desire. The TNC scans the program blocks
up to that point. Machining can be graphically simulated.
If you have interrupted a part program with an INTERNAL STOP, the
TNC automatically offers the interrupted block N for mid-program
startup.
If you use the GOTO block number key for going into a
program, neither the TNC nor the PLC will execute any
functions that ensure a safe start.
If you use the GOTO block number key for going into a
subprogram, the TNC will skip the end of the subprogram
(LBL 0)! In such cases you must always use the
mid-program startup function.
In a Program Run operating mode, you can use the AUTOSTART soft
key (see figure at upper right) to define a specific time at which the
program that is currently active in this operating mode is to be started:
U Show the window for entering the starting time (see
figure at center right).
U Time (h:min:sec): Time of day at which the program
is to be started.
U Date (DD.MM.YYYY): Date at which the program is to
be started.
U To activate the start, press the OK soft key.
416
Test Run and Program Run
MOD Functions
15.1 Selecting MOD Functions
15.1 Selecting MOD Functions
The MOD functions provide additional input possibilities and displays.
The available MOD functions depend on the selected operating mode.
Call the operating mode in which you wish to change the MOD
functions.
U Press the MOD key to select the MOD functions. The
figures at right show typical screen menus in
Programming and Editing mode (figure at upper right),
Test Run mode (figure at lower right) and in a machine
operating mode (see figure on next page).
Application
To set up a data interface, select the file management (PGM MGT) and
press the MOD key. Press the MOD key again and enter the code
number 123. The TNC shows the user parameter
GfgSerialInterface, in which you can enter the following settings:
Parameter Selection
Data transfer rate in baud Has to match the setting in
TNCserver
Operating
External device Symbol
mode
PC with HEIDENHAIN data transfer LSV2
software TNCremoNT
Check whether the TNC is connected to the correct serial port on your
PC or to the network.
Once you have started TNCremoNT, you will see a list of all files that
are stored in the active directory in the upper section of the main
window 1. Using the menu items <File> and <Change directory>, you
can change the active directory or select another directory on your PC.
If you want to control data transfer from the PC, establish the
connection with your PC in the following manner:
U Select <File>, <Setup connection>. TNCremoNT now receives the
file and directory structure from the TNC and displays this at the
bottom left of the main window 2
U To transfer a file from the TNC to the PC, select the file in the TNC
window with a mouse click and drag and drop the highlighted file
into the PC window 1
U To transfer a file from the PC to the TNC, select the file in the PC
window with a mouse click and drag and drop the highlighted file
into the TNC window 2
If you want to control data transfer from the TNC, establish the
connection with your PC in the following manner:
U Select <Extras>, <TNCserver>. TNCremoNT is now in server mode.
It can receive data from the TNC and send data to the TNC
U You can now call the file management functions on the TNC by
pressing the PGM MGT key (see Data transfer to or from an
external data medium on page 106) and transfer the desired files
End TNCremoNT
Select the menu items <File>, <Exit>
Connection possibilities
You can connect the Ethernet card in your TNC to your network
through the RJ45 connection (X26, 100BaseTX or 10BaseT), or directly
to a PC. The connection is metallically isolated from the control
electronics.
For a 100BaseTX or 10BaseT connection you need a Twisted Pair
cable to connect the TNC to your network.
Setting Meaning
HOSTNAME Name under which the control logs onto the
network. If you use a host-name server, you
must enter the Fully Qualified Hostname
here. If you do not enter a name here, the
control uses the so-called null authentication.
Setting Meaning
Mount device Connection over NFS: Directory name to be
mounted. This is formed from the network
address of the device, a colon, a slash and the
name of the directory. Entry of the network
address as four decimal numbers separated
by points (dotted-decimal notation), e.g.
160.1.180.4:/PC. When entering the path
name, pay attention to capitalization.
To connect individual Windows computers via
SMB: Enter the network name and the share
name of the computer, e.g. \\PC1791NT\PC
You do not need to indicate the protocol with the TNC 320.
It uses the communications protocol according to RFC
894.
Prerequisite:
The network card must already be installed on the PC and
ready for operation.
If the PC that you want to connect the TNC to is already
integrated in your company network, then keep the PCs
network address and adapt the TNCs network address
accordingly.
With the MOD function Position display 1, you can select the
position display in the status display.
With the MOD function Position display 2, you can select the
position display in the status display.
436
MOD Functions
Tables and Overviews
16.1 Machine-Specific User Parameters
16.1 Machine-Specific User
Parameters
Application
To enable you to set machine-specific functions, your machine tool
builder can define which machine parameters are available as user
parameters. Furthermore, your machine tool builder can integrate
additional machine parameters, which are not described in the
following, into the TNC.
The icon at the beginning of each line in the parameter tree shows
additional information about this line. The icons have the following
meanings:
Branch exists but is closed
Branch is open
Parameter list
Parameter Settings
DisplaySettings
Settings for screen display
Sequence of the displayed axes
[0] to [5]
Depends on the available axes
Type of position display in the position window
NOML.
ACTL.
RFACTL
REF NOML
LAG
DIST.
Type of position display in the status display:
NOML.
ACTL.
RFACTL
REF NOML
LAG
DIST.
Definition of decimal separator for position display
.
Feed rate display in Manual operating mode
At axis key: Display feed rate only if axis-direction key is pressed
Always minimum: Always display feed rate
Display of spindle position in the position display
During closed loop: Display spindle position only if spindle is in position control loop
During closed loop and M5: Display spindle position only if spindle is in position control loop and
with M5
hidePresetTable
True: Soft key preset table is not displayed
False: Display soft key preset table
DisplaySettings
Definition of the unit of measure valid for the display
Metric: Use metric system
Inch: Use inch system
DisplaySettings
Format of the NC programs and cycle display
Program entry in HEIDENHAIN plain language or in DIN/ISO
HEIDENHAIN: Program entry in plain language in MDI mode
ISO: Program entry in DIN /ISO in MDI mode
Display of cycles
TNC_STD: Display cycles with comments
TNC_PARAM: Display cycles without comments
DisplaySettings
Behavior during control startup
Acknowledge the Power interrupted message
TRUE:Start-up of the control is not continued until the message has been acknowledged.
FALSE:The Power interrupted message does not appear.
Display of cycles
TNC_STD: Display cycles with comments
TNC_PARAM: Display cycles without comments
Adapter block
TNC Connecting cable 365 725-xx Connecting cable 274 545-xx
310 085-01
Male Assignment Female Color Female Male Female Male Color Female
1 Do not assign 1 1 1 1 1 White/Brown 1
2 RXD 2 Yellow 3 3 3 3 Yellow 2
3 TXD 3 Green 2 2 2 2 Green 3
4 DTR 4 Brown 20 20 20 20 Brown 8
5 Signal GND 5 Red 7 7 7 7 Red 7
6 DSR 6 Blue 6 6 6 6 6
7 RTS 7 Gray 4 4 4 4 Gray 5
8 CTR 8 Pink 5 5 5 5 Pink 4
9 Do not assign 9 8 Violet 20
Hsg. Ext. shield Hsg. Ext. shield Hsg. Hsg. Hsg. Hsg. Ext. shield Hsg.
2 TX Transmit Data
4 Vacant
5 Vacant
7 Vacant
8 Vacant
User functions
Short description Basic version: 3 axes plus closed-loop spindle
1st additional axis for 4 axes plus closed-loop spindle
2nd additional axis for 5 axes plus closed-loop spindle
Program entry In HEIDENHAIN conversational format and DIN/ISO over soft keys or USB keyboard
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
Tool compensation Tool radius in the working plane and tool length
Radius compensated contour look ahead for up to 99 blocks (M120)
Constant cutting speed With respect to the path of the tool center
With respect to the cutting edge
Parallel operation Creating a program with graphical support while another program is being run
FK free contour programming FK free contour programming in HEIDENHAIN conversational format with graphic
support for workpiece drawings not dimensioned for NC
Actual position capture Actual positions can be transferred directly into the NC program
Program verification graphics Graphic simulation before program run, even while another program is being run
Display modes Plan view / projection in 3 planes / 3-D view
Magnification of details
Programming graphics In the Programming mode, the contour of the NC blocks is drawn on screen while they
are being entered (2-D pencil-trace graphics), even while another program is running
Program Run graphics Graphic simulation of real-time machining in plan view / projection in 3 planes /
Display modes 3-D view
Machining time Calculation of the machining time in the Test Run mode of operation
Display of the current machining time in the Program Run modes
Returning to the contour Mid-program startup in any block in the program, returning the tool to the calculated
nominal position to continue machining
Program interruption, contour departure and return
Specifications
Components Main computer with TNC keyboard and integrated 15.1-inch TFT color flat-panel
display with soft keys
Axis feedback control Position loop resolution: Signal period of the position encoder/1024
Cycle time of position controller: 3 ms
Cycle time of speed controller: 600 s
Spindle speed Maximum 100 000 rpm (analog speed command signal)
Error compensation Linear and nonlinear axis error, backlash, reversal spikes during circular movements,
thermal expansion
Stick-slip friction
Touch probes TS 220: 3-D touch trigger probe with cable connection, or
TS 440: 3-D touch trigger probe with infrared transmission
TS 444: Battery-free 3-D touch trigger probe with infrared transmission
TS 640: 3-D touch trigger probe with infrared transmission
TS 740: High-precision 3-D touch trigger probe with infrared transmission
TT 140: 3-D touch trigger probe for workpiece measurement
Tool names 16 characters, enclosed by quotation marks with TOOL CALL. Permitted
special characters: #, $, %, &, -
454
Tables and Overviews
Index
Symbole D F
3-D touch probes Data backup ... 92, 112 File
Calibrating Data interface Creating ... 98
Triggering ... 370 Pin layout ... 446 File management ... 93
3-D view ... 397 setting ... 422 Calling ... 95
Data transfer rate ... 422, 423 Copying a file ... 99
A Data transfer software ... 425 Deleting a file ... 101
Accessories ... 71 Datum management ... 360 Directories ... 93
Actual position capture ... 84 Datum setting ... 358 Copying ... 100
Additional axes ... 75 without a 3-D touch probe ... 358 Creating ... 98
Automatic program start ... 413 Datum setting, manual External data transfer ... 106
Automatic tool measurement ... 138 Circle center as datum ... 377 File
Corner as datum ... 376 Creating ... 98
B In any axis ... 375 File name ... 92
Basic rotation Datum table File selection ... 96
Measuring in the Manual Operation Confirming probed values ... 368 File type ... 91
mode ... 373 Datum, setting the ... ... 78 File, renaming... ... 104
Block Dialog ... 82 Overview of functions ... 94
Deleting ... 86 Directory ... 93, 98 Protecting a file ... 105
Inserting, editing ... 86 Copying ... 100 Renaming a file ... 104
Blocks Creating ... 98 Tagging files ... 103
Buffer battery exchange ... 453 Deleting ... 102 File status ... 95
FK free contour programming
C E Circular paths ... 192
Calculating with parentheses ... 269 Ellipse ... 288 Input possibilities
Calculator ... 116 Error messages ... 120 Circle data ... 195
Chamfer ... 168 Help with ... 120 FK Programming ... 187
Circle calculations ... 231 Ethernet interface Dialog initiation ... 190
Circle center point ... 170 Connecting and disconnecting Fundamentals ... 187
Circular path ... 171, 172, 174, 181, 182 network drives ... 108 Graphics ... 189
Code numbers ... 421 Connection possibilities ... 427 Input possibilities
Comments, adding ... 113 Introduction ... 427 Auxiliary points ... 197
Compensating workpiece misalignment External data transfer Closed contours ... 196
By measuring two points of a iTNC 530 ... 106 Direction and length of contour
line ... 373 elements ... 194
Context-sensitive help ... 125 F End points ... 193
Contour approach ... 158 FCL ... 420 Relative data ... 198
With polar coordinates ... 160 FCL function ... 7 Straight lines ... 191
Contour departure ... 158 Feature content level ... 7
With polar coordinates ... 160 Feed rate ... 356
Conversational programming ... 82 Changing ... 357
Copying program sections ... 88 for rotary axes, M116 ... 346
Corner rounding ... 169 Input possibilities ... 83
Cylinder ... 290 Feed rate factor for plunging
movements M103 ... 304
Feed rate in millimeters per spindle
revolution M136 ... 305
456
Index
P Q S
PLC and NC synchronization ... 255 Q parameter programming ... 222, 273 Screen layout ... 58
Pocket table ... 142 Additional functions ... 235 Screen output of data ... 244
Polar coordinates Basic arithmetic (assign, add, Search function ... 89
Approach/depart contour ... 160 subtract, multiply, divide, square Secondary axes ... 75
Fundamentals ... 76 root) ... 227 Setting the baud rate ... 422, 423
Programming ... 179 Circle calculations ... 231 Software number ... 420
Positioning If/then decisions ... 232 SPEC FCT ... 314
With a tilted working plane ... 300 Programming notes ... 224, 275, Special functions ... 314
with manual data input (MDI) ... 388 276, 277, 279, 281 Specifications ... 448
Preset table ... 360 Trigonometric functions ... 229 Sphere ... 292
Confirming probed values ... 369 Q parameters Spindle speed, changing the ... 357
Principal axes ... 75 Checking ... 234 Spindle speed, entering ... 145
Probe cycles Formatted output ... 241 SQL commands ... 258
See Users Manual for Touch Probe Local QL parameters ... 222 Status display ... 63
Cycles Nonvolatile QR parameters ... 222 Additional ... 65
Probing cycles Preassigned ... 282 General ... 63
Program Transferring values to the Straight line ... 167, 180
Editing ... 85 PLC ... 254, 256, 257 String parameters ... 273
Open new ... 80 Structuring programs ... 115
-Structure ... 79 R Subprogram ... 207
Structuring ... 115 Radius compensation ... 147 Superimposing handwheel positioning
Program call Input ... 149 M118 ... 308
Any desired program as Outside corners, inside Switch-off ... 352
subroutine ... 209 corners ... 150 Switch-on ... 350
Program defaults ... 315 Rapid traverse ... 132 Synchronize NC and PLC ... 255
Program management: see File Reference points, crossing over ... 350
management Reference system ... 75
Program name:See File management, Replacing texts ... 90
File name Retraction from the contour ... 309
Program Run Returning to the contour ... 412
Resuming after an Rotary axis
interruption ... 409 Reducing display M94 ... 348
Program run Shorter-path traverse: M126 ... 347
Executing ... 406
Interrupting ... 407
Mid-program startup ... 410
Optional block skip ... 414
Overview ... 405
Program sections, copying ... 88
Programming graphics ... 189
Programming tool movements ... 82
Program-section repeat ... 208
Projection in three planes ... 396
458
Overview Tables
Fixed cycles
Cycle DEF CALL
Cycle designation
number active active
7 Datum shift
8 Mirror image
9 Dwell time
10 Rotation
11 Scaling factor
12 Program call
14 Contour definition
20 Contour data SL II
21 Pilot drilling SL II
22 Rough out SL II
23 Floor finishing SL II
24 Side finishing SL II
25 Contour train
26 Axis-specific scaling
27 Cylinder surface
32 Tolerance
200 Drilling
201 Reaming
202 Boring
240 Centering
460
Miscellaneous functions
M Effect Effective at block... Start End Page
M0 Stop program/Spindle STOP/Coolant OFF Page 297
M6 Tool change/Stop program run (depending on machine parameter)/Spindle STOP Page 297
M91 Within the positioning block: Coordinates are referenced to machine datum Page 298
M92 Within the positioning block: Coordinates are referenced to position defined by machine Page 298
tool builder, such as tool change position
M94 Reduce the rotary axis display to a value below 360 Page 348
M130 Moving to position in an untilted coordinate system with a tilted working plane Page 300
M148 Retract the tool automatically from the contour at NC stop Page 311
M149 Reset M148
462
Comparison: Functions of the
TNC 320 and the iTNC 530
Comparison: Specifications
Function TNC 320 iTNC 530
Axes 5 maximum 18 maximum
Memory media for NC, PLC programs and system files CompactFlash memory Hard disk
card
Interpolation:
Straight line 4 axes 5 axes
Circle 3 axes 3 axes
Helix Yes Yes
Spline No Yes, option with
MC 420
Electronic handwheels
HR 410 X X
HR 420 X
HR 520/530/550 X
HR 130 X X
HR 150 via HRA 110 X X
Touch probes
TS 220 X X
TS 440 X X
TS 444 X X
TS 449 / TT 449 X
TS 640 X X
TS 740 X X
TT 130 / TT 140 X X
Comparison: PC software
Function TNC 320 iTNC 530
Programming station software Available Available
464
Comparison: Machine-specific functions
Function TNC 320 iTNC 530
Switching the traverse range Function not available Available function
Central drive (1 motor for multiple Function not available Available function
machine axes)
C-axis operation (spindle motor drives Function not available Available function
rotary axis)
Expanded tool management via Python Function not available Available function
Position data
Nominal positions for lines and arcs in Cartesian coordinates X X
Nominal positions for lines and arcs in polar coordinates X X
Incremental or absolute dimensions X X
Display and entry in mm or inches X X
Paraxial positioning blocks X X
Set the last tool position as pole (empty CC block) X (error message if X
pole transfer is
ambiguous)
Surface normal vectors (LN) X
Spline blocks (SPL) X
Tool compensation
In the working plane, and tool length X X
Radius compensated contour look ahead for up to 99 blocks X X
Three-dimensional tool radius compensation X
Tool table
Central storage of tool data X, variable numbering X, fixed numbering
Multiple tool tables with any number of tools X X
Flexible management of tool types X
Filtered display of selectable tools X
Sorting function X
Column names Sometimes with _ Sometimes with -
Copy function: Overwriting relevant tool data X
Form view Switchover with Switchover by soft
split-screen layout key key
Exchange of tool table between TNC 320 and iTNC 530 Not possible Not possible
466
Function TNC 320 iTNC 530
Constant contouring speed: Relative to the path of the tool center X X
or relative to the tool's cutting edge
Tilting the working plane (Cycle 19, PLANE function) Option #08 X, option #08 with
MC 420
Program jumps:
Maximum number of label numbers 65535 1000
Subroutines X X
Nesting depth for subprograms 20 6
Program section repeats X X
Any desired program as subroutine X X
468
Function TNC 320 iTNC 530
Graphic support
2-D programming graphics X X
Synchronization between block display and graphics X
REDRAW function X
Show grid lines as the background X
3-D programming graphics X
Test graphics (plan view, projection in 3 planes, 3-D view) X X
High-resolution view X
Image data processing Blockwise in continuous jog
mode
Tool display Only in plan view X
Setting the simulation speed X
Coordinates of line intersection for projection in 3 planes X
Expanded zoom functions (mouse operation) X
Displaying frame for workpiece blank X X
Displaying the depth value in plan view during mouse-over X
Targeted stop of test run (STOP AT N) X
Consideration of tool change macro X
Program run graphics (plan view, projection in 3 planes, 3-D view) X X
High-resolution view X
Saving/opening of simulation results X
Pallet management
Support of pallet files X
Tool-oriented machining X
Pallet preset table: for managing pallet datums X
Autostart function X X
CAM support:
Loading of contours from DXF data X, option #42
Loading of machining positions from DXF data X, option #42
Offline filter for CAM files X
Stretch filter X
MOD functions:
User parameters Configuration data Numerical structure
OEM help files with service functions X
Data medium inspection X
Loading of service packs X
Setting the system time X
Selection of axes for actual position capture X
Definition of traverse range limits X
Restricting external access X
Switching the kinematics X
470
Function TNC 320 iTNC 530
Calling fixed cycles:
With M99 or M89 X X
With CYCL CALL X X
With CYCL CALL PAT X X
With CYC CALL POS X
Special functions:
Creating backward programs X
Datum shift with TRANS DATUM X
Adaptive Feed Control (AFC) X, option #45
Global definition of cycle parameters: GLOBAL DEF X
Pattern definition with PATTERN DEF X X
Definition and execution of point tables X X
Simple contour formula CONTOUR DEF X X
Status displays:
Positions, spindle speed, feed rate X X
Larger depiction of position display, Manual Operation X
Additional status display, form view X X
Display of handwheel traverse when machining with handwheel X
superimposition
Display of distance-to-go in a tilted system X
Dynamic display of Q-parameter contents, definable number X
ranges
OEM-specific additional status display via Python X
Graphic display of residual run time X
2, Tapping X X
3, Slot milling X X
4, Pocket milling X X
5, Circular pocket X X
7, Datum shift X X
8, Mirror image X X
9, Dwell time X X
10, Rotation X X
11, Scaling X X
22, Rough-out: X X
Parameter Q401, feed rate factor X
Parameter Q404, fine roughing strategy X
472
Cycle TNC 320 iTNC 530
27, Contour surface Option #08 X, option #08 with
MC 420
200, Drilling X X
201, Reaming X X
202, Boring X X
474
Comparison: Miscellaneous functions
M Effect TNC 320 iTNC 530
M00 Stop program/Spindle STOP/Coolant OFF X X
M08 Coolant ON X X
M09 Coolant OFF
M101 Automatic tool change with replacement tool if maximum tool life has X
expired
M102 Reset M101
M114 Automatic compensation of machine geometry when working with tilted X, option #08 with
axes MC 420
M115 Reset M114
M116 Feed rate for rotary tables in mm/min Option #08 X, option #08 with
M117 Reset M116 MC 420
M128 Retain the position of the tool tip when positioning the tilted axes X, option #09 with
(TCPM) MC 420
M129 Reset M126
M130 Within the positioning block: Points are referenced to the untilted X X
coordinate system
476
M Effect TNC 320 iTNC 530
M144 Compensating the machines kinematics configuration for X, option #09 with
ACTUAL/NOMINAL positions at end of block MC 420
M145 Reset M144
Support of mechanical touch probes by manually capturing the current position By soft key By hard key
478
Comparison: Touch probe cycles for automatic
workpiece inspection
Cycle TNC 320 iTNC 530
0, Reference plane X X
1, Polar datum X X
2, Calibrate TS X
3, Measuring X X
4, Measuring in 3-D X
9, Calibrate TS length X
30, Calibrate TT X X
427, Boring X X
480, Calibrate TT X X
480
Comparison: Differences in programming
Function TNC 320 iTNC 530
Input of texts (comments, program Input via screen keyboard Input via ASCII keyboard
names, structure items, network
addresses, etc.)
PGM CALL, SEL TABLE, SEL PATTERN, SEL Available Not available
CONTOUR: Selection of file in a pop-up
window
File handling:
Save file function Available Not available
Save file as function Available Not available
Discard changes Available Not available
File management:
Mouse operation Available Available
Sorting function Available Available
Entry of name Opens the Select file pop-up Synchronizes the cursor
window
Support of short cuts Not available Available
Favorites management Not available Available
Configuration of column structure Not available Available
Soft-key arrangement Slightly different Slightly different
Skip block function Insert/Remove by soft key Insert/Remove with ASCII keyboard
Selecting a tool from the table Selection via split-screen menu Selection in a pop-up window
Using the cursor in tables After editing a value, the horizontal After editing a value, the horizontal
arrow keys can be used for positioning arrow keys can be used for positioning
within the column to the next/previous column
Programming special functions with Pressing the key opens a soft-key row Pressing the key adds the soft-key row
the SPEC FCT key as a submenu. To exit the submenu, as the last row. To exit the menu, press
press the SPEC FCT key again; then the the SPEC FCT key again; then the TNC
TNC shows the last active soft-key row. shows the last active soft-key row.
Programming approach and departure Pressing the key opens a soft-key row Pressing the key adds the soft-key row
motions with the APPR DEP key as a submenu. To exit the submenu, as the last row. To exit the menu, press
press the APPR DEP key again; then the APPR DEP key again; then the TNC
the TNC shows the last active soft-key shows the last active soft-key row.
row.
Pressing the END hard key while the Terminates the editing process and Exits the respective menu
CYCLE DEF and TOUCH PROBE menus are calls the file manager
active
Calling the file manager while Terminates the editing process and Terminates the editing process and
CYCL CALL, SPEC FCT, PGM CALL and calls the file manager. The respective calls the file manager. The basic
APPR/DEP menus are active soft-key row remains selected when soft-key row is selected when the file
the file manager is exited. manager is exited.
Datum table:
Sorting function by values within an Available Not available
axis
Resetting the table Available Not available
Hiding axes that are not present Not available Available
Switching the list/form view Switchover via split-screen key Switchover by toggle soft key
Inserting individual line Allowed everywhere, renumbering Only allowed at end of table. Line
possible after request. Empty line is with value 0 in all columns is inserted
inserted, must be filled with zeros
manually
Transfer of actual position values in Not available Available
individual axis to the datum table per
keystroke
Transfer of actual position values in Not available Available
all active axes to the datum table per
keystroke
Using a key to capture the last Not available Available
positions measured by TS
Entry of comment in DOC column With the "Edit the current field" Via ASCII keyboard
function and the on-line keyboard
482
Function TNC 320 iTNC 530
Handling of error messages:
Help for error messages Call via ERR key Call via HELP key
Help for error messages while a Cause and corrective action cannot Pop-up window shows cause and
block is being edited be displayed while highlight is on the corrective action
block
Switching the operating mode while Help menu is closed when the Operating mode switchover is not
help menu is active operating mode is switched allowed (key is non-functional)
Selecting the background operating Help menu is closed when F12 is Help menu remains open when F12
mode while help menu is active used for switching is used for switching
Identical error messages Are collected in a list Are displayed only once
Acknowledgment of error messages Every error message (even if it is Error message to be acknowledged
displayed more than once) must be only once
acknowledged, the Delete all
function is available
Access to protocol functions Log and powerful filter functions Complete log without filter functions
(errors, keystrokes) are available available
Saving service files Available. No service file is created Available. A service file is
when the system crashes automatically created when the
system crashes
Find function:
List of words recently searched for Not available Available
Show elements of active block Not available Available
Show list of all available NC blocks Not available Available
Starting the find function with the Works with max. 9999 blocks, can be No limitation regarding program length
up/down arrow keys when highlight is set via config datum
on a block
Programming graphics:
Depiction of the traverse paths of an Not possible; after pressing CLEAR Available
individual NC block after the graphic GRAPHIC soft key, all previously
was deleted by soft key defined NC blocks are displayed
True-to-scale display of grid Available Not available
Editing contour subprograms in SLII If error messages occur, the cursor is If error messages occur, the cursor is
cycles with AUTO DRAW ON on the CYCL CALL block in the main on the error-causing block in the
program contour subprogram
Moving the zoom window Repeat function not available Repeat function available
Calculation of machining time Each time the simulation is repeated by Each time the simulation is repeated by
pressing the START soft key, the pressing the START soft key, time
machining time is totaled. calculation starts at 0.
Zoom function Each sectional plane can be selected by Sectional plane can be selected via
individual soft keys three toggle soft keys
Character set for PROGRAM screen Small character set Medium character set
layout
Performing a Test Run in Single block When you switch to the Programming The operating mode can be switched.
mode, switching to the Programming mode of operation, the warning No Changes to the program do not
mode of operation at any time write permission is displayed; once a influence the position of the cursor.
change has been made, the error
message is cleared and the program is
reset to the beginning when you switch
back to Test Run mode.
Machine-specific miscellaneous Lead to error messages if they are not Are ignored during Test Run
functions M integrated in the PLC
Displaying/editing the tool table Function available via soft key Function not available
484
Comparison: Differences in Manual Operation,
functionality
Function TNC 320 iTNC 530
3-D ROT function: Manual deactivation If the tilted working plane function is The programmed values are displayed
of the Tilt working plane function deactivated for both operating modes, in the 3-D ROT dialog even if the Tilt
the text fields will be filled with zeros working plane function is set to
instead of the current rotary axis inactive for both operating modes.
positions when the 3-D ROT function is
next called. The positions are entered
correctly if only one operating mode is
set to inactive.
Jog increment function The jog increment can be defined The jog increment applies for both
separately for linear and rotary axes. linear and rotary axes.
Behavior during presetting Presetting in a rotary axis has the same Rotary axis offsets defined by machine
effect as an axis offset. The offset is parameters do not influence the axis
also effective for kinematics positions that were defined in the Tilt
calculations and for tilting the working working plane function.
plane.
MP7500 bit 3 defines whether the
The machine parameter current rotary axis position referenced
CfgAxisPropKin->presetToAlignAxis to the machine datum is taken into
is used to define whether the axis account, or whether a position of 0 is
offset is to be taken into account assumed for the first rotary axis (usually
internally after zero setting. the C axis).
Independently of this, an axis offset has
always the following effects:
An axis offset always influences the
nominal position display of the
affected axis (the axis offset is
subtracted from the current axis
value).
If a rotary axis coordinate is
programmed in an L block, then the
axis offset is added to the
programmed coordinate.
Definition of feed-rate limitation Feed-rate limitation can be defined Only one feed-rate limitation can be
separately for linear and rotary axes defined for linear and rotary axes
Capturing the position values from Actual-position capture by soft key Actual-position capture by hard key
mechanical probes
Exiting the touch probe functions menu Only via the END soft key Via the END soft key or the END hard
key
Exiting the preset table Only via the BACK/END soft keys Via the END hard key at any time
Multiple editing of tool table TOOL.T, or Soft-key row that was last active before Permanently defined soft-key row
pocket table tool_p.tch exiting is active (soft-key row 1) is displayed
486
Comparison: Differences in Program Run,
operation
Function TNC 320 iTNC 530
Arrangement of soft-key rows and soft Arrangement of soft-key rows and soft-keys varies depending on the active screen
keys within the rows layout.
Character set for PROGRAM screen Small character set Medium character set
layout
Editing of program after program run The INTERNAL STOP soft key must Editing is possible right after switching
was interrupted by switching to the also be pressed to cancel the program. to the Programming mode of operation
Single block mode of operation.
Operating-mode switchover after The INTERNAL STOP soft key must Switching the operating mode is
program run was interrupted by also be pressed to cancel the program. allowed
switching to the Single block mode of
operation.
Operating-mode switchover after When you return to the Program Run Switching the operating mode is
program run was interrupted by mode of operation: Error message allowed, modal information is saved,
switching to the Single block mode of Selected block not addressed. Use program run can be continued by
operation, and canceled by INTERNAL mid-program startup to select the point pressing NC start
STOP on the TNC 320. of interruption.
Mid-program startup:
Behavior after restoring the machine The menu for returning must be Menu for returning is selected
status selected with the RESTORE automatically.
POSITION soft key
Returning to the point of interruption The order of axis approach cannot be The order of axis approach is
with positioning logic recognized; a fixed sequence of axes displayed on the screen by
is always displayed on the screen highlighting the corresponding axes.
Completing positioning for After position has been reached, The positioning mode is
mid-program startup positioning mode must be exited automatically exited after the
with the RESTORE POSITION soft position has been reached.
key.
Switching the screen layout for Only possible, if startup position has Possible in all operating states
mid-program startup already been approached
Editing Q-parameter contents after The INTERNAL STOP soft key must Direct editing possible
program run was interrupted by also be pressed to cancel the program.
switching to the Single block mode of
operation.
488
Comparison: Differences in Program Run,
traverse movements
Approach/Departure with APPR/DEP, R0 If possible, the blocks are executed in If possible, the blocks are executed in
is active, contour element plane is not the defined contour element plane, the defined working plane; error
equal to working plane error message for APPRLN, DEPLN, message for APPRLN, APPRLT, APPRCT,
APPRCT, DEPCT APPRLCT
Approach/departure with APPR/DEP Error message if R0 is programmed for Tool radius 0 and compensation
APPR/DEP LN or APPR/DEP CT direction RR are assumed
Approach/departure with APPR/DEP if Contour elements with length 0 are An error message is issued if a contour
contour elements with length 0 are ignored. The approach/departure element with length 0 is programmed
defined. movements are calculated for the first after the APPR block (relative to the first
or last valid contour element contour point programmed in the APPR
block).
For a contour element with length 0
before a DEP block, the TNC does not
issue an error message, but uses the
last valid contour element to calculate
the departure movement.
Effect of Q parameters Q60 to Q99 (or QS60 to QS99) are always Q60 to Q99 (or QS60 to QS99) are local or
local. global, depending on MP7251 in
converted cycle programs (.cyc)
Nested calls may cause problems
Tool shape compensation Tool shape compensation is not Tool shape compensation is supported
supported, because this type of
programming is considered to be
axis-value programming, and the basic
assumption is that axes do not form a
Cartesian coordinate system.
Paraxial positioning blocks Radius compensation as in L blocks The tool approaches from the current
position of the previous block to the
programmed coordinate value. If the
next block is a linear block, it is dealt
with in the same way as an additional
radius-compensation block so that the
path will be contour-parallel from the
next but one linear block.
Mid-program startup in a point table The tool is positioned above the next The tool is positioned above the last
position to be machined. position that has been completely
machined.
Empty CC block (pole of last tool Last positioning block in the working Last positioning block in the working
position is used) in NC program plane must contain both coordinates of plane does not necessarily need to
the working plane contain both coordinates of the
working plane. Can cause problems
with RND or CHF blocks
Axis-specific scaling of RND block RND block is scaled, the result is an Error message is issued
ellipse
Reaction if a contour element with Error message is issued Error message is issued if a contour
length 0 is defined before or after a RND element with length 0 is located before
or CHF block the RND or CHF block
Contour element with length 0 is
ignored if the contour element with
length 0 is located after the RND or CHF
block.
Circle programming with polar The incremental rotation angle IPA and The algebraic sign of the direction of
coordinates the direction of rotation DR must have rotation is used if the sign defined for
the same sign. Otherwise, an error DR differs from the one defined for IPA
message will be issued
490
Function TNC 320 iTNC 530
Tool radius compensation on circular The transition between the adjacent The equidistant line of the arc/helix is
arc or helix with angular length = 0 elements of the arc/helix is generated. used for generating the tool path.
Also, the tool axis motion is executed
right before this transition. If the
element is the first or last element to
be corrected, the next or previous
element is dealt with in the same way
as the first or last element to be
corrected.
Checking the algebraic sign of the Must be deactivated if Cycle 209 is No restrictions
depth parameter in fixed cycles used
Tool change while tool radius Program cancellation with error Tool radius compensation is canceled,
compensation is active message tool change is performed
492
Function TNC 320 iTNC 530
SLII Cycles 20 to 24:
Handling of coordinates and axis Error message is issued Axes that are outside the working
values outside the working plane plane in the contour description are
ignored
Handling of islands which are not Cannot be defined with complex Restricted definition in complex
contained in pockets contour formula contour formula is possible
Set operations for SL cycles with Real set operation possible Only restricted performance of real
complex contour formulas set operation possible
Radius compensation is active during Error message is issued Radius compensation is canceled,
CYCL CALL program is executed
Paraxial positioning blocks in contour Error message is issued Program is executed
subprogram
Miscellaneous functions M in contour Error message is issued M functions are ignored
subprogram
Infeed movements in contour Error message is issued Infeed movements are ignored
subprogram
M110 (feed-rate reduction for inside Function does not work within SL Function also works within SL cycles
corner) cycles
SLII Contour Train Cycle 25: APPR/DEP Not allowed, machining of closed APPR/DEP blocks are allowed as contour
blocks in contour definition contours is more coherent elements
Cylinder surface machining with Direct plunging to contour of ridge Circular approach to contour of ridge
Cycle 29
Cycles 25x for pockets, studs and slots In limit ranges (geometrical conditions In limit ranges (geometrical conditions
of tool/contour) error messages are of tool/contour), vertical plunging is
triggered if plunging movements lead used if required.
to unreasonable/critical behavior
Touch probe cycles for datum setting Cycles can only be executed if the tilted No restrictions in connection with
(manual and automatic cycles) working plane function is inactive, the coordinate transformations
datum shift is inactive and rotation with
Cycle 10 is inactive
494
Comparison: Differences in MDI operation
Function TNC 320 iTNC 530
Execution of connected sequences Function partially available Available function
Demo version If nesting with PGM CALL results in Nested programs can be simulated.
more than 100 NC blocks, there is no
test graphic display; an error message
is not issued
Copying NC programs Copying to and from the directory TNC:\ TNCremo or file manager of
is possible with Windows Explorer programming station must be used for
copying.
Shifting the horizontal soft-key row Clicking the soft-key bar shifts the Clicking any soft-key bar activates the
soft-key row to the right, or to the left respective soft-key row.
tool measurement
wear monitoring
tool breakage monitoring