TNC 426 TNC 430: User's Manual Conversational Programming
TNC 426 TNC 430: User's Manual Conversational Programming
TNC 426 TNC 430: User's Manual Conversational Programming
TNC 430
NC-Software
280 474-xx
280 475-xx
User’s Manual
Conversational
Programming
2/2000
Controls on the TNC
ISO programs
G F S T M
Cycles, subprograms and program section
Machine operating modes
repeats
MANUAL OPERATION CYCL CYCL
Define and call cycles
DEF CALL
50 150 50 150
Abort dialog, delete program section
F % S %
0 0
Contens
TNC Models, Software and Features
This manual describes functions and features provided by
the TNCs as of the following NC software numbers.
TNC Model NC Software No.
TNC 426 CB, TNC 426 PB 280 474-xx
TNC 426 CF, TNC 426 PF 280 475-xx
TNC 426 M 280 474-xx
TNC 426 ME 280 475-xx
TNC 430 CA, TNC 430 PA 280 474-xx
TNC 430 CE, TNC 430 PE 280 475-xx
TNC 430 M 280 474-xx
TNC 430 ME 280 475-xx
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.
Introduction 1
Manual Operation and Setup 2
Positioning with Manual Data Input 3
Programming: Fundamentals of NC, File Management, Programming Aids 4
Programming: Tools 5
Programming: Programming Contours 6
Programming: Miscellaneous Functions 7
Programming: Cycles 8
Programming: Subprograms , Program Section Repeats 9
Programming: Q Parameters 10
Test Run and Program Run 11
MOD Functions 12
Tables and Overviews 13
Contents
1 INTRODUCTION ..... 1
1.1 The TNC 426, the TNC 430 ..... 2
1.2 Visual Display Unit and Keyboard ..... 3 ................................................. Pilot
1.3 Modes of Operation ..... 5
1.4 Status Displays ..... 7
1.5 Accessories: HEIDENHAIN 3-D Touch Probes and
Electronic Handwheels ..... 12
II Contents
Contents
5 PROGRAMMING: TOOLS ..... 71
5.1 Entering Tool-Related Data ..... 72
5.2 Tool Data ..... 73 ......................................................................................... Pilot
5.3 Tool Compensation ..... 84 ........................................................................ Pilot
5.4 Three-Dimensional Tool Compensation ..... 88
5.5 Working with Cutting Data Tables ..... 94
Circular path CTP with tangential connection ..... 124 ..................... Pilot ..................
Helical interpolation ..... 124 ............................................................... Pilot ..................
Example: Linear movement with polar coordinates ..... 127
Example: Helix ..... 127
6.6 Path Contours — FK Free Contour Programming ..... 128 .................... ..............................
IV Contents
Contents
7 PROGRAMMING: MISCELLANEOUS FUNCTIONS ....................................
..... 143 Pilot
7.1 Entering Miscellaneous Functions M and STOP ..... 144
7.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant ..... 145
7.3 Miscellaneous Functions for Coordinate Data ..... 145
7.4 Miscellaneous Functions for Contouring Behavior ..... 148
Smoothing corners: M90 ..... 148
Insert rounding arc between straight lines: M112 ..... 149
Machining small contour steps:: M97 ..... 149 .................................. ..............................
Machining open contours: M98 ..... 150 ............................................ ..............................
Feed rate factor for plunging movements: M103 ..... 151
Feed rate at circular arcs: M109/M110/M111:
M109/M110/M111 ..... 152
Calculating the radius-compensated path in advance
(LOOK AHEAD): M120 ..... 152
Superimposing handwheel positioning during
program run: M118 ..... 153
7.5 Miscellaneous Functions for Rotary Axes ..... 154
Feed rate in mm/min on rotary axes A, B, C: M116 ..... 154
Shorter-path traverse of rotary axes: M126 ..... 154
Reducing display of a rotary axis to a value less
than 360°: M94 ..... 155
Automatic compensation of machine geometry when
working with tilted axes: M114 ..... 156
Maintaining the position of the tool tip when positioning
with tilted axes (TCPM*): M128 ..... 157
Exact stop at corners with nontangential transitions: M134 ..... 159
Selecting tilting axes: M138 ..... 159
Overview: M Functions
7.6 Miscellaneous Functions for Laser Cutting Machines ..... 160
VI Contents
Contents
8.5 SL Cycles ..... 209 ...................................................................................... Pilot ..................
VIII Contents
Contents
11 TEST RUN AND PROGRAM RUN ..... 305
11.1 Graphics ..... 306 ..................................................................................... Pilot
11.2 Functions for Program Display in
Program Run and Test Run ..... 311
11.3 Test run ..... 311 ...................................................................................... Pilot
11.4 Program Run ..... 313
11.5 Optional Block Skip ..... 318
Compatibility
The TNC can execute all part programs that were written on
HEIDENHAIN controls TNC 150 B and later.
2 1 Introduction
1.2 Visual Display Unit and Keyboard
1.2 Visual Display Unit and Keyboard
Visual display unit
The TNC is available with either a color CRT screen (BC 120) or a
TFT flat panel display (BF 120. The figures at right show the keys
and controls on the BC 120 (upper right) and the BF 120 (middle
right).
Header
When the TNC is on, the selected operating modes are shown
in the screen header: the machining mode at the left and the
programming mode at right. The currently active mode is
displayed in the larger box, where the dialog prompts and TNC
messages also appear (unless the TNC is showing only
graphics).
Soft keys
In the footer the TNC indicates additional functions in a soft-key
row. You can select these functions by pressing the keys
immediately below them . The lines immediately above the 10
soft-key row indicate the number of soft-key rows that can be
called with the black arrow keys to the right and left. The line
representing the active soft-key row is highlighted.
Soft key selector keys
Switching the soft-key rows
Setting the screen layout
Shift key for switchover between machining and programming
modes
Screen layout
You select the screen layout yourself: In the PROGRAMMING AND
EDITING 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 the program
structure in the right window instead, or display only program
blocks in one large window. The available screen windows depend
on the selected operating mode.
<
Select the desired screen layout.
4 1 Introduction
1.3 Modes of Operation
Keyboard
The figure at right shows the keys of the keyboard grouped
according to their functions:
Alphanumeric keyboard
for entering texts and file names, as well as for programming in
ISO format
File management,
pocket calculator,
MOD functions,
HELP functions
Programming modes
Machine operating modes
Initiation of programming dialog
Arrow keys and GOTO jump command
Numerical input and axis selection
The functions of the individual keys are described on the inside
front cover. Machine panel buttons, e.g. NC START, are described in
the manual for your machine tool.
Positions
Program blocks
Program blocks
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.
6 1 Introduction
1.4 Status Displays
Program Run, Full Sequence and
Program Run, Single Block
In the Program Run, Full Sequence mode of operation the TNC
executes a part program continuously to its end or to a manual or
programmed stop. You can resume program run after an
interruption.
In the Program Run, Single Block mode of operation you execute
each block separately by pressing the machine START button.
Program blocks
Graphics
Axis locked
<
Select the layout option for the additional status
display.
8 1 Introduction
1.4 Status Displays
You can choose between several additional status displays with the
following soft keys:
<
Select the desired additional status display,
e.g. general program information.
Information on tools
T: Tool number and name
RT: Number and name of a replacement tool
Tool axis
Tool length and radii
Oversizes (delta values) from TOOL CALL (PGM) and the tool
table (TAB)
Tool life, maximum tool life (TIME 1) and maximum tool life for
TOOL CALL (TIME 2)
Display of the active tool and the (next) replacement tool
Coordinate transformations
Name of main program
Active datum shift (Cycle 7)
Active rotation angle (Cycle 10)
Mirrored axes (Cycle 8)
Active scaling factor(s) (Cycles 11 / 26)
Scaling datum
See also section 8.7 “Coordinate Transformation Cycles.”
Tool measurement
Number of the tool to be measured
Display whether the tool radius or the tool length is being
measured
MIN and MAX values of the individual cutting edges and the
result of measuring the rotating tool (DYN = dynamic
measurement)
Cutting edge number with the corresponding measured value.
If the measured value is followed by an asterisk, the allowable
tolerance in the tool table was exceeded.
10 1 Introduction
1.4 Status Displays
Active miscellaneous functions M
List of the active M functions with fixed meaning.
List of the active M functions with function assigned by machine
manufacturer.
12 1 Introduction
1.5 Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels
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 (see
figure at right).
<
Press the machine axis direction button and
hold it as long as you wish the axis to move.
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 ”2.3 Spindle Speed S, Feed Rate F and Miscellaneous
Functions M“).
The red indicators 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.
To move an axis:
<
Select the axis.
<
Select the feed rate.
<
or Move the active axis in the positive or negative
direction.
<
8 8
Select incremental jog positioning: Switch the
INCREMENT soft key to ON
Jog increment = X
8 16
<
Enter the jog increment in millimeters (here, 8
mm).
<
Press the machine axis direction button as often
as desired.
Entering values
Example: Entering the spindle speed S
Spindle speed S=
<
1000 Enter the desired spindle speed,
Preparation
ú Clamp and align the workpiece.
ú Insert the zero tool with known radius into the spindle.
ú Ensure that the TNC is showing the actual position values.
<
Select an axis (all axes can also be selected via
the ASCII keyboard)
Datum Set Z=
<
Zero tool in spindle axis: Set the display to a
known workpiece position (here, 0) or enter the
thickness d of the shim. In the tool axis, offset
the tool radius.
There are two functions available for tilting the working plane
n 3-D ROT soft key in the Manual mode and Electronic Handwheel
mode (described below)
n Tilting under program control: Cycle 19 WORKING PLANE in the
part program: see „8.7 Coordinate Transformation Cycles“.
The TNC functions for “tilting the working plane” are coordinate
transformations in which the working plane is always perpendicular
to the direction of the tool axis.
When tilting the working plane, the TNC differentiates between
two machine types
The TNC automatically shifts the datum if you rotate the table and
the tilted working plane function is active.
<
Enter the tilt angle.
<
To set the desired operating mode in menu option ”Tilt working
plane” to Active, select the menu option and shift with the ENT
key.
<
To conclude entry, press the END soft key.
Example 1
A hole with a depth of 20 mm is to be drilled into a single
workpiece. After clamping and aligning the workpiece and setting
X
50
the datum, you can program and execute the drilling operation in a
few lines.
First you pre-position the tool in L blocks (straight-line blocks) to the 50
hole center coordinates at a setup clearance of 5 mm above the
workpiece surface. Then drill the hole with Cycle 1 PECKING.
Example 2
Correcting workpiece misalignment on machines with rotary tables
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 new Touch Probes Cycles User's Manual.
<
Write down the Rotation Angle and cancel the Basic Rotation.
<
Select operating mode: Positioning with MDI.
<
Select the axis of the rotary table, enter the
rotation angle you wrote down previously and
set the feed rate.
For example: L C+2.561 F50
<
Conclude entry.
<
Press the machine START button: The rotation of
the table corrects the misalignment.
<
To call the file manager, press the PGM MGT
key (program management).
<
Move the highlight to the $MDI file.
<
Select „Copy file“: Press the COPY soft key
Target file =
<
BOREHOLE Enter the name under which you want to save
the current contents of the $MDI file.
<
Copy the file.
<
To close the file manager, press the END soft
key.
4.1 Fundamentals of NC
Z
Position encoders and reference marks Y
The machine axes are equipped with position encoders that
register the positions of the machine table or tool. When a machine X
axis moves, the corresponding position encoder generates an
electrical signal. The TNC evaluates this signal and calculates the
precise actual position of the machine axis.
If there is an interruption of power, the calculated position will no
longer correspond to the actual position of the machine slide. The
TNC can re-establish this relationship with the aid of reference
marks when power is returned. The scales of the position encoders
contain one or more reference marks that transmit a signal to the
TNC when they are crossed over. From the signal the TNC identifies
that position as the machine-axis reference point and can re-
establish the assignment of displayed positions to machine axis
positions.
Linear encoders are generally used for linear axes. Rotary tables
and tilt axes have angle encoders. If the position encoders feature
distance-coded reference marks, you only need to move each axis a
maximum of 20 mm (0.8 in.) for linear encoders, and 20° for angle XMP
encoders, to re-establish the assignment of the displayed positions
to machine axis positions.
X (Z,Y)
Y W+
C+
B+
V+ A+ X
U+
Polar coordinates
If the production drawing is dimensioned in Cartesian coordinates, Y
you also write the part program using Cartesian coordinates. For
parts containing circular arcs or angles it is often simpler to give the
dimensions in polar coordinates. PR
While the Cartesian coordinates X, Y and Z are three-dimensional PA2
and can describe points in space, polar coordinates are two- PA3 PR
dimensional and describe points in a plane. Polar coordinates have
PR
their datum at a circle center (CC), or pole. A position in a plane can PA1
10 0°
be clearly defined by the CC
n Polar Radius, the distance from the circle center CC to the
position, and the X
n Polar Angle, the size of the angle between the reference axis and 30
the line that connects the circle center CC with the position.
See figure to the lower right.
Y= 10 mm
Hole referenced to hole Hole referenced to hole
10
IX= 20 mm IX= 20 mm
IY= 10 mm IY= 10 mm
10
Absolute and incremental polar coordinates 20 20 X
Absolute polar coordinates always refer to the pole and the 10
reference axis.
Incremental polar coordinates always refer to the last programmed
nominal position of the tool.
+IPR
PR
+IPA +IPA PR
PR PA
10 0°
CC
X
30
300±0,1
Y=0. The holes to are referenced to a relative datum with the
absolute coordinates X=450 Y=750. By using the DATUM SHIFT
0
cycle you can shift the datum temporarily to the position X=450, 320
Y=750 and program the holes to without any further
calculations.
X
325 450 900
950
PROG20 .H Texts as
ASCII files .A
File name File type
Data security
We recommend saving newly written programs and files on a PC at
regular intervals. You can do this with the cost-free backup program
TNCBACK.EXE from HEIDENHAIN. Your machine tool builder can
provide you with a copy of TNCBACK.EXE.
You also need a floppy disk on which all the machine-specific data
(PLC program, machine parameters, etc.) of your machine tool are
stored. Please contact your machine tool builder for more
information on both the backup program and the floppy disk.
The window shows you all of the files that are stored in the TNC. FILE NAME Name with max. 16 characters
Each file is shown with additional information, see table at center and file type
right.
<
Use the arrow keys to move the highlight to the file you wish to
delete:
<
Delete a file: Press the DELETE soft key
Copying a file
<
Use the arrow keys to move the highlight to the file you wish to
copy:
<
Copy a file: Press the COPY soft key
Target file =
<
Enter the name of the new file and confirm your entry with the
ENT key or EXECUTE soft key. A status window appears on the
TNC, informing about the copying progress. As long as the TNC
is copying, you can no longer work, or
If you wish to copy very long programs, enter the new file name
and confirm with the PARALLEL EXECUTE soft key. The file will
now be copied in the background, so you can continue to work
while the TNC is copying.
<
Activate data transfer: press the EXT soft key. In
the left half of the screen, the TNC shows all of
the files that are stored on the TNC, and in the
right half of the screen, all of the files that are
stored on the external data medium.
<
Use the arrow keys to highlight the file(s) that you want to
transfer:
<
Transfer a single file: Press the COPY soft key, or
Tagging functions Soft key
transfer all files by pressing the TNC EXT soft Untag a single file
key
<
To stop transfer, press the TNC soft key. The
standard file manager window is displayed
again.
<
Display the last 10 files selected: Press LAST
FILES soft key
Use the arrow keys to move the highlight to the file you wish to
select:
<
or Select a file: Press the SELECT soft key
or ENT
Renaming a file
<
Use the arrow keys to move the highlight to the file you wish to
rename:
<
To rename the file, press the RENAME soft key.
Target file =
<
Enter the name of the new file and confirm your entry with the
ENT key or EXECUTE soft key.
<
Use the arrow keys to move the highlight to the file you wish to
convert:
<
Press the CONVERT
FK -> H to select the convert function
Target file =
<
Enter the name of the new file and confirm your entry with the
ENT key or EXECUTE soft key.
<
Use the arrow keys to move the highlight to the file you wish to
protect or whose protection you wish to cancel:
<
Press the PROTECT soft key to enable file
protection The file now has status P, or
Directories
To ensure that you can easily find your files, we recommend that
you organize your hard disk into directories. You can divide a
directory up into further directories, which are called subdirectories.
Directory names
The name of a directory can contain up to 8 characters and does not
have an extension. If you enter more than 8 characters for the
directory name, the TNC will shorten the name to 8 characters.
Paths
A path indicates the drive and all directories and subdirectories TNC:\
under which a file is saved. The individual names are separated by
AUFTR1
the symbol “\”.
Example: On drive TNC:\, the directory AUFTR1 was created. Under NCPROG
this directory, the subdirectory NCPROG was created, and the part WZTAB
program PROG1.H copied into this subdirectory. 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
different paths. TESTPROG
HUBER
KAR25T
Tag a file
Rename a file
Copy a directory
S Program is selected
in the Test Run
mode of operation
M Program is selected
in a Program Run
operating mode
<
With the arrow keys or the soft keys, you can move the highlight to
the desired position on the screen:
Move the highlight from the left to the right
window, and vice versa.
<
or Select drive: Press the SELECT soft key
or ENT
<
or The selected file is opened in the
operating mode from which you have
the called file manager: Press ENT or
the SELECT soft key.
<
NEW Enter the new file name, and confirm with ENT.
ú Enter the name of the destination file and confirm your entry with
the ENT key or EXECUTE soft key: The TNC copies the file into the
active directory. The original file is retained.
Press the PARALLEL EXECUTE soft key to copy the file in the
background. Copying in the background permits you to continue
working while the TNC is copying. This can be useful if you are
copying very large files that take a long time. While the TNC is
copying in the background you can press the INFO PARALLEL
EXECUTE soft key (under MORE FUNCTIONS, second soft-key
row) to check the progress of copying.
Copying a table
If you are copying tables, you can overwrite individual lines or
columns in the target table with the REPLACE FIELDS soft key.
Prerequisites:
n The target table must exist.
n The file to be copied must only contain the columns or lines you
want to replace.
Example:
With a tool presetter you have measured the length and radius of
10 new tools. The tool presetter then generates the tool table
TOOL.T with 10 lines (for the 10 tools) and the columns
n Tool number
n Tool length
n Tool radius
If you wish to copy this file to the TNC, the TNC asks if you wish to
overwrite the existing TOOL.T tool table:
n If you press the YES soft key, the TNC will completely overwrite
the current TOOL.T tool table. After this copying process the new
TOOL.T table consists of 10 lines. The only remaining columns in
the table are tool number, tool length and tool radius.
n If you press the REPLACE FIELDS soft key, the TNC merely
overwrites the first 10 lines of the columns number, length and
radius in the TOOL.T file. The data of the other lines and columns
is not changed.
Copying a directory
Move the highlight in the left window onto the directory you want
to copy. Press the COPY DIR soft key instead of the COPY soft key.
Subdirectories are also copied at the same time.
<
Display the last 10 files selected: Press LAST
FILES soft key
Use the arrow keys to move the highlight to the file you wish to
select:
<
or Select a file: Press the SELECT soft key
or ENT
Delete a file
ú Move the highlight to the file you want to delete.
ú To select the erasing function, press the DELETE soft
key.
The TNC inquires whether you really intend to erase
the file.
ú To confirm, press the YES soft key;
To abort erasure, press the NO soft key.
Erase a directory
ú Erase all files and subdirectories stored in the directory that you
wish to erase.
ú Move the highlight to the directory you want to delete.
ú To select the erasing function, press the DELETE soft
key.
The TNC inquires whether you really intend to erase
the directory.
ú To confirm, press the YES soft key;
To abort erasure, press the NO soft key.
<
Move the highlight to the next file you wish to tag:
<
You can tag several files in this way, as desired.
Renaming a file
ú Move the highlight to the file you wish to rename.
ú Select the renaming function.
ú Enter the new file name; the file type cannot be
changed.
ú To execute renaming, press the ENT key.
Additional Functions
Protecting a file/Canceling file protection
ú Move the highlight to the file you want to protect.
ú To select the additional functions, press the MORE
FUNCTIONS soft key.
ú To enable file protection, press the PROTECT soft key.
The file now has status P.
<
Select the screen layout for data transfer: press
the WINDOW soft key. In the left half of the
screen, the TNC shows all of the files that are
stored on the TNC, and in the right half of the
screen, all of the files that are stored on the
external data medium.
<
Use the arrow keys to highlight the file(s) that you want to
transfer:
<
Transfer a single file: Press the COPY soft key, or
<
<
To end data transfer, move the highlight into left
window and then press the WINDOW soft key.
The standard file manager window is displayed
again.
Overwriting files
If you copy files into a directory in which other files are stored under
the same name, the TNC will ask whether the files in the target
directory should be overwritten:
ú Press the YES soft key to overwrite all files, or
ú Press the NO soft key if no file is to be overwritten
ú To confirm each file separately before overwriting it, press the
CONFIRM soft key.
If you wish to overwrite a protected file, this must also be
confirmed or aborted separately.
Establish network connection. If the connection is ú Press the COPY soft key.
active, the TNC shows an M in the Mnt column. ú Press the PRINT soft key: If you have define only
You can connect up to 7 additional drives with the TNC. one printer, the TNC will print the file
immediately.
Delete network connection
If you have defined more than one printer, the
TNC opens a window listing all defined printers.
Automatically establish connection whenever the Use the arrow keys to select the desired printer,
TNC is switched on. The TNC show in the Auto then press ENT.
column an A if the connection is established automatically.
You only need to define the blank form if you wish to run
MIN
a graphic test for the program!
The TNC can only display the graphic if the ratio of the
shortest to the longest side of the BLK FORM is less than
1 : 64.
<
To call the file manager, press the PGM MGT
soft key.
<
Select the directory in which you wish to store the new program
-40
100
Example of a dialog
Coordinates ?
<
10 Enter the target coordinate for the X axis.
<
5 Enter the target coordinate for the Y axis, and go
to the next question with ENT.
Functions during the dialog Key
Radius comp. RL/RR/no comp. ?
< Ignore the dialog question
Enter “No radius compensation” and go to the
next question with ENT. End the dialog immediately
To select a word in a block, press the arrow keys Set the selected word to zero
repeatedly until the highlight is on the desired
word. Erase an incorrect number
The word that is highlighted in the new block is the same as the
one you selected previously. Delete the selected block
ú Use the arrow keys to select the block up to which you want the
graphic to be generated, or press GOTO and enter the desired Generate a complete graphic
block number. or complete it after
RESET + START
ú To generate graphics, press the RESET + START soft
key.
Interrupt interactive graphics
This soft key only appears while the
Additional functions are listed in the table at right. TNC generates the interactive graphics
With the WINDOW BLK FORM soft key, you can restore the original
section.
If necessary, change the level with the CHANGE LEVEL soft key.
To leave the text editor, call the file manager and select a file of a
different file type, for example a part program. Move one word to the left
Erasing and inserting characters, words and lines Delete functions Soft key
With the text editor, you can erase words and even lines, and insert Delete and temporarily store a line
them at any desired location in the text. See the table at right.
To move a word or line to a different location: Delete and temporarily store a word
ú Move the cursor to the word or line you wish to erase and insert
at a different place in the text.
Delete and temporarily store a character
ú Press the DELETE WORD or DELETE LINE soft key: The text is
deleted and stored temporarily.
Insert a line or word from temporary
ú Move the cursor to the location where you wish insert the text, storage
and press the RESTORE LINE/WORD soft key.
After selecting the desired text block, you can edit the text with the
following soft keys:
Principle Soft key
You can insert the temporarily stored text block as often as desired.
Display HELP
if an error message appears at the top of screen:
ú To display Help, press the HELP key
ú Read the description of the error and the possibilities
for correcting it. Close the Help window with the CE,
thus canceling the error message
ú Remove the cause of the error as described in the
Help window.
The TNC displays the Help text automatically if the error message is
flashing. The TNC needs to be restarted after blinking error
messages. To restart the TNC, press the END key and hold for two
seconds.
Pallet tables are used for machining centers with pallet changer:
The pallet table calls the part programs that are required for the
different pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different datums.
Pallet tables contain the following information:
n PAL/PGM (entry obligatory): Identification for pallet or NC program
(select with ENT or NO ENT)
n NAME (entry obligatory): Pallet or program name. The machine
tool builder determines the pallet name (see Machine Manual). Function Soft key
The program name must be stored in the same directory as the
pallet table. Otherwise you must enter the full path name for the Select beginning of table
program.
n DATUM (entry optional): Name of the datum table. The datum Select end of table
table must be stored in the same directory as the pallet table.
Otherwise you must enter the full path name for the datum table.
Datums from the datum table can be activated in the NC program Select previous page in table
with Cycle 7 DATUM SHIFT
n X, Y, Z (entry optional; other axes also possible): For pallet names, Select next page in table
the programmed coordinates are referenced to the machine
datum. For NC programs, the programmed coordinates are
referenced to the pallet datum. These entries overwrite the Insert the last line in the table
datum that you last set in the Manual mode of operation. With the
miscellaneous function M104 you can reactivate the datum that Delete the last line in the table
was last set. With the ”actual-position-capture” key, the TNC
opens a window that enables you to have the TNC enter various
points as datums (see next page): Go to the beginning of the next line
Actual values Enter the coordinates of the current In machine parameter 7683, set whether
tool position relative to the active the pallet table is to be executed
coordinate system. blockwise or continuously (see „13.1
Reference values Enter the coordinates of the current General User Parameters“).
tool position relative to the machine
datum. ú Select the file manager in the operating mode
Program Run/Full Sequence or Program Run/
ACTL measured values Enter the coordinates relative to the
Single Block: Press the PGM MGT key.
active coordinate system of the datum
last probed in the Manual operating ú Display all .P files: Press the soft keys SELECT
mode. TYPE and
REF measured values Enter the coordinates relative to the SHOW .P.
machine datum of the datum last ú Select pallet table with the arrow keys and
probed in the Manual operating mode. confirm with ENT.
ú To execute pallet table: Press the NC Start button.
With the arrow keys and ENT, select the position that you wish to
The TNC executes the pallets as set in Machine
confirm. Then press the ALL VALUES soft key so that the TNC saves
Parameter 7683.
the respective coordinates of all active axes in the pallet table. With
the PRESENT VALUE soft key, the TNC saves the coordinates of the
axis on which the highlight in the pallet table is presently located.
Input
You can enter the feed rate in the TOOL CALL block and in every
positioning block. For further information refer to section 6.2
“Fundamentals of Path Contours.”
Rapid traverse
If you wish to program rapid traverse, enter FMAX. To enter FMAX,
press the ENT key or the FMAX soft key as soon as 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.
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:
ú To program a tool call, press the TOOL CALL key.
ú Ignore the dialog question for “Tool number ?” with
the NO ENT key.
ú Ignore the dialog question for “Working spindle axis X/
Y/Z ?” with the NO ENT key.
ú Enter the new spindle speed for the dialog question
“Spindle speed S= ?”
, and confirm with END.
72 5 Programming: Tools
5.2 Tool Data
5.2 Tool Data
Z
You usually program the coordinates of path contours as they are
dimensioned in the workpiece drawing. To allow the TNC to
calculate the tool center path — i.e. the tool compensation — you
must also enter the length and radius of each tool you are using.
L0
Tool data can be entered either directly in the part program with
TOOL DEF or separately in a tool table. In a tool table, you can also
enter additional data on the specific tool. The TNC will consider all
the data entered for the tool when executing the part program.
Tool length L
There are two ways to determine the tool length L:
1 The length L is the difference between the length of the tool and
that of a zero tool L 0.
Tool radius R
You can enter the tool radius R directly.
Resulting NC block:
4 TOOL DEF 5 L+10 R+5
74 5 Programming: Tools
5.2 Tool Data
Entering tool data in tables
You can define and store up to 32767 tools and their tool data in a
tool table. In Machine Parameter 7260, you can define how many
tool places are to be reserved by the TNC when a new table is set
up. See also the Editing Functions at a later stage in this Chapter. In
order to be able to assign various compensation data to a tool
(indexing tool number), machine parameter 7262 must not be equal
to 0.
You must use tool tables if
n you wish to used indexed tool such as stepped drills with more
than one length compensation value (for input see ”Editing
Functions for Tool Tables” later in this chapter),
n your machine tool has an automatic tool changer,
n you want to measure tools automatically with the TT 120 touch
probe (see the new Touch Probe Cycles User's Manual, Chapter
4),
n you want to rough-mill the contour with Cycle 22, see section 8.5,
”SL Cycles, ROUGH-OUT”
,
n you want to work with automatic cutting data calculations.
76 5 Programming: Tools
5.2 Tool Data
Tool table:Tool data required for automatic tool measurement
78 5 Programming: Tools
5.2 Tool Data
Editing functions for tool tables Soft key Additional notes on tool tables
Machine parameter 7266.x defines which data can
Select beginning of table be entered in the tool table and in what sequence
the data is displayed.
80 5 Programming: Tools
5.2 Tool Data
Column Input Dialog
P Pocket number of the tool in the tool magazine –
T Tool number Tool number ?
ST Special tool with a large radius requiring several Special tool ?
pockets in the tool magazine. If your special tool
takes up pockets in front of and behind its actual
pocket, these additional pockets need to be locked in
column L (status L).
F Fixed tool number. The tool is always returned to the Fixed pocket ?
same pocket in the tool magazine Yes = ENT / No = NO ENT
L Locked pocket(see also column ST) Pocket locked
Yes = ENT / No = NO ENT
PLC Information on this tool pocket that is to be sent to PLC status?
the PLC
TNAME Display of the tool name from TOOL.T –
Example:
Call tool number 5 in the tool axis Z with a spindle speed 2500 rpm
and a feed rate of 350 mm/min. The tool length is to be
programmed with an oversize of 0.2 mm, the tool radius 2 with an
oversize of 0.05 mm, and the tool radius with an undersize of 1
mm.
20 TOOL CALL 5.2 Z S2500 F350 DL+0.2 DR-1 DR2:+0.05
82 5 Programming: Tools
5.2 Tool Data
Tool change Prerequisites for standard NC blocks
with radius compensation R0, RR, RL
The tool change function can vary depending on the The radius of the replacement tool must be the
individual machine tool. Refer to your machine tool same as that of the original tool. If the radii are not
manual. equal, the TNC displays an error message and does
not replace the tool.
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 not always changed immediately, but, depending on the
workload of the control, a few NC blocks later.
The TNC adjusts the spindle path in the tool axis by the
compensation value for the tool length. In the working plane, it
compensates the tool radius.
If you are writing the part program directly on the TNC, the tool
radius compensation is effective only in the working plane. The TNC
accounts for the compensation value in up to five axes including
the rotary axes.
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
L is the tool length L from the TOOL DEF block or
tool table
DLTOOL CALL is the oversize for length DL in the TOOL CALL block
(not taken into account by the position display)
DLTAB is the oversize for length DL in the tool table
84 5 Programming: Tools
Tool radius compensation
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
DRTOOL CALL is the oversize for radius DR in the TOOL CALL block
(not taken into account by the position display)
Z
Y
DRTAB is the oversize for radius DR in the tool table
X
To select tool movement without radius
compensation or to cancel radius
compensation, press the ENT key.
86 5 Programming: Tools
Radius compensation: Machining corners
RL RL
Compensation Z
Y
The TNC can carry out a three-dimensional tool compensation (3-D
compensation) for straight-line blocks. Apart from the X, Y and Z
coordinates of the straight-line end point, these blocks must also
contain the components NX, NY and NZ of the surface-normal X
vector (see figure above right and explanation further down on this
page). If, in addition, you want to carry out a tool orientation or a
three-dimensional radius compensation, these blocks need also a
normalized vector with the components TX, TY and TZ, which PT
determines the tool orientation (see figure at center right). The P NZ
straight-line end point, the components for the surface-normal NX
NY
vector as well as those for the tool orientation must be calculated
by a CAD system.
Application possibilities
n Use of tools with dimensions that do not correspond with the
dimensions calculated by the CAD system (3-D compensation
without definition of the tool orientation)
n Face milling: compensation of the milling machine geometry in
the direction of the surface-normal vector (3-D compensation
with and without definition of the tool orientation). Cutting is
usually with the end face of the tool
n Peripheral milling: compensation of the mill radius perpendicular
to the direction of movement and perpendicular to the tool
direction (3-D radius compensation with definition of the tool
orientation). Cutting is usually with the lateral surface of the tool
PT PT'
PT
2 2
R R
PT
88 5 Programming: Tools
5.4 Three-Dimensional Tool Compensation
The coordinates for the X, Y, Z positions and the surface-
normal components NX, NY, NZ, as well as TX, TY, TZ
must be in the same sequence in the NC block.
Always indicate all of the coordinates and all of the
surface-normal vectors in an LN block, even if the values
have not changed from the previous block.
3-D compensation with surface-normal vectors is only
effective for coordinates in the main axes X, Y, Z.
If you insert a tool with oversize (positive delta value), the
TNC outputs an error message. You can suppress the
error message with the M function M107 (see section PT
5.2 ”Tool Data, Tool Change”).
PSP
The TNC will not display an error message if an entered
tool oversize would cause damage to the contour.
Machine parameter 7680 defines whether the CAD
system has calculated the tool length compensation
from the center of sphere PT or the south pole of the
sphere PSP (see figure at upper right).
If you want to use tools that have different dimensions than the
ones you originally programmed, you can enter the difference
between the tool lengths and radii as delta values in the tool table
or TOOL CALL:
R
n Positive delta value DL, DR, DR2
The tool is larger than the original tool (oversize).
L
n Negative delta value DL, DR, DR2
The tool is smaller than the original tool (undersize).
The TNC then compensates the tool position by the sum of the R2
delta values from the tool table and the tool call.
DR2>0
DL>0
3-D compensation without tool orientation
The TNC displaces the tool in the direction of the surface-normal
vectors by the sum of the delta values (tool table and TOOL CALL).
90 5 Programming: Tools
Face Milling: 3-D compensation with and without
workpiece orientation
The TNC displaces the tool perpendicular to the direction of
movement and perpendicular to the tool direction by the sum of
the delta values DR (tool table and TOOL CALL). Determine the
compensation direction with radius compensation RL/RR (see
figure at upper right, traverse direction Y+). For the TNC to be able
to reach the set tool orientation, you need to activate the function
M128 (see „7.5 Miscellaneous Functions for Rotary Axes“). The TNC
then positions the rotary axes automatically so that the tool can
reach the defined orientation with the active compensation.
92 5 Programming: Tools
Block format with rotary axes
Insert line
Delete line
94 5 Programming: Tools
5.5 Working with Cutting Data Tables
Table for workpiece materials
Workpiece materials are defined in the table WMAT.TAB
(see figure at center right). WMAT.TAB is stored in the TNC:\
directory and can contain as many materials as you want. The name
of the material type can have a max. of 32 characters (including
spaces). The TNC displays the contents of the NAME column when
you are defining the workpiece material in the program (see the
following section).
96 5 Programming: Tools
5.5 Working with Cutting Data Tables
Creating a new cutting data table.
ú Select the Programming and Editing mode of operation.
ú To select the file manager, press the Taste PGM MGT key.
ú Select the directory where the cutting data table is to be stored.
ú Enter any file name with file name extension .CDT, and confirm
with ENT.
ú On the right half of the screen, the TNC displays various table
formats (machine-dependent, see example in figure at right).
These tables differ from each other in the number of cutting
speed/feed rate combinations they allow. Use the arrow keys to
move the highlight onto the table format you wish to select and
confirm with ENT. The TNC generates a new, empty cutting data
table.
98 5 Programming: Tools
5.5 Working with Cutting Data Tables
Data transfer from cutting data tables
If you output a file type .TAB or .CDT via an external data interface,
the TNC also transfers the structural definition of the table. The
structural definition begins with the line #STRUCTBEGIN and ends
with the line #STRUCTEND. The meanings of the individual code
words are shown in the table ”Structure Command” (see previous
page). Behind #STRUCTEND the TNC saves the actual content of
the table.
Example ofTNC.SYS:
WMAT=TNC:\CUTTAB\WMAT_GB.TAB
TMAT=TNC:\CUTTAB\TMAT_GB.TAB
PCDT=TNC:\CUTTAB\
Miscellaneous functions M
With the TNC’s miscellaneous functions you can affect Y
n Program run, e.g., a program interruption
80
n Machine functions, such as switching spindle rotation and coolant CC
supply on and off 60
0
n Contouring behavior of the tool
R4
40
Three-dimensional movement
The program block contains three coordinates. The TNC thus moves Y
the tool in space to the programmed position.
X
Example:
L X+80 Y+0 Z-10
See figure at lower right.
80
-10
Coordinates ?
<
10 Enter the coordinates of the straight-line end
point.
Miscellaneous function M ?
<
3 Enter a miscellaneous function (here, M3), and
terminate the dialog with ENT.
PH RL
Important positions for approach and departure
n Starting point PS PS R0
You program this position in the block before the APPR block. PS
lies outside the contour and is approached without radius
compensation (R0).
n Auxiliary point PH
Some of the paths for approach and departure go through an
auxiliary point PH that the TNC calculates from your input in the
APPR or DEP block.
n First contour point PA and last contour point PE
You program the first contour point P A in the APPR block. The last
contour point PE can be programmed with any path function.
n If the APPR block also contains a Z axis coordinate, the TNC will
first move the tool to PH in the working plane, and then move it to
the entered depth in the tool axis.
n End point PN
The position PN lies outside of the contour and results from your
input in the DEP block. If the DEP block also contains a Z axis
coordinate, the TNC will first move the tool to PH in the working
plane, and then move it to the entered depth in the tool axis.
The TNC moves the tool from the actual position to the auxiliary
point PH at the feed rate that was last programmed.
Radius compensation
The tool radius compensation is programmed together with the
first contour point PA in the APPR block. The DEP blocks
automatically remove the tool radius compensation.
Contour approach without radius compensation: If you program the
APPR block with R0, the TNC will calculate the tool path for a tool
radius of 0 mm and a radius compensation RR! The radius
compensation is necessary to set the direction of contour approach
and departure in the APPR/DEP LN and APPR/DEP CT functions.
R
on a straight line that connects tangentially to the contour. The
R
15
PA
auxiliary point PH is separated from the first contour point PA by the 20 RR
distance LEN.
ú Use any path function to approach the starting point PS.
10
PH PS
ú Initiate the dialog with the APPR/DEP key and APPR LT
soft key: RR R0
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LT X+20 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR, distance PH to PA: LEN=15
9 L X+35 Y+35 End point of the first contour element
10 L ... Next contour element
R
R
on a straight line perpendicular to the first contour element. The
PA
auxiliary point PH is separated from the first contour point PA by the 20
distance LEN plus the tool radius. RR
15
ú Use any path function to approach the starting point PS.
10
ú Initiate the dialog with the APPR/DEP key and APPR LN soft key: PH PS
RR R0
ú Coordinates of the first contour point PA
ú Length: Distance to the auxiliary point Ph.Always enter
LEN as a positive value! X
10 20 40
ú Radius compensation RR/RL for machining
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LN X+10 Y+20 Z-10 LEN+15 RR F100 PA with radius comp. RR
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
R
R
following a circular arc that is tangential to the first contour PA
element. 20 RR
CCA=
The arc from PH to PA is determined through the radius R and the 180°
center angle CCA. The direction of rotation of the circular arc is
10 0
automatically derived from the tool path for the first contour R1
PS
element. PH R0
ú Use any path function to approach the starting point PS. RR
ú Initiate the dialog with the APPR/DEP key and APPR CT soft key: X
10 20 40
ú Coordinates of the first contour point PA
ú Radius R of the circular arc
n If the tool should approach the workpiece in the
direction defined by the radius compensation:
Enter R as a positive value.
n If the tool should approach the workpiece opposite to
the radius compensation:
Enter R as a negative value.
ú Center angle CCA of the arc
n CCA can be entered only as a positive value.
n Maximum input value 360°
ú Radius compensation RR/RL for machining
R
R
auxiliary point PH. It then moves from PH to the first contour point PA PA
on a circular arc. 20 RR
The arc is connected tangentially both to the line PS – PH as well as
to the first contour element. Once these lines are known, the radius 0
then suffices to completely define the tool path. 10 R1
PS
ú Use any path function to approach the starting point PS. R0
PH
ú Initiate the dialog with the APPR/DEP key and APPR LCT soft key: RR
ú Coordinates of the first contour point PA
X
10 20 40
ú Radius R of the arc
Always enter R as a positive value.
ú Radius compensation for machining
Example NC blocks
7 L X+40 Y+10 R0 FMAX M3 Approach PS without radius compensation
8 APPR LCT X+10 Y+20 Z-10 R10 RR F100 PA with radius compensation RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
ú Program the last contour element with the end point PE and
radius compensation.
20 PE
ú Initiate the dialog with the APPR/DEP key and DEP LT soft key:
RR
12.5
ú LEN: Enter the distance from the last contour element
PE to the end point PN.
PN
R0
X
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LT LEN 12.5 F100 Depart contour by LEN = 12.5 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LN LEN+20 F100 Depart perpendicular to contour by LEN = 20 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
R8
180° RR
ú Radius R of the circular arc
n If the tool should depart the workpiece in the direction
of the radius compensation (i.e. to the right with RR or
to the left with RL):
Enter R as a positive value.
X
n If the tool should depart the workpiece on the
direction opposite to the radius compensation:
Enter R as a negative value.
ú Center angle CCA of the arc
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP CT CCA 180 R+8 F100 Center angle=180°, arc radius=10 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
ú Program the last contour element with the end point PE and RR
radius compensation. 12
PH
PN
ú Initiate the dialog with the APPR/DEP key and DEP LCT soft key: R0
R0
ú Enter the coordinates of the end point PN.
ú Radius R of the arc X
Always enter R as a positive value 10
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LCT X+10 Y+12 R+8 F100 Coordinates PN, arc radius = 10 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Circle by Radius Circular arc with a certain radius Coordinates of the arc end
point, arc radius, direction of
rotation
Circle Tangential Circular arc with tangential connection Coordinates of the arc end point
Circle Tangential to the preceding contour element
FK Free Contour Straight line or circular path with any See section 6.6
Programming connection to the preceding contour
element
15
ú Enter the coordinates of the end point for the line.
Further entries, if necessary:
10
ú Radius compensation RL/RR/R0
ú Feed rate F
ú Miscellaneous function M
20 X
Example NC blocks 10
7 L X+10 Y+40 RL F200 M3 60
8 L IX+20 IY-15
9 L X+60 IY-10
Example NC blocks
7 L X+0 Y+30 RL F300 M3 Y 12
8 L X+40 IY+5
9 CHF 12 F250
10 L IX+5 Y+0
12
5
30
You cannot start a contour with a CHF block.
A chamfer is possible only in the working plane.
A feed rate programmed in the CHF block is effective
only in that block. After the CHF block, the previous feed
rate becomes effective again.
5 X
The corner point is cut off by the chamfer and is not part
40
of the contour.
Circle center CC
You can define a circle center CC for circles that are programmed
with the C key (circular path C). This is done in the following ways:
n Entering the Cartesian coordinates of the circle center Z
Y
n Using the circle center defined in an earlier block
n Capturing the coordinates with the actual-position-capture key CC
Example NC blocks
X CC
5 CC X+25 Y+25
or
10 L X+25 Y+25
11 CC
The program blocks 10 and 11 do not refer to the illustration.
Duration of effect
The circle center definition remains in effect until a new circle
center is programmed. You can also define a circle center for the
secondary axes U, V and W.
Example NC blocks
5 CC X+25 Y+25
6 L X+45 Y+25 RR F200 M3 Y
7 C X+45 Y+25 DR+
Full circle
Enter the same point you used as the starting point for the end
point in a C block. CC
25
The starting and end points of the arc must lie on the
circle.
Input tolerance: up to 0.016 mm (selected with MP7431).
X
25 45
Full circle
For a full circle, program two CR blocks in succession:
The end point of the first semicircle is the starting point of the
second. The end point of the second semicircle is the starting point Y
of the first. See figure at upper right.
Example NC blocks
3
See figures at middle and lower right. Y
10 L X+40 Y+40 RL F200 M3
ZW
11 CR X+70 Y+40 R+20 DR– (arc 1)
or
R R
11 CR X+70 Y+40 R+20 DR+ (arc 2)
40
or
11 CR X+70 Y+40 R-20 DR- (arc 3)
or 4
DR+
11 CR X+70 Y+40 R-20 DR+ (arc 4)
X
Please observe the notes on the next page! 40 70
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
Y 10
95
10
20
5
20 X
5 95
95
R3
85
R10
0
40
X
5 30 40 70 95
CC
50
X
50
Circular arc CP + Circular path around circle center/ Polar angle of the arc end point,
pole CC to arc end point direction of rotation
Circular arc CTP + Circular path with tangential Polar radius, polar angle of the
connection to the preceding arc end point
contour element
Helical interpolation + Combination of a circular and a linear Polar radius, polar angle of the
movement arc end point, coordinate of the
end point in the tool axis
X
XCC
30
ú Polar-coordinates radius PR: Enter the distance from
60°
the pole CC to the straight-line end point. 60°
ú Polar-coordinates angle PA: Angular position of the 25
straight-line end point between –360° and +360° CC
Example NC blocks
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
Example NC blocks
18 CC X+25 Y+25
19 LP PR+20 PA+0 RR F250 M3 X
25
20 CP PA+180 DR+
5
ú Polar coordinates angle PA: Angular position of the 0
R2
R3
arc end point. 30°
35
CC
Example NC blocks
12 CC X+40 Y+35
13 L X+0 Y+35 RL F250 M3
14 LP PR+25 PA+120 X
15 CTP PR+30 PA+30 40
16 L Y+0
Helical interpolation
A helix is a combination of a circular movement in a main plane and
a linear movement perpendicular to this plane. Z
Programming a helix
5
270°
–5400° to +5400°. If the thread has of more than 15
revolutions, program the helix in a program section 25 X
repeat (see section 9.3 “Program Section Repeats”).
40
ú Polar coordinates angle: Enter the total angle of tool
traverse along the helix in incremental dimensions.
After entering the angle, identify the tool axis with
an axis selection key.
ú Enter the coordinate for the height of the helix in
incremental dimensions.
ú Direction of rotation DR
Clockwise helix: DR–
Counterclockwise helix: DR+
ú Radius compensation RL/RR/R0
Enter the radius compensation according to the table
above.
Example NC blocks
12 CC X+40 Y+25
13 Z+0 F100 M3
14 LP PR+3 PA+270 RL F50
15 CP IPA–1800 IZ+5 DR–
Y
100
60°
5
R4
CC
50
X
5 50 100
Y
100
M64 x 1,5
CC
50
X
50 100
Fundamentals
28
5
Y
2.
R
Workpiece drawings that are not dimensioned for NC often contain
18
unconventional coordinate data that cannot be entered with the
gray path function keys. You may, for example, have only the X
following data on a specific contour element:
n Known coordinates on the contour element or in its proximity
R
4
n Coordinate data that are referenced to another contour element 45°
Ø
n Directional data and data regarding the course of the contour
21
20 10 5 0
You can enter such dimensional data directly by using the FK free
contour programming function. The TNC derives the contour from
the known coordinate data and supports the programming dialog
with the interactive programming graphics. The figure to the upper
right shows a workpiece drawing for which FK programming is the
most convenient programming method.
If you wish to run FK programs on old TNC models, use the
conversion function (see „4.3 Standard File Management;
Converting an FK program into HEIDENHAIN conversational
format“).
The machine tool builder may use other colors for the FK
graphics.
NC blocks from a program that you called with PGM
CALL are displayed in another color.
The following prerequisites for FK programming must Circular arc without tangential connection
be observed:
The FK free contour programming feature can only be
used for programming contour elements that lie in the
working plane. The working plane is defined in the first
BLK FORM block of the part program.
You must enter all available data for every contour
element. Even the data that does not change must be
entered in every block — otherwise it will not be
recognized.
Q parameters are permissible in all FK elements, except
in elements with relative references (e.g. RX or RAN), or
in elements that are referenced to other NC blocks.
If both FK blocks and conventional blocks are entered in a
program, the FK contour must be fully defined before
you can return to conventional programming.
The TNC needs a fixed point from which it can calculate
the contour elements. Use the gray path function keys to
program a position that contains both coordinates of the
working plane immediately before programming the FK
contour. Do not enter any Q parameters in this block.
If the first block of an FK contour is an FCT or FLT block,
you must program at least two NC block with the gray
path function keys to fully define the direction of contour
approach.
Do not program an FK contour immediately after an LBL
label.
Circular arc with tangential connection Angle of the leading axis to the
If the circular arc connects tangentially to another contour element, arc end point
initiate the dialog with the FCT soft key:
ú To display the soft keys for free contour programming,
press the FK key
ú To initiate the dialog, press the FCT soft key.
ú Use the soft keys (listed in the table at right) to enter
all known data in the block.
R15
30
30°
20
10 X
20
Auxiliary points for a straight line Auxiliary points near a straight line Soft key
If the auxiliary points are located on a straight line or on the
extension of a straight line, use the soft keys listed in the table at X coordinate of an auxiliary point
upper right.
If the auxiliary points are located at a distance D from a straight line,
Y coordinate of an auxiliary point
use the soft keys listed in the second table at right.
60.071 R10
53
70°
X
50
42.929
R20
block number of the contour element on which the data are based.
20°
10
The block number of the contour element on which the FPOL
relative data are based can only be located up to 64
positioning blocks before the block in which you program
35 X
the reference. 10
If you delete a block on which relative data are based, the
TNC will display an error message. Change the program
first before you clear this message.
20 45°
Change in the polar coordinate angle relative to block N
90°
R20
20°
10
Example NC blocks FPOL
The known coordinates are relative to block N (see figure at upper
right): 35 X
10
12 FPOL X+10 Y+10
13 FL PR+20 PA+20
14 FL AN+45
15 FCT IX+20 DR– R20 CCA+90 RX 13
16 FL IPR+35 PA+0 RPR 13
The known direction and the known distance from the contour Y
element are relative to block N (see figure at center right):
17 FL LEN 20 AN+15
18 FL AN+105 LEN 12.5
220°
19 FL PAR 17 DP 12.5
20
20 FSELECT 2 95°
12.5
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
105° 15°
The known circle center coordinates are relative to block N (see
figure at lower right): 12.5 X
12 FL X+10 Y+10 RL 20
13 FL ...
14 FL X+18 Y+35
15 FL ...
16 FL ... Y
17 FC DR– R10 CCA+0 ICCX+20 ICCY-15 RCCX12 RCCY14
20
35
15
R10
CC
10
X
10 18
Converting FK programs
You can convert an FK program into HEIDENHAIN conversational
format by using the file manager:
CLSD–
ú Call the file manager and display the files.
X
ú Move the highlight to the file you wish to convert.
ú Press the soft keys MORE FUNCTIONS and then
CONVERT FK->H. The TNC converts all FK blocks into
HEIDENHAIN dialog blocks.
Example: FK programming 1
Y
100
R1
5
75
R18
30
R15
20
X
20 50 75 100
10
Y 10
R20
55
R30 60°
30
X
30
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
Input ranges
n Spline end point: -99 999.9999 to +99 999.9999
n Spline parameter K: -9.999 999 99 to +9.999 999 99
n Exponent for spline parameter K: -255 to +255 (whole number).
Example NC block
87 STOP M6
7.2 Miscellaneous functions for Program Run Control, Spindle and Coolant;
gram Run Control, Spindle and
Coolant
M Effect Effective at
M00 Stop program run Block end
Spindle STOP
Coolant OFF
M02 Stop program run Block end
Spindle STOP
Coolant OFF
Go to block 1
Clear the status display (dependent on
machine parameter 7300)
M03 Spindle ON clockwise Block start
M04 Spindle ON counterclockwise Block start
M05 Spindle STOP Block end
M06 Tool change Block end
Spindle STOP
Program run stop (dependent on
machine parameter 7440)
M08 Coolant ON Block start
M09 Coolant OFF Block end
M13 Spindle ON clockwise Block start
Coolant ON
M14 Spindle ON counterclockwise Block start
Coolant ON
M30 Same as M02 Block end
Machine datum
The machine datum is required for the following tasks:
n Defining the limits of traverse (software limit switches)
n Moving to machine-referenced positions (such as tool change
positions)
n Setting the workpiece datum
The distance in each axis from the scale reference point to the M91/M92 in the test run mode
machine datum is defined by the machine tool builder in a machine In order to be able to graphically simulate M91/M92
parameter. movements, you need to activate working space
monitoring and display the workpiece blank
Standard behavior referenced to the set datum (see Chapter „12.8
The TNC references coordinates to the workpiece datum (see Showing the Workpiece in the Working Space“).
“Datum setting”).
Effect
M91 and M92 are effective only in the blocks in which they are
programmed with M91 or M92. Z
M91 and M92 become effective at the start of block. Z
Workpiece datum Y
If you want the coordinates to always be referenced to the machine Y
datum, you can inhibit datum setting for one or more axes (see
machine parameter 7295). X
If datum setting is inhibited for all axes, the TNC no longer displays
the soft key DATUM SET in the Manual Operation mode. X
The figure at right shows coordinate systems with the machine M
datum and workpiece datum.
Effect
M130 functions only in straight-line blocks without tool radius
compensationand in blocks in which M130 is programmed.
Effect
M90 is effective only in the blocks in which it is programmed with Y
M90.
M90 becomes effective at the start of block. Operation with servo
lag must be active.
Effect
M97 is effective only in the blocks in which it is programmed with
M97. S S
13 16
A corner machined with M97 will not be completely 17
finished. You may wish to rework the contour with a
smaller tool. 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
Example NC blocks
Move to the contour points 10, 11 and 12 in succession:
10 L X ... Y... RL F Y
11 L X... IY... M98
12 L IX+ ...
10
11 12
X
Programming M103
If you enter M103 in a positioning block, the TNC continues the
dialog by asking you the factor F.
Effect
M103 becomes effective at the start of block.
To cancel M103, program M103 once again without a factor.
Example NC blocks
The feed rate for plunging is to be 20% of the feed rate in the plane.
... Actual contouring feed rate (mm/min):
17 L X+20 Y+20 RL F500 M103 F20 500
18 L Y+50 500
19 L IZ–2.5 100
20 L IY+5 IZ–5 141
21 L IX+50 500
22 L Z+5 500
Effect
M136 becomes effective at the start of block.
You can cancel M136 by programming M137.
Effect
M109 and M110 become effective at the start of the block.
To cancel M109 or M110, enter M111.
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
n radius compensation is canceled, or
n M120 LA0 is programmed, or
n M120 is programmed without LA.
n another program is called with PGM CALL
M120 becomes effective at the start of block.
Limitations
n After an external or internal stop, you can only re-enter the
contour with the function RESTORE POS. AT N.
n If you are using the path functions RND and CHF, the blocks
before and after RND or CHF must contain only coordinates of
the working plane.
n 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.
n If you want to approach the contour on a tangential path, use the
function DEP LCT. The block with DEP LCT must contain only
coordinates of the working plane.
If you enter M118 in a positioning block, the TNC continues the If M118 is active, the MANUAL OPERATI-
dialog for this block by asking you the axis-specific values. The ON function is not available after a
coordinates are entered with the orange axis direction buttons or program interruption
the ASCII keyboard.
Effect
Cancel handwheel positioning by programming M118 once again
without X, Y and Z.
M118 becomes effective at the start of block.
Effect
M116 is effective in the working plane
With M117 you can reset M116. M116 is also canceled at the end of
the program.
Example NC blocks
To reduce display of all active rotary axes:
L M94
To reduce display of the C axis only
L M94 C
To reduce display of all active rotary axes and then move the tool in
the C axis to the programmed value:
L C+180 FMAX M94
Effect
M94 is effective only in the block in which M94 is programmed.
M94 becomes effective at the start of block.
Effect
M114 becomes effective at the start of block, M115 at the end of
block. M114 is not effective when tool radius compensation is
active.
To cancel M114, enter M115. At the end of program, M114 is
automatically canceled.
After M128 you can program another feed rate, at which the TNC
will carry out the compensation movements in the linear axes. If
you program no feed rate here, or if you program a larger feed rate
than is defined in machine parameters 7471, the feed rate from
machine parameter 7471 will be effective.
Effect
M128 becomes effective at the start of block, M129 at the end of
block. M128 is also effective in the manual operating modes and
remains active even after a change of mode. The feed rate for the
compensation movement will be effective until you program a new
feed rate or until you reset M128 with M129.
To cancel M128, enter M129. The TNC also resets M128 if you
select a new program in a program run operating mode.
Example NC block
Moving at 1000 mm/min to compensate a radius.
L X+0 Y+38.5 RL F125 M128 F1000
Effect
M134 becomes effective at the start of block, M135 at the end of
block.
You can reset M134 with M135. The TNC also resets M134 if you
select a new program in a program run operating mode.
Effect
M138 becomes effective at the start of block.
You can reset M138 by reprogramming it without entering any axes.
Example NC block
Perform the above-mentioned functions only in the tilting axis C:
L Z+100 R0 FMAX M138 C
Effect
Output voltage as a function of distance: M201 M204 remains in effect until a new voltage is output
M201 outputs the voltage in dependence on the distance to be through M200, M201, M202, M203 or M204.
covered. The TNC increases or decreases the current voltage
linearly to the value programmed for V.
Input range: 0 to 9.999 V
Effect
M201 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M202 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Frequently recurring machining cycles that comprise several Cycles for peck drilling, reaming,
working steps are stored in the TNC memory as standard cycles. boring, counterboring, tapping
Coordinate transformations and other special cycles are also and thread cutting
provided as standard cycles. The table at right lists the various cycle
groups.
Cycles for milling pockets, studs
Fixed cycles with number starting with 200 use Q parameters as and slots
transfer parameters. Parameters with specific functions that are
required in several cycles always have the same number: For
example, Q200 is always assigned the setup clearance, Q202 the Cycles for producing hole patterns,
plunging depth, etc. such as circular or linear patterns
1 PECKING 2 TAPPING
Without automatic pre-positioning With a floating tap holder
1 The TNC positions the tool in the tool axis at rapid traverse FMAX
to set-up clearance above the workpiece surface. Q200 Q204
Q203
2 The tool drills to the programmed depth at the feed rate for
plunging.
Q201 Q208
3 If programmed, the tool remains at the hole bottom for the
entered dwell time with active spindle rotation for cutting free. Q211
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.
Example NC blocks:
12 CYCL DEF 208 BORE MILLING
Q200=2 ;SET-UP CLEARANCE
Q201=-80 ;DEPTH
Q206=150 ;FEED RATE FOR PLUNGING
Q334=1.5 ;PLUNGING DEPTH
Q203=+0 ;SURFACE COORDINATE
Q204=50 ;2. SET-UP CLEARANCE
Q335=25 ;NOMINAL DIAMETER
The TNC cuts the thread without a floating tap holder in one or
more passes.
Rigid tapping offers the following advantages over tapping with a
floating tap holder: See Cycle 17
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 you have entered a
2nd set-up clearance, the tool subsequently moves to that
position in FMAX.
4 The TNC stops the spindle turning at set-up clearance
Y
100
90
10
X
10 20 80 90 100
Program sequence
■ Program the drilling cycle in the main program Y
■ Program the machining operation in a subprogram 100
(see section 9 “Programming: Subprograms and
M12
Program Section Repeats”)
70
M12
20
X
20 70 100
3 SLOT MILLING
Roughing/finishing cycle without automatic
pre-positioning, vertical downfeed
Calculations:
Stepover factor k = K x R
where
K is the overlap factor, preset in machine parameter 7430, and
R: is the cutter radius
Q
22
ú First side length Q218 (incremental value): Pocket
Q219
length, parallel to the main axis of the working plane Q217
Q207
ú Second side length Q219 (incremental value): Pocket
length, parallel to the secondary axis of the working
plane
ú Corner radius Q220: Radius of the pocket corner If you
make no entry here, the TNC assumes that the corner X
Q216 Q221
radius is equal to the tool radius.
ú Allowance in 1st axis Q221 (incremental value):
Allowance in the main axis of the working plane
referenced to the length of the pocket. Example NC blocks:
34 CYCL DEF 212 POCKET FINISHING
Q200=2 ;SET-UP CLEARANCE
Q201=-20 ;DEPTH
Q206=150 ;FEED RATE FOR PLUNGING
Q202=5 ;PLUNGING DEPTH
Q207=500 ;FEED RATE FOR MILLING
Q203=+0 ;SURFACE COORDINATE
Q204=50 ;2. SET-UP CLEARANCE
Q216=+50 ;CENTER IN 1ST AXIS
Q217=+50 ;CENTER IN 2ND AXIS
Q218=80 ;1ST SIDE LENGTH
Q219=60 ;2ND SIDE LENGTH
Q220=5 ;CORNER RADIUS
Q221=0 ;ALLOWANCE
Q
Q207
22
ú Center in 1st axis Q216 (absolute value): Center of the
Q219
stud in the main axis of the working plane Q217
DR+
Example NC blocks:
36 CYCL DEF 5.0 CIRCULAR POCKET
37 CYCL DEF 5.1 SET UP 2
38 CYCL DEF 5.2 DEPTH -20
39 CYCL DEF 5.3 PLNGNG 5 F100
40 CYCL DEF 5.4 RADIUS 40
41 CYCL DEF 5.5 F250 DR+
Q222
Q223
occur. Q217
ú Center in 1st axis Q216 (absolute value): Center of the
pocket in the main axis of the working plane
ú Center in 2nd axis Q217 (absolute value): Center of the
pocket in the secondary axis of the working plane
ú Workpiece blank dia. Q222: Diameter of the X
Q216
premachined pocket. Enter the workpiece blank
diameter to be less than the diameter of the finished
part.
ú Finished part dia. Q223: Diameter of the finished
pocket. Enter the diameter of the finished part to be
greater than the workpiece blank diameter.
Q223
Q222
Q217
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can
occur.
ú Center in 1st axis Q216 (absolute value): Center of the
stud in the main axis of the working plane
ú Center in 2nd axis Q217 (absolute value): Center of the X
stud in the secondary axis of the working plane Q216
Finishing process
3 The TNC advances the tool at the slot bottom on a tangential arc
to the outside contour. The tool subsequently climb mills the
contour (with M3).
4 At the end of the cycle, the tool is retracted in rapid traverse
FMAX to set-up clearance.
If the number of infeeds was odd, the tool returns to the starting
position at the level of the set-up clearance.
Roughing process
1 At rapid traverse, the TNC positions the tool in the tool axis to the
2nd set-up clearance and subsequently to the center of the left
circle. From there, the TNC positions the tool to set-up clearance
above the workpiece surface.
2 The tool moves at the feed rate for milling to the workpiece
surface. From there, the cutter advances in the longitudinal
direction of the slot — plunge-cutting obliquely into the material
— until it reaches the center of the right circle.
3 The tool then moves back to the center of the left circle, again
with oblique plunge-cutting. This process is repeated until the
programmed milling depth is reached.
4 At the milling depth, the TNC moves the tool for the purpose of
face milling to the other end of the slot and then back to the
center of the slot.
Finishing process
5 The TNC advances the tool from the slot center tangentially to
the contour of the finished part. The tool subsequently climb
mills the contour (with M3), and if so entered, in more than one
infeed.
6 When the tool reaches the end of the contour, it departs the
contour tangentially and returns to the center of the slot.
7 At the end of the cycle, the tool is retracted in rapid traverse
FMAX to set-up clearance and — if programmed — to the 2nd
set-up clearance.
Finishing process
5 The TNC advances the tool from the slot center tangentially to
the contour of the finished part. The tool subsequently climb
mills the contour (with M3), and if so entered, in more than one
infeed. The starting point for the finishing process is the center of
the right circle. Z
6 When the tool reaches the end of the contour, it departs the Q207
contour tangentially. Q204
Q200
7 At the end of the cycle, the tool is retracted in rapid traverse Q203
FMAX to set-up clearance and — if programmed — to the 2nd
set-up clearance. Q202
Q201
Before programming, note the following:
The algebraic sign for the depth parameter determines
the working direction.
X
The cutter diameter must not be larger than the slot
width and not smaller than a third of the slot width.
The cutter diameter must be smaller than half the slot
length. The TNC otherwise cannot execute this cycle.
Y
90 Y
100
90°
70
8 45°
R2
80
50
5
X Z
50 100 -40 -30 -20
9 CYCL DEF 5.0 CIRCULAR POCKET Define CIRCULAR POCKET MILLING cycle
10 CYCL DEF 5.1 SET UP 2
11 CYCL DEF 5.2 DEPTH -30
12 CYCL DEF 5.3 PLNGNG 5 F250
13 CYCL DEF 5.4 RADIUS 25
14 CYCL DEF 5.5 F400 DR+
15 L Z+2 R0 F MAX M99 Call CIRCULAR POCKET MILLING cycle
16 L Z+250 R0 F MAX M6 Tool change
17 TOOL CALL 2 Z S5000 Call slotting mill
18 CYCL DEF 211 CIRCULAR SLOT Define cycle for slot 1
Q200=2 ;SET-UP CLEARANCE
Q201=-20 ;DEPTH
Q207=250 ;FEED RATE FOR MILLNG
Q202=5 ;PLUNGING DEPTH
Q215=0 ;MACHINING OPERATION
Q203=+0 ;SURFACE COORDINATE
Q204=100 ;2ND SET-UP CLEARANCE
Q216=+50 ;CENTER IN 1ST AXIS
Q217=+50 ;CENTER IN 2ND AXIS
Q244=70 ;PITCH CIRCLE DIA.
Q219=8 ;SECOND SIDE LENGTH
Q245=+45 ;STARTING ANGLE
Q248=90 ;ANGULAR LENGTH
Q338=5 ;INFEED FOR FINISHING
19 CYCL CALL M3 Call cycle for slot 1
20 FN 0: Q245 = +225 New starting angle for slot 2
21 CYCL CALL Call cycle for slot 2
22 L Z+250 R0 F MAX M2 Retract in the tool axis, end program
23 END PGM C210 MM
You can combine Cycle 220 and Cycle 221 with the following fixed
cycles:
Cycle 1 PECKING
Cycle 2 TAPPING with a floating tap holder
Cycle 3 SLOT MILLING
Cycle 4 POCKET MILLING
Cycle 5 CIRCULAR POCKET MILLING
Cycle 17 RIGID TAPPING without a floating tap holder
Cycle 18 THREAD CUTTING
1 The TNC automatically moves the tool from its current position to
the starting point for the first machining operation.
The tool is positioned in the following sequence:
n Move to 2nd set-up clearance (spindle axis)
n Approach starting point in the working plane
n Move to set-up clearance above the workpiece surface (spindle
axis)
2 From this position, the TNC executes the last defined fixed cycle.
3 The tool then approaches the starting point for the next
machining operation in the positive main axis direction at set-up
clearance (or 2nd set-up clearance).
4 This process (1 to 3) is repeated until all machining operations on
the first line have been executed. The tool is located above the
last point on the first line.
5 The tool subsequently moves to the last point on the second line
where it carries out the machining operation. Y
6 From this position, the tool approaches the starting point for the
next machining operation in the negative main axis direction. 7
Q23
Q238
7 This process (6) is repeated until all machining operations in the
second line have been executed.
3
8 The tool then moves to the starting point of the next line. Q24
N=
2
9 All subsequent lines are processed in a reciprocating movement. Q24
N=
Q224
ú Starting point 1st axis Q225 (absolute value):
Q226
Coordinate of the starting point in the main axis of the
working plane
ú Starting point 2nd axis Q226 (absolute value): X
Coordinate of the starting point in the secondary axis Q225
of the working plane
ú Spacing in 1st axis Q237 (incremental value): Spacing
between the individual points on a line
ú Spacing in 2nd axis Q238 (incremental): Spacing
between the individual lines
ú Number of columns Q242: Number of machining Z
operations on a line
ú Number of lines Q243: Number of passes Q204
Q200
ú Angle of rotation Q224 (absolute value): Angle by Q203
which the entire pattern is rotated. The center of
rotation lies in the starting point.
ú Set-up clearance Q200 (incremental value): Distance
between tool tip and workpiece surface.
ú Workpiece surface coordinate Q203 (absolute value):
Coordinate of the workpiece surface X
ú 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can
occur. Example NC blocks:
54 CYCL DEF 221 CARTESIAN PATTRN
ú Traversing to clearance height Q301: definition of how
the tool is to move between machining processes: Q225=+15 ;STARTNG PNT 1ST AXIS
Q226=+15 ;STARTNG PNT 2ND AXIS
0: Move to set-up clearance
1: Move to 2nd set-up clearance Q237=+10 ;SPACING IN 1ST AXIS
Q238=+8 ;SPACING IN 2ND AXIS
Q242=6 ;NUMBER OF COLUMNS
Q243=4 ;NUMBER OF LINES
Q224=+15 ;ANGLE OF ROTATION
Q200=2 ;SET-UP CLEARANCE
Q203=+0 ;SURFACE COORDINATE
Q204=50 ;2. SET-UP CLEARANCE
Q301=1 ;TRAVERSE TO CLEARANCE HEIGHT
100
R25
70 30°
R35
25
X
30 90 100
7 CYCL DEF 220 POLAR PATTERN Define cycle for circular pattern 1, CYCL 200 is called automatically,
Q216=+30 ;CENTER IN 1ST AXIS Q200, Q203 and Q204 are effective as defined in Cycle 220.
Q217=+70 ;CENTER IN 2ND AXIS
Q244=50 ;PITCH CIRCLE DIA.
Q245=+0 ;STARTING ANGLE
Q246=+360 ;STOPPING ANGLE
Q247=+0 ;STEPPING ANGLE
Q241=10 ;NR OF REPETITIONS
Q200=2 ;SET-UP CLEARANCE
Q203=+0 ;SURFACE COORDINATE
Q204=100 ;2ND SET-UP CLEARANCE
Q301=1 ;TRAVERSE TO CLEARANCE HEIGHT
8 CYCL DEF 220 POLAR PATTERN Define cycle for circular pattern 2, CYCL 200 is called automatically,
Q216=+90 ;CENTER IN 1ST AXIS Q200, Q203 and Q204 are effective as defined in Cycle 220.
Q217=+25 ;CENTER IN 2ND AXIS
Q244=70 ;PITCH CIRCLE DIA.
Q245=+90 ;STARTING ANGLE
Q246=+360 ;STOPPING ANGLE
Q247=+30 ;STEPPING ANGLE
Q241=5 ;NR OF REPETITIONS
Q200=2 ;SET-UP CLEARANCE
Q203=+0 ;SURFACE COORDINATE
Q204=100 ;2ND SET-UP CLEARANCE
Q301=1 ;TRAVERSE TO CLEARANCE HEIGHT
9 L Z+250 R0 F MAX M2 Retract in the tool axis, end program
10 END PGM BOHRB MM
The machining data (such as milling depth, finishing allowance and Program structure: Working with SL cycles
setup clearance) are entered as CONTOUR DATA in Cycle 20.
0 BEGIN PGM SL2 MM
Overview of SL cycles ...
12 CYCL DEF 14.0 contour geometry ...
Cycle Soft key
13 CYCL DEF 20.0 contour data ...
14 CONTOUR GEOMETRY (essential) ...
16 CYCL DEF 21.0 pilot drilling ...
20 CONTOUR DATA (essential) 17 CYCL CALL
...
21 PILOT DRILLING (optional) 18 CYCL DEF 22.0 rough-out ...
19 CYCL CALL
22 ROUGH-OUT (essential) ...
22 CYCL DEF 23.0 floor finishing ...
23 FLOOR FINISHING (optional) 23 CYCL CALL
...
24 SIDE FINISHING (optional) 26 CYCL DEF 24.0 side finishing ...
27 CYCL CALL
...
Enhanced cycles: 50 L Z+250 R0 FMAX M2
Cycle Soft key 51 LBL 1
...
25 CONTOUR TRAIN
55 LBL 0
56 LBL 2
27 CYLINDER SURFACE
...
60 LBL 0
28 CYLINDER SURFACE slot milling
...
99 END PGM SL2 MM
Example NC blocks:
55 CYCL DEF 14.0 CONTOUR GEOMETRY
56 CYCL DEF 14.1 CONTOUR LABEL 1 /2 /3 Y
Overlapping contours
Pockets and islands can be overlapped to form a new contour. You S1
can thus enlarge the area of a pocket by another pocket or reduce it
by an island. A B
Subprograms: Overlapping pockets
S2
The subsequent programming examples are contour
subprograms that are called by Cycle 14 CONTOUR
GEOMETRY in a main program. X
Area of inclusion
Both surfaces A and B are to be machined, including the mutually
overlapped area:
n The surfaces A and B must be pockets.
n The first pocket (in Cycle 14) must start outside the second
B
pocket.
Surface A:
A
51 LBL 1
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 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
n Surface A must be a pocket and B an island.
n A must start outside of B.
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 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
The algebraic sign for the depth parameter determines Q
the working direction.
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 Q19 cannot be used as k X
program parameters.
Example NC blocks:
57 CYCL DEF 20.0 CONTOUR DATA
Q1=-20 ;MILLING DEPTH
Q2=1 ;TOOL PATH OVERLAP
Q3=+0.2 ;ALLOWANCE FOR SIDE
Q4=+0.1 ;ALLOWANCE FOR FLOOR
Q5=+0 ;SURFACE COORDINATE
Q6=+2 ;SET-UP CLEARANCE
Q7=+50 ;CLEARANCE HEIGHT
Q8=0.5 ;ROUNDING RADIUS
Q9=+1 ;DIRECTION OF ROTATION
Process
Same as Cycle 1 Pecking (see ”8.2 Drilling Cycles”).
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. X
ú Plunging depth Q10 (incremental value):
Dimension by which the tool drills in each infeed
(negative sign for negative working direction)
ú Feed rate for plunging Q11: Traversing speed in mm/
min during drilling
ú Rough-out tool number Q13: Tool number of the
roughing mill
Example NC blocks:
58 CYCL DEF 21.0 PILOT DRILLING
Q10=+5 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLUNGING
Q13=1 ;ROUGH_OUT TOOL
Example NC blocks:
59 CYCL DEF 22.0 ROUGH-OUT
Q10=+5 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLUNGING
Q12=350 ;FEED RATE FOR MILLING
Q18=1 ;COARSE ROUGHING TOOL
Q19=150 ;RECIPROCATION FEED RATE
8.5 SL Cycles
between workpiece surface and contour floor
ú Finishing allowance for side Q3 (incremental value):
Finishing allowance in the working plane
ú Workpiece surface coordinate Q5 (absolute value):
Absolute coordinate of the workpiece surface
referenced to the workpiece datum
ú Clearance height Q7 (absolute value): Absolute height
at which the tool cannot collide with the workpiece.
Position for tool retraction at the end of the cycle.
ú Plunging depth Q10 (incremental value):
Dimension by which the tool plunges in each infeed
ú Feed rate for plunging Q11: Traversing speed of the
tool in the tool axis
ú Feed rate for milling Q12: Traversing speed of the tool
in the working plane
ú Climb or up-cut ? Up-cut = -1 Q15:
Climb milling: Input value = +1
Conventional up-cut milling Input value = –1
To enable climb milling and up-cut milling alternately
in several infeeds Input value = 0
Example NC blocks:
62 CYCL DEF 25.0 CONTOUR TRAIN
Q1=-20 ;MILLING DEPTH
Q3=+0 ;ALLOWANCE FOR SIDE
Q5=+0 ;SURFACE COORDINATE
Q7=+50 ;CLEARANCE HEIGHT
Q10=+5 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLUNGING
Q12=350 ;FEED RATE FOR MILLING
Q15=+1 ;CLIMB OR UP-CUT
1 The TNC positions the tool over the cutter infeed point, taking the
Z
allowance for side into account.
2 At the first plunging depth, the tool mills along the programmed
contour at the milling feed rate Q12.
3 At the end of the contour, the TNC returns the tool to the setup
clearance and returns to the point of penetration;
4 Steps 1 to 3 are repeated until the programmed milling depth Q1
is reached.
5 Then the tool moves to the setup clearance.
8.5 SL Cycles
between the cylindrical surface and the floor of the
contour
ú Finishing allowance for Q3 (incremental value):
Finishing allowance in the plane of the unrolled
cylindrical surface. This allowance is effective in the
direction of the radius compensation.
ú Set-up clearance Q6 (incremental value):
Distance between the tool tip and the cylinder surface
ú Plunging depth Q10 (incremental value):
Dimension by which the tool plunges in each infeed
ú Feed rate for plunging Q11: Traversing speed of the
tool in the tool axis
ú Feed rate for milling Q12: Traversing speed of the tool
in the working plane
ú Radius Q16: Radius of the cylinder on which the
contour is to be machined
ú Dimension type ? Q17: The dimensions for the rotary
axis of the subprogram are given either in degrees (0)
or in mm/inches (1)
Example NC blocks:
63 CYCL DEF 27.0 CYLINDER SURFACE
Q1=-8 ;MILLING DEPTH
Q3=+0 ;ALLOWANCE FOR SIDE
Q6=+0 ;SET-UP CLEARANCE
Q10=+3 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLUNGING
Q12=350 ;FEED RATE FOR MILLING
Q16=25 ;RADIUS
Q17=0 ;DIMENSION TYPE
1 The TNC positions the tool over the cutter infeed point.
2 At the first plunging depth, the tool mills along the programmed
slot wall at the milling feed rate Q12 while respecting the
finishing allowance for the side.
3 At the end of the contour, the TNC moves the tool to the opposite
wall and returns to the infeed point.
4 Steps 2 to 3 are repeated until the programmed milling depth Q1
is reached.
Z
8.5 SL Cycles
between the cylindrical surface and the floor of the
contour
ú Finishing allowance for Q3 (incremental value):
Finishing allowance in the plane of the unrolled
cylindrical surface. This allowance is effective in the
direction of the radius compensation.
ú Set-up clearance Q6 (incremental value):
Distance between the tool tip and the cylinder surface
ú Plunging depth Q10 (incremental value):
Dimension by which the tool plunges in each infeed
ú Feed rate for plunging Q11: Traversing speed of the
tool in the tool axis
ú Feed rate for milling Q12: Traversing speed of the tool
in the working plane
ú Radius Q16: Radius of the cylinder on which the
contour is to be machined
ú Dimension type ? Q17: The dimensions for the rotary
axis of the subprogram are given either in degrees (0)
or in mm/inches (1)
ú Slot width Q20: Width of the slot to be machined
Example NC blocks:
63 CYCL DEF 28.0 CYLINDER SURFACE
Q1=-8 ;MILLING DEPTH
Q3=+0 ;ALLOWANCE FOR SIDE
Q6=+0 ;SET-UP CLEARANCE
Q10=+3 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLUNGING
Q12=350 ;FEED RATE FOR MILLING
Q16=25 ;RADIUS
Q17=0 ;DIMENSION TYPE
Q20=12 ;SLOT WIDTH
10
Y 10
R20
55
R30 60°
30
X
30
Y
16 16
100
R2
5
16
50
5
R2
X
35 65 100
Y
100
95
R7
5
R7,
,5
80
75
20
15
X
5 50 100
,5
R7
60
20
C
30 50 157
Example NC blocks:
64 CYCL DEF 30.0 RUN DIGITIZED DATA
65 CYCL DEF 30.1 PGM DIGIT.: BSP.H
66 CYCL DEF 30.2 X+0 Y+0 Z-20
67 CYCL DEF 30.3 X+100 Y+100 Z+0
68 CYCL DEF 30.4 SET UP 2
69 CYCL DEF 30.5 PLNGNG +5 F100
70 CYCL DEF 30.6 F350 M8
Q219
Q209
ú Starting point in 1st axis Q225 (absolute value): Min.
point coordinate of the surface to be multipass-milled
in the main axis of the working plane
Q226
ú Starting point in 2nd axis Q226 (absolute value): Min.
point coordinate of the surface to be multipass-milled
in the secondary axis of the working plane Q218 X
Q225
ú Starting point in 3rd axis Q227 (absolute value): Height
in the spindle axis at which multipass-milling is carried
out.
ú First side length Q218 (incremental value): Length of
the surface to be multipass-milled in the main axis of
the working plane, referenced to the starting point in Q206
1st axis
Z
ú Second side length Q219 (incremental value): Length
of the surface to be multipass-milled in the secondary
axis of the working plane, referenced to the starting Q200
point in 2nd axis Q227
Cutting motion
You can freely choose the starting point and thus the milling
direction since the TNC always performs the individual cuts from
point to point and the process sequence is executed from Y
point / to point / . You can position point in any corner of
the surface to be machined.
If you are using an end mill for the machining operation, you can
optimize the surface finish in the following ways
n a shaping cut (tool axis coordinate of point greater than tool X
axis coordinate of point ) for slightly inclined surfaces.
n a drawing cut (tool axis coordinate of point less than tool axis
coordinate of point ) for steep surfaces
n When milling twisted surfaces, program the main cutting
direction (from point to point ) parallel to the direction of the
Z
steeper inclination. See figure at center right.
If you are using a spherical cutter for the machining operation, you
can optimize the surface finish in the following way
n When milling twisted surfaces, program the main cutting
direction (from point to point ) perpendicular to the direction
of the steeper inclination. See figure at lower right. Y
Y Y
100
X Z
100 35
7 DATUM SHIFT
For shifting contours directly within the program
or with datum tables
8 MIRROR IMAGE
For mirroring contours
10 ROTATION
For rotating contours in the working plane
11 SCALING FACTOR
For increasing or reducing the size of contours
26 AXIS-SPECIFIC SCALING
For increasing or reducing the size of contours
with axis-specific scaling factors
19 WORKING PLANE
For executing machining operations in a tilted
coordinate system on machines with swivel heads
and/or tilting tables
Example NC blocks:
73 CYCL DEF 7.0 DATUM SHIFT
74 CYCL DEF 7.1 X+10
75 CYCL DEF 7.2 Y+10
76 CYCL DEF 7.3 Z-5 Z
Y
Cancellation
A datum shift is canceled by entering the datum shift coordinates IY
X=0, Y=0 and Z=0.
X
Graphics IX
If you program a new BLK FORM after a datum shift, you can use
machine parameter 7310 to determine whether the BLK FORM is
referenced to the current datum or to the original datum.
Referencing a new BLK FORM to the current datum enables you to
display each part in a program in which several pallets are
machined.
Status Displays
n The actual position values are referenced to the active (shifted)
datum.
n All of the position values shown in the additional status display
are referenced to the manually set datum.
Application
Datum tables are used for
n frequently recurring machining sequences at various locations on Z
the workpiece Y
N2
n frequent use of the same datum shift
Within a program, you can either program datum points directly in N1
the cycle definition or call them from a datum table. Y2 X
ú Datum shift: Enter the number of the datum from the Y1
datum table or a Q parameter. If you enter a Q N0
parameter, the TNC activates the datum number found X2
X1
in the Q parameter.
Example NC blocks:
77 CYCL DEF 7.0 DATUM SHIFT
78 CYCL DEF 7.1 #12
Cancellation
n Call a datum shift to the coordinates X=0; Y=0 etc. from a datum
table.
n Execute a datum shift to the coordinates X=0; Y=0 etc. directly via
cycle definition.
Status Displays
If datums in the table are referenced to the machine datum, then:
n The actual position values are referenced to the active (shifted)
datum.
n All of the position values shown in the additional status display
are referenced to the machine datum, whereby the TNC accounts
for the manually set datum.
Delete line
Effect
The MIRROR IMAGE cycle becomes effective as soon as it is
defined in the program. It is also effective in the Positioning with
X
MDI mode of operation. The active mirrored axes are shown in the
additional status display.
n If you mirror only one axis, the machining direction of the tool is
reversed (except in fixed cycles).
n If you mirror two axes, the machining direction remains the same.
The result of the mirror image depends on the location of the
datum
n If the datum lies on the contour to be mirrored, the element
simply flips over — see figure at lower right.
n If the datum lies outside the contour to be mirrored, the element
also “jumps” to another location — see figure at lower right.
Cancellation
Program the MIRROR IMAGE cycle once again with NO ENT.
Example NC blocks:
81 CYCL DEF 10.0 ROTATION
82 CYCL DEF 10.1 ROT+12.357
Cancellation
Program the ROTATION cycle once again with a rotation angle of 0°.
Prerequisite
It is advisable to set the datum to an edge or a corner of the contour
before enlarging or reducing the contour.
Example NC blocks:
83 CYCL DEF 11.0 SCALING
84 CYCL DEF 11.1 SCL0.99537
Cancellation
Program the SCALING FACTOR cycle once again with a scaling
factor of 1.
You can also enter scaling factors for axis-specific scaling
(see Cycle 26).
Effect
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. Y
Cancellation 1
Program the AXIS-SPECIFIC SCALING cycle once again with a
scaling factor of 1 for the same axis. X
Example
Axis-specific scaling factors in the working plane
Preset: Quadrangle (see figure at lower right)
Corner 1: X = 20.0 mm Y = 2.5 mm
Corner 2: X = 32.5 mm Y = 15.0 mm
Corner 3: X = 20.0 mm Y = 27.5 mm
Corner 4: X = 7.5 mm Y = 15.0 mm
n Enlarge X axis by factor 1.4
n Reduce Y axis by factor 0.6
n Center at CCX = 15 mm CCY = 20 mm
Resulting NC blocks
CYCL DEF 26.0 axis-spec. scaling
CYCL DEF 26.1 X1.4 Y0.6 CCX+15 CCY+20
Effect
In Cycle 19 you define the position of the working plane - i.e. the
position of the tool axis referenced to the machine coordinate
system - by entering tilt angles. There are two ways to determine
the position of the working plane:
n Enter the slope of the tilted axes directly (see figure at upper
right)
n Describe the position of the working plane using up to 3 rotations
(spatial angle) of the machine-referenced coordinate system. The
required spatial angle can be calculated by cutting a perpendicular
line through the tilted working plane and considering it from the
axis around which you wish to tilt (see figures at center right and
at bottom right). With two spatial angles, every tool position in
space can be defined exactly.
If you program the position of the working plane via spatial angles,
the TNC will calculate the required angle positions of the tilted axes
automatically and will store these in the parameters Q120 (A-axis) to
Q122 (C-axis). If two solutions are possible, the TNC will choose the
shorter path from the zero position of the rotary axes.
The axes are always rotated in the same sequence for calculating
the tilt of the plane: The TNC first rotates the A axis, then the B axis,
and finally the C axis.
Cycle 19 becomes effective as soon as it is defined in the program.
As soon as you move an axis in the tilted system, the
compensation for this specific axis is activated. You have to move all
axes to activate compensation for all axes.
Cancellation
To cancel the tilt angle, redefine the WORKING PLANE cycle and
enter an angular value of 0° for all axes of rotation. You must then
program the WORKING PLANE cycle once again by answering the
dialog question with the NO ENT key to disable the function.
Example NC blocks
L Z+100 R0 FMAX
L X+25 Y+10 R0 FMAX
L B+15 R0 F1000 Positioning an axis of rotation
CYCL DEF 19.0 WORKING PLANE Define the angle for calculation of the compensation
CYCL DEF 19.1 B+15
L Z+80 R0 FMAX Activate compensation for the tool axis
L X-7.5 Y-10 R0 FMAX Activate compensation for the working plane
Workspace monitoring
The TNC monitors only those axes in the tilted coordinate system
that are moved. If any of the software limit switches is traversed the
TNC will display an error message.
Program sequence
n Program the coordinate transformations in the
R5
main program
10
Y R5
n Program the machining operation in subprogram 1
10
(see section 9 “Programming: Subprograms and 130 X
Program Section Repeats”) 20 10
45°
30
65
X
65 130
21 LBL 1 Subprogram 1:
22 L X+0 Y+0 R0 F MAX Define milling operation
23 L Z+2 R0 F MAX M3
24 L Z-5 R0 F200
25 L X+30 RL
26 L IY+10
27 RND R5
28 L IX+20
29 L IX+10 IY-10
30 RND R5
31 L IX-10 IY-10
32 L IX-20
33 L IY+10
34 L X+0 Y+0 R0 F500
35 L Z+20 R0 F MAX
36 LBL 0
37 END PGM KOUMR MM
Function
Cycle 9 becomes effective as soon as it is defined in the program.
Modal conditions such as spindle rotation are not affected.
ú Dwell time in seconds: Enter the dwell time in
seconds
Input range 0 to 3600 s (1 hour) in 0.001 s steps
Resulting NC blocks
89 CYCL DEF 9.0 DWELL TIME
90 CYCL DEF 9.1 DWELL 1.5
The control can control the machine tool spindle and rotate it to a X
given angular position.
Oriented spindle stops are required for
n Tool changing systems with a defined tool change position
n Orientation of the transmitter/receiver window of HEIDENHAIN 3-
D touch probes with infrared transmission
Effect
The angle of orientation defined in the cycle is positioned to by
entering M19 or M20 (depending on the machine).
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 in a machine parameter (see your machine manual).
ú Angle of orientation: Enter the angle according to the
reference axis of the working plane.
Input range 0 to 360°
Input resolution 0.1°
Example NC blocks
93 CYCL DEF 13.0 ORIENTATION
94 CYCL DEF 13.1 ANGLE 180
T
The TNC automatically smoothens the contour between two path
elements (whether compensated or not). The tool has constant
contact with the workpiece surface. If necessary, the TNC
automatically reduces the programmed feed rate so that the
program can be machined at the fastest possible speed without
+jerk+. As a result the surface quality is improved and the machine
is protected.
A contour deviation results from the smoothing out. The size of this X
deviation (tolerance value) is set in a machine parameter by the
machine manufacturer. You can change the pre-set tolerance value
with Cycle 32 (see figure at top right).
Example NC blocks
95 CYCL DEF 32.0 TOLERANCE
96 CYCL DEF 32.1 T0.05
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels.
A label is identified by a number between 1 and 254. Each label can
be set only once with LABEL SET in a program.
Calling a subprogram
ú To call a subprogram, press the LBL CALL key.
ú Label number: Enter the label number of the
subprogram you wish to call.
ú Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program section
repeats.
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections
or subprograms.
n Maximum nesting depth for subprograms: 8
n Maximum nesting depth for calling main programs: 4
n You can nest program section repeats as often as desired
Program execution
1st step: Main program UPGMS is executed up to block 17.
2nd step: Subprogram 1 is called, and executed up to block 39.
3rd step: Subprogram 2 is called, and executed up to block 62.
End of subprogram 2 and return jump to the
subprogram from which it was called.
4th step: Subprogram 1 is called, and executed from block 40
up to block 45. End of subprogram 1 and return jump
to the main program UPGMS.
5th step: Main program UPGMS is executed from block 18 up to
block 35. Return jump to block 1 and end of program.
Program execution
1st step: Main program REPS is executed up to block 27.
2nd step: Program section between block 27 and block 20 is
repeated twice.
3rd step: Main program REPS is executed from block 28 to block
35.
4th step: Program section between block 35 and block 15 is
repeated once (including the program section repeat
between 20 and block 27).
5th step: Main program REPS is executed from block 36 to block
50 (end of program).
Program execution
1st step: Main program UPGREP is executed up to block 11.
2nd step: Subprogram 2 is called and executed.
3rd step: Program section between block 12 and block 10 is
repeated twice. This means that subprogram 2 is
repeated twice.
4th step: Main program UPGREP is executed from block 13 to
block 19. End of program.
Program sequence
n Pre-position the tool to the workpiece surface
n Enter the infeed depth in incremental values Y
n Mill the contour
100
n Repeat downfeed and contour-milling
R1
5
75
R18
30
R15
20
X
20 50 75 100
Program sequence
n Approach the groups of holes in the main
program
Y
n Call the group of holes (subprogram 1)
100
n Program the group of holes only once in
subprogram 1
60
5
20
20
10
X
15 45 75 100
Program sequence
n Program the fixed cycles in the main program
Y Y
n Call the entire hole pattern (subprogram 1)
n Approach the group of holes in subprogram 1, 100
call group of holes (subprogram 2)
n Program the group of holes only once in
subprogram 2
60
5
20
20
10
X Z
15 45 75 100 -15
-20
Q Parameters
10.1 Principle and Overview
Meaning Range
Programming notes
You can mix Q parameters and fixed numerical values within a
program.
Q parameters can be assigned numerical values between
–99 999.9999 and +99 999.9999. Internally, the TNC can calculate
up to a width of 57 bits before and 7 bits after the decimal point (32-
bit data width corresponds to a decimal value of 4 294 967 296).
Trigonometric functions
Other functions
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
Cylinder Z1 Q1 = +30
Q2 = +10
Cylinder Z2 Q1 = +10
Q2 = +50
FN0: ASSIGN
Example: FN0: Q5 = +60
Assigns a numerical value.
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 product of two value
Not permitted: Division by 0
<
To select the mathematical functions: Press the
BASIC ARITHMETIC soft key.
<
To select the Q parameter function ASSIGN,
press the FN0 X = Y soft key.
<
To select the mathematical functions: Press the
BASIC ARITHMETIC soft key.
<
To select the Q parameter function
MULTIPLICATION, press the FN3 X ∗ Y soft key.
The coordinate pairs for three points of the circle must be stored in
Parameter Q30 and in the following five parameters - here 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 - here 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.
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
Abbreviations used:
IF If
EQU Equals
NE Not equal
GT Greater than
LT Less than
GOTO Go to
FN14:ERROR
Display error messages
FN15:PRINT
Unformatted output of texts or Q parameter values
FN16:F-PRINT
Formatted output of texts or Q parameter values
FN18:SYS-DATUM READ
Read system data
FN19:PLC
Transfer values to the PLC
FN20:WAIT FOR
NC and PLC synchronization
FN26:TABOPEN
Open a freely definable table
FN27:TABWRITE
Write to a freely definable table
FN28:TABREAD
Read from a freely definable table
FN16: F-PRINT
Formatted output of text and Q parameter values
Setting the data interface: In the menu option PRINT or
PRINT-TEST, you must enter the path for storing the text
file. See „12 MOD Functions, Setting the Data Interface“.
When you create a text file, use the following formatting functions:
Special character Function
Active datum shift, 220 2 1 to 9 Index 1=X axis 2=Y axis 3=Z axis
Index 4=A axis 5=B axis 6=C axis
Index 7=U axis 8=V axis 9=W axis
Nominal position in the REF 1 1 to 9 Index 1=X axis 2=Y axis 3=Z axis
system, 240 Index 4=A axis 5=B axis 6=C axis
Index 7=U axis 8=V axis 9=W axis
Nominal positions in the 1 1 to 9 Index 1=X axis 2=Y axis 3=Z axis
input system, 270 Index 4=A axis 5=B axis 6=C axis
Index 7=U axis 8=V axis 9=W axis
Machine parameter
exists, 1010 MP number MP index Acknowledgement value = 0: MP does not exist
Acknowledgement value = 1: MP exists
Example: Assign the value of the active scaling factor for the Z axis
to Q25.
55 FN18: SYSREAD Q25 = ID210 NR4 IDX3
FN19: PLC
Transferring values to the PLC
The function FN19: PLC transfers up to two numerical values or Q
parameters to the PLC. Increments and units: 0.1 µm or 0.0001°
Example: Transfer the numerical value 10 (which means 1 µm or 0.001°) to
the PLC
56 FN 19: PLC=+10/+Q3
With function FN20: 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 FN20 block is
fulfilled. With FN10 the TNC can check the following operands:
PLC Operand Abbreviation Address range
Marker M 0 to 4999
Input I 0 to 31, 128 to 152
64 to 126 (first PL 401 B)
192 to 254 (second PL 401 B)
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
Doubleword D 2048 to 4095
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN20: WAIT FOR M4095==1
FN26: TABOPEN
Opening a freely definable table
With FN 26: TABOPEN you can define a table to be written with
FN27, or to be read from with FN28.
FN27: TABWRITE
Writing to a freely definable table
After you have opened a table with FN 26 TABOPEN, you can use
function FN 27: TABWRITE to write to it.
You can define and write in up to 8 column names in a TABWRITE
block. The column names must be written between quotation
marks and separated by a comma. You define the values that the
TNC is to write to the respective column with Q parameters.
Example: You wish to write to the columns ”Radius,” ”Depth” and ”D”
in line 5 of the presently opened table. The value to be written in
the table must be saved in the Q parameters Q5, Q6 and Q7.
53 FN 0: Q5 = 3.75
54 FN 0: Q6 = -5
55 FN 0: Q7 = 7.5
56 FN 27: TABWRITE 5 / “Radius,Depth,D“ = Q5
FN28: TABREAD
Reading from a freely definable table
After you have opened a table with FN 26 TABOPEN, you can use
function FN 28: TABREAD to read from it.
You can define, i.e. read in, up to 8 column names in a TABREAD
block. The column names must be written between quotation
marks and separated by a comma. In the FN 28 block you can
define the Q parameter number in which the TNC is to write the
value that is first read.
Example: You wish to read the values of the columns ”Radius,” ”Depth”
and ”D” from line 6 of the presently opened table. Save the first
value in Q parameter Q10 (second value in Q11, third value in Q12).
56 FN 28: TABREAD Q10 = 6 / “Radius,Depth,D“
Entering formulas
Press the FORMULA soft key to call the formula functions. The TNC
displays the following soft keys in several soft-key rows:
Addition
Example: Q10 = Q1 + Q5
Subtraction
Example: Q25 = Q7 – Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Open parentheses
Example: Q12 = Q1 * (Q2 + Q3)
Close parentheses
Example: Q12 = Q1 * (Q2 + Q3)
Square
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 cosine 12 Q1 = 5 * 3 + 2 * 10 = 35
Inverse of the cosine. Determine the angle
1st step: 5 * 3 = 15
from the ratio of the adjacent side to the hypotenuse. 2nd step: 2 * 10 = 20
Example: Q11 = ACOS Q40 3rd step: 15 + 20 = 35
13 Q2 = SQ 10 – 3^3 = 73
Arc tangent
Inverse of the tangent. Determine the angle 1st step: 102 = 100
from the ratio of the opposite to the adjacent side. 2nd step: 33 = 27
Example: Q12 = ATAN Q50 3rd step: 100 – 27 = 73
n Distributive law
for calculating with parentheses
Powers
Example: Q15 = 3^3 a * (b + c) = a * b + a * c
Absolute value
Example: Q4 = ABS Q22
Select division.
Example NC block
37 Q25 = ATAN (Q12/Q13)
Program sequence
n The contour of the ellipse is approximated by
many short lines (defined in Q7). The more
calculating steps you define for the lines, the
Y
smoother the curve becomes.
n 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
n 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
n Program functions only with a spherical cutter. Z
The tool length refers to the sphere center.
R4
0 X
n 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
n The cylinder is milled in longitudinal cuts (here: Y Y
parallel to the Y axis). 100
Program sequence
n This program requires an end mill.
n The contour of the sphere is approximated by Y
many short lines (in the Z/X plane, defined via Y
Q14). The smaller you define the angle increment, 100
the smoother the curve becomes.
n You can determine the number of contour cuts
through the angle increment in the plane (defined
5
5
R4
in Q18). R4
X Z
50 100 -50
With machine parameters 7315 to 7317 you can have the TNC
display a graphic even if no tool axis is defined or moved.
Plan view
Projection in 3 planes
3-D view
11.1 Graphics
A graphical representation of a running program is not possible if
the microprocessor of the TNC is already occupied with
complicated machining tasks or if large areas are being machined.
Example: Multipass milling over the entire blank form with a large
tool. The TNC interrupts the graphics and displays the text ERROR
in the graphics window. The machining process is continued,
however.
Plan view
ú Press the soft key for plan view.
Projection in 3 planes
Similar to a workpiece drawing, the part is displayed with a plan
view and two sectional planes. A symbol to the lower left indicates
whether the display is in first angle or third angle projection
according to ISO 6433 (selected with MP7310).
Details can be isolated in this display mode for magnification (see
“Magnifying details”).
In addition, you can shift the sectional planes with the
corresponding soft keys:
ú Press the soft key for projection in three planes.
ú Shift the soft-key row until the TNC displays the
following soft keys:
Switch the frame overlay display for the workpiece blank on/off:
ú Show the frame overlay with SHOW BLK-FORM
Magnifying details
You can magnify details in the Test Run mode of operation in the
following display modes, provided that the graphic simulation is
stopped:
n Projection in three planes
n 3-D view
The graphic simulation must first have been stopped. A detail
magnification is always effective in all display modes.
11.1 Graphics
following soft keys appear:
Function Soft keys
The WINDOW BLK FORM soft key will return the blank
form to its original shape or size, even if a detail has
been isolated and not yet magnified with TRANSFER
DETAIL.
Test run
The timer displays the approximate time which the TNC calculates
from the duration of tool movements. The time calculated by the
TNC cannot be used for calculating the production time because
the TNC does not account for the duration of machine-dependent
interruptions, such as tool change.
11.2 Functions for Program Display in Program Run/Test Run; 11.3 Test Run
Program Run and Test Run
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:
If the central tool file is active, a tool table must be active (status S)
to run a program test. Select a tool table via the file manager (PGM
MGT) in the Test Run mode of operation.
With the MOD function BLANK IN WORD SPACE, you can activate
work space monitoring for the test run (see Chapter 12 “MOD
Functions, Showing the Workpiece in the Working Space”).
ú Select the Test Run mode of operation.
ú Call the file manager with the PGM MGT key and
select the file you wish to test, or
ú Go to the program beginning: Select line “0” with the
GOTO key and confirm you entry with the ENT key.
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 active even after the machine is
switched off and on again. To restore the original rapid
traverse velocity you must reenter the corresponding
numerical value.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the
following entries:
n STOP (with and without a miscellaneous function)
n Miscellaneous function M0, M2 or M30
n Miscellaneous function M6 (determined by the machine tool
builder)
Danger of collision!
If you interrupt program run while the working plane is
tilted, you can change from a tilted to a non-tilted
coordinate system, and vice versa, by pressing the 3-D
ON/OFF soft key.
The functions of the axis direction buttons, the electronic
handwheel and the positioning logic for return to
contour are then evaluated by the TNC. When retracting
the tool make sure the correct coordinate system is
active and the angular values of the tilt axes are entered
in the 3-D ROT menu.
Example:
Retracting the spindle after tool breakage
ú Interrupting machining
ú Enable the external direction keys: Press the MANUAL OPERATI-
ON soft key.
ú Move the axes with the machine axis direction buttons.
The stored data are used for returning the tool to the contour after
manual machine axis positioning during an interruption (RESTORE
POSITION).
With the RESTORE POS AT N feature (block scan) you can start a
part program at any block you desire. The TNC scans the program
blocks up to that point. Machining can be graphically simulated.
If you have interrupted a part program with an INTERNAL STOP, the
TNC automatically offers the interrupted block N for mid-program
startup.
Mid-program startup must not begin in a subprogram.
All necessary programs, tables and pallet files must be
selected in a program run mode of operation (status M).
If the program contains a programmed interruption
before the startup block, the block scan is interrupted.
Press the machine START button to continue the block
scan.
After a block scan, return the tool to the calculated
position with RESTORE POSITION.
If you are working with nested programs, you can use
machine parameter 7680 to define whether the block
scan is to begin at block 0 of the main program or at
block 0 of the last interrupted program.
If the working plane is tilted, you can use the 3-D ON/
OFF soft key to define whether the TNC is to return to
the contour in a tilted or in a non-tilted coordinate
system.
File names
Data Operating mode File name
Digitizing data Program Run Defined in the RANGE
cycle
Values with FN15 Program Run %FN15RUN.A
Values with FN15 Test run %FN15SIM.A
Values with FN16 Program Run %FN16RUN.A
Values with FN16 Test run %FN16SIM.A
Installation underWindows
ú Start the SETUP.EXE installation program in the file manager
(explorer)
ú Follow the instructions of the setup program
EndTNCremo
Select the menu items <File>, <Exit>, or press the key
combination ALT+X
Setting Meaning
DCM Here you enter the rights of access to files
on the NFS server (see figure at upper right). 111101000
Enter a binary coded value. All other users: Search
Example: 111101000 All other users: Write
All other users: Read
0: Access not permitted
1: Access permitted Work group Search
DCM Here you enter the rights of access to files Work group: Write
on the NFS server (see figure at upper right). Work group: Read
Enter the value in binary coded form. User: Search
Example: 111101000 User: Write
0: Access not permitted User: Read
1: Access permitted
AM Definition of whether the TNC upon switch-on
should automatically connect with the
network.
0: Do not connect automatically
1: Connect automatically
Another cuboid ( ) represents the blank form. The TNC takes its Function Soft key
dimensions ( ) from the workpiece blank definition in the selected
program. The workpiece cuboid defines the coordinate system for Move workpiece blank to the left
input. Its datum lies within the cuboid. You can see in the cuboid (graphically)
the position of the datum for input by pressing the corresponding
soft key in the 2nd soft-key row.
Move workpiece blank to the right
For a test run it normally does not matter where the workpiece
(graphically)
blank is located within the working space. However, if you test
programs that contain movements with M91 or M92, you must
graphically shift the workpiece blank to prevent contour damage. Move workpiece blank forward
Use the soft keys shown in the table at right. (graphically)
You can also activate the working-space monitor for the Test Run
mode in order to test the program with the current datum and the Move workpiece blank backward
active traverse ranges (see table at right, bottommost soft key).
(graphically)
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.
n To select the metric system (e.g. X = 15.789 mm) set the Change
mm/inches function to mm. The value is displayed with 3 digits
after the decimal point.
n To select the inch system (e.g. X = 0.6216 inch) set the Change
mm/inches function to inches. The value is displayed to 4 decimal
places.
Datum display
The values shown at the lower left of the screen are the manually
set datums referenced to the machine datum. They cannot be
changed in the menu.
Example:
Instead of the decimal number 27 you can also enter the binary
number %11011 or the hexadecimal number $1B.
The individual machine parameters can be entered in the different
number systems.
Some machine parameters have more than one function. The input
value for these machine parameters is the sum of the individual
values. For these machine parameters the individual values are
preceded by a plus sign.
Integrating TNC interfaces EXT1 (5030.0) and EXT2 (5030.1) to external device
MP5030.x
Standard transmission: 0
Interface for blockwise transfer: 1
Measure center misalignment of the stylus when calibrating a triggering touch probe
MP6160
No 180° rotation of the 3-D touch probe during calibration: 0
M function for 180° rotation of the 3-D touch probe during calibration:
1 to 88
Automatic calibration cycle: Center of the calibration ring in the X-axis referenced to the machine datum
MP6180.0 (traverse range 1) to MP6180.2 (traverse range 3)
0 to 99 999.9999 [mm]
Automatic calibration cycle: Center of the calibration ring in the Y-axis referenced to the machine datum for
MP6181 (traverse range 1) to MP6180.2 (traverse range 3)
0 to 99 999.9999 [mm]
Automatic calibration cycle: Center of the calibration ring in the Z-axis referenced to the machine datum for
MP6182 (traverse range 1) to MP6180.2 (traverse range 3)
0 to 99 999.9999 [mm]
Infeed of the stylus when digitizing with the measuring touch probe
MP6310
0.1 to 2.0000 [mm] (recommended input value: 1 mm)
Measure center misalignment of the stylus when calibrating a measuring touch probe
MP6321
Measure center misalignment: 0
Do not measure center misalignment: 1
Assign touch probe axis to machine axis for a measuring touch probe
MP6322.0
Ensure that the touch probe axes are
Machine X axis parallel to touch probe axis X: 0, Y: 1, Z: 2
correctly assigned to the machine axes.
Wrong assignment could lead to a MP6322.1
stylus break. Machine Y axis parallel to touch probe axis X: 0, Y: 1, Z: 2
MP6322.2
Machine Z axis parallel to touch probe axis X: 0, Y: 1, Z: 2
Feed rate for positioning measuring touch probes at MIN point and approaching the contour
MP6350
1 to 3000 [mm/min]
Target window for digitizing contour lines with a measuring touch probe
When you are digitizing contour lines the
individual contour lines do not end exactly in their
starting points.
With machine parameter MP6390 you can define
a square target window within which the end
point must lie after the touch probe has orbited
the model. Enter half the side length of the target
window for the side length.
MP6390
0.1 to 4.0000 [mm]
Probing feed rate for second measurement withTT 120, stylus shape, corrections in TOOL.T
MP6507
Calculate feed rate for second measurement with TT 120,
with constant tolerance: +0
Calculate feed rate for second measurement with TT 120,
with variable tolerance: +1
Constant feed rate for second measurement with TT 120: +2
Maximum permissible measuring error with TT 120 during measurement with rotating tool
Required for calculating the probing feed rate in
connection with MP6570
MP6510
0.001 to 0.999 [mm] (recommended input value: 0.005 mm)
Radius measurement with the TT 120: Distance from lower edge of tool to upper edge of stylus
MP6530.0 (traverse range 1) to MP6530.2 (traverse range 3)
Clearance zone in the machining plane around the stylus of theTT 120 for pre-positioning
MP6540.1
0.001 to 30 000.000 [mm]
Measuring rotating tools: Permissible rotational speed at the circumference of the milling tool
Required for calculating rpm and probe feed rate
MP6570
1.000 to 120.000 [m/min]
Dialog language
MP7230
English: 0 Swedish:7
German: 1 Danish:8
Czech: 2 Finnish:9
French: 3 Dutch:10
Italian: 4 Polish: 11
Spanish: 5 Hungarian: 12
Portuguese: 6
Index tool numbers in order to be able to assign different compensation data to one tool number
MP7262
Do not index: 0
Number of permissible indices: 1 to 9
Configure tool table (To omit from the table: enter 0);
Column number in the tool table for
MP7266.10 Maximum tool life for TOOL CALL – TIME2: 0 to 27; column width: 5 characters
MP7266.11 Current tool life — CUR. TIME: 0 to 27; column width: 8 characters
MP7266.14 Tolerance for wear detection in tool length – LTOL: 0 to 27; column width: 6 characters
MP7266.15 Tolerance for wear detection in tool radius – RTOL: 0 to 27; column width: 6 characters
MP7266.18 Offset of the tool in the tool axis in addition to MP6530 – TT:L-OFFS: 0 to 27;
column width: 11 characters
MP7266.19 Offset of the tool between stylus center and tool center – TT:R-OFFS: 0 to 27;
column width: 11 characters
MP7266.20 Tolerance for break detection in tool length – LBREAK.: 0 to 27; column width: 6 characters
MP7266.21 Tolerance for break detection in tool radius – RBREAK: 0 to 27; column width: 6 characters
MP7266.22 Tooth length (Cycle 22) – LCUTS: 0 to 27; column width: 11 characters
MP7266.23 maximum plunge angle (Cycle 22) – ANGLE.: 0 to 27; column width: 7 characters
Decimal character
MP7280
The decimal character is a comma: 0
The decimal character is a point: 1
Screen saver
Enter the time after which the TNC should start
the screen saver
MP7392
0 to 99 [min] (0: Function inactive)
SL Cycles
MP7420
Mill channel around the contour — clockwise for islands and
counterclockwise for pockets: +0
Mill channel around the contour — clockwise for pockets and
counterclockwise for islands: +1
First mill the channel, then rough out the contour: +0
First rough out the contour, then mill the channel: +2
Combine compensated contours: +0
Combine uncompensated contours: +4
Complete one process for all infeeds before switching to the other
process: +0
Mill channel and rough-out for each infeed depth before continuing to
the next depth: +8
The following note applies to the Cycles 6, 15, 16, 21, 22, 23, and 24:
At the end of the cycle, move the tool to the position that was last
programmed before the cycle call: +0
At the end of the cycle, retract the tool in the tool axis only: +16
Cycle 4 POCKET MILLING and Cycle 5 CIRCULAR POCKET MILLING: Overlap factor
MP7430
0.1 to 1.414
Permissible deviation of circle radius between circle end point and circle starting point
MP7431
0.0001 to 0.016 [mm]
Behavior of M functions
MP7440
Program stop with M06: +0
No program stop with M06: +1
No cycle call with M89: +0
Cycle call with M89: +2
Program stop with M functions: +0
The kV factors for position loop gain are No program stop with M functions: +4
set by the machine tool builder. Refer kv factors cannot be switched through M105 and M106: +0
to your machine manual. kv factors can be switched through M105 and M106: +8
Reduce the feed rate in the tool axis with M103 F.. ,
function inactive: +0
Reduce the feed rate in the tool axis with M103 F.. ,
function active: +16 Positioning with rotary axes active: +32
Electronic handwheels
Handwheel type
MP7640
Machine without handwheel: 0
HR 330 with additional keys — the handwheel keys for traverse
direction and rapid traverse are evaluated by the NC: 1
HR 130 without additional keys: 2
HR 330 with additional keys — the handwheel keys for traverse
direction and rapid traverse are evaluated by the PLC: 3
HR 332 with twelve additional keys: 4
Multi-axis handwheel with additional keys: 5
HR 410 with auxiliary functions: 6
Interpolation factor
MP7641
Interpolation factor is entered on the keyboard: 0
Interpolation factor is set by the PLC: 1
Machine parameters that can be set for the handwheel by the machine tool builder
MP 7645.0 0 to 255
MP 7645.1 0 to 255
MP 7645.2 0 to 255
MP 7645.3 0 to 255
MP 7645.4 0 to 255
MP 7645.5 0 to 255
MP 7645.6 0 to 255
MP 7645.7 0 to 255
HEIDENHAIN devices
13.2 Pin Layout and Connecting Cable for the Data Interfaces
Only non-HEIDENHAIN devices are connected to the RS-422
interface.
The pin layouts on the TNC logic unit (X22) and on the
adapter block are identical.
BK BK
1 1 1 sw sw 1 1 GND Chassis
bl BL
2 2 2 2 2 RXD
gr GY
3 3 3 3 3 CTS
ws WH
4 4 4 4 4 TXD
gn GN
5 5 5 5 5 RTS
ws/gn WH/GN
6 6 6 6 6 DSR
gr/rs GY/PK
7 7 7 7 7 DTR
sw BK
8 8 8 8 8 GND Signal
rt RD
9 9 9 9 9 RXD
rs PK
10 10 10 10 10 CTS
br BN
11 11 11 11 11 TXD
ge YL
12 12 12 12 12 RTS
br/gn BN/GN
13 13 13 13 13 DSR
rt/bl RD/BL
14 14 14 14 14 DTR
15 15 15 15 15
Background programming One part program can be edited while the TNC runs another program
Programmable functions
Contour elements n Straight line
n Chamfer
n Circular arc
n Circle center
n Circle radius
n Tangentially connecting circle
n Corner rounding
n Straight lines and circular arcs for contour approach and departure
n B spline
FK free contour programming For all contour elements not dimensioned for conventional NC
programming
Three-dimensional tool radius compensation For changing tool data without having to recalculate the program
Fixed cycles n Drilling cycles for drilling, pecking, reaming, boring, tapping with a
floating tap holder, rigid tapping
n Milling and finishing rectangular and circular pockets
n Cycles for milling linear and circular slots
n Linear and circular hole patterns
n Cycles for multipass-milling of flat and twisted surfaces
n Milling pockets and islands from a list of subcontour elements
n Cylindrical surface interpolation
3-D touch probe applications n Touch probe functions for compensating workpiece misalignment
n Touch probe functions for setting datums
n Touch probe functions for automatic workpiece measurement
n Digitizing 3-D surfaces with the measuring touch probe (optional)
n Digitizing 3-D surfaces with the triggering touch probe (optional)
n Automatic tool measurement with the TT 120
TNC Specifications
Block processing time 4 milliseconds per block
Control loop cycle time n TNC 426 CB, TNC 430 CA: Contouring interpolation: 3 ms
Fine interpolation: 0.6 ms (contour)
n TNC 426 PB, TNC 430 PB: Contouring interpolation: 3 ms
Fine interpolation: 0.6 ms (speed)
3-D view ... 308 Roughing ... 191 Data transfer software ... 324
F F M
Feed rate ... 19 Floor finishing ... 217 M functions. See Miscellaneous
Changing ... 20 FN xx. See Q Parameter functions
Feed rate factor ... 151 Full circle ... 115 For 3-D touch probes ... 342
Feed rate factor for Fundamentals 30 For external data transfer ... 341
plunging: M103 ... 151 For TNC displays
Feed rate in micrometer/spindle G and TNC editor 345
revolution ... 151 Graphical simulation ... 310 Machine-referenced
File management coordinates: M91/M92 145
Graphics
Calling ... 36, 44 Main axes ... 31
Detail magnification ... 61
Configuration via MOD ... 333 Mid-program startup ... 317
During programming ... 60
Copying files ... 37, 47 Mirroring ... 244
Detail enlargement ... 308
Copying table ... 47 Miscellaneous functions ... 144
Views ... 306
Deleting files ... 37, 48 Entering ... 144
Creating ... 46 superimposing ... 153 For laser cutting machines ... 160
Extended ... 42 Hard disk ... 35 For program run checking ... 145
Overview ... 43 Helical finish milling ... 175 For rotary axes ... 154
File name ... 35 Helix ... 124 For the spindle ... 145
II Index
Index
O P Q
Open contour corners: M98 ... 150 Plan view ... 307 Q parameter programming ... 272
Operating times ... 338 PLC and NC Additional functions ... 281
Option number ... 321 synchronizing ... 290, 291 Angle functions ... 277
Pocket calculator ... 66 Basic mathematical
P Polar coordinates functions ... 275
Pallet table Fundamentals ... 32 Circle calculation ... 278
Confirming coordinates ... 68 Setting the pole ... 32 Circle calculation ... 278
Executing ... 69 Positioning If/then decisions ... 279
Parameter programming. See Q In tilted working plane ... 147 Programming notes ... 272
parameter programming With manual data input ... 26 Q parameters ... 283
Parentheses ... 293 Probing cycles. See User’s Checking ... 280
Part families ... 274 Manual ”Touch Probe Cycles” Formatted output ... 284
Path ... 42 Program Non-formatted output ... 283
Path contours Editing ... 58 Pre-assigned ... 296
Cartesian coordinates ... 112 Opening ... 56 Transferring values to PLC ... 290,
Circular arc with tangential Ordering ... 61 291, 292
transition ... 117 Structure ... 55
Circular path around circle Program call
center ... 115
Calling any program as
Circular path with subprogram 262
defined radius 116
Via cycle ... 255
Overview 112
Program management. See File
Straight line 113 Management.
Path contours ... 112 Program name See
Polar coordinates ... 122 File management: File name
Circular arc with tangential Program Run
connection ... 124 Block skipping ... 318
Circular path around pole CC Executing ... 313
123
Interruption ... 314
Overview ... 122
Mid-program
Straight line ... 123 startup 317
Path functions ... 103 Overview ... 313
Fundamentals ... 103 Resuming after
Circles and an interruption ... 316
circular arcs ... 104 Program section repeats ... 261
Pre-positioning ... 105 Calling ... 262
Path movements ... 112 Principle ... 261
Free contour programming FK Programming ... 262
See FK programming
Programming notes ... 261
Pecking ... 165, 173
Programming graphics ... 60
Pin layout for
data interfaces ... 355 Projection in 3 planes ... 307
R S S
Radius compensation ... 85 Scaling factor ... 246 Subprogram ... 260
Entering ... 86 Scaling factor, axis-specific ... 247 Calling ... 261
Inside corners ... 87 Screen layout 4 Operating principle ... 260
Machining corners ... 87 Setting the BAUD RATE ... 322 Programming ... 261
Outside corners ... 87 Shorter-path traverse of Programming notes ... 260
rotary axes: M126 ... 154 Switch off ... 16
Rapid traverse ... 72
Side finishing ... 217 Switching between large and small
Read system data ... 286
SL cycles characters ... 63
Reaming ... 167
Contour data ... 213
Rectangular pocket
Cycle contour ... 211
Finishing ... 188
Floor finishing ... 217
Roughing ... 187
Overview ... 209
Rectangular stud finishing ... 190
Pilot drilling ... 215
Reference system ... 31
Roughing ... 216
Reference-point traverse ... 16
Side finishing ... 217
Returning to the contour ... 318
Superimposed contours ... 211
Rotary axis ... 154
Slot milling ... 196
Reducing the display ... 155
Reciprocating ... 197
Shorter-path traverse ... 154
Slot milling ... 197
Rotation ... 245
Software number ... 321
Rough-out See SL Cycles
Sphere ... 302
Round slot milling ... 199
Spindle orientation ... 256
Ruled surface ... 236
Spindle speed ... 19
Changing ... 20
Entering ... 20, 72
Spline interpolation ... 140
Block format ... 140
Input ranges ... 141
Status display ... 7
Additional ... 8
General ... 7
Straight line ... 113, 123
Structuring of programs ... 61
IV Index
Index
T T U
Tapping Tool compensation Unit of measurement, selecting ... 56
Rigit tapping ... 180, 181 Length ... 84 Universal drilling ... 169
With floating tap holder ... 177, 178 Radius ... 85 User parameters ... 333
Test run Three-dimensional ... 88 General
Executing ... 312 Tool data For 3-D touch probes and
Overview ... 311 Calling ... 82 digitizing ... 342
Up to a certain block 312 Delta values ... 74 For external data transfer ...
341
Text files Entering in the program ... 74
For machining and program
Deleting functions ... 64 Entering into tables 75 run ... 351
Editing functions ... 63 Indexing ... 79 For TNC displays, TNC editor
Exiting ... 63 Tool length ... 73 ... 346
Finding text blocks ... 65 Tool materials ... 96 Machine-specific ... 333
Opening ... 63 Tool measurement ... 76
V
Thread cutting ... 183 Tool movements
Visual display unit 3
Tilt working plane ... 21 Programming ... 57
Cycle ... 248 Tool name ... 73
W
Guide ... 251 Tool number ... 73
WMAT.TAB ... 95
Manual ... 21 Indexing ... 79
Working space
Tilting axes ... 156 Tool pocket table ... 80 monitoring ... 312, 333
Tilting the Tool radius ... 74 Workpiece material, defining ... 95, 96
working plane ... 21, 248 Tool table Workpiece positions
TNC 426, TNC 430 ... 2 Editing ... 78 Absolute ... 33
TNCremo ... 324 Editing functions ... 79 Incremental ... 33
Tool change ... 83 Exiting ... 78 Relative ... 33
Automatic ... 83 Input possibilities ... 75
Tool type, selecting ... 76
Trigonometry ... 277