User's Manual Heidenhain Conversational Programming: NC Software 340 551-01
User's Manual Heidenhain Conversational Programming: NC Software 340 551-01
HEIDENHAIN
Conversational
Programming
TNC 320
NC Software
340 551-01
English (en)
3/2006
Controls on the visual display unit Programming path movements
zda4FFmd"©p¤ zzp"4^=Fz"4pmp¤
§a4^*F§FFmh"4^amamVp OFF4pmp¤zpV"hhamV
zpV"hhamVhp=F
pOcF©OpFdF4amVO¤m4apmam "aV^damF
4FFm
§a4^^FpO_cF©p§ a4dF4FmFzpdFOpzpd"4pp=am"F
F % S % Navigation in dialogs
0 0 pO¤m4apm"zFFm
z=p§mpmF=a"dpV*p¨p*¤pm
TNC Model, Software and Features
This manual describes functions and features provided by TNCs as of
the following NC software numbers.
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 not be among the features provided by
your machine tool.
TNC functions that may not be available on your machine include:
Probing function for the 3-D touch probe
Rigid tapping
Returning to the contour after an interruption
In addition, the TNC 320 also has software options that can be enabled
by your machine tool builder.
Software option
1st additional axis for 4 axes and open-loop spindle
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.
Location of use
The TNC complies with the limits for a Class A device in accordance
with the specifications in EN 55022, and is intended for use primarily
in industrially-zoned areas.
10
3 Positioning with Manual Data Input (MDI) ..... 49
3.1 Programming and Executing Simple Machining Operations ..... 50
Positioning with Manual Data Input (MDI) ..... 50
Protecting and erasing programs in $MDI ..... 52
12
4.5 Interactive Programming Graphics ..... 85
Generating / Not generating graphics during programming: ..... 85
Generating a graphic for an existing program ..... 85
Block number display ON/OFF ..... 86
Erasing the graphic ..... 86
Magnifying or reducing a detail ..... 86
4.6 Adding Comments ..... 87
Function ..... 87
Adding a comment line ..... 87
Functions for editing of the comment ..... 87
4.7 Integrated Pocket Calculator ..... 88
Operation ..... 88
4.8 The Error Messages ..... 90
Display of errors ..... 90
Open the error window. ..... 90
Close the error window ..... 90
Detailed error messages ..... 91
DETAILS soft key ..... 91
Clearing errors ..... 91
Error log file ..... 92
Keystroke log file ..... 92
Informational texts ..... 93
Saving service files ..... 93
14
6 Programming: Programming Contours ..... 113
6.1 Tool Movements ..... 114
Path functions ..... 114
FK Free Contour Programming ..... 114
Miscellaneous functions M ..... 114
Subprograms and program section repeats ..... 114
Programming with Q parameters ..... 114
6.2 Fundamentals of Path Functions ..... 115
Programming tool movements for workpiece machining ..... 115
6.3 Contour Approach and Departure ..... 119
Overview: Types of paths for contour approach and departure ..... 119
Important positions for approach and departure ..... 119
Approaching on a straight line with tangential connection: APPR LT ..... 121
Approaching on a straight line perpendicular to the first contour point: APPR LN ..... 121
Approaching on a circular path with tangential connection: APPR CT ..... 122
Approaching on a circular arc with tangential connection from a straight line to the contour: APPR LCT ..... 122
Departing on a straight line with tangential connection: DEP LT ..... 123
Departing on a straight line perpendicular to the last contour point: DEP LN ..... 123
Departure on a circular path with tangential connection: DEP CT ..... 124
Departing on a circular arc tangentially connecting the contour and a straight line: DEP LCT ..... 124
6.4 Path Contours—Cartesian Coordinates ..... 125
Overview of path functions ..... 125
Straight Line L ..... 125
Inserting a Chamfer CHF between Two Straight Lines ..... 126
Corner Rounding RND ..... 127
Circle center CC ..... 128
Circular path C around circle center CC ..... 129
Circular path CR with defined radius ..... 129
Circular Path CT with Tangential Connection ..... 131
6.5 Path Contours—Polar Coordinates ..... 136
Overview ..... 136
Polar coordinate origin: Pole CC ..... 136
Straight line LP ..... 137
Circular path CP around pole CC ..... 137
Circular Path CTP with Tangential Connection ..... 138
Helical interpolation ..... 138
16
7 Programming: Miscellaneous Functions ..... 159
7.1 Entering Miscellaneous Functions M and STOP ..... 160
Fundamentals ..... 160
7.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant ..... 162
Overview ..... 162
7.3 Programming machine-referenced coordinates: M91/M92 ..... 163
Programming machine-referenced coordinates: M91/M92 ..... 163
7.4 Miscellaneous Functions for Contouring Behavior ..... 165
Machining small contour steps: M97 ..... 165
Machining open contours: M98 ..... 167
Feed rate for circular arcs: M109/M110/M111 ..... 167
Calculating the radius-compensated path in advance (LOOK AHEAD): M120 ..... 168
Superimposing handwheel positioning during program run: M118 ..... 169
Retraction from the contour in the tool-axis direction: M140 ..... 169
Suppressing touch probe monitoring: M141 ..... 170
Delete basic rotation: M143 ..... 171
Automatically retract tool from the contour at an NC stop: M148 ..... 171
7.5 Miscellaneous Functions for Rotary Axes ..... 172
Feed rate in mm/min on rotary axes A, B, C: M116 ..... 172
Shorter-path traverse of rotary axes: M126 ..... 173
Reducing display of a rotary axis to a value less than 360°: M94 ..... 174
18
8.5 SL Cycles ..... 254
Fundamentals ..... 254
Overview of SL Cycles ..... 256
CONTOUR (Cycle 14) ..... 256
Overlapping contours ..... 257
CONTOUR DATA (Cycle 20) ..... 260
PILOT DRILLING (Cycle 21) ..... 261
ROUGH-OUT (Cycle 22) ..... 262
FLOOR FINISHING (Cycle 23) ..... 263
SIDE FINISHING (Cycle 24) ..... 264
8.6 Cycles for Multipass Milling ..... 268
Overview ..... 268
MULTIPASS MILLING (Cycle 230) ..... 268
RULED SURFACE (Cycle 231) ..... 270
FACE MILLING (Cycle 232) ..... 273
8.7 Coordinate Transformation Cycles ..... 281
Overview ..... 281
Effect of coordinate transformations ..... 281
DATUM SHIFT (Cycle 7) ..... 282
DATUM SHIFT with datum tables (Cycle 7) ..... 283
MIRROR IMAGE (Cycle 8) ..... 286
ROTATION (Cycle 10) ..... 288
SCALING FACTOR (Cycle 11) ..... 289
AXIS-SPECIFIC SCALING (Cycle 26) ..... 290
8.8 Special Cycles ..... 293
DWELL TIME (Cycle 9) ..... 293
PROGRAM CALL (Cycle 12) ..... 294
ORIENTED SPINDLE STOP (Cycle 13) ..... 295
20
10 Programming: Q Parameters ..... 313
10.1 Principle and Overview ..... 314
Programming notes ..... 315
Calling Q parameter functions ..... 315
10.2 Part Families—Q Parameters in Place of Numerical Values ..... 316
Example NC blocks ..... 316
Example ..... 316
10.3 Describing Contours through Mathematical Operations ..... 317
Function ..... 317
Overview ..... 317
Programming fundamental operations ..... 318
10.4 Trigonometric Functions ..... 319
Definitions ..... 319
Programming trigonometric functions ..... 320
10.5 Calculating Circles ..... 321
Function ..... 321
10.6 If-Then Decisions with Q Parameters ..... 322
Function ..... 322
Unconditional jumps ..... 322
Programming If-Then decisions ..... 322
Abbreviations used: ..... 323
10.7 Checking and Changing Q Parameters ..... 324
Procedure ..... 324
10.8 Additional Functions ..... 325
Overview ..... 325
FN14: ERROR: Displaying error messages ..... 326
FN16: F-PRINT: Formatted output of texts or Q parameter values ..... 328
FN18: SYS-DATUM READ Read system data ..... 331
FN19: PLC: Transferring values to the PLC ..... 339
FN20: WAIT FOR: NC and PLC synchronization ..... 340
FN 25: PRESET: Setting a new datum ..... 342
FN29: PLC: Transferring values to the PLC ..... 343
FN37:EXPORT ..... 344
22
11 Test Run and Program Run ..... 375
11.1 Graphics ..... 376
Function ..... 376
Overview of display modes ..... 377
Plan view ..... 377
Projection in 3 planes ..... 378
3-D view ..... 379
Magnifying details ..... 380
Repeating graphic simulation ..... 381
Measuring the machining time ..... 382
11.2 Showing the Workpiece in the Working Space ..... 383
Function ..... 383
11.3 Functions for Program Display ..... 384
Overview ..... 384
11.4 Test Run ..... 385
Function ..... 385
11.5 Program Run ..... 387
Function ..... 387
Run a part program ..... 387
Interrupting machining ..... 388
Moving the machine axes during an interruption ..... 388
Resuming program run after an interruption ..... 389
Mid-program startup (block scan) ..... 390
Returning to the contour ..... 391
11.6 Automatic Program Start ..... 392
Function ..... 392
11.7 Optional Block Skip ..... 393
Function ..... 393
Inserting the “/” character ..... 393
Erasing the “/” character ..... 393
11.8 Optional Program-Run Interruption ..... 394
Function ..... 394
24
13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes ..... 415
13.1 Introduction ..... 416
Overview ..... 416
Selecting probe cycles ..... 416
13.2 Calibrating a Touch Trigger Probe ..... 417
Introduction ..... 417
Calibrating the effective length ..... 417
Calibrating the effective radius and compensating center misalignment ..... 418
Displaying calibration values ..... 419
13.3 Compensating Workpiece Misalignment ..... 420
Introduction ..... 420
Measuring the basic rotation ..... 420
Displaying a basic rotation ..... 421
To cancel a basic rotation ..... 421
13.4 Setting the Datum with a 3-D Touch Probe ..... 422
Introduction ..... 422
To set the datum in any axis (see figure at right) ..... 422
Corner as datum—using points already probed for a basic rotation (see figure at right) ..... 423
Circle center as datum ..... 424
13.5 Measuring Workpieces with a 3-D Touch Probe ..... 425
Introduction ..... 425
To find the coordinate of a position on an aligned workpiece: ..... 425
Finding the coordinates of a corner in the working plane ..... 425
To measure workpiece dimensions ..... 426
To find the angle between the angle reference axis and a side of the workpiece ..... 427
13.6 Touch Probe Data Management ..... 428
Introduction ..... 428
13.7 Automatic Workpiece Measurement ..... 430
Overview ..... 430
Reference system for measurement results ..... 430
DATUM PLANE touch probe cycle 0 ..... 430
DATUM PLANE touch probe cycle 1 ..... 432
MEASURING (touch probe cycle 3) ..... 433
26
1
Introduction
1.1 The TNC 320
1.1 The TNC 320
Compatibility
The feature content of the TNC 320 is not the same as that of the TNC
4xx series and iTNC 530 controls. Part programs created on the
HEIDENHAIN controls TNC 150 B and later can only run on the TNC
320 under a condition. If NC blocks contain invalid elements, the TNC
will mark them during download as ERROR blocks.
28 1 Introduction
1.2 Visual Display Unit and
Screen layout
You select the screen layout yourself: In the programming mode of
operation, for example, you can have the TNC show program blocks in
the left window while the right window displays programming
graphics. You could also display status information in the right window
instead of the graphics, or display only program blocks in one large
window. The available screen windows depend on the selected
operating mode.
To change the screen layout:
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
Pocket 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
30 1 Introduction
1.3 Modes of Operation
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.
Soft keys for selecting the screen layout: see “Program Run, Full
Sequence and Program Run, Single Block”, page 32.
Graphics
32 1 Introduction
1.4 Status Displays
Symbol Meaning
ACTL. Actual or nominal coordinates of the current position. 11
Tool number T.
Axis locked.
No active program.
You can choose between several additional status displays with the
following soft keys:
34 1 Introduction
1.4 Status Displays
Positions and coordinates
2 Position display
Information on tools
2 Tool axis 2
3
3 Tool lengths and radii
Coordinate transformations
36 1 Introduction
1.5 Accessories: HEIDENHAIN 3-D
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.
Switch-on
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
Switch-off
To prevent data being lost at switch-off, you need to shut down the
operating system as follows:
8 Select the Manual Operation mode.
8 Select the function for shutting down, confirm again
with the YES soft key.
8 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.
Note
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 45).
LINEAR AXES:
X
8 16
Enter the jog increment in mm, e.g. 8 mm, and press
the CONFIRM VALUE soft key.
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 a 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
8 Clamp and align the workpiece.
8 Insert the zero tool with known radius into the spindle.
8 Ensure that the TNC is showing the actual position values.
Fragile workpiece? Y
X
Move the tool slowly until it touches (scratches) the
workpiece surface.
DATUM SET Z=
Limitation Z
FK free contour programming, programming graphics and Y
program run graphics, subprograms, program section
repeats, and path compensation cannot be used. The
$MDI file must not contain a program call (PGM CALL).
X
Example 1 50
A hole with a depth of 20 mm is to be drilled into a single workpiece.
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines. 50
First you pre-position the tool in L blocks (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 1 PECKING.
Use the 3-D touch probe to rotate the coordinate system. See “Touch
Probe Cycles in the Manual and Electronic Handwheel Operating
Modes,” section “Compensating workpiece misalignment,” in the
Touch Probe Cycles User’s Manual.
Write down the rotation angle and cancel the Basic Rotation.
Conclude entry.
TARGET FILE =
BOREHOLE Enter the name under which you want to save the
current contents of the $MDI file.
Erasing the contents of the $MDI file is done in a similar way: Instead
of copying the contents, however, you erase them with the DELETE
soft key. The next time you select the operating mode Positioning with
MDI, the TNC will display an empty $MDI file.
Reference system
A reference system is required to define positions in a plane or in
space. The position data are always referenced to a predetermined
point and are described through coordinates.
The Cartesian coordinate system (a rectangular coordinate system) is
based on the three coordinate axes X, Y and Z. The axes are mutually
perpendicular and intersect at one point called the datum. A
coordinate identifies the distance from the datum in one of these
directions. A position in a plane is thus described through two
coordinates, and a position in space through three coordinates.
Coordinates that are referenced to the datum are referred to as
absolute coordinates. Relative coordinates are referenced to any other Z
known position (reference point) you define within the coordinate
system. Relative coordinate values are also referred to as incremental
coordinate values.
Y
Y W+
C+
B+
V+ A+ X
U+
Polar coordinates
If the production drawing is dimensioned in Cartesian coordinates, you
also write the part program using Cartesian coordinates. For parts
containing circular arcs or angles it is often simpler to give the Y
dimensions in polar coordinates.
While the Cartesian coordinates X, Y and Z are three-dimensional and PR
can describe points in space, polar coordinates are two-dimensional PA2
and describe points in a plane. Polar coordinates have their datum at a
circle center (CC), or pole. A position in a plane can be clearly defined PA3 PR
by the: PR
PA1
Polar Radius, the distance from the circle center CC to the position, 10 0°
CC
and the
Polar Angle, the size of the angle between the reference axis and
the line that connects the circle center CC with the position. X
30
See figure at upper right.
Y/Z +Y Z
Y
Z/X +Z X
Z Y
15
X = 10 mm
Y = 10 mm
10
14
Hole 5, relative to 4 Hole 6, relative to 5
X = 20 mm X = 20 mm
Y = 10 mm Y = 10 mm 10
20 20 X
Absolute and incremental polar coordinates 10
Absolute polar coordinates always refer to the pole and the reference
axis.
Incremental polar 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
X
325 450 900
950
Tables for
Tools .T
Tool changers .TCH
Datums .D
When you write a part program on the TNC, you must first enter a file
name. The TNC saves the program 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 10
MB.
File names
When you store programs, tables and texts as files, the TNC adds an
extension to the file name, separated by a point. This extension
indicates the file type.
PROG20 .H
File name File type
Screen keypad
You can enter letters and special characters with the screen keypad or
(if available) with a PC keyboard connected over the USB port.
Use the abc/ABC soft key to select upper or lower case. If your
machine tool builder has defined additional special characters, you can
call them with the SPECIAL CHARACTER soft key and insert them.
To delete individual characters, use the Backspace soft key.
Data backup
We recommend saving newly written programs and files on a PC at
regular intervals.
1
HEIDENHAIN provides a backup function for this purpose in the data
transfer software TNCremoNT. Your machine tool builder can provide
you with a copy of TNCBACK.EXE.
You additionally need a data medium on which all machine-specific
data, such as the PLC program, machine parameters, etc., are stored.
Please contact your machine tool builder for more information on both
the backup program and the floppy disk.
Paths
A path indicates the drive and all directories and subdirectories under
which a file is saved. The individual names are separated by a TNC:\
backslash “\”.
AUFTR1
Example
NCPROG
On drive TNC:\ the subdirectory AUFTR1 was created. Then, in the
directory AUFTR1 the directory NCPROG was created and the part WZTAB
program PROG1.H was copied into it. The part program now has the
following path: A35K941
TNC:\AUFTR1\NCPROG\PROG1.H ZYLM
The chart at right illustrates an example of a directory display with TESTPROG
different paths.
HUBER
KAR25T
Mark a file
Rename a file
Copy a directory
Press the PGM MGT key: the TNC displays the file
management window (Figure at upper right shows
the factory default setting.) If the TNC displays a
different screen layout, press the WINDOW soft key.)
The narrow window on the left 1 shows the available drives and
directories. Drives designate devices with which data are stored or
transferred. One drive is the internal memory of the TNC. Other drives
1 2
are the RS232, RS422, Ethernet and USB interfaces, which you can
used, for example, to connect a personal computer or other storage
device. A directory is always identified by a folder symbol to the left
and the directory name to the right. The control displays a subdirectory
to the right of and below its parent directory. A box with the + symbol
in front of the folder symbol indicates that there are further
subdirectories, which can be shown with the –/+ key or ENT.
The wide window on the right 2 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 an extension, separated by a dot
(file type)
With the arrow keys or the soft keys, you can move the highlight to
the desired position on the screen:
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.
DIRECTORY NAME?
Copying a directory
Move the highlight in the left window onto the directory you want to
copy. Instead of the COPY soft key, press the COPY DIR soft key.
Subdirectories can be copied by the TNC at the same time.
Use the arrow keys to move the highlight to the file you wish to select:
Moves the highlight up and down within a window.
or
Deleting a file
8 Move the highlight to the file you want to delete
8 To select the erasing function, press the DELETE soft
key
8 To confirm, press the OK soft key
8 To abort erasure, press the CANCEL soft key
Deleting a directory
8 Delete all files and subdirectories stored in the directory that you
want to delete
8 Move the highlight to the directory you want to delete
8 To select delete function, press the DELETE ALL soft
key. The TNC asks whether you really want to erase
the subdirectories and files.
8 To confirm, press the OK soft key
8 To cancel deletion, press the CANCEL soft key
Marking files
Some functions, such as copying or erasing files, can not only be used
for individual files, but also for several files at once. To mark several
files, proceed as follows:
File sorting
8 Select the folder in which you wish to sort the files
8 Select the SORT soft key
Additional functions
Protecting a file / Canceling file protection
8 Move the highlight to the file you want to protect.
8 To select the additional functions, press the MORE
FUNCTIONS soft key.
8 To enable file protection, press the PROTECT soft
key. The file is distinguished by a symbol.
8 To cancel file protection, proceed in the same way
using the UNPROTECT soft key.
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window.
Confirm with the OK soft key or with the ENT key. For long programs,
a status window appears on the TNC informing you of the copying
progress.
Overwriting files
If you copy files into a directory in which other files are stored under
the same name, the TNC will reply with a “protected file” error
message. Use the TAG function to overwrite the file anyway:
8 To overwrite two or more files, mark them in the "existing files" pop-
up window and press the OK soft key
8 To leave the files as they are, press the CANCEL soft key
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:
-40
Example of a dialog
Dialog initiation
COORDINATES?
MISCELLANEOUS FUNCTION M?
Editing a program
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Go to next page
Go to beginning of program
Go to end of program
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.
8 If required, select the block containing the word you wish to find.
8 Select the Search function: The TNC superimposes
the search window and displays the available search
functions in the soft-key row.
8 Activate the Replace function: The TNC superimposes
a window for entering the text to be inserted.
8 Enter the text to be searched for. Please note that the
search is case-sensitive. Then confirm with the ENT
key.
8 Enter the text to be inserted. Please note that the
entry is case-sensitive.
8 Start the search process: The TNC displays the
available search options in the soft-key row (see the
table of search options).
8 If required, change the search options.
Additional functions:
Operation
The TNC features an integrated pocket calculator with the basic
mathematical functions.
8 Use the CALC key to show and hide the on-line pocket calculator.
8 Use soft keys to enter the calculator functions.
Subtraction –
Multiplication *
Division /
Parenthetic calculations ()
Sine SIN
Cosine COS
Tangent TAN
Inversion 1/x
p (3.14159265359) PI
Natural logarithm LN
Logarithm LOG
Display of errors
The TNC generates error messages when it detects problems such
as:
Incorrect data input
Logical errors in the program
Contour elements that are impossible to machine
Incorrect use of the touch probe system
When an error occurs, it is displayed in red type in the header. Long
and multi-line error messages are displayed in abbreviated form. If an
error occurs in the background mode, the word “Error” is displayed in
red type. Complete information on all pending errors is shown in the
error window.
If a rare “processor check error” should occur, the TNC automatically
opens the error window. You cannot remove such an error. Shut down
the system and restart the TNC.
The error message is displayed in the header until it is cleared or
replaced by a higher-priority error.
An error message that contains a program block number was caused
by an error in the indicated block or in the preceding block.
8 Press the ERR key. The TNC closes the error window.
Clearing errors
Clearing errors outside of the error window:
8 To clear the error/message in the header: Press the
CE button.
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.
8 To open the error log file, press the ERROR LOG FILE
soft key.
8 If you need the previous log file, press the PREVIOUS
FILE soft key.
8 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.
Informational texts
After a faulty operation, such as pressing a key without function or
entering a value outside of the valid range, the TNC displays a (green)
text in the header, informing you that the operation was not correct.
The TNC clears this informational text upon the next valid input.
Feed rate F
The feed rate F is the speed (in millimeters per minute or inches per
minute) at which the tool center moves. The maximum feed rates can S
be different for each machine axis, and are set in machine parameters. Z
S
Input Y
You can enter the feed rate in the TOOL CALL block and in every F
positioning block (see “Creating the program blocks with the path X
function keys” on page 117).
Rapid traverse
If you wish to program rapid traverse, enter F MAX. To enter F MAX,
press the ENT key or the F MAX soft key when the dialog question
FEED RATE F = ? appears on the TNC screen.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached. F MAX is only effective in the block
in which it is programmed. After the block with F MAX is executed, the
feed rate will return to the last feed rate entered as a numerical value.
96 5 Programming: Tools
5.1 Entering Tool-Related Data
Spindle speed S
The spindle speed S is entered in revolutions per minute (rpm) in a
TOOL CALL block.
Programmed change
In the part program, you can change the spindle speed in a TOOL
CALL block by entering the spindle speed only:
8 To program a tool call, press the TOOL CALL key.
8 Ignore the dialog question for Tool number ? with the
NO ENT key.
8 Ignore the dialog question for Working spindle axis
X/Y/Z ? with the NO ENT key.
8 Enter the new spindle speed for the dialog question
Spindle speed S= ?, and confirm with END.
Tool length L
There are two ways to determine the tool length L:
98 5 Programming: Tools
5.2 Tool Data
Tool radius R
You can enter the tool radius R directly.
Input range: You can enter a delta value with up to ± 99.999 mm. DL<0
DL>0
Delta values from the tool table influence the graphical
representation of the tool. The representation of the
workpiece remains the same in the simulation.
Delta values from the TOOL CALL block change the
represented size of the workpiece during the simulation.
The simulated tool size remains the same.
Example
4 TOOL DEF 5 L+10 R+5
NAME Name by which the tool is called in the program Tool name?
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?
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 on TIME1.
TIME2 Maximum tool life in minutes during TOOL CALL: If the current tool Maximum tool age for TOOL CALL?
age exceeds this value, the TNC changes the tool during the next
TOOL CALL (see also CUR.TIME).
CUR.TIME Current age of the tool in minutes: The TNC automatically counts Current tool life?
the current tool life (CUR.TIME). A starting value can be entered for
used tools.
PLC Information on this tool that is to be sent to the PLC PLC status?
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
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
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
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = –)?
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
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 171).
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).
ST Special tool ( ST) 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?
Activate a filter
The TNC automatically changes the tool if the tool life TIME2 expires
during program run. To use this miscellaneous function, activate M101
at the beginning of the program. M101 is reset with M102.
The tool is changed automatically
after the next NC block after expiration of the tool life, or
at latest one minute after tool life expires (calculation is for a
potentiometer setting of 100%)
For tool length compensation, the TNC takes the delta values from
both the TOOL CALL block and the tool table into account:
Compensation value = L + DLTOOL CALL + DLTAB where
For tool 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 is the tool radius R from the TOOL DEF block or tool
table.
DR TOOL CALL is the oversize for radius DR in the TOOL CALL block
(not taken into account by the position display).
DR TAB is the oversize for radius DR in the tool table.
X
Y
Program any desired path function, enter the coordinates of the target
point and confirm your entry with ENT.
RR
RADIUS COMP.: RL/RR/NO COMP.?
RL RL
Path functions
§pczaF4F4pmp¤a¤¤"dd©4phzpF=pOF¦F"d4pmp¤
FdFhFm:¤4^""aV^damF"m=4a4¤d""4a^^Fz"^ L
O¤m4apm:©p¤4"mzpV"h^Fppdhp¦FhFmOpstraight lines"m= L CC
circular arcs.
L
FK Free Contour Programming C
O"zp=¤4apm="§amVamp=ahFmapmF=Op"m=^F=ahFmapm
Va¦Fm"Fmp¤OOa4aFmOp4F"amV"z"zpV"h:©p¤4"mzpV"h
^F§pczaF4F4pmp¤§a^^F OFF4pmp¤zpV"hhamV"m=
^"¦F^F4"d4¤d"F^FhaamV=""
a^ zpV"hhamV:©p¤"dpzpV"hppdhp¦FhFmOpstraight
lines"m=circular arcs
Miscellaneous functions M
a^^Fha4Fdd"mFp¤O¤m4apm©p¤4"m"OOF4
pV"h¤m:FV:"zpV"hamF¤zapm
Y
"4^amFO¤m4apm:¤4^"§a4^amVzam=dFp"apm"m=4ppd"m
¤zzd©pm"m=pOO
80
pmp¤amV*F^"¦appO^Fppd
CC
60
Subprograms and program section repeats
0
40 R4
O"h"4^amamVF¤Fm4Fp44¤F¦F"dahFam"zpV"h:©p¤4"m
"¦FahF"m=F=¤4F^F4^"m4FpOzpV"hhamVFp*©FmFamV
^FF¤Fm4Fpm4F"m=^Fm=FOamamVa""¤*zpV"hpzpV"h
F4apmFzF" O©p¤§a^pF¨F4¤F"zF4aOa4zpV"hF4apmpmd©
¤m=F4F"am4pm=aapm:©p¤"dp=FOamF^ah"4^amamVF¤Fm4F" X
10 115
"¤*zpV"h m"==aapm:©p¤4"m^"¦F"z"zpV"h4"dd"Fz""F
zpV"hOpF¨F4¤apm
pV"hhamV§a^¤*zpV"h"m=zpV"hF4apmFzF"a
=F4a*F=am^"zFn
114 pV"hhamV9pV"hhamVpmp¤
6.2 Fundamentals of Path
L X+100 Y
X
L "^O¤m4apmOp""aV^damF 50
X+100 pp=am"FpO^FFm=zpam
^FppdF"am^F "m=!4pp=am"F"m=hp¦Fp^Fzpaapm
Ks¬¬|FFOaV¤F"¤zzFaV^} 70
Movement in the main planes
^FzpV"h*dp4c4pm"am§p4pp=am"F^F^¤hp¦F^F
ppdam^FzpV"hhF=zd"mF
¨"hzdF9
L X+70 Y+50
Z
^FppdF"am^F!4pp=am"F"m=hp¦Fam^F zd"mFp^F
K¬: KQ¬zpaapm|FFOaV¤F"4FmFaV^} Y
Three-dimensional movement X
^FzpV"h*dp4c4pm"am^FF4pp=am"F^F^¤hp¦F
^Fppdamz"4Fp^FzpV"hhF=zpaapm
¨"hzdF9
Y ZX:"dp
:!: X X
XCC
X YZ:"dp
: :!
116 pV"hhamV9pV"hhamVpmp¤
6.2 Fundamentals of Path Functions
Radius compensation
^F"=a¤4phzFm"apmh¤*Fam^F*dp4cam§^a4^©p¤hp¦Fp
^FOa4pmp¤FdFhFm p¤4"mmp*FVam"=a¤4phzFm"apmam"
4a4dF*dp4c h¤*F"4a¦"F=*FOpF^"m=am""aV^_damF*dp4c
|FF"^pmp¤I"Fa"mpp=am"F:z"VFs¢Q}p"zzp"4^
*dp4c|*dp4c:FFpmp¤zzp"4^"m=Fz"¤F:z"VF
ssn}
Pre-positioning
FOpF¤mmamV"z"zpV"h:"d§"©zF_zpaapm^FppdpzF¦Fm
^Fzpa*ada©pO="h"VamVap^F§pczaF4F
maa"F^FzpV"hhamV=a"dpV:FVOp""aV^
damF
COORDINATES?
mF^F4pp=am"FpO^F"aV^_damFFm=zpam
10
FdF4^F"=a¤4phzFm"apm|^FF:zF^F¬
pOcF©I^Fppdhp¦F§a^p¤4phzFm"apm}
mF^FOFF="F|^FF:s¬¬hhham}:"m=4pmOah
100 ©p¤Fm©§a^ pzpV"hhamVamam4^F:
FmFs¬¬Op"OFF="FpOs¬azh
p¦F""za="¦FF9zF^F pOcF©
p"¦FF§a^^FOFF="F=FOamF=am^FTOOL
CALL*dp4c:zF^F pOcF©
MISCELLANEOUS FUNCTION M?
3 mF"ha4Fdd"mFp¤O¤m4apm|^FF:}:"m=
Fham"F^F=a"dpV§a^
^Fz"zpV"hmp§4pm"am^FOpddp§amVdamF9
118 pV"hhamV9pV"hhamVpmp¤
6.3 Contour Approach and
"aV^damFzFzFm=a4¤d"p"4pmp¤
zpam
a4¤d""4§a^"mVFma"d4pmmF4apm
a4¤d""4§a^"mVFma"d4pmmF4apm
p^F4pmp¤zzp"4^"m==Fz"¤F
p"m"¤¨ada"©zpamp¤a=FpO^F
4pmp¤pm""mVFma"dd©4pmmF4amV
damF
^FzpaapmdaFp¤a=FpO^F4pmp¤"m=F¤dOph©p¤
amz¤am^F*dp4c O^F*dp4c"dp4pm"am"!"¨a
4pp=am"F:^F§addOahp¦F^Fppdp am^F§pcamV
zd"mF:"m=^Fmhp¦Fap^FFmFF==Fz^am^Fppd"¨a
Abbreviation Meaning
zzp"4^
Fz"¤F
amF
a4dF
"mVFma"d|hpp^4pmmF4apm}
ph"d|zFzFm=a4¤d"}
^F=pFmp4^F4c§^F^F^FzpV"hhF=
4pmp¤§add*F="h"VF=§^Fmhp¦amVOph^F"4¤"d
zpaapmp^F"¤¨ada"©zpam F^FFV"z^a4p
ah¤d"F"zzp"4^"m==Fz"¤F*FOpFF¨F4¤amV^F
z"zpV"h
a^^F:"m=O¤m4apm:^F
hp¦F^FppdOph^F"4¤"dzpaapmp^F
"¤¨ada"©zpam "^FOFF="F^"§"d"
zpV"hhF=a^^FO¤m4apm:^F
hp¦Fp^F"¤¨ada"©zpam "^FOFF="F
zpV"hhF=§a^^F*dp4c OmpOFF="Fa
zpV"hhF=©F*FOpF^F"zzp"4^*dp4c:^F
VFmF"F"mFphF"VF
Polar coordinates
p¤4"m"dpzpV"h^F4pmp¤zpamOp^FOpddp§amV"zzp"4^
=Fz"¤FO¤m4apmp¦Fzpd"4pp=am"F9
*F4phF
*F4phF
*F4phF
*F4phF
*F4phF
FdF4*©pOcF©"m"zzp"4^p=Fz"¤FO¤m4apm:^FmzF^F
p"mVFcF©
Radius compensation
^Fppd"=a¤4phzFm"apmazpV"hhF=pVF^F§a^^FOa
4pmp¤zpamam^F*dp4c^F*dp4c"¤ph"a4"dd©
=a4"=^Fppd"=a¤4phzFm"apm
pmp¤"zzp"4^§a^p¤"=a¤4phzFm"apm9 O©p¤zpV"h^F
*dp4c§a^¬:^F§add4"d4¤d"F^Fppdz"^Op"ppd
"=a¤pO¬hh"m=""=a¤4phzFm"apmM^F"=a¤
4phzFm"apmamF4F"©pF^F=aF4apmpO4pmp¤"zzp"4^
"m==Fz"¤Fam^F"m=O¤m4apm
120 pV"hhamV9pV"hhamVpmp¤
6.3 Contour Approach and Departure
Approaching on a straight line with tangential
connection: APPR LT Y
35
^Fppdhp¦Fpm""aV^damFOph^F"amVzpamp"m
"¤¨ada"©zpam ^Fmhp¦Fp^FOa4pmp¤zpampm"
R
"aV^damF^"4pmmF4"mVFma"dd©p^F4pmp¤^F"¤¨ada"©
R
15
PA
zpam aFz""F=Oph^FOa4pmp¤zpam*©^F=a"m4F 20 RR
8 F"m©z"^O¤m4apmp"zzp"4^^F"amVzpam 10
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9 PH PS
8 pp=am"FpO^FOa4pmp¤zpam RR R0
8 9a"m4FOph^F"¤¨ada"©zpam p^FOa
4pmp¤zpam X
20 35 40
8 "=a¤4phzFm"apmOph"4^amamV
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 zzp"4^§a^p¤"=a¤4phzFm"apm
8 APPR LT X+20 Y+20 Z-10 LEN15 RR F100 §a^"=a¤4phz:=a"m4F p9KsQ
9 L Y+35 Y+35 m=zpampO^FOa4pmp¤FdFhFm
10 L ... F¨4pmp¤FdFhFm
zpam aFz""F=*©^F=a"m4Fzd¤^Fppd"=a¤Oph^F PA
Oa4pmp¤zpam 20 RR
15
8 F"m©z"^O¤m4apmp"zzp"4^^F"amVzpam
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9 10
PH PS
8 pp=am"FpO^FOa4pmp¤zpam
RR R0
8 FmV^9a"m4Fp^F"¤¨ada"©zpam d§"©
FmF""zpaa¦F¦"d¤FM
X
8 "=a¤4phzFm"apmOph"4^amamV 10 20 40
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 zzp"4^§a^p¤"=a¤4phzFm"apm
8 APPR LN X+10 Y+20 Z-10 LEN15 RR F100 §a^"=a¤4phz
9 L X+20 Y+35 m=zpampO^FOa4pmp¤FdFhFm
10 L ... F¨4pmp¤FdFhFm
R
R
"4a4¤d""4^"a"mVFma"dp^FOa4pmp¤FdFhFm PA
20
^F"4Oph pa=FFhamF=^p¤V^^F"=a¤"m=^F RR
CCA=
4FmF"mVdF^F=aF4apmpOp"apmpO^F4a4¤d""4a 180°
"¤ph"a4"dd©=Fa¦F=Oph^Fppdz"^Op^FOa4pmp¤FdFhFm 0
10 R1
8 F"m©z"^O¤m4apmp"zzp"4^^F"amVzpam PS
PH R0
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9
RR
8 pp=am"FpO^FOa4pmp¤zpam
X
8 "=a¤pO^F4a4¤d""4 10 20 40
O^Fppd^p¤d="zzp"4^^F§pczaF4Fam^F
=aF4apm=FOamF=*©^F"=a¤4phzFm"apm9mF
""zpaa¦F¦"d¤F
O^Fppd^p¤d="zzp"4^^F§pczaF4FpzzpaF
p^F"=a¤4phzFm"apm9
mF""mFV"a¦F¦"d¤F
8 FmF"mVdFpO^F"4
4"m*FFmFF=pmd©""zpaa¦F¦"d¤F
"¨ah¤hamz¤¦"d¤F¬@
8 "=a¤4phzFm"apmOph"4^amamV
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 zzp"4^§a^p¤"=a¤4phzFm"apm
8 APPR CT X+10 Y+20 Z-10 CCA180 R+10 RR F100 §a^"=a¤4phz:"=a¤Ks¬
9 L X+20 Y+35 m=zpampO^FOa4pmp¤FdFhFm
10 L ... F¨4pmp¤FdFhFm
^Fppdhp¦Fpm""aV^damFOph^F"amVzpamp"m
R
"¤¨ada"©zpam ^Fmhp¦Fp^FOa4pmp¤zpampm" PA
20
4a4¤d""4^FOFF="FzpV"hhF=am^F*dp4caamFOOF4 RR
^F"4a4pmmF4F="mVFma"dd©*p^p^FdamFJ "§Fdd"p
0
^FOa4pmp¤FdFhFmm4F^FFdamF"Fcmp§m:^F"=a¤^Fm 10 R1
¤OOa4Fp4phzdFFd©=FOamF^Fppdz"^ PS
R0
8 F"m©z"^O¤m4apmp"zzp"4^^F"amVzpam PH
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9 RR
X
8 pp=am"FpO^FOa4pmp¤zpam 10 20 40
8 "=a¤pO^F4a4¤d""4mF""zpaa¦F¦"d¤F
8 "=a¤4phzFm"apmOph"4^amamV
122 pV"hhamV9pV"hhamVpmp¤
6.3 Contour Approach and Departure
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 zzp"4^§a^p¤"=a¤4phzFm"apm
8 APPR LCT X+10 Y+20 Z-10 R10 RR F100 §a^"=a¤4phz:"=a¤Ks¬
9 L X+20 Y+35 m=zpampO^FOa4pmp¤FdFhFm
10 L ... F¨4pmp¤FdFhFm
12.5
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9
8 9mF^F=a"m4FOph^Fd"4pmp¤FdFhFm PN
p^FFm=zpam R0
X
Example NC blocks
23 L Y+20 RR F100 "4pmp¤FdFhFm9§a^"=a¤4phzFm"apm
24 DEP LT LEN12.5 F100 Fz"4pmp¤*©Ks¢Qhh
25 L Z+100 FMAX M2 F"4am!:F¤mp*dp4cs:Fm=zpV"h
Example NC blocks
23 L Y+20 RR F100 "4pmp¤FdFhFm9§a^"=a¤4phzFm"apm
24 DEP LN LEN+20 F100 Fz"zFzFm=a4¤d"p4pmp¤*©K¢¬hh
25 L Z+100 FMAX M2 F"4am!:F¤mp*dp4cs:Fm=zpV"h
R8
180° RR
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9
8 FmF"mVdFpO^F"4
8 "=a¤pO^F4a4¤d""4
O^Fppd^p¤d==Fz"^F§pczaF4Fam^F
=aF4apmpO^F"=a¤4phzFm"apm|aFp^F X
aV^§a^pp^FdFO§a^}9mF""
zpaa¦F¦"d¤F
O^Fppd^p¤d==Fz"^F§pczaF4Fam^F
=aF4apmoppositep^F"=a¤4phzFm"apm9
mF""mFV"a¦F¦"d¤F
Example NC blocks
23 L Y+20 RR F100 "4pmp¤FdFhFm9§a^"=a¤4phzFm"apm
24 DEP CT CCA 180 R+8 F100 FmF"mVdFKsG¬@:
"4"=a¤KGhh
25 L Z+100 FMAX M2 F"4am!:F¤mp*dp4cs:Fm=zpV"h
^Fppdhp¦Fpm"4a4¤d""4Oph^Fd"4pmp¤zpamp"m
"¤¨ada"©zpam ^Fmhp¦Fpm""aV^damFp^FFm=zpam
20
^F"4a"mVFma"dd©4pmmF4F=*p^p^Fd"4pmp¤FdFhFm"m= PE
R8
p^FdamFOph pm4F^FFdamF"Fcmp§m:^F"=a¤ RR
^Fm¤OOa4Fp4phzdFFd©=FOamF^Fppdz"^ 12
PH
8 pV"h^Fd"4pmp¤FdFhFm§a^^FFm=zpam"m="=a¤ PN
4phzFm"apm R0
R0
8 maa"F^F=a"dpV§a^^FcF©"m=pOcF©9
8 mF^F4pp=am"FpO^FFm=zpam X
10
8 "=a¤pO^F4a4¤d""4mF""zpaa¦F¦"d¤F
Example NC blocks
23 L Y+20 RR F100 "4pmp¤FdFhFm9§a^"=a¤4phzFm"apm
24 DEP LCT X+10 Y+12 R+8 F100 pp=am"F:"4"=a¤KGhh
25 L Z+100 FMAX M2 F"4am!:F¤mp*dp4cs:Fm=zpV"h
124 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
6.4 Path Contours—Cartesian
Coordinates
Overview of path functions
Function Path function key Tool movement Required input
amFL "aV^damF pp=am"FpO^FFm=zpampO
^F"aV^damF
Straight Line L
^Fhp¦F^Fppdam""aV^damFOpha4¤Fmzpaapmp
^F"aV^_damFFm=zpam^F"amVzpama^FFm=zpampO^F Y
zF4F=amV*dp4c
40
8 CoordinatespO^FFm=zpampO^F"aV^damF
15
¤^FFmaF:aOmF4F"©9
8 Radius compensation RL/RR/R0
10
8 Feed rate F
8 Miscellaneous function M
20 X
10
60
Example NC blocks
7 L X+10 Y+40 RL F200 M3
8 L IX+20 IY-15
9 L X+60 IY-10
12
5
mama=F4^"hOFh¤*Fd"VFFmp¤V^p"44phhp="F^F 30
4¤Fmppd
8 Chamfer side length:FmV^pO^F4^"hOF
¤^FFmaF:aOmF4F"©9
8 Feed rate F|pmd©FOOF4a¦Fam *dp4c}
5 X
Example NC blocks
40
7 L X+0 Y+30 RL F300 M3
8 L X+40 IY+5
9 CHF 12 F250
10 L IX+5 Y+0
p¤4"mmp""4pmp¤§a^" *dp4c
4^"hOFazpa*dFpmd©am^F§pcamVzd"mF
^F4pmFzpama4¤pOO*©^F4^"hOF"m=ampz"
pO^F4pmp¤
OFF="FzpV"hhF=am^F *dp4caFOOF4a¦Fpmd©
am^"*dp4cOF^F *dp4c:^FzF¦ap¤OFF="F
*F4phFFOOF4a¦F"V"am
126 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
Corner Rounding RND
^FO¤m4apma¤F=Opp¤m=amVpOO4pmF
^Fppdhp¦Fpm"m"4^"a"mVFma"dd©4pmmF4F=p*p^^F Y
zF4F=amV"m=¤*F¤Fm4pmp¤FdFhFm
^Fp¤m=amV"4h¤*Fd"VFFmp¤V^p"44phhp="F^Fppd
40
8 Rounding radius:mF^F"=a¤
¤^FFmaF:aOmF4F"©9 R5 25
8 Feed rate F|pmd©FOOF4a¦Fam*dp4c}
Example NC blocks
5
5 L X+10 Y+40 RL F300 M3
6 L X+40 Y+25 X
10 40
7 RND R5 F100
8 L X+10 Y+5
m^FzF4F=amV"m=¤*F¤Fm4pmp¤FdFhFm:*p^
4pp=am"Fh¤daFam^Fzd"mFpO^Fp¤m=amV"4 O
©p¤h"4^amF^F4pmp¤§a^p¤ppd_"=a¤
4phzFm"apm:©p¤h¤zpV"h*p^4pp=am"Fam^F
§pcamVzd"mF
^F4pmFzpama4¤pOO*©^Fp¤m=amV"4"m=amp
z"pO^F4pmp¤
OFF="FzpV"hhF=am^F*dp4caFOOF4a¦Fpmd©
am^"*dp4cOF^F*dp4c:^FzF¦ap¤OFF="F
*F4phFFOOF4a¦F"V"am
p¤4"m"dp¤F"m*dp4cOp""mVFma"d4pmp¤
"zzp"4^aO©p¤=pmp§"mp¤F"mO¤m4apm
Circle center CC
p¤4"m=FOamF"4a4dF4FmFOp4a4dF^""FzpV"hhF=§a^
^FcF©|4a4¤d"z"^}^aa=pmFam^FOpddp§amV§"©9
mFamV^F"Fa"m4pp=am"FpO^F4a4dF4FmF:p
Z
amV^F4a4dF4FmF=FOamF=am"mF"daF*dp4c:p Y
"z¤amV^F4pp=am"F§a^^F_ _
cF© CC
8 Coordinates9mF^F4a4dF4FmF4pp=am"F
:aO©p¤§"mp¤F^Fd"zpV"hhF=zpaapm: YCC X
=pmpFmF"m©4pp=am"F
Example NC blocks
5 CC X+25 Y+25 X CC
p
10 L X+25 Y+25
11 CC
^FzpV"h*dp4cs¬"m=ss=pmpFOFp^Fadd¤"apm
Duration of effect
^F4a4dF4FmF=FOamaapmFh"amamFOOF4¤mad"mF§4a4dF4FmF
azpV"hhF=
^Fpmd©FOOF4pOap=FOamF"zpaapm"4a4dF
4FmF9^Fppd=pFmphp¦Fp^azpaapm
^F4a4dF4FmFa"dp^FzpdFOpzpd"4pp=am"F
128 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
Circular path C around circle center CC
FOpFzpV"hhamV"4a4¤d"z"^:©p¤h¤OaFmF^F4a4dF
4FmF^Fd"zpV"hhF=ppdzpaapm*FOpF^F*dp4ca
¤F="^F4a4dF"amVzpam Y
8 p¦F^Fppdp^F4a4dF"amVzpam
8 CoordinatespO^F4a4dF4FmF
8 CoordinatespO^F"4Fm=zpam
E S
8 Direction of rotation DR CC
¤^FFmaF:aOmF4F"©9
8 Feed rate F
8 Miscellaneous function M
X
Example NC blocks
5 CC X+25 Y+25
6 L X+45 Y+25 RR F200 M3
7 C X+45 Y+25 DR+ Y
Full circle
p^FFm=zpam:FmF^F"hFzpam^"©p¤¤F=Op^F"amV DR+
zpam
CC
^F"amV"m=Fm=zpampO^F"4h¤daFpm^F 25
4a4dF
mz¤pdF"m4F9¤zp¬¬shh|FdF4F=^p¤V^^F DR–
4a4dFF¦a"apmh"4^amFz""hFF}
X
25 45
Circular path CR with defined radius
^Fppdhp¦Fpm"4a4¤d"z"^§a^^F"=a¤
8 CoordinatespO^F"4Fm=zpam
Y
8 Radius R
pF9^F"dVF*"a4aVm=FFhamF^Fa«FpO^F
"4M
8 Direction of rotation DR
pF9^F"dVF*"a4aVm=FFhamF§^F^F^F"4 R
a4pm4"¦Fp4pm¦F¨M E1=S2
S1=E2
¤^FFmaF:aOmF4F"©9 CC
8 Miscellaneous function M
8 Feed rate F
Full circle X
p"O¤dd4a4dF:zpV"h§p*dp4cam¤44Fapm9
^FFm=zpampO^FOaFha4a4dFa^F"amVzpampO^FF4pm=
^FFm=zpampO^FF4pm=Fha4a4dFa^F"amVzpampO^FOa
p
p
p
^F=a"m4FOph^F"amV"m=Fm=zpampO^F"4
=a"hFF4"mmp*FVF"F^"m^F=a"hFFpO^F"4
130 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
Circular Path CT with Tangential Connection
^Fppdhp¦Fpm"m"4^"""mVFma"dd©p^FzF¦ap¤d©
zpV"hhF=4pmp¤FdFhFm Y
"maapm*F§FFm§p4pmp¤FdFhFma4"ddF="mVFma"d§^Fm
^FFampcamcp4pmF"^FamFF4apm*F§FFm^F§p
4pmp¤I^F"maapmahpp^
^F4pmp¤FdFhFmp§^a4^^F"mVFma"d"44pmmF4h¤*F
zpV"hhF=ahhF=a"Fd©*FOpF^F*dp4c^aF¤aF"dF"
30
§pzpaapmamV*dp4c 25
8 CoordinatespO^F"4Fm=zpam 20
¤^FFmaF:aOmF4F"©9
8 Feed rate F
8 Miscellaneous function M
X
25 45
Example NC blocks
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
"mVFma"d"4a"§p_=ahFmapm"dpzF"apm9^F
4pp=am"Fam^F*dp4c"m=am^F4pmp¤FdFhFm
zF4F=amVah¤*Fam^F"hFzd"mF"^F"4
Y 10
31
95
10
21
20
1
5
4
20 X
5 95
132 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
Example: Circular movements with Cartesian coordinates
95
41 51
R3
21 85
R10 31
0
40 61
1 71
5
X
5 30 40 70 95
16 L X+5 p¦Fpd"4pmp¤zpams
17 DEP LCT X-20 Y-20 R5 F1000 Fz"^F4pmp¤pm"4a4¤d""4§a^"mVFma"d4pmmF4apm
18 L Z+250 R0 FMAX M2 F"4am^Fppd"¨a:Fm=zpV"h
19 END PGM CIRCULAR MM
134 pV"hhamV9pV"hhamVpmp¤
6.4 Path Contours—Cartesian Coordinates
Example: Full circle with Cartesian coordinates
CC
50
X
50
Coordinates
Overview
a^zpd"4pp=am"F©p¤4"m=FOamF"zpaapmamFhpOa"mVdF
"m=a=a"m4FFd"a¦Fp"zF¦ap¤d©=FOamF=zpdF|FF
¤m="hFm"d:z"VFsT}
pd"4pp=am"F"F¤FO¤d§a^9
paapmpm4a4¤d""4
pczaF4F="§amV=ahFmapmam=FVFF:FV*pd^pdF4a4dF
Example NC blocks
12 CC X+45 Y+25 X
XCC
136 pV"hhamV9pV"hhamVpmp¤
6.5 Path Contours—Polar Coordinates
Straight line LP
^Fppdhp¦Fam""aV^damFOpha4¤Fmzpaapmp^F
"aV^_damFFm=zpam^F"amVzpama^FFm=zpampO^F
zF4F=amV*dp4c Y
8 Polar coordinates radius PR:mF^F=a"m4F
Oph^FzpdFp^F"aV^_damFFm=zpam
30
8 Polar coordinates angle PA:mV¤d"zpaapmpO^F 60°
"aV^_damFFm=zpam*F§FFmJ¬@"m=¬@ 60°
^FaVmpO=FzFm=pm^F"mVdFFOFFm4F"¨a9 25
CC
mVdFOph"mVdFFOFFm4F"¨apa4p¤mF4dp4c§aF9Y¬
mVdFOph"mVdFFOFFm4F"¨apa4dp4c§aF9e¬
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
pam4FhFm"d4pp=am"F:FmF^F"hFaVmOp
"m=
5
0
R2
R3
Example NC blocks 30°
35
CC
12 CC X+40 Y+35
13 L X+0 Y+35 RL F250 M3
14 LP PR+25 PA+120
15 CTP PR+30 PA+30 X
16 L Y+0 40
^FzpdFanot^F4FmFpO^F4pmp¤"4M
Helical interpolation
^Fda¨a"4ph*am"apmpO"4a4¤d"hp¦FhFmam"h"amzd"mF"m="
damF"hp¦FhFmzFzFm=a4¤d"p^azd"mF
Z
^Fda¨azpV"hhF=pmd©amzpd"4pp=am"F
Y CC
Application
"VF_=a"hFFamFm"d"m=F¨Fm"d^F"=
X
¤*a4"apmVpp¦F
138 pV"hhamV9pV"hhamVpmp¤
6.5 Path Contours—Polar Coordinates
Shape of the helix
^F"*dF*Fdp§add¤"Fam§^a4^§"©^F^"zFpO^F^Fda¨a
=FFhamF=*©^F§pc=aF4apm:=aF4apmpOp"apm"m="=a¤
4phzFm"apm
Work Radius
Internal thread Direction
direction comp.
aV^_^"m=F= !
FO_^"m=F= ! J
aV^_^"m=F= !J J
FO_^"m=F= !J
External thread
aV^_^"m=F= !
FO_^"m=F= ! J
aV^_^"m=F= !J J
FO_^"m=F= !J
Programming a helix
d§"©FmF^F"hF"dVF*"a4aVmOp^F=aF4apmpO
p"apm"m=^Fam4FhFm"dp"d"mVdF ^Fppd
h"©p^F§aFhp¦Fam"§pmVz"^"m=="h"VF^F Z
4pmp¤
Y
p^Fp"d"mVdF :©p¤4"mFmF"¦"d¤FOphJQT¬¬@ CC
R3
pQT¬¬@ O^F^F"=^"hpF^"msQF¦pd¤apm:
5
270°
zpV"h^F^Fda¨am"zpV"hF4apmFzF"|FF
pV"hF4apmFzF":z"VF¬¬} 25 X
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
31
21
60°
5
R4
CC
50 1 41
61 51
5
X
5 50 100
140 pV"hhamV9pV"hhamVpmp¤
6.5 Path Contours—Polar Coordinates
Example: Helix
Y
100
M64 x 1,5
CC
50
X
50 100
p4¤"^F"=§a^hpF^"msF¦pd¤apm
...
8 L Z-12.75 R0 F1000
9 APPR PCT PR+32 PA-180 CCA180 R+2 RL F100
10 LBL 1 =FmaO©*FVammamVpOzpV"hF4apmFzF"
11 CP IPA+360 IZ+1.5 DR+ F200 mF^F^F"=za4^""mam4FhFm"d !=ahFmapm
142 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free
O©p¤§a^p¤FV"z^a4¤zzp=¤amV
zpV"hhamV:FdF4^F 4FFm
d"©p¤|FFpV"hhamV"m=F=aamVpmz"VFs}
m4phzdFF4pp=am"F=""pOFm"Fmp¤OOa4aFmpO¤dd©=FOamF"
§pczaF4F4pmp¤ m^a4"F:^Fam=a4"F^Fzpa*dF
pd¤apmam^F V"z^a4 p¤4"m^FmFdF4^F4pmp¤^"
h"4^F^F="§amV^F V"z^a4=azd"©^FFdFhFmpO^F
§pczaF4F4pmp¤am=aOOFFm4pdp9
White ^F4pmp¤FdFhFmaO¤dd©=FOamF=
Green ^FFmFF==""=F4a*F"dahaF=m¤h*FpOzpa*dF
pd¤apm9FdF4^F4pF4pmF
Red ^FFmFF=="""Fmp¤OOa4aFmp=FFhamF^F
4pmp¤FdFhFm9FmFO¤^F=""
O^FFmFF==""zFha"dahaF=m¤h*FpOzpa*dFpd¤apm"m=
^F4pmp¤FdFhFma=azd"©F=amVFFm:FdF4^F4pF44pmp¤
FdFhFm"Opddp§9
8 F^F pOcF©FzF"F=d©¤mad
^F4pF44pmp¤FdFhFma=azd"©F=F^F
«pphO¤m4apm|¢m=pO_cF©p§}aO©p¤4"mmp
=aamV¤a^zpa*dFpd¤apmam^F"m="=FamV
8 O^F=azd"©F=4pmp¤FdFhFmh"4^F^F
="§amV:FdF4^F4pmp¤FdFhFm§a^
O©p¤=pmp©F§a^pFdF4"VFFm4pmp¤FdFhFm:zF^F
pOcF©p4pmam¤F^F =a"dpV
FdF4^FVFFm4pmp¤FdFhFm"ppm"zpa*dF
§a^^F pOcF©^a§"©©p¤4"m
F=¤4F^F"h*aV¤a©pO¤*F¤FmFdFhFm
^Fh"4^amFppd*¤ad=Fh"©¤Fp^F4pdpOp^F
V"z^a4
*dp4cOph"zpV"h^"©p¤4"ddF=§a^
"F=azd"©F=am"mp^F4pdp
144 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
Initiating the FK dialog
O©p¤zF^FV"© *¤pm:^F=azd"©^FpOcF©©p¤4"m
¤Fpamaa"F"m =a"dpV9FF^FOpddp§amV"*dFF^F
*¤pm"F4pm=ahFp=FFdF4^FpOcF©
O©p¤amaa"F^F =a"dpV§a^pmFpO^FFpOcF©:^F^p§
"==aapm"dpO_cF©p§^"©p¤4"m¤FOpFmFamVcmp§m
4pp=am"F:=aF4apm"d="""m==""FV"=amV^F4p¤FpO^F
4pmp¤
"aV^damF§a^p¤"mVFma"d4pmmF4apm
a4¤d""4§a^"mVFma"d4pmmF4apm
a4¤d""4§a^p¤"mVFma"d4pmmF4apm
pdFOp zpV"hhamV
146 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
Input possibilities
End point coordinates
Y
Known data Soft keys
"Fa"m4pp=am"F"m=
R15
30
30°
pd"4pp=am"FFOFFm4F=p
20
Example NC blocks
7 FPOL X+20 Y+30
8 FL IX+10 Y+20 RR F100
9 FCT PR+15 IPA+30 DR+ R15 10 X
20
Direction and length of contour elements
"=aFm"mVdFpO""aV^damF
AN
^p=dFmV^pO^F"4 LEN
"=aFm"mVdFpO^FFm©"mVFm
FmF"mVdFpO^F"4
X
Example NC blocks
27 FLT X+25 LEN 12.5 AN+35 RL F200
28 FC DR+ R6 LEN 10 A-45
29 FCT DR- R15 LEN 15
4a4dF4FmF^"§"4"d4¤d"F=pzpV"hhF=
4pm¦Fmapm"dd©a^FmmpdpmVF¦"da=""zpdFp4a4dF
4FmFOp^FmF§ 4pmp¤9 O©p¤FmF4pm¦Fmapm"d
zpd"4pp=am"F^"FOFp"zpdFOph"*dp4c©p¤
^"¦F=FOamF=zF¦ap¤d©:^Fm©p¤h¤FmF^FzpdF
"V"amam"*dp4c"OF^F 4pmp¤
a4dF4FmFamzpd"4pp=am"F
p"apm"d=aF4apmpO^F"4
"=a¤pO^F"4
¨"hzdF*dp4c
148 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
Closed contours
p¤4"ma=FmaO©^F*FVammamV"m=Fm=pO"4dpF=4pmp¤§a^^F
pOcF©^aF=¤4F^Fm¤h*FpOzpa*dFpd¤apmOp^F
d"4pmp¤FdFhFm
Y
mF""m"==aapmp"mp^F4pmp¤=""Fm©am^FOa"m=
d"*dp4cpO"m F4apm
Auxiliary points
p¤4"mFmF^F4pp=am"FpO"¤¨ada"©zpam^""Fdp4"F=pm
^F4pmp¤pamazp¨aha©Op*p^OFF_zpV"hhF="aV^damF
"m=OFF_zpV"hhF=4a4¤d""4
4pp=am"FpO"m"¤¨ada"©
zpam
s:¢ppO"4a4¤d""4
X
50
42.929
4pp=am"FpO"m"¤¨ada"©
zpam
s:¢ppO"4a4¤d""4
a"m4F"¤¨ada"©zpam"aV^damF
"m= 4pp=am"FpO"m"¤¨ada"©zpammF"
"4a4¤d""4
a"m4F"¤¨ada"©zpam4a4¤d""4
¨"hzdF*dp4c
150 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
Relative data
""§^pF¦"d¤F"F*"F=pm"mp^F4pmp¤FdFhFm"F4"ddF=
Fd"a¦F=""^FpOcF©"m=zpV"h§p=OpFmaF*FVam§a^
^FdFF“R”OpRFd"a¦F^FOaV¤F"aV^^p§^FFmaF^" Y
^p¤d=*FzpV"hhF="Fd"a¦F=""
20
^F4pp=am"F"m="mVdFOpFd"a¦F="""F"d§"©
zpV"hhF=amam4FhFm"d=ahFmapm p¤h¤"dp
FmF^F*dp4cm¤h*FpO^F4pmp¤FdFhFmpm§^a4^ 20 45°
^F="""F*"F= 90°
R20
20°
^F*dp4cm¤h*FpO^F4pmp¤FdFhFmpm§^a4^^F 10
Fd"a¦F="""F*"F=4"mpmd©*Fdp4"F=¤zpT FPOL
zpaapmamV*dp4c*FOpF^F*dp4cam§^a4^©p¤zpV"h
^FFOFFm4F 35 X
10
O©p¤=FdFF"*dp4cpm§^a4^Fd"a¦F="""F*"F=:^F
§add=azd"©"mFphF"VF^"mVF^FzpV"h
Oa*FOpF©p¤=FdFF^F*dp4c
pd"4pp=am"FFd"a¦Fp*dp4c
¨"hzdF*dp4c
"aV^damFz""ddFdp"mp^F4pmp¤FdFhFm
220°
20
a"m4FOph""aV^damFp"z""ddFd4pmp¤ 95°
FdFhFm
12.5
15°
¨"hzdF*dp4c 105°
12.5 X
17 FL LEN 20 AN+15
18 FL AN+105 LEN 12.5 20
19 FL PAR 17 DP 12.5
20 FSELECT 2
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
15
R10
¨"hzdF*dp4c
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
152 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
Example: FK programming 1
Y
100
R1
5
75
R18
30
R15
20
X
20 50 75 100
Example: FK programming 2
10
Y 10
R20
55
R30 60°
30
X
30
154 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
9 APPR LCT X+0 Y+30 R5 RR F350 zzp"4^^F4pmp¤pm"4a4¤d""4§a^"mVFma"d4pmmF4apm
10 FPOL X+30 Y+30 4pmp¤F4apm9
11 FC DR- R30 CCX+30 CCY+30 pV"h"ddcmp§m=""OpF"4^4pmp¤FdFhFm
12 FL AN+60 PDX+30 PDY+30 D10
13 FSELECT 3
14 FC DR- R20 CCPR+55 CCPA+60
15 FSELECT 2
16 FL AN-120 PDX+30 PDY+30 D10
17 FSELECT 3
18 FC X+0 DR- R30 CCX+30 CCY+30
19 FSELECT 2
20 DEP LCT X+30 Y+30 R5 Fz"^F4pmp¤pm"4a4¤d""4§a^"mVFma"d4pmmF4apm
21 L Z+250 R0 FMAX M2 F"4am^Fppd"¨a:Fm=zpV"h
22 END PGM FK2 MM
Example: FK programming 3
Y
R1
0
50
R36
R24
R1,5
R5
30
R
R6 6 R5 X
-10
0
R4
R6
-25
R5
0
12 44 65 110
156 pV"hhamV9pV"hhamVpmp¤
6.6 Path Contours—FK Free Contour Programming
8 APPR CT X-40 Y+0 CCA90 R+5 RL F250 zzp"4^^F4pmp¤pm"4a4¤d""4§a^"mVFma"d4pmmF4apm
9 FC DR- R40 CCX+0 CCY+0 4pmp¤F4apm9
10 FLT pV"h"ddcmp§m=""OpF"4^4pmp¤FdFhFm
11 FCT DR- R10 CCX+0 CCY+50
12 FLT
13 FCT DR+ R6 CCX+0 CCY+0
14 FCT DR+ R24
15 FCT DR+ R6 CCX+12 CCY+0
16 FSELECT 2
17 FCT DR- R1.5
18 FCT DR- R36 CCX+44 CCY-10
19 FSELECT 2
20 FCT CT+ R5
21 FLT X+110 Y+15 AN+0
22 FL AN-90
23 FL X+65 AN+180 PAR21 DP30
24 RND R5
25 FL X+65 Y-25 AN-90
26 FC DR+ R50 CCX+65 CCY-75
27 FCT DR- R65
28 FSELECT
29 FCT Y+0 DR- R40 CCX+0 CCY+0
30 FSELECT 4
31 DEP CT CCA90 R+5 F1000 Fz"^F4pmp¤pm"4a4¤d""4§a^"mVFma"d4pmmF4apm
32 L X-70 R0 FMAX
33 L Z+250 R0 FMAX M2 F"4am^Fppd"¨a:Fm=zpV"h
34 END PGM FK3 MM
87 STOP M6
M08 Coolant ON
Standard behavior
The TNC references coordinates to the workpiece datum, see “Datum
Setting (Without a 3-D Touch Probe),” page 47.
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
soft key DATUM SET in the Manual Operation mode. Z
The figure shows coordinate systems with the machine datum and
workpiece datum. Y
Y
M91/M92 in the Test Run mode X
In order to be able to graphically simulate M91/M92 movements, you
need to activate working space monitoring and display the workpiece
blank referenced to the set datum (see “Showing the Workpiece in X
the Working Space,” page 383).
M
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
Example NC blocks
5 TOOL DEF L ... R+20 Large tool radius
...
13 L X... Y... R... F... M97 Move to contour point 13
14 L IY-0.5 ... R... F... Machine small contour step 13 to 14
15 L IX+100 ... Move to contour point 15
16 L IY+0.5 ... R... F... M97 Machine small contour step 15 to 16
17 L X... Y... Move to contour point 17
Effect S S
M98 is effective only in the blocks in which it is programmed.
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+ ...
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
calculated in advance.
Effect
M120 must be located in an NC block that also contains radius
compensation RL or RR. M120 is then effective from this block until
radius compensation is canceled, or
M120 LA0 is programmed, or
M120 is programmed without LA, or
another program is called with PGM CALL, or
M120 becomes effective at the start of block.
Limitations
After an external or internal stop, you can only re-enter the contour
with the function RESTORE POS. AT N.
When using the path functions RND and CHF, the blocks before and
after them 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.
Input
If you enter M118 in a positioning block, the TNC continues the dialog
for this block by asking you the axis-specific values. Use the ENTER
key to switch the axis letters.
Effect
Cancel handwheel positioning by programming M118 once again
without coordinate input.
M118 becomes effective at the start of block.
Example NC blocks
If 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 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 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.
If you use M141, make sure that you retract the touch
probe in the correct direction.
M141 functions only for movements with straight-line
blocks.
Effect
M141 is effective only in the block in which it is programmed.
M141 becomes effective at the start of the block.
Effect
M143 is effective only in the block in which it is programmed.
M143 becomes effective at the start of the block.
The TNC retracts the tool in the direction of the tool axis if, in the
LIFTOFF column of the tool table, you set the parameter Y for the active
tool (see “Tool table: Standard tool data” on page 100).
Effect
M148 remains in effect until deactivated with M149.
M148 becomes effective at the start of block, M149 at the end of
block.
Rotary Axes
Feed rate in mm/min on rotary axes A, B, C:
M116
Standard behavior
The TNC interprets the programmed feed rate in a rotary axis in
degrees per minute. The contouring feed rate therefore depends on
the distance from the tool center to the center of the rotary axis.
The larger this distance becomes, the greater the contouring feed
rate.
The TNC interprets the programmed feed rate in a rotary axis in mm/
min. With this miscellaneous function, the TNC calculates the feed
rate for each block at the start of the block. With a rotary axis, the feed
rate is not changed during execution of the block even if the tool
moves toward the center of the rotary axis.
Effect
M116 is effective in the working plane.
With M117 you can reset M116. M116 is also canceled at the end of
the program.
M116 becomes effective at the start of block.
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
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.
Machine-specific cycles
In addition to the HEIDENHAIN cycles, many machine tool builders
offer their own cycles in the TNC. These cycles are available in a
separate cycle-number range:
Cycles 300 to 399
Machine-specific cycles that are to be defined through the CYCLE
DEF key
Cycles 500 to 599
Machine-specific cycles that are to be defined through the TOUCH
PROBE key
Example NC blocks
7 CYCL DEF 200 DRILLING
Q200=2 ;SET-UP CLEARANCE
Q201=3 ;DEPTH
Q206=150 ;FEED RATE FOR PLUNGING
Q202=5 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME AT TOP
Q203=+0 ;SURFACE COORDINATE
Q204=50 ;2ND SET-UP CLEARANCE
Q211=0.25 ;DWELL TIME AT DEPTH
Prerequisites
The following data must always be programmed before a
cycle call:
BLK FORM for graphic display (needed only for test
graphics)
Tool call
Direction of spindle rotation (M functions M3/M4)
Cycle definition (CYCL DEF)
For some cycles, additional prerequisites must be
observed. They are detailed in the descriptions for each
cycle.
Thread Milling
Overview
201 REAMING
With automatic pre-positioning, 2nd set-up clearance
202 BORING
With automatic pre-positioning, 2nd set-up clearance
8 Depth Q201 (incremental value): Distance between 11 CYCL DEF 200 DRILLING
workpiece surface and bottom of hole (tip of drill Q200=2 ;SET-UP CLEARANCE
taper).
Q201=-15 ;DEPTH
8 Feed rate for plunging Q206: Traversing speed of
the tool during drilling in mm/min. Q206=250 ;FEED RATE FOR PLUNGING
Q202=5 ;PLUNGING DEPTH
8 Plunging depth Q202 (incremental value): Infeed per
cut. The depth does not have to be a multiple of the Q210=0 ;DWELL TIME AT TOP
plunging depth. The TNC will go to depth in one
Q203=+20 ;SURFACE COORDINATE
movement if:
Q204=100 ;2ND SET-UP CLEARANCE
the plunging depth is equal to the depth
the plunging depth is greater than the depth Q211=0.1 ;DWELL TIME AT DEPTH
8 Dwell time at top Q210: Time in seconds that the 12 L X+30 Y+20 FMAX M3
tool remains at set-up clearance after having been 13 CYCL CALL
retracted from the hole for chip release.
14 L X+80 Y+50 FMAX M99
8 Workpiece surface coordinate Q203 (absolute
value): Coordinate of the workpiece surface. 15 L Z+100 FMAX M2
8 Feed rate for plunging Q206: Traversing speed of Q200=2 ;SET-UP CLEARANCE
the tool during reaming in mm/min. Q201=-15 ;DEPTH
8 Dwell time at depth Q211: Time in seconds that the Q206=100 ;FEED RATE FOR PLUNGING
tool remains at the hole bottom.
Q211=0.5 ;DWELL TIME AT DEPTH
8 Retraction feed rate Q208: Traversing speed of the Q208=250 ;RETRACTION FEED RATE
tool in mm/min when retracting from the hole. If you
enter Q208 = 0, the tool retracts at the reaming feed Q203=+20 ;SURFACE COORDINATE
rate. Q204=100 ;2ND SET-UP CLEARANCE
8 Workpiece surface coordinate Q203 (absolute 12 L X+30 Y+20 FMAX M3
value): Coordinate of the workpiece surface.
13 CYCL CALL
8 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision 14 L X+80 Y+50 FMAX M9
between tool and workpiece (clamping devices) can 15 L Z+100 FMAX M2
occur.
8 Feed rate for plunging Q206: Traversing speed of Q200=2 ;SET-UP CLEARANCE
the tool during boring in mm/min. Q201=-15 ;DEPTH
8 Dwell time at depth Q211: Time in seconds that the Q206=100 ;FEED RATE FOR PLUNGING
tool remains at the hole bottom.
Q211=0.5 ;DWELL TIME AT DEPTH
8 Retraction feed rate Q208: Traversing speed of the Q208=250 ;RETRACTION FEED RATE
tool in mm/min when retracting from the hole. If you
enter Q208 = 0, the tool retracts at feed rate for Q203=+20 ;SURFACE COORDINATE
plunging. Q204=100 ;2ND SET-UP CLEARANCE
8 Workpiece surface coordinate Q203 (absolute Q214=1 ;DISENGAGING DIRECTN
value): Coordinate of the workpiece surface.
Q336=0 ;ANGLE OF SPINDLE
8 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision 12 L X+30 Y+20 FMAX M3
between tool and workpiece (clamping devices) can 13 CYCL CALL
occur.
14 L X+80 Y+50 FMAX M99
8 Disengaging direction (0/1/2/3/4) Q214: Determine
the direction in which the TNC retracts the tool at the
hole bottom (after spindle orientation).
Danger of collision
Select a disengaging direction in which the tool moves
away from the edge of the hole.
Check the position of the tool tip when you program a
spindle orientation to the angle that you enter in Q336 (for
example, in the Positioning with Manual Data Input mode
of operation). Set the angle so that the tool tip is parallel to
a coordinate axis.
During retraction the TNC automatically takes an active
rotation of the coordinate system into account.
8 Dwell time at depth Q211: Time in seconds that the Q256=0.2 ;DIST. FOR CHIP BRKNG
tool remains at the hole bottom.
8 Retraction feed rate Q208: Traversing speed of the
tool in mm/min when retracting from the hole. If you
enter Q208 = 0, the TNC retracts the tool at the feed
rate in Q206.
8 Retraction rate for chip breaking Q256
(incremental value): Value by which the TNC retracts
the tool during chip breaking.
Q255
Q254
X
Q214
Danger of collision!
Check the position of the tool tip when you program a
spindle orientation to the angle that you enter in Q336 (for
example, in the Positioning with Manual Data Input mode
of operation). Set the angle so that the tool tip is parallel to
a coordinate axis. Select a disengaging direction in which
the tool moves away from the edge of the hole.
If you enter Q258 not equal to Q259, the TNC will change
the advance stop distances between the first and last
plunging depths at the same rate.
Note that if the infeed distance is too large, the tool or the
workpiece may be damaged.
To prevent the infeeds from being too large, enter the
maximum plunge angle of the tool in the ANGLE column
of the tool table, (FFppd"":z"VFnG). The TNC then
automatically calculates the max. infeed permitted and
changes your entered value accordingly.
The TNC cuts the thread without a floating tap holder in one or more
passes.
1 The TNC positions the tool in the tool axis at rapid traverse FMAX
to the programmed set-up clearance above the workpiece surface.
2 The tool drills to the total hole depth in one movement.
3 Once the tool has reached the total hole depth, the direction of
spindle rotation is reversed and the tool is retracted to the set-up
clearance at the end of the dwell time. If programmed, the tool
moves to the 2nd set-up clearance at FMAX.
4 The TNC stops the spindle turning at set-up clearance.
The tool machines the thread in several passes until it reaches the
programmed depth. You can define in a parameter whether the tool is
to be retracted completely from the hole for chip breaking.
1 The TNC positions the tool in the tool axis at rapid traverse FMAX
to the programmed set-up clearance above the workpiece surface.
There it carries out an oriented spindle stop.
2 The tool moves to the programmed infeed depth, reverses the
direction of spindle rotation and retracts by a specific distance or
completely for chip release, depending on the definition.
3 It then reverses the direction of spindle rotation again and
advances to the next infeed depth.
4 The TNC repeats this process (2 to 3) until the programmed thread
depth is reached.
5 The tool is then retracted to the set-up clearance. If programmed,
the tool moves to the 2nd set-up clearance at FMAX.
6 The TNC stops the spindle turning at set-up clearance.
8 Retraction rate for chip breaking Q256: The TNC Q200=2 ;SET-UP CLEARANCE
multiplies the pitch Q239 by the programmed value Q201=-20 ;DEPTH
and retracts the tool by the calculated value during
chip breaking. If you enter Q256 = 0, the TNC retracts Q239=+1 ;PITCH
the tool completely from the hole (to the set-up Q203=+25 ;SURFACE COORDINATE
clearance) for chip release.
Q204=50 ;2ND SET-UP CLEARANCE
8 Angle for spindle orientation Q336 (absolute
value): Angle at which the TNC positions the tool Q257=5 ;DEPTH FOR CHIP BRKNG
before machining the thread. This allows you to Q256=+25 ;DIST. FOR CHIP BRKNG
regroove the thread, if required.
Q336=50 ;ANGLE OF SPINDLE
Retracting after a program interruption
If you interrupt program run during thread cutting with the machine
stop button, the TNC will display the soft key MANUAL OPERATION.
If you press the MANUAL OPERATION key, you can retract the tool
under program control. Simply press the positive axis direction button
of the active tool axis.
Left-handed – –1(RR) Z+
Right-handed + –1(RR) Z–
Left-handed – +1(RL) Z–
Climb/Up-
External thread Pitch Work direction
cut
Right-handed + +1(RL) Z–
Left-handed – –1(RR) Z–
Right-handed + –1(RR) Z+
Left-handed – +1(RL) Z+
Danger of collision!
Always program the same algebraic sign for the infeeds:
Cycles comprise several sequences of operation that are
independent of each other. The order of precedence
according to which the work direction is determined is
described with the individual cycles. For example, if you
only want to repeat the countersinking process of a cycle,
enter 0 for the thread depth. The work direction will then
be determined from the countersinking depth.
Procedure in case of a tool break
If a tool break occurs during thread cutting, stop the
program run, change to the Positioning with MDI
operating mode and move the tool in a linear path to the
hole center. You can then retract the tool in the infeed axis
and replace it.
11 At the end of the cycle, the TNC retracts the tool at rapid traverse
to the set-up clearance, or—if programmed—to the 2nd set-up
clearance.
11 At the end of the cycle, the TNC retracts the tool at rapid traverse
to the set-up clearance, or—if programmed—to the 2nd set-up
clearance.
Y
100
90
10
X
10 20 80 90 100
5 CIRCULAR POCKET
Roughing cycle without automatic pre-positioning
Example: NC blocks
11 L Z+100 R0 FMAX
12 CYCL DEF 4.0 POCKET MILLING
13 CYCL DEF 2.1 SETUP 2
14 CYCL DEF 4.2 DEPTH -10
15 CYCL DEF 4.3 PECKG 4 F80
16 CYCL DEF 4.4 X80
17 CYCL DEF 4.5 Y40
18 CYCL DEF 4.6 F100 DR+ RADIUS 10
19 L X+60 Y+35 FMAX M3
20 L Z+2 FMAX M99
If you want to clear and finish the pocket with the same
tool, use a center-cut end mill (ISO 1641) and enter a low
feed rate for plunging.
X
Minimum size of the pocket: 3 times the tool radius.
Q219
means that the tool moves at rapid traverse in the tool axis Q217
Q207
at safety clearance below the workpiece surface!
X
Q216 Q221
X
Use the machine parameter suppressDepthErr to define
whether, if a positive depth is entered, the TNC should
output an error message (on) or not (off).
Y Q218
Danger of collision!
Keep in mind that the TNC reverses the calculation for pre-
positioning when a positive depth is entered. This
means that the tool moves at rapid traverse in the tool axis
Q
Q219
Q217
X
Q216 Q221
8 2nd set-up clearance Q204 (incremental value): Q219=60 ;SECOND SIDE LENGTH
Coordinate in the tool axis at which no collision Q220=5 ;CORNER RADIUS
between tool and workpiece (clamping devices) can
occur. Q221=0 ;OVERSIZE
Danger of collision!
Example: NC blocks
16 L Z+100 R0 FMAX
17 CYCL DEF 5.0 CIRCULAR POCKET
18 CYCL DEF 5.1 SETUP 2
19 CYCL DEF 5.2 DEPTH -12
20 CYCL DEF 5.3 PECKG 6 F80
21 CYCL DEF 5.4 RADIUS 35
22 CYCL DEF 5.5 F100 DR+
23 L X+60 Y+50 FMAX M3
24 L Z+2 FMAX M99
means that the tool moves at rapid traverse in the tool axis Q217
at safety clearance below the workpiece surface!
X
Q216
X
Danger of collision!
Use the machine parameter suppressDepthErr to define
whether, if a positive depth is entered, the TNC should Y
output an error message (on) or not (off).
Keep in mind that the TNC reverses the calculation for pre- Q207
positioning when a positive depth is entered. This
means that the tool moves at rapid traverse in the tool axis
at safety clearance below the workpiece surface!
Q223
Q222
Q217
X
Q216
8 2nd set-up clearance Q204 (incremental value): Q223=80 ;FINISHED PART DIA.
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can
occur.
8 Center in 1st axis Q216 (absolute value): Center of
the stud in the reference axis of the working plane.
8 Center in 2nd axis Q217 (absolute value): Center of
the stud in the minor axis of the working plane.
8 Workpiece blank diameter Q222: Diameter of the
premachined stud for calculating the pre-position.
Enter the workpiece blank diameter to be greater
than the diameter of the finished part.
8 Diameter of finished part Q223: Diameter of the
finished stud. Enter the diameter of the finished part
to be less than the workpiece blank diameter.
Y Y
90
100
90°
70
8 45°
80
50
50
X Z
50 100 -40 -30 -20
You can combine Cycle 220 and Cycle 221 with the following fixed
cycles:
1 The TNC automatically moves the tool from its current position to
the starting point for the first machining operation.
Sequence:
Move to 2nd set-up clearance (spindle axis)
Approach the starting point in the spindle axis.
Move to the set-up clearance above the workpiece surface
(spindle axis). Y
2 From this position the TNC executes the last defined fixed cycle.
3 The tool then approaches the starting point for the next machining 7
operation in the positive reference axis direction at the set-up Q23
Q238
clearance (or the 2nd set-up clearance).
4 This process (1 to 3) is repeated until all machining operations on
3
the first line have been executed. The tool is located above the last Q24
N=
point on the first line. 2
Q24
5 The tool subsequently moves to the last point on the second line N=
where it carries out the machining operation. Q224
6 From this position the tool approaches the starting point for the Q226
next machining operation in the negative reference axis direction.
7 This process (6) is repeated until all machining operations in the
second line have been executed. X
Q225
8 The tool then moves to the starting point of the next line.
9 All subsequent lines are processed in a reciprocating movement.
Q200 Q204
Q203
8 Starting point 2nd axis Q226 (absolute value): Q225=+15 ;STARTING PNT 1ST AXIS
Coordinate of the starting point in the minor axis of Q226=+15 ;STARTING PNT 2ND AXIS
the working plane.
Q237=+10 ;SPACING IN 1ST AXIS
8 Spacing in 1st axis Q237 (incremental value):
Spacing between each point on a line. Q238=+8 ;SPACING IN 2ND AXIS
Q242=6 ;NUMBER OF COLUMNS
8 Spacing in 2nd axis Q238 (incremental value):
Spacing between each line. Q243=4 ;NUMBER OF LINES
8 Number of columns Q242: Number of machining Q224=+15 ;ANGLE OF ROTATION
operations on a line. Q200=2 ;SET-UP CLEARANCE
8 Number of lines Q243: Number of passes. Q203=+30 ;SURFACE COORDINATE
8 Angle of rotation Q224 (absolute value): Angle by Q204=50 ;2ND SET-UP CLEARANCE
which the entire pattern is rotated. The center of
rotation lies in the starting point. Q301=1 ;MOVE TO CLEARANCE
100
R25
70 30°
R35
25
X
30 90 100
Fundamentals
SL Cycles enable you to form complex contours by combining up to Example: Program structure: Machining with SL
12 subcontours (pockets or islands). You define the individual Cycles
subcontours in subprograms. The TNC calculates the total contour
from the subcontours (subprogram numbers) that you enter in Cycle 0 BEGIN PGM SL2 MM
14 CONTOUR GEOMETRY. ...
The memory capacity for programming an SL cycle (all 12 CYCL DEF 140 CONTOUR GEOMETRY ...
contour subprograms) is limited. The number of possible 13 CYCL DEF 20 CONTOUR DATA ...
contour elements depends on the TNC’s available working
memory, the type of contour (inside or outside contour), ...
and the number of subcontours. 16 CYCL DEF 21 PILOT DRILLING ...
SL cycles conduct comprehensive and complex internal 17 CYCL CALL
calculations as well as the resulting machining operations.
For safety reasons, always run a graphical program test ...
before machining! This is a simple way of finding out 18 CYCL DEF 22 ROUGH-OUT ...
whether the TNC-calculated program will provide the
desired results. 19 CYCL CALL
...
Characteristics of the subprograms 22 CYCL DEF 23 FLOOR FINISHING ...
Coordinate transformations are allowed. If they are programmed 23 CYCL CALL
within the subcontour they are also effective in the following ...
subprograms, but they need not be reset after the cycle call.
The TNC ignores feed rates F and miscellaneous functions M. 26 CYCL DEF 24 SIDE FINISHING ...
The TNC recognizes a pocket if the tool path lies inside the contour, 27 CYCL CALL
for example if you machine the contour clockwise with radius ...
compensation RR.
50 L Z+250 R0 FMAX M2
The TNC recognizes an island if the tool path lies outside the
contour, for example if you machine the contour clockwise with 51 LBL 1
radius compensation RL.
...
The subprograms must not contain tool axis coordinates.
55 LBL 0
If you use Q parameters, then only perform the calculations and
assignments within the affected contour subprograms. 56 LBL 2
...
60 LBL 0
...
99 END PGM SL2 MM
Overview of SL Cycles
Subprogram 1: Pocket A
51 LBL 1 Example: NC blocks
52 L X+10 Y+50 RR 12 CYCL DEF 14.0 CONTOUR GEOMETRY
53 CC X+35 Y+50 13 CYCL DEF 14.1 CONTOUR LABEL 1/2/3/4
54 C X+10 Y+50 DR-
55 LBL 0
Subprogram 2: Pocket B
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
Area of inclusion
Both surfaces A and B are to be machined, including the overlapping
area:
The surfaces A and B must be pockets
The first pocket (in Cycle 14) must start outside the second pocket
Surface A:
B
51 LBL 1
52 L X+10 Y+50 RR A
53 CC X+35 Y+50
54 C X+10 Y+50 DR-
55 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
Area of exclusion
Surface A is to be machined without the portion overlapped by B:
Surface A must be a pocket and B an island
A must start outside of B
B must start inside of A.
Surface A:
B
51 LBL 1
A
52 L X+10 Y+50 RR
53 CC X+35 Y+50
54 C X+10 Y+50 DR-
55 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RL
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
8
Q
determines the working direction. If you program
DEPTH=0, the TNC performs the cycle at the depth 0.
Q9=+1
The machining data entered in Cycle 20 are valid for
Cycles 21 to 24.
If you are using the SL Cycles in Q parameter programs,
the Cycle Parameters Q1 to Q20 cannot be used as k
program parameters.
X
Q7
8 Workpiece surface coordinate Q5 (absolute value): Q10 Q1
Absolute coordinate of the workpiece surface
Q5
8 Set-up clearance Q6 (incremental value): Distance
between tool tip and workpiece surface.
8 Clearance height Q7 (absolute value): Absolute
X
height at which the tool cannot collide with the
workpiece (for intermediate positioning and retraction Example: NC blocks
at the end of the cycle).
57 CYCL DEF 20 CONTOUR DATA
8 Inside corner radius Q8: Inside “corner” rounding
radius; entered value is referenced to the tool Q1=-20 ;MILLING DEPTH
midpoint path.
Q2=1 ;TOOL PATH OVERLAP
8 Direction of rotation ? Clockwise = -1 Q9: Q3=+0.2 ;ALLOWANCE FOR SIDE
Machining direction for pockets.
Q4=+0.1 ;ALLOWANCE FOR FLOOR
Clockwise (Q9 = –1 up-cut milling for pocket and
island) Q5=+30 ;SURFACE COORDINATE
Counterclockwise (Q9 = +1 climb milling for pocket Q6=2 ;SET-UP CLEARANCE
and island)
Q7=+80 ;CLEARANCE HEIGHT
Q8=0.5 ;ROUNDING RADIUS
Q9=+1 ;DIRECTION OF ROTATION
Process
1 The tool drills from the current position to the first plunging depth
at the programmed feed rate F.
2 When it reaches the first plunging depth, the tool retracts at rapid
traverse FMAX to the starting position and advances again to the
first plunging depth minus the advanced stop distance t.
3 The advanced stop distance is automatically calculated by the X
control:
At a total hole depth of up to 30 mm: t = 0.6 mm
At a total hole depth exceeding 30 mm: t = hole depth / 50 Example: NC blocks
Maximum advanced stop distance: 7 mm
58 CYCL DEF 21 PILOT DRILLING
4 The tool then advances with another infeed at the programmed
feed rate F. Q10=+5 ;PLUNGING DEPTH
5 The TNC repeats this process (1 to 4) until the programmed depth Q11=100 ;FEED RATE FOR PLUNGING
is reached.
Q13=1 ;ROUGH-OUT TOOL
6 After a dwell time at the hole bottom, the tool is returned to the
starting position at rapid traverse FMAX for chip breaking.
Application
Cycle 21 is for PILOT DRILLING of the cutter infeed points. It accounts
for the allowance for side and the allowance for floor as well as the
radius of the rough-out tool. The cutter infeed points also serve as
starting points for roughing.
8 Plunging depth Q10 (incremental value): Dimension
by which the tool drills in each infeed (negative sign
for negative working direction).
8 Feed rate for plunging Q11: Traversing speed in
mm/min during drilling.
8 Rough-out tool number Q13: Tool number of the
roughing mill.
Example: NC blocks
8 Feed rate for plunging Q11: Traversing speed of the Q11=100 ;FEED RATE FOR PLUNGING
tool during penetration. Q12=350 ;FEED RATE FOR ROUGHING
8 Feed rate for milling Q12: Traversing speed for Q14=+0 ;ALLOWANCE FOR SIDE
milling.
8 Finishing allowance for side Q14 (incremental
value): Enter the allowed material for several finish-
milling operations. If you enter Q14 = 0, the remaining
finishing allowance will be cleared.
Y
16 16
100
R2
5
16
50
5
R2
X
35 65 100
Overview
The TNC offers four cycles for machining surfaces with the following
characteristics:
Flat, rectangular surfaces
Flat, oblique-angled surfaces
Surfaces that are inclined in any way
Twisted surfaces
Cycle Soft key
230 MULTIPASS MILLING
For flat rectangular surfaces
Q219
plane.
Q209
8 Starting point in 3rd axis Q227 (absolute value):
Height in the spindle axis at which multipass-milling is
carried out.
Q226
8 First side length Q218 (incremental value): Length
of the surface to be multipass-milled in the reference
axis of the working plane, referenced to the starting Q218 X
point in the 1st axis. Q225
8 4th point in 2nd axis Q235 (absolute value): Q225=+0 ;STARTING PNT 1ST AXIS
Coordinate of point 4 in the minor axis of the working Q226=+5 ;STARTING PNT 2ND AXIS
plane.
Q227=-2 ;STARTING PNT 3RD AXIS
8 4th point in 3rd axis Q236 (absolute value):
Coordinate of point 4 in the tool axis. Q228=+100 ;2ND POINT 1ST AXIS
Q229=+15 ;2ND POINT 2ND AXIS
8 Number of cuts Q240: Number of passes to be made
between points 1 and 4, 2 and 3. Q230=+5 ;2ND POINT 3RD AXIS
8 Feed rate for milling Q207: Traversing speed of the Q231=+15 ;3RD POINT 1ST AXIS
tool in mm/min while milling. The TNC performs the Q232=+125 ;3RD POINT 2ND AXIS
first step at half the programmed feed rate.
Q233=+25 ;3RD POINT 3RD AXIS
Q234=+15 ;4TH POINT 1ST AXIS
Q235=+125 ;4TH POINT 2ND AXIS
Q236=+25 ;4TH POINT 3RD AXIS
Q240=40 ;NUMBER OF CUTS
Q207=500 ;FEED RATE FOR MILLING
Strategy Q389=1
3 The tool then advances to the stopping point 2 at the feed rate for
milling. The end point lies within the surface. The control Z
calculates the end point from the programmed starting point, the
programmed length and the tool radius.
4 The TNC offsets the tool to the starting point in the next pass at
the pre-positioning feed rate. The offset is calculated from the Y 21
programmed width, the tool radius and the maximum path overlap
factor.
5 The tool then moves back in the direction of the starting point 1.
The motion to the next line occurs within the workpiece borders.
1 X
6 The process is repeated until the programmed surface has been
completed. At the end of the last pass, the next machining depth
is plunged to.
7 In order to avoid non-productive motions, the surface is then
machined in reverse direction.
8 The process is repeated until all infeeds have been machined. In
the last infeed, simply the finishing allowance entered is milled at
the finishing feed rate.
9 At the end of the cycle, the tool is retracted at FMAX to the 2nd
set-up clearance.
Q219
8 Starting point in 1st axis Q225 (absolute value):
Starting point coordinate of the surface to be
machined in the reference axis of the working plane.
8 Starting point in 2nd axis Q226 (absolute value): Q226
Starting point coordinate of the surface to be
multipass-milled in the minor axis of the working
Q218 X
plane.
Q225
8 Starting point in 3rd axis Q227 (absolute value):
Coordinate of the workpiece surface used to calculate
the infeeds.
8 End point in 3rd axis Q386 (absolute value):
Coordinate in the spindle axis to which the surface is Z
to be face milled.
8 First side length Q218 (incremental value): Length
of the surface to be machined in the reference axis of Q227
the working plane. Use the algebraic sign to specify
the direction of the first milling path in reference to
the starting point in the 1st axis. Q386
Q253
X
Q357
8 Clearance to side Q357 (incremental value): Safety Q226=+12 ;STARTING PNT 2ND AXIS
clearance to the side of the workpiece when the tool Q227=+2.5 ;STARTING PNT 3RD AXIS
approaches the first plunging depth, and distance at
which the stepover occurs if the machining strategy Q386=-3 ;END POINT IN 3RD AXIS
Q389=0 or Q389=2 is used. Q218=150 ;FIRST SIDE LENGTH
8 2nd set-up clearance Q204 (incremental value): Q219=75 ;SECOND SIDE LENGTH
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can Q202=2 ;MAX. PLUNGING DEPTH
occur. Q369=0.5 ;ALLOWANCE FOR FLOOR
Q370=1 ;MAX. OVERLAP
Q207=500 ;FEED RATE FOR MILLING
Q385=800 ;FEED RATE FOR FINISHING
Q253=2000 ;F PRE-POSITIONING
Q200=2 ;SET-UP CLEARANCE
Q357=2 ;CLEARANCE TO SIDE
Q204=2 ;2ND SET-UP CLEARANCE
Y Y
100
X Z
100 35
8 MIRROR IMAGE
Mirroring contours
10 ROTATION
For rotating contours in the working plane
11 SCALING FACTOR
For increasing or reducing the size of contours
Cancellation
A datum shift is canceled by entering the datum shift coordinates X=0,
Y=0 and Z=0.
Status displays
Z
The actual position values are referenced to the active (shifted)
Y
datum.
All of the position values shown in the additional status display are
referenced to the manually set datum. IY
X
IX
Example: NC blocks
Function
Datum tables are used for
frequently recurring machining sequences at various locations on
the workpiece
frequent use of the same datum shift
Within a program, you can either program datum points directly in the
cycle definition or call them from a datum table. Z
Y
8 Datum shift: Enter the number of the datum from the
N2
datum table or a Q parameter. If you enter a
Q parameter, the TNC activates the datum number
entered in the Q parameter. N1 X
Y2
Cancellation Y1 N0
Call a datum shift to the coordinates
X=0; Y=0 etc. from the datum table. X2
X1
Execute a datum shift to the coordinates X=0, Y=0 etc. directly with
a cycle definition.
Example: NC blocks
Go to previous page
Go to next page
Delete line
Find
Go to beginning of line
Go to end of line
Status displays
The additional status display shows the values of the active datum
shift. |FFpp=am"F"mOph"apmpmz"VF}:
Example: NC blocks
Cancellation
Program the ROTATION cycle once again with a rotation angle of 0°.
Example: NC blocks
12 CALL LBL 1
13 CYCL DEF 7.0 DATUM SHIFT
14 CYCL DEF 7.1 X+60
15 CYCL DEF 7.2 Y+40
16 CYCL DEF 10.0 ROTATION
17 CYCL DEF 10.1 ROT+35
18 CALL LBL 1
Prerequisite
It is advisable to set the datum to an edge or a corner of the contour
before enlarging or reducing the contour.
8 Scaling factor ?: Enter the scaling factor SCL. The
TNC multiplies the coordinates and radii by the SCL
factor (as described under “Effect” above)
Cancellation
Program the SCALING FACTOR cycle once again with a scaling factor
of 1.
Example: NC blocks
11 CALL LBL 1
12 CYCL DEF 7.0 DATUM SHIFT
13 CYCL DEF 7.1 X+60
14 CYCL DEF 7.2 Y+40
15 CYCL DEF 11.0 SCALING
16 CYCL DEF 11.1 SCL 0.75
17 CALL LBL 1
Effect
X
The SCALING FACTOR becomes effective as soon as it is defined in
the program. It is also effective in the Positioning with MDI mode of
operation. The active scaling factor is shown in the additional status
display.
8 Axis and scaling factor: Enter the coordinate axis/
axes as well as the factor(s) involved in enlarging or
reducing. Enter a positive value up to 99.999 999.
8 Center coordinates: Enter the center of the axis-
specific enlargement or reduction.
The coordinate axes are selected with soft keys.
Cancellation
Program the SCALING FACTOR cycle once again with a scaling factor
of 1 for the same axis.
Example: NC blocks
25 CALL LBL 1
26 CYCL DEF 26.0 AXIS-SPECIFIC SCALING
27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+20
28 CALL LBL 1
Program sequence
Program the coordinate transformations in R5
10
the main program Y R5
For subprograms within a subprogram, FF
10
130 X
¤*zpV"h:z"VF¢nn.
20 10
45°
30
65
X
65 130
Effect
The cycle becomes effective as soon as it is defined in the program.
Modal conditions such as spindle rotation are not affected.
8 Dwell time in seconds: Enter the dwell time in
seconds.
Input range: 0 to 3600 s (1 hour) in steps of 0.001 seconds
Example: NC blocks
Before programming, note the following: 7 CYCL DEF 12.0 0 BEGIN PGM
PGM CALL LOT31 MM
The program you are calling must be stored on the hard 8 CYCL DEF 12.1
disk of your TNC. LOT31
9 ... M99
If the program you are defining to be a cycle is located in
the same directory as the program you are calling it from,
you only need to enter the program name.
If the program you are defining to be a cycle is not located END PGM LOT31
in the same directory as the program you are calling it
from, you must enter the complete path (for example
TNC:\KLAR35\FK1\50.H.
If you want to define an ISO program to be a cycle, enter
the file type .I behind the program name. Example: NC blocks
8 Program name: Enter the name of the program you 55 CYCL DEF 12.0 PGM CALL
want to call and, if necessary, the directory it is 56 CYCL DEF 12.1 PGM TNC:\KLAR35\FK1\50.H
located in.
57 L X+20 Y+50 FMAX M99
Call the program with
CYCL CALL (separate block) or
M99 (blockwise) or
M89 (executed after every positioning block)
The control can control the machine tool spindle and rotate it to a given
angular position.
Oriented spindle stops are required for
Tool changing systems with a defined tool change position
Orientation of the transmitter/receiver window of HEIDENHAIN 3-D
touch probes with infrared transmission
Example: NC blocks
Effect
93 CYCL DEF 13.0 ORIENTATION
The angle of orientation defined in the cycle is positioned to by
entering M19 or M20 (depending on the machine). 94 CYCL DEF 13.1 ANGLE 180
If you program M19 or M20 without having defined Cycle 13, the TNC
positions the machine tool spindle to an angle that has been set by the
machine manufacturer (see your machine manual).
8 Angle of orientation: Enter the angle according to
the reference axis of the working plane.
Labels
^F*FVammamVpO¤*zpV"h"m=zpV"hF4apmFzF""F
h"cF=am"z"zpV"h*©d"*Fd
d"*Fdaa=FmaOaF=*©"m¤h*F*F§FFms"m=QQTp*©"m"hF
©p¤=FOamF"4^m¤h*Fpm"hF4"m*FFpmd©pm4F
am^FzpV"h§a^^Fm¤h*FpOd"*Fdm"hF©p¤4"m
FmFapmd©dahaF=*©^FamFm"dhFhp©
pmp¤F"d"*Fdm¤h*Fpd"*Fdm"hFhpF^"mpm4FM
¬|¬}a¤F=F¨4d¤a¦Fd©ph"c^FFm=pO"¤*zpV"h
"m=4"m^FFOpF*F¤F="pOFm"=FaF=
298 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.2 Subprograms
9.2 Subprograms
Operating sequence
1 ^FF¨F4¤F^Fz"zpV"h¤zp^F*dp4cam§^a4^"
¤*zpV"ha4"ddF=§a^ 0 BEGIN PGM ...
2 ^F¤*zpV"ha^FmF¨F4¤F=Oph*FVammamVpFm=^F
¤*zpV"hFm=ah"cF=¬
3 ^F^FmF¤hF^Fz"zpV"hOph^F*dp4c"OF^F CALL LBL1
¤*zpV"h4"dd
Programming notes
L Z+100 M2
h"amzpV"h4"m4pm"am¤zp¢QT¤*zpV"h
LBL1
p¤4"m4"dd¤*zpV"ham"m©F¤Fm4F"m="pOFm"=FaF=
¤*zpV"h4"mmp4"ddaFdO
aF¤*zpV"h"^FFm=pO^Fh"amzpV"h|*F^am=^F*dp4c LBL0
§a^¬¢p¬} END PGM ...
O¤*zpV"h"Fdp4"F=*FOpF^F*dp4c§a^¬¢p¬:^F©
§add*FF¨F4¤F="dF"pm4FF¦FmaO^F©"Fmp4"ddF=
Programming a subprogram
8 ph"c^F*FVammamV:zF^FcF©
8 mF^F¤*zpV"hm¤h*F
8 ph"c^FFm=:zF^FcF©"m=FmF^F
d"*Fdm¤h*F¬
Calling a subprogram
8 p4"dd"¤*zpV"h:zF^FcF©
8 Label number:mF^Fd"*Fdm¤h*FpO^F
¤*zpV"h©p¤§a^p4"dd O©p¤§"mp¤F"d"*Fd
m"hF:zF^FcF©p§a4^pF¨Fm©
8 Repeat REP: VmpF^F=a"dpV¤Fapm§a^^F
cF©FzF"a¤F=pmd©OpzpV"h
F4apmFzF"
¬ampzFhaF=|"*Fd¬apmd©¤F=ph"c
^FFm=pO"¤*zpV"h}
Label LBL
^F*FVammamVpO"zpV"hF4apmFzF"ah"cF=*©^Fd"*Fd
^FFm=pO"zpV"hF4apmFzF"aa=FmaOaF=*©
0 BEGIN PGM ...
Operating sequence
1 ^FF¨F4¤F^Fz"zpV"h¤zp^FFm=pO^FzpV"h LBL1
F4apm|}
2 ^Fm^FzpV"hF4apm*F§FFm^F4"ddF="m=^Fd"*Fd
4"ddaFzF"F=^Fm¤h*FpOahFFmFF="OF
3 ^F^FmF¤hF^Fz"zpV"h"OF^Fd"FzFaapm
CALL LBL 1 REP2
Programming notes
END PGM ...
p¤4"mFzF""zpV"hF4apm¤zpQQTahFam¤44Fapm
^Fp"dm¤h*FpOahF^FzpV"hF4apmaF¨F4¤F=a"d§"©
pmFhpF^"m^FzpV"hhF=m¤h*FpOFzF"
300 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.4 Separate Program as
Programming notes
CALL PGM B
pd"*Fd"FmFF=F=p4"dd"m©zpV"h""¤*zpV"h
^F4"ddF=zpV"hh¤mp4pm"am^Fha4Fdd"mFp¤O¤m4apm
¬¢p¬
END PGM A END PGM B
^F4"ddF=zpV"hh¤mp4pm"am"CALL PGM4"ddamp^F4"ddamV
zpV"h:p^F§aF"mamOamaFdppz§addF¤d
p¤mFF=pmd©FmF^FzpV"hm"hFaO^FzpV"h©p¤
§"mp4"ddadp4"F=am^F"hF=aF4p©"^FzpV"h
©p¤"F4"ddamVaOph
O^F4"ddF=zpV"hampdp4"F=am^F"hF=aF4p©
"^FzpV"h©p¤"F4"ddamVaOph:©p¤h¤FmF^F
4phzdFFz"^:FVTNC:\ZW35\SCHRUPP\PGM1.H
O©p¤§"mp4"dd"m zpV"h:FmF^FOadF©zF
"OF^FzpV"hm"hF
p¤4"m"dp4"dd"zpV"h§a^CYCLE 12 PGM CALL.
"¤dF:z""hFF"FFOOF4a¦FVdp*"dd©§a^"PGM
CALL.pzdF"FmpF^"4^"mVFp z""hFFam^F
4"ddF=zpV"h4"m"dpamOd¤Fm4F^F4"ddamVzpV"h
302 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.5 Nesting
9.5 Nesting
Types of nesting
¤*zpV"h§a^am"¤*zpV"h
pV"hF4apmFzF"§a^am"zpV"hF4apmFzF"
¤*zpV"hFzF"F=
pV"hF4apmFzF"§a^am"¤*zpV"h
Nesting depth
^FmFamV=Fz^a^Fm¤h*FpO¤44Fa¦FdF¦Fdam§^a4^
zpV"hF4apmp¤*zpV"h4"m4"ddO¤^FzpV"hF4apmp
¤*zpV"h
"¨ah¤hmFamV=Fz^Op¤*zpV"h9"zzp¨T¬¬¬
"¨ah¤hmFamV=Fz^Oph"amzpV"h4"dd9^FmFamV=Fz^
adahaF=pmd©*©^F"¦"ad"*dF§pcamVhFhp©
p¤4"mmFzpV"hF4apmFzF""pOFm"=FaF=
Program execution
1 "amzpV"h aF¨F4¤F=¤zp*dp4cs
2 ¤*zpV"hsa4"ddF=:"m=F¨F4¤F=¤zp*dp4cn
3 ¤*zpV"h¢a4"ddF=:"m=F¨F4¤F=¤zp*dp4c¢m=pO
¤*zpV"h¢"m=F¤mb¤hzp^F¤*zpV"hOph§^a4^a
§"4"ddF=
4 ¤*zpV"hsaF¨F4¤F=Oph*dp4cT¬¤zp*dp4cTQm=pO
¤*zpV"hs"m=F¤mb¤hzp^Fh"amzpV"h
5 "amzpV"h aF¨F4¤F=Oph*dp4csG¤zp*dp4c
QF¤mb¤hzp*dp4cs"m=Fm=pOzpV"h
Program execution
1 "amzpV"haF¨F4¤F=¤zp*dp4c¢
2 pV"hF4apm*F§FFm*dp4c¢"m=*dp4c¢¬aFzF"F=§a4F
3 "amzpV"haF¨F4¤F=Oph*dp4c¢Gp*dp4cQ
4 pV"hF4apm*F§FFm*dp4cQ"m=*dp4csQaFzF"F=pm4F
|am4d¤=amV^FzpV"hF4apmFzF"*F§FFm¢¬"m=*dp4c¢}
5 "amzpV"haF¨F4¤F=Oph*dp4cp*dp4cQ¬|Fm=pO
zpV"h}
304 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.5 Nesting
Repeating a subprogram
Example NC blocks
0 BEGIN PGM UPGREP MM
...
10 LBL 1 FVammamVpOzpV"hF4apmFzF"s
11 CALL LBL 2 ¤*zpV"h4"dd
12 CALL LBL 1 REP 2 ^FzpV"hF4apm*F§FFm^a*dp4c"m=s
... |*dp4cs¬}aFzF"F=§a4F
19 L Z+100 R0 FMAX M2 "*dp4cpO^Fh"amzpV"h§a^¢
20 LBL 2 FVammamVpO¤*zpV"h
...
28 LBL 0 m=pO¤*zpV"h
29 END PGM UPGREP MM
Program execution
1 "amzpV"h aF¨F4¤F=¤zp*dp4css
2 ¤*zpV"h¢a4"ddF="m=F¨F4¤F=
3 pV"hF4apm*F§FFm*dp4cs¢"m=*dp4cs¬aFzF"F=§a4F
¤*zpV"h¢aFzF"F=§a4F
4 "amzpV"h aF¨F4¤F=Oph*dp4csp*dp4csnm=
pOzpV"h
pV"hF¤Fm4F
F_zpaapm^Fppdp^F§pczaF4F¤O"4F
mF^FamOFF==Fz^amam4FhFm"d¦"d¤F Y
pmp¤haddamV 100
FzF"=p§mOFF="m=4pmp¤_haddamV
R1
5
75
R18
30
R15
20
X
20 50 75 100
306 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.6 Programming Examples
8 LBL 1 Fd"*FdOpzpV"hF4apmFzF"
9 L IZ-4 R0 FMAX mOFF==Fz^amam4FhFm"d¦"d¤F|amz"4F}
10 APPR CT X+2 Y+30 CCA90 R+5 RL F250 zzp"4^p^F4pmp¤
11 FC DR- R18 CLSD+ CCX+20 CCY+30 pmp¤
12 FLT
13 FCT DR- R15 CCX+50 CCY+75
14 FLT
15 FCT DR- R15 CCX+75 CCY+20
16 FLT
17 FCT DR- R18 CLSD- CCX+20 CCY+30
18 DEP CT CCA90 R+5 F1000 Fz"^F4pmp¤
19 L X-20 Y+0 R0 FMAX F"4ppd
20 CALL LBL 1 REP 4 F¤mb¤hzpsF4apmaFzF"F="p"dpOTahF
21 L Z+250 R0 FMAX M2 F"4am^Fppd"¨a:Fm=zpV"h
22 END PGM PGMWDH MM
pV"hF¤Fm4F
zzp"4^^FVp¤zpO^pdFam^Fh"am
zpV"h Y
"dd^FVp¤zpO^pdF|¤*zpV"hs}
100
pV"h^FVp¤zpO^pdFpmd©pm4Fam
¤*zpV"h s
2
60
5
20
1 3
20
10
X
15 45 75 100
308 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.6 Programming Examples
7 L X+15 Y+10 R0 FMAX M3 p¦Fp"amVzpamOpVp¤zs
8 CALL LBL 1 "dd^F¤*zpV"hOp^FVp¤z
9 L X+45 Y+60 R0 FMAX p¦Fp"amVzpamOpVp¤z¢
10 CALL LBL 1 "dd^F¤*zpV"hOp^FVp¤z
11 L X+75 Y+10 R0 FMAX p¦Fp"amVzpamOpVp¤z
12 CALL LBL 1 "dd^F¤*zpV"hOp^FVp¤z
13 L Z+250 R0 FMAX M2 m=pOh"amzpV"h
14 LBL 1 FVammamVpO¤*zpV"hs9 p¤zpO^pdF
15 CYCL CALL pdFs
16 L IX.20 R0 FMAX M99 p¦Fp¢m=^pdF:4"dd4©4dF
17 L IY+20 R0 FMAX M99 p¦Fp=^pdF:4"dd4©4dF
18 L IX-20 R0 FMAX M99 p¦FpT^^pdF:4"dd4©4dF
19 LBL 0 m=pO¤*zpV"hs
20 END PGM UP1 MM
pV"hF¤Fm4F
pV"h^FOa¨F=4©4dFam^Fh"amzpV"h
Y Y
"dd^FFmaF^pdFz"Fm|¤*zpV"h s}
zzp"4^^FVp¤zpO^pdFam¤*zpV"h s: 100
4"ddVp¤zpO^pdF|¤*zpV"h¢}
pV"h^FVp¤zpO^pdFpmd©pm4Fam
¤*zpV"h ¢ 2
60
5
20
1 3
20
10
X Z
15 45 75 100 -15
-20
310 npV"hhamV9¤*zpV"h"m=pV"hF4apmFzF"
9.6 Programming Examples
10 L Z+250 R0 FMAX M6 ppd4^"mVF
11 TOOL CALL 2 Z S4000 "ddppd9=add
12 FN 0: Q201 = -25 F§=Fz^Op=addamV
13 FN 0: Q202 = +5 F§zd¤mVamV=Fz^Op=addamV
14 CALL LBL 1 "dd¤*zpV"hsOp^FFmaF^pdFz"Fm
15 L Z+250 R0 FMAX M6 ppd4^"mVF
16 TOOL CALL 3 Z S500 "ddppd9F"hF
17 CYCL DEF 201 REAMING ©4dF=FOamaapm9
Q200=2 ;SET-UP CLEARANCE
Q201=-15 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGNG
Q211=0.5 ;DWELL TIME AT DEPTH
Q208=400 ;RETRACTION FEED RATE
Q203=+0 ;SURFACE COORDINATE
Q204=10 ;2ND SET-UP CLEARANCE
18 CALL LBL 1 "dd¤*zpV"hsOp^FFmaF^pdFz"Fm
19 L Z+250 R0 FMAX M2 m=pOh"amzpV"h
20 LBL 1 FVammamVpO¤*zpV"hs9maF^pdFz"Fm
21 L X+15 Y+10 R0 FMAX M3 p¦Fp"amVzpamOpVp¤zs
22 CALL LBL 2 "dd¤*zpV"h¢Op^FVp¤z
23 L X+45 Y+60 R0 FMAX p¦Fp"amVzpamOpVp¤z¢
24 CALL LBL 2 "dd¤*zpV"h¢Op^FVp¤z
25 L X+75 Y+10 R0 FMAX p¦Fp"amVzpamOpVp¤z
26 CALL LBL 2 "dd¤*zpV"h¢Op^FVp¤z
27 LBL 0 m=pO¤*zpV"hs
You can program an entire family of parts in a single part program. You
do this by entering variables called Q parameters instead of fixed
numerical values.
Q parameters can represent information such as:
Q6
Coordinate values
Feed rates
Q1 Q3
Spindle speeds
Cycle data Q4
Q2
Q parameters also enable you to program contours that are defined
with mathematical functions. You can also use Q parameters to make
Q5
the execution of machining steps depend on logical conditions. In
conjunction with FK programming you can also combine contours that
do not have NC-compatible dimensions with Q parameters.
Q parameters are designated by the letter Q and a number between
0 and 1999. They are grouped according to various ranges:
Meaning Range
Freely applicable parameters, globally effective Q1600 to
for all programs stored in the TNC memory Q1999
Example NC blocks
15 FNO: 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
FN1: ADDITION
Example: FN1: Q1 = –Q2 + –5
Calculates and assigns the sum of two values.
FN2: SUBTRACTION
Example: FN2: Q1 = +10 – +5
Calculates and assigns the difference of two values.
FN3: MULTIPLICATION
Example: FN3: Q2 = +3 * +3
Calculates and assigns the product of two values.
FN4: DIVISION
Example: FN4: Q4 = +8 DIV +Q2
Calculates and assigns the quotient of two values.
Not permitted: Division by 0
To the right of the “=” character you can enter the following:
Two numbers
Two Q parameters
A number and a Q parameter
The Q parameters and numerical values in the equations can be
entered with positive or negative signs.
16 FN0: Q5 = +10
Call the Q parameter functions by pressing the Q key.
17 FN3: Q12 = +Q5 * +7
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²)
FN7: COSINE
Example: FN7: Q21 = COS–Q5
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
FN13: ANGLE
Example: FN13: 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.
The coordinate pairs for three points of the circle must be stored in
Parameter Q30 and in the following five parameters, i.e. to Q35.
The TNC then stores the circle center of the reference axis (X with
spindle axis Z) in Parameter Q20, the circle center of the minor axis (Y
with spindle axis Z) in Parameter Q21 and the circle radius in
Parameter Q22.
The coordinate pairs for four points of the circle must be stored in
Parameter Q30 and in the following seven parameters, i.e. to Q37.
The TNC then stores the circle center of the reference axis (X with
spindle axis Z) in Parameter Q20, the circle center of the minor axis (Y
with spindle axis Z) in Parameter Q21 and the circle radius in
Parameter Q22.
Q Parameters
Function
The TNC can make logical If-Then decisions by comparing a
Q parameter with another Q parameter or with a numerical value. If
the condition is fulfilled, the TNC continues the program at the label
that is programmed after the condition (for information on labels, see
“Labeling Subprograms and Program Section Repeats,” page 298). If
it is not fulfilled, the TNC continues with the next block.
To call another program as a subprogram, enter PGM CALL after the
block with the target label.
Unconditional jumps
An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:
FN9: IF+10 EQU+10 GOTO LBL1
Q Parameters
Procedure
You can check Q parameters when writing, testing and running
programs in all operating modes and, except in the test run, edit them.
8 If you are in a program run, interrupt it if required (for example, by
pressing the machine STOP button and the INTERNAL STOP soft
key). If you are in a test run, interrupt it.
8 To call Q parameter functions: Press the Q INFO soft
key in the Programming and Editing mode of
operation.
8 The TNC opens a pop-up window in which you can
enter the desired range for display of the Q
parameters or string parameters
8 In the Program Run Single Block, Program Run Full
Sequence and Test Run modes of operation, select
the screen layout Program + Status
8 Select the Program + Q PARAM soft key
Special
Function
character
“............“ Define the output format for texts and variables
between the quotation marks.
The TNC then outputs the file PROT1.TXT 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
*******************************************
System jump addresses, 13 1 - Label jumped to during M2/M30 instead of the value that
ends the current program = 0: M2/M30 has the normal
effect
21 - Probe angle
22 - Probe path
Data for SQL tables, 40 1 - Result code for the last SQL command
3 - Spindle speed S
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 Set-up clearance
Reference point from touch 1 1 to 9 Last reference point of a manual touch probe cycle, or last
probe cycle, 360 (X, Y, Z, A, B, C, touch point from Cycle without probe length
U, V, 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
12 - PLC status
23 - PLC value
11 - Search phase
Example: Assign the value of the active scaling factor for the
Z axis to Q25
55 FN18: 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.
With FN10 the TNC can check the following 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 T 0 to 95
Byte B 0 to 4095
Word W 0 to 2047
Now for the first time with the TNC 320, HEIDENHAIN has equipped
a control with an expanded interface for communication between the
PLC and NC. This is a new, symbolic Application Programmer
Interface (API). The familiar previous PLC-NC interface is also available
and can be used if desired. The machine tool builder decides whether
the new or old TNC API is used. Enter the name of the symbolic
operand as string to wait for the defined condition of the symbolic
operand.
The following conditions are permitted in the FN 20 block:
Condition Abbreviation
Equals ==
Example: Stop program run until the PLC sets the symbolic
operand to 1
32 FN20: APISPIN[0].NN_SPICONTROLINPOS==1
Example: The current coordinate Z+50 will have the value –20 in
the new coordinate system
56 FN25: PRESET = Z/+50/-20
¨"hzdF9"mOF^Fm¤hFa4"d¦"d¤Fs¬|§^a4^hF"mskhp
¬¬¬s@}p^F
56 FN29: PLC=+10/+Q3/+Q8/+7/+1/+Q5/+Q2/+15
FN37:EXPORT
You need the FN37: EXPORT function if you want to create your own
cycles and integrate them in the TNC. The Q parameters 0 to 99 are
effective only locally. This means that the Q parameters are effective
only in the program in which they were defined. With the FN37:
EXPORT function you can export locally effective Q parameters into
another (calling) program.
¨"hzdF9^Fdp4"dz""hFF¢QaF¨zpF=
56 FN37: EXPORT Q25
¨"hzdF9^Fdp4"dz""hFF¢Qp¬"FF¨zpF=
56 FN37: EXPORT Q25 - Q30
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.
A Transaction
In principle, a transaction consists of the following actions:
– Address table (file), select rows and transfer them to the result set.
– Read rows from the result set, change rows or insert new rows.
– Conclude transaction: If changes/insertions were made, the rows
from the result set are placed in the table (file).
Other actions are also necessary so that table entries can be edited in
an NC program and to ensure that other changes are not made to
copies of the same table rows at the same time. This results in the
following transaction sequence:
1 A Q parameter is specified for each column to be edited. The
Q parameter is assigned to a column—it is “bound” (SQL BIND...).
2 Address table (file), select rows and transfer them to the result set.
In addition, you define which columns are transferred to the result
set (SQL SELECT...).
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 the longest until the end of the 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
NC 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).
SQL SELECT
SQL SELECT selects table rows and transfers them to the result set. Example: Select all table rows
The SQL server places the data in the result set row-by-row. The rows 11 SQL BIND Q881 "TAB_EXAMPLE.MEAS_NO"
are numbered in ascending order, starting from 0. This row number,
called the INDEX, is used in the SQL commands "Fetch" and "Update." 12 SQL BIND Q882 "TAB_EXAMPLE.MEAS_X"
Enter the selection criteria in the SQL SELECT...WHERE... option. This 13 SQL BIND Q883 "TAB_EXAMPLE.MEAS_Y"
lets you restrict the number of rows to be transferred. If you do not 14 SQL BIND Q884 "TAB_EXAMPLE.MEAS_Z"
use this option, all rows in the table are loaded.
. . .
Enter the sorting criteria in the SQL SELECT...ORDER BY... option.
20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
Enter the column designation and the keyword for ascending/
descending order. If you do not use this option, the rows are placed in MEAS_Z FROM TAB_EXAMPLE"
random order.
Example: Selection of table rows with the WHERE
Lock out the selected rows for other applications with the SQL option
SELECT...FOR UPDATE option. Other applications can continue to read
these rows, but cannot change them. We strongly recommend using . . .
this option if you are making changes to the table entries.
20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
Empty result set: If no rows match the selection criteria, the SQL MEAS_Z FROM TAB_EXAMPLE WHERE MEAS_NO<20"
server returns a valid handle but no table entries.
Example: Selection of table rows with the WHERE
option and Q parameters
. . .
20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
MEAS_Z FROM TAB_EXAMPLE WHERE
MEAS_NO==:’Q11’"
. . .
20 SQL Q5 "SELECT MEAS_NO,MEAS_X,MEAS_Y,
MEAS_Z FROM ’V:\TABLE\TAB_EXAMPLE’ WHERE
MEAS_NO<20"
Optional:
WHERE selection criteria: A selection criterion consists
of a column name, condition (see table) and
comparator. Link selection criteria with logical AND or
OR.
Program the comparator directly or with a
Q parameter. A Q parameter is introduced with a
colon and placed in single quotation marks (see
example).
Optional:
ORDER BY column name ASC to sort in ascending
order—or
ORDER BY column name DESC to sort in descending
order.
If neither ASC nor DESC are programmed, then
ascending order is used as the default setting.
The selected rows are placed in the order determined
by the indicated column.
Optional:
FOR UPDATE (keyword): The selected rows are locked
against write-accesses from other processes.
Condition Programming
Equal to =
==
Not equal to !=
<>
Logical OR OR
8 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,
8 Data bank: SQL access ID: Q parameter with the
handle for identifying the result set (also see SQL MEAS_Z FROM TAB_EXAMPLE"
SELECT). . . .
8 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 parameters. If Example: Row number is programmed directly
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
SQL UPDATE
SQL UPDATE transfers the data prepared in the Q parameters into the Example: Row number is transferred in a
row of the result set addressed with INDEX. The existing row in the Q parameter
result set is completely overwritten.
11 SQL BIND Q881 "TAB_EXAMPLE.MEAS_NO"
SQL UPDATE takes into account all columns entered in the "Select"
command. 12 SQL BIND Q882 "TAB_EXAMPLE.MEAS_X"
8 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,
8 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
8 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"
8 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,
8 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.
. . .
8 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
8 Data bank: SQL access ID: Q parameter with the
handle for identifying the result set (also see SQL
SELECT).
8 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.
Entering formulas
You can enter mathematical formulas that include several operations
directly into the part program by soft key.
Press the FORMULA soft key to call the formula functions. The TNC
displays the following soft keys in several soft-key rows:
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. Determine the angle from the ratio
of the opposite side to the hypotenuse.
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determine the angle from the
ratio of the adjacent side to the hypotenuse.
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
1st calculation: 5 * 3 = 15
2nd calculation: 2 * 10 = 20
3. Calculation step 15 + 20 = 35
or
13 Q2 = SQ 10 - 3^3 = 73
Distributive law
for calculating with parentheses
a * (b + c) = a * b + a * c
Select division.
Example NC block
37 Q25 = ATAN (Q12/Q13)
X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
V axis Q109 = 7
W axis Q109 = 8
Y axis Q116
Z axis Q117
Example NC block:
37 DECLARE STRING QS10 = "TEXT"
Example: Read the path of the NC program chosen with SEL PGM
".."
37 QS14 = SYSSTR( ID10010 NR10 )
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
34 LBL 1
35 Q36 = Q36 + Q35 Update the angle
36 Q37 = Q37 + 1 Update the counter
37 Q21 = Q3 * COS Q36 Calculate the current X coordinate
38 Q22 = Q4 * SIN Q36 Calculate the current Y coordinate
39 L X+Q21 Y+Q22 R0 FQ11 Move to next point
40 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
Program sequence
Z
Program functions only with a spherical cutter.
The tool length refers to the sphere center. R4
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
the curve becomes. -50
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
(defined in Q18). R4
The tool moves upward in three-dimensional 50
cuts.
The tool radius is compensated automatically.
X Z
50 100 -50
Function
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 3 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
Projection in 3 planes
3-D view
Plan view
This is the fastest of the three graphic display modes.
8 Press the soft key for plan view.
8 Regarding depth display, remember:
Projection in 3 planes
Similar to a workpiece drawing, the part is displayed with a plan view
and two sectional planes.
Details can be isolated in this display mode for magnification (see
“Magnifying details,” page 380).
In addition, you can shift the sectional planes with the corresponding
soft keys:
8 Select the soft key for projection in three planes.
8 Shift the soft-key row and select the soft key for
sectional planes.
8 The TNC then displays the following soft keys:
Magnifying details
You can magnify details in the Test Run and a program run operating
modes and in the projection in 3 planes and the 3-D display modes.
The graphic simulation or the program run, respectively, must first
have been stopped. A detail magnification is always effective in all
display modes.
Test Run
The timer displays the time that the TNC calculates from the duration
of tool movements. 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.
Overview
In the Program Run modes of operation as well as in the Test Run
mode, the TNC provides the following soft keys for displaying a part
program in pages:
Go to beginning of program
Go to end of program
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 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 rapid traverse speed when
starting the NC program using the FMAX soft key. The
entered value remains in effect even after the machine
has been turned off and on again. In order to re-establish
the original rapid traverse speed, you need to re-enter the
corresponding value.
Interrupting machining
There are several ways to interrupt a program run:
Programmed interruptions
Pressing the machine STOP button
If the TNC registers an error during program run, it automatically
interrupts the machining process.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the following
entries:
STOP (with and without a miscellaneous function)
Miscellaneous function M0, M2 or M30
Miscellaneous function M6 (determined by the machine tool builder)
Symbol Meaning
Program run stopped.
Application example:
Retracting the spindle after tool breakage
8 Interrupt machining.
8 Enable the external direction keys: Press the MANUAL OPERATION
soft key.
8 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).
With the RESTORE POS. AT 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.
Function
CAUTION—danger to life!
The autostart function must not be used on machines that
do not have an enclosed working space.
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:
8 Show the window for entering the starting time (see
figure at center right).
8 Time (h:min:sec): Time of day at which the program
is to be started.
8 Date (DD.MM.YYYY): Date at which the program is to
be started.
8 To activate the start, select OK
Interruption
Function
The TNC optionally interrupts the program run or test run at blocks
containing M01. If you use M01 in the Program Run mode, the TNC
does not switch off the spindle or coolant.
8 Do not interrupt Program Run or Test Run at blocks
containing M01: Set soft key to OFF.
8 Interrupt Program Run or Test Run at blocks
containing M01: Set soft key to ON.
Function
The following software numbers are displayed on the TNC screen
after the MOD functions have been selected:
Control model: Designation of the control (managed by
HEIDENHAIN)
NC software: Number of the NC software (managed by
HEIDENHAIN)
NC kernel: Number of the NC software (managed by
HEIDENHAIN)
PLC software: Number or name of the PLC software (managed
by your machine tool builder)
Parameters
Function
To enable you to set machine-specific functions, your machine tool
builder can define which machine parameters are available as user
parameters.
Function Display
Nominal position: the value presently NOML.
commanded by the TNC
With the MOD function Position display 1, you can select the position
display in the status display.
With Position display 2, you can select the position display in the
additional status display.
Function
This MOD function determines whether the coordinates are displayed
in millimeters (metric system) or inches.
To select the metric system (e.g. X = 15.789 mm) set the Change
mm/inches function to mm. The value is displayed to 3 decimal
places.
To select the inch system (e.g. X = 0.6216 inches) set the Change
mm/inches function to inches. The value is displayed to 4 decimal
places.
If you would like to activate the inch display, the TNC shows the feed
rate in inch/min. In an inch program you must enter the feed rate larger
by a factor of 10.
The MACHINE TIME soft key enables you to see various types of
operating times:
Function
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
number123. The TNC shows the user parameter GfgSerialInterface,
in which you can enter the following settings:
Operating
External device Symbol
mode
PC with HEIDENHAIN data transfer LSV2
software TNCremoNT
End TNCremoNT
Select the menu items <File>, <Exit>.
Connection possibilities
You can connect the Ethernet card in your TNC to your network
through the RJ45 connection (X26, 100BaseTX or 10BaseT), or directly
to a PC. The connection is metallically isolated from the control
electronics.
For a 100BaseTX or 10BaseT connection you need a Twisted Pair
cable to connect the TNC to your network.
TNC
The maximum cable length between TNC and a node PC
depends on the quality grade of the cable, the sheathing
and the type of network (100BaseTX or 10BaseT).
No great effort is required to connect the TNC directly to a
10BaseT / 100BaseTx
PC that has an Ethernet card. Simply connect the TNC
(port X26) and the PC with an Ethernet crossover cable
(trade names: crossed patch cable or STP cable).
Setting Meaning
HOSTNAME Name under which the control logs onto the
network. If you use a host name, 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, and the name
of the directory. Enter the network address as
four decimal numbers separated by periods
(dotted-decimal notation). Use the correct
capitalization when entering the path.
To connect individual Windows computers,
enter the network name and the share name
of the computer, e.g. //PC1791NT/C
Prerequisite:
The network card must already be installed on the PC and
ready for operation.
If the PC that you want to connect the iTNC to is already
integrated in your company network, then keep the PC’s
network address and adapt the iTNC’s network address
accordingly.
Overview
The following functions are available in the Manual mode:
416 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.2 Calibrating a Touch Trigger
418 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.2 Calibrating a Touch Trigger Probe
Displaying calibration values
The TNC stores the effective length and radius, as well as the center
misalignment, for use when the touch probe is needed again. You can
display the values on the screen with the soft keys PARAMETER. The
TNC always uses the values from the touch probe management, even
it values are also entered in the tool 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.
Misalignment
Introduction
The TNC electronically compensates workpiece misalignment by
computing a “basic rotation.”
For this purpose, the TNC sets the rotation angle to the desired angle
with respect to the reference axis in the working plane. See figure at
right. Y Y
Select the probe direction perpendicular to the angle
reference axis when measuring workpiece misalignment.
To ensure that the basic rotation is calculated correctly
during program run, program both coordinates of the PA
working plane in the first positioning block.
You can also use a basic rotation in conjunction with the X X
PLANE function. In this case, first activate the basic A B
rotation and then the PLANE function.
420 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.3 Compensating Workpiece Misalignment
Displaying a basic rotation
The angle of the basic rotation appears after ROTATION ANGLE
whenever PROBING ROT is selected. The TNC also displays the
rotation angle in the additional status display (STATUS POS.).
In the status display a symbol is shown for a basic rotation whenever
the TNC is moving the axes according to a basic rotation.
422 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.4 Setting the Datum with a 3-D Touch Probe
Corner as datum—using points already probed
for a basic rotation (see figure at right)
8 Select the probe function by pressing the PROBING P
soft key.
8 Select the probe direction by soft key. Y Y
8 To probe the workpiece, press the machine START
button.
8 Probe both workpiece sides twice.
8 To probe the workpiece, press the machine START
button. Y=?
P P
8 Datum: Enter both datum coordinates into the menu
window, and confirm your entry with the SET X X
DATUM soft key. X=?
For incomplete circles (circular arcs) you can choose the appropriate
X– X+
probing direction.
8 Position the touch probe approximately in the center of the circle.
8 Select the probe function by pressing the PROBING
Y–
CC soft key
8 To probe the workpiece, press the machine START
button four times. The touch probe touches four X
points on the inside of the circle.
8 If you are probing to find the stylus center (only
possible on machines with spindle orientation), press
the 180° soft key and probe another four points on the Y
inside of the circle. Y–
8 If you are not probing to find the stylus center, press
the END key. X+
424 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.5 Measuring Workpieces with a
Measuring angles
You can use the 3-D touch probe to measure angles in the working
plane. You can measure
the angle between the angle reference axis and a workpiece side, or
the angle between two sides.
The measured angle is displayed as a value of maximum 90°.
426 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.5 Measuring Workpieces with a 3-D Touch Probe
To find the angle between the angle reference
axis and a side of the workpiece
8 Select the probe function by pressing the PROBING
ROT soft key.
8 Rotation angle: If you will need the current basic
rotation later, write down the value that appears
under Rotation angle.
8 Make a basic rotation with the side of the workpiece
(see “Compensating Workpiece Misalignment” on
page 420).
8 Press the PROBING ROT soft key to display the angle
between the angle reference axis and the side of the
workpiece as the rotation angle.
PA
8 Cancel the basic rotation, or restore the previous basic
rotation.
8 This is done by setting the rotation angle to the value
that you wrote down previously.
Introduction
To make it possible to cover the widest possible range of applications,
the touch probe management enable offers several settings to enable
you to determine the behavior common to all touch probe cycles: The
TNC always uses the values from the touch probe management, even
it values are also entered in the tool table. Press the PARAMETER soft
key to open the touch probe management window.
Tool number
Number by which the touch probe is registered in the tool table
Infrared/cable probe
0:Touch probe with cable
1: Infrared touch probe (machine-dependent function 180° rotation
allowed)
Spindle angle
Enter the angle of the touch probe at its home position. This value is
used for spindle orientation during calibration of the ball-tip radius and
for internal calculations (machine-dependent function).
Probe length
Length (ascertained by calibration) by which the TNC offsets the touch
probe dimension
Center offset 1
Offset of the touch probe axis to the spindle axis for the reference axis
Center offset 2
Offset of the touch probe axis to the spindle axis for the minor axis
Calibrate angle
Here the TNC enters the orientation angle with which the touch probe
was calibrated
428 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.6 Touch Probe Data Management
Feed for probing
Feed rate at which the TNC is to probe the workpiece.
Set-up clearance
In the setup clearance you define how far from the defined (or
calculated) touch point the probe is to be pre-positioned. The smaller
the value you enter, the more exactly must you define the touch point
position.
Measurement
Overview
The TNC offers three cycles for measuring workpieces and setting the
datum automatically. To define the cycles, press the TOUCH PROBE
key in the Programming and Editing or Positioning with MDI operating
mode.
430 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
Example: NC blocks
8 Probing axis/Probing direction: Enter the probing 68 TCH PROBE 0.1 X+5 Y+0 Z-5
axis with the axis selection keys or ASCII keyboard
and the algebraic sign for the probing direction.
Confirm your entry with the ENT key.
8 Position value: Use the axis selection keys or the
ASCII keyboard to enter all coordinates of the nominal
pre-positioning point values for the touch probe.
8 To conclude the input, press the ENT key.
8 Probing axis: Enter the probing axis with the axis Example: NC blocks
selection keys or ASCII keyboard. Confirm your entry
with the ENT key. 67 TCH PROBE 1.0 POLAR DATUM PLANE
8 Probing angle: Angle, measured from the probing 68 TCH PROBE 1.1 X ANGLE: +30
axis, at which the touch probe is to move. 69 TCH PROBE 1.2 X+5 Y+0 Z-5
8 Position value: Use the axis selection keys or the
ASCII keyboard to enter all coordinates of the nominal
pre-positioning point values for the touch probe.
8 To conclude the input, press the ENT key.
432 13 Touch Probe Cycles in the Manual and Electronic Handwheel Modes
13.7 Automatic Workpiece Measurement
MEASURING (touch probe cycle 3)
Touch probe cycle 3 measures any position on the workpiece in a
selectable direction. Unlike other measuring cycles, Cycle 3 enables
you to enter the measuring path and feed rate directly. Also, the touch
probe retracts by a definable value after determining the measured
value.
1 The touch probe moves from the current position at the entered
feed rate in the defined probing direction. The probing direction
must be defined in the cycle as a polar angle.
2 After the TNC has saved the position, the touch probe stops. The
TNC saves the X, Y, Z coordinates of the probe-tip center in three
successive Q parameters. You define the number of the first
parameter in the cycle.
3 Finally, the TNC moves the touch probe back by that value against
the probing direction that you defined in the parameter MB.
8 Probe axis: Enter the reference axis of the working 6 TCH PROBE 3.1 Q1
plane (X for tool axis Z, Z for tool axis Y, and Y for tool 7 TCH PROBE 3.2 X ANGLE: +15
axis X), and confirm with ENT.
8 TCH PROBE
8 Probing angle: Angle, measured from the probing 3.3 DIST +10 F100 MB:1 REFERENCE SYSTEM:0
axis, at which the touch probe is to move. Confirm
with ENT.
8 Maximum measuring path: Enter the maximum
distance from the starting point by which the touch
probe may move. Confirm with ENT.
8 Feed rate: Enter the measuring feed rate in mm/min.
8 Maximum retraction path: Traverse path in the
direction opposite the probing direction, after the
stylus was deflected.
8 REFERENCE SYSTEM (0=ACT/1=REF): Specify whether
the result of measurement is to be saved in the actual
coordinate system (ACT), or with respect to the
machine coordinate system (REF).
8 To conclude the input, press the ENT key.
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 WH/BN 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.
Adapter block
TNC Connecting cable 355 484-xx Connecting cable 366 964-xx
363 987-02
Male Assignment Female Color Male Female Male Female Color Female
1 Do not assign 1 Red 1 1 1 1 Red 1
2 RXD 2 Yellow 2 2 2 2 Yellow 3
3 TXD 3 White 3 3 3 3 White 2
4 DTR 4 Brown 4 4 4 4 Brown 6
5 Signal GND 5 Black 5 5 5 5 Black 5
6 DSR 6 Violet 6 6 6 6 Violet 4
7 RTS 7 Gray 7 7 7 7 Gray 8
8 CTR 8 WH/GN 8 8 8 8 WH/GN 7
9 Do not assign 9 Green 9 9 9 9 Green 9
Hsg. Ext. shield Hsg. Ext. shield Hsg. Hsg. Hsg. Hsg. Ext. shield Hsg.
4 Vacant
5 Vacant
7 Vacant
8 Vacant
Explanation of symbols
Standard
z Axis option
User functions
Description Basic version: 3 axes plus spindle
z 1st additional axis for 4 axes and open-loop or closed-loop spindle
z 2nd additional axis for 5 axes and open-loop spindle
Position entry Nominal positions for line segments and arcs in Cartesian or polar coordinates
Absolute or incremental dimensions
Display and entry in mm or inches
Tool Compensations Tool radius in the working plane and tool length
Calculating the radius-compensated contour up to 99 blocks in advance (M120)
Constant cutting speed With respect to the path of the tool center
With respect to the cutting edge
Background programming Create one program with graphical support while another program is running.
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
Test Run graphics Graphic simulation before a program run, even while another program is being run
Display modes Plan view / projection in 3 planes / 3-D view
Magnification of details
Interactive programming In the Programming and Editing mode, the contour of the NC blocks is drawn on
graphics screen while they are being entered (2-D pencil-trace graphics), even while another
program is running
Program Run graphics Graphic simulation of real-time machining in plan view / projection in 3 planes / 3-D
Display modes view
Machining time Calculating the machining time in the Test Run mode of operation
Display of the current machining time in the Program Run modes
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 reapproach
User functions
Touch Probe Cycles Calibrating a touch probe
Compensation of workpiece misalignment, manual or automatic
Datum setting, manual or automatic
Automatic workpiece measurement
Cycles for automatic tool measurement
Specifications
Components Main computer with TNC keyboard and integrated 15.1-inch TFT color flat-panel display
with soft keys
Axis 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 640: 3-D touch trigger probe with infrared transmission
Tool names 16 characters, enclosed by quotation marks with TOOL CALL. Permitted
special characters: #, $, %, &, -
Angle for polar coordinates, rotation, tilting –360.0000 to 360.0000 (3.4) [°]
the working plane
Labels (LBL) for program jumps Any text string in quotes (“”)
F M P
FN20: WAIT FOR NC and PLC Miscellaneous Functions Path functions
synchronization ... 340 Miscellaneous functions Fundamentals ... 114
FN23: CIRCLE DATA: Calculating a Entering ... 160 Circles and circular arcs ... 116
circle from 3 points ... 321 For contouring behavior ... 165 Pre-position ... 117
FN24: CIRCLE DATA: Calculating a For program run control ... 162 Pecking ... 192
circle from 4 points ... 321 For rotary axes ... 172 Deepened starting point ... 194
Full circle ... 129 For spindle and coolant ... 162 Pin layout for data interfaces ... 436
Fundamentals ... 54 MOD function Plan view ... 377
Exiting ... 396 PLC and NC synchronization ... 340
G Overview ... 397 Pocket calculator ... 88
Graphic simulation ... 381 Select ... 396 Pocket table ... 104
Graphics MOD functions Point Patterns
Display modes ... 377 Modes of Operation ... 31 Circular ... 248
During programming ... 85 Linear ... 250
Magnifying a detail ... 86 N Overview ... 247
Magnifying details ... 380 NC and PLC synchronization ... 340 Point patterns
NC error messages ... 90 Polar coordinates
H Nesting ... 303 Approach/depart contour ... 120
Hard disk ... 59 Network connection ... 73 Fundamentals ... 56
Helical interpolation ... 138 Programming ... 136
Helical thread drilling/milling ... 215 O Positioning
Helix ... 138 Oblong hole milling ... 238 With manual data input (MDI) ... 50
Help with error messages ... 90 Open contours: M98 ... 167 Principal axes ... 55
Operating panel ... 30 Probing cycles
I Operating time ... 403 Manual operation mode ... 416
Indexed tools ... 103 Option number ... 398 Probing cycles: See “Touch Probe
Information on formats ... 442 Oriented spindle stop ... 295 Cycles” User’s Manual
Interactive programming Program
graphics ... 144 P Editing ... 80
Interrupt machining. ... 388 Parametric programming: See Q Open new ... 76
iTNC 530 ... 28 parameter programming Structure ... 75
Part families ... 316 Program call
L Path ... 61 Program as subprogram ... 301
Look-ahead ... 168 Path contours Via cycle ... 294
Cartesian coordinates Program management. See File
M Circular arc with tangential management.
M functions: See Miscellaneous connection ... 131 Program name: See File management,
functions Circular path around circle center File name
Machine axes, moving the … ... 42 CC ... 129 Program Run
In increments ... 43 Circular path with defined Executing ... 387
With the electronic handwheel ... 44 radius ... 129 Interrupting ... 388
With the machine axis direction Overview ... 125 Mid-program startup ... 390
buttons ... 42 Straight line ... 125 Optional block skip ... 393
Machine-referenced coordinates: M91, Free contour programming FK: See Overview ... 387
M92 ... 163 FK programming Resuming after an
Measuring the machining time ... 382 Polar coordinates interruption ... 389
Mid-program startup ... 390 Circular arc with tangential Program section repeat ... 300
Milling an inside thread ... 205 connection ... 138 Program sections, copying ... 82
Mirror image ... 286 Circular path around pole Programming tool movements ... 78
CC ... 137 Projection in 3 planes ... 378
Overview ... 136
Straight line ... 137
446
Index
Q S T
Q parameter programming ... 314, 363 Scaling factor ... 289 Table access ... 345
Additional functions ... 325 Screen layout ... 29 Tapping
Basic arithmetic (assign, add, Search function ... 83 With a floating tap holder ... 197
subtract, multiply, divide, square Select the unit of measure ... 76 Without a floating tap
root) ... 317 Setting the BAUD rate ... 404, 405 holder ... 199, 201
Circle calculations ... 321 Setting the baud rate ... 405 Test Run
If/then decisions ... 322 Setting the datum ... 58 Executing ... 386
Programming Side finishing ... 264 Overview ... 384
notes ... 315, 364, 365, 366 SL Cycles Text variables ... 363
Trigonometric functions ... 319 Contour data ... 260 Thread drilling/milling ... 211
Q Parameters Contour geometry cycle ... 256 Thread milling, fundamentals ... 203
Checking ... 324 Floor finishing ... 263 Thread milling, outside ... 219
Formatted output ... 328 Fundamentals ... 254 Thread milling/countersinking ... 207
Preassigned ... 360 Overlapping contours ... 257 TNCremo ... 407
Transferring values to the Pilot drilling ... 261 TNCremoNT ... 407
PLC ... 339, 343, 344 Rough-out ... 262 Tool change ... 107
Q parameters Side finishing ... 264 Tool Compensation
Slot milling Tool compensation
R Reciprocating ... 238 Length ... 109
Radius compensation ... 110 Software number ... 398 Radius ... 110
Input ... 111 Specifications ... 438 Tool Data
Outside corners, inside Sphere ... 371 Tool data
corners ... 112 Spindle speed, changing the … ... 46 Calling ... 106
Rapid traverse ... 96 Spindle speed, entering ... 106 Delta values ... 99
Reaming ... 184 SQL commands ... 345 Enter them into the program ... 99
Rectangular pocket Status display ... 33 Entering into tables ... 100
Rectangular pockets Additional ... 34 Indexing ... 103
Finishing ... 228 General ... 33 Tool length ... 98
Roughing ... 226 Straight line ... 125, 137 Tool name ... 98
Rectangular stud finishing ... 230 String parameters ... 363 Tool number ... 98
Reference system ... 55 Subprogram ... 299 Tool radius ... 99
Replacing texts ... 84 Superimposing handwheel Tool table
Retraction from the contour ... 169 positioning: M118 ... 169 Editing functions ... 102
Returning to the contour ... 391 Switch-off ... 41 Editing, exiting ... 102
Rotary axis Switch-on ... 40 Input possibilities ... 100
Reducing display: M94 ... 174 Touch probe functions, use with
Shorter-path traverse: M126 ... 173 mechanical probes or dial
Rotation ... 288 gauges ... 428
Rough out: See SL Cycles: Rough-out Touch probe monitoring ... 170
Ruled surface ... 270 Traverse reference points ... 40
Trigonometric functions ... 319
Trigonometry ... 319
U
Universal drilling ... 188, 192
USB devices, connecting/
removing ... 74
User parameters
Machine-specific ... 400
V
Version numbers ... 399
Visual display unit ... 29
W
Workpiece measurement ... 425, 430
Workpiece positions
Absolute ... 57
Incremental ... 57
Workspace monitoring ... 383, 386
448
Table of Cycles
Cycle DEF- CALL-
Cycle designation Page
number active active
1 Pecking
2 Tapping
3 Slot milling
18 Thread cutting
450
Table of Miscellaneous Functions
M Effect Effective at block Start End Page
M00 Stop program/Spindle STOP/Coolant OFF Page 162
M06 Tool change/Stop program run (machine-dependent function)/Spindle STOP Page 162
M91 Within the positioning block: Coordinates are referenced to machine datum Page 163
M92 Within the positioning block: Coordinates are referenced to position defined by machine Page 163
tool builder, such as tool change position
M94 Reduce display of rotary axis to value under 360° Page 174
M101 Automatic tool change with replacement tool if maximum tool life has expired Page 108
M102 Cancel M101
M140 Retraction from the contour in the tool-axis direction Page 169
M148 Automatically retract tool from the contour at an NC stop Page 171
M149 Cancel M148
452
Comparison: Functions of the TNC 320, TNC 310 and iTNC 530
Comparison: User functions
Function TNC 320 TNC 310 iTNC 530
Program entry with HEIDENHAIN conversational programming
Position data: Nominal positions for lines and arcs in Cartesian coordinates
Tool table:¤dazdFppd"*dF§a^"m©m¤h*FpOppd J
Constant contouring speed: Relative to the path of the tool center or relative J
to the tool’s cutting edge
Autostart J
Pocket calculator J
Entry of text and special characters: On the TNC 320 via on-screen J
keyboard, on the iTNC 530 via regular keyboard
454
Comparison: Cycles
Cycle TNC 320 TNC 310 iTNC 530
1, Pecking
2, Tapping
3, Slot milling
4, Pocket milling
5, Circular pocket
7, Datum shift
8, Mirror image
9, Dwell time
10, Rotation
11, Scaling
22, Rough-out J
32, Tolerance J J
200, Drilling
201, Reaming
202, Boring
240, Centering J J
456
Cycle TNC 320 TNC 310 iTNC 530
253, Slot (complete) J J
M08 Coolant ON
M09 Coolant OFF
M101 Automatic tool change with replacement tool if maximum tool life has J
expired
M102 Cancel M101
458
M Effect TNC 320 TNC 310 iTNC 530
M112 Enter contour transition between two contour elements J J
M113 Cancel M112
M128 Maintain the position of the tool tip when positioning the tilted axes J J
(TCPM)
M129 Cancel M126
460
Comparison: Touch probe cycles for automatic workpiece inspection
Cycle TNC 320 TNC 310 iTNC 530
0, Reference plane J
1, Polar datum J
2, Calibrate TS J J
3, Measuring J
9, Calibrate TS length J
30, Calibrate TT J J
427, Boring J J
462
DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 5
83301 Traunreut, Germany
{ +49 (86 69) 31-0
| +49 (86 69) 50 61
E-Mail: info@heidenhain.de
Technical support | +49 (86 69) 31-10 00
E-Mail: service@heidenhain.de
Measuring systems { +49 (86 69) 31-31 04
E-Mail: service.ms-support@heidenhain.de
TNC support { +49 (86 69) 31-31 01
E-Mail: service.nc-support@heidenhain.de
NC programming { +49 (86 69) 31-31 03
E-Mail: service.nc-pgm@heidenhain.de
PLC programming { +49 (86 69) 31-31 02
E-Mail: service.plc@heidenhain.de
Lathe controls { +49 (7 11) 95 28 03-0
E-Mail: service.hsf@heidenhain.de
www.heidenhain.de
• tool measurement
• wear monitoring
• tool breakage monitoring