Vdocuments - MX Heidenhain-355 PDF
Vdocuments - MX Heidenhain-355 PDF
Vdocuments - MX Heidenhain-355 PDF
HEIDENHAIN Conversational
Programming
TNC 360
May 1994
Keys and Controls on the TNC 360
100
Circle with radius
Feed rate
CT
Circle with tangential transition
50 150 RND
Corner rounding
F %
0
100 Tool Functions
Spindle speed
TOOL TOOL
DEF CALL Enter or call tool length and radius
50 150
Preparation
1 Select tools —— ——
6 Clamp workpiece —— ——
11 If necessary: Optimize
part program 5 to 8
Tool length
Tool radius
Spindle axis
Spindle speed
12 End of program
How to use this manual
This manual describes functions and features available on the TNC 360
from NC software number 259 900 11.
This manual describes all available TNC functions. However, since the
machine builder has modified (with machine parameters) the available
range of TNC functions to interface the control to his specific machine,
this manual may describe some functions which are not available on your
TNC.
TNC functions which are not available on every machine are, for example:
• Probing functions for the 3D touch probe system
• Digitizing
• Rigid tapping
If in doubt, please contact the machine tool builder.
TNC 360
The TNC beginner can use the manual as a workbook. The first part of
the manual deals with the basics of NC technology and describes the TNC
functions. It then introduces the techniques of conversational program-
ming. Each new function is thoroughly described when it is first intro-
duced, and the numerous examples can be tried out directly on the TNC.
The TNC beginner should work through this manual from beginning to end
to ensure that he is capable of fully exploiting the features of this powerful
tool.
Note: Placeholders in the program on the screen for entries which are not
always programmed (such as the abbreviations R, F, M and REP) are not
indicated in the programming examples.
TNC 360
Contents User's Manual TNC 360 (259 900 xx)
Introduction 1
Manual Operation and Setup 2
Test Run and Program Run 3
Programming 4
Programming Tool Movements
5
Subprograms and Program Section Repeats
6
Programming with Q Parameters
7
Cycles
8
Digitizing 3D Surfaces
9
External Data Transfer
10
MOD-Functions
11
Tabels and Overviews 12
TNC 360
2 Manual Operation and Setup
2.2 Spindle Speed S, Feed Rate F and Miscellaneous Functions M .......... 2-5
To enter the spindle speed S ......................................................................................... 2-5
To enter the miscellaneous function M .......................................................................... 2-6
To change the spindle speed S ...................................................................................... 2-6
To change the feed rate F .............................................................................................. 2-6
2.5 Setting the Datum with the 3D Touch Probe System .......................... 2-14
To set the datum in a specific axis ................................................................................. 2-14
Corner as datum ............................................................................................................. 2-15
Circle center as datum ................................................................................................... 2-17
TNC 360
3 Test Run and Program Run
TNC 360
4 Programming
TNC 360
5 Programming Tool Movements
5.6 M-Functions for Contouring Behavior and Coordinate Data ............... 5-36
Smoothing corners: M90 ................................................................................................ 5-36
Machining small contour steps: M97 ............................................................................. 5-37
Machining open contours: M98 ..................................................................................... 5-38
Progamming machine-reference coordinates: M91/M92 ............................................... 5-39
TNC 360
6 Subprograms and Program Section Repeats
TNC 360
7 Programming with Q Parameters
7.7 Measuring with the 3D Touch Probe During Program Run.................. 7-12
TNC 360
8 Cycles
TNC 360
9 Digitizing 3D Surfaces
TNC 360
10 External Data Transfer
10.2 Pin Layout and Connecting Cable for the Data Interface ..................... 10-3
RS-232-C/V.24 Interface ................................................................................................. 10-3
TNC 360
11 MOD Functions
11.9 Axes for L Block from Actual Position Capture ..................................... 11-5
TNC 360
12 Tables, Overviews, Diagrams
TNC 360
1 Introduction
Programming
The TNC 360 is programmed directly at the machine with the easy to
understand HEIDENHAIN plain language dialog format. Programming in
ISO or in DNC mode is also possible.
Graphics
The graphic simulation feature allows programs to be tested before actual
machining. Various types of graphic representation can be selected.
Compatibility
Any part program can be run on the TNC 360 as long as the commands in
the program are within the functional scope of the TNC 360.
The keys on the TNC operating panel are identified with easy-to-
remember abbreviations and symbols. The keys are grouped accord-
ing to function:
• Program selection
• Path function keys
Override controls
for spindle speed The functions of the individual keys are de-
and feed rate scribed on the inside front cover.
The machine operating buttons, such as I for NC start, are described in the manual for your machine tool.
The Screen
Brightness control
(BE 212 only)
Header
The header of the screen shows the selected operating mode. Dialog
questions and TNC messages also appear there.
Screen Layout
• Coordinates
• Selected axis
• * means: control
is in operation
• Status display,
e.g. feed rate F,
miscellaneous
function M
Section of
selected
program
Status display
The screen layout is the same in the operating modes PROGRAM RUN,
PROGRAMMING AND EDITING and TEST RUN. The current block is
surrounded by two horizontal lines.
TNC Accessories
3D Probe Systems
The TNC features the following functions for the
HEIDENHAIN 3D touch probe systems:
• Automatic workpiece alignment (compensation
of workpiece misalignment)
• Datum setting
• Measurements of the workpiece can be per-
formed during program run
• Digitizing 3D forms (optional)
The TS 120 touch probe system is connected to the
control via cable, while the TS 510 communicates
by means of infrared light.
Electronic Handwheels
Electronic handwheels provide precise manual
control of the axis slides. As on conventional
machines, turning the handwheel moves the axis
by a defined amount. The traverse distance per
revolution of the handwheel can be adjusted over a
wide range.
Introduction
This chapter addresses the following topics:
• What is NC?
• The part program
• Conversational programming
• Cartesian coordinate system
• Additional axes
• Polar coordinates
• Setting a pole at a circle center (CC)
• Datum setting
• Absolute workpiece positions
• Programming tool movements
• Position encoders
• Reference mark evaluation
What is NC?
NC stands for Numerical Control. Simply put, numerical control is the
operation of a machine by means of coded instructions. Modern controls
such as the HEIDENHAIN TNCs have a built-in computer for this purpose.
Such a control is therefore also called a CNC (Computer Numerical
Control).
Conversational programming
Conversational programming is a particularly easy way of writing and
editing part programs. From the very beginning, HEIDENHAIN numerical
controls were designed for the machinist who keys in his programs
directly at the machine. This is why they are called TNCs, or "Touch
Numerical Controls."
Reference system
30°
60°
90° 0° 90°
Additional axes
The TNC can control machines which have more than three axes. U, V
Z
and W are secondary linear axes parallel to the main axes X, Y and Z,
Y
respectively (see illustration). Rotary axes are also possible. They are
designated as axes A, B and C.
B+
W+ C+
V+
A+
X
U+
Fig. 1.11: Arrangement and designation of
the auxiliary axes
Polar coordinates
Y+
The Cartesian coordinate system is especially
useful for parts whose dimensions are mutually
perpendicular. But when workpieces contain
circular arcs, or when dimensions are given in PR PR
degrees, it is often easier to use polar coordinates. PA2
In contrast to Cartesian coordinates, which are PA3
three-dimensional, polar coordinates can only
describe positions in a plane.
PR
PA1
The datum for polar coordinates is the circle 10 0°
center CC. To describe a position in polar coordi- CC
nates, think of a scale whose datum point is rigidly
connected to the pole but which can be freely
rotated in a plane around the pole. 30 X+
Positions in this plane are defined by:
Fig. 1.12: Positions on an arc with polar coordinates
• Polar Radius (PR): The distance from circle
center CC to the defined position.
XY +X
YZ +Y
ZX +Z
Z Z Z Y
Y Y
+ 0° 0°
+
CC
CC + CC
0°
X X X
Fig. 1.13: Polar coordinates and their associated reference axes
Z
Setting the datum
The workpiece drawing identifies a certain prominent point on the work-
piece (usually a corner) as the "absolute datum" and perhaps one or more
other points as relative datums. The process of datum setting establishes Y
these points as the origin of the absolute or relative coordi-nate systems:
The workpiece, which is aligned with the machine axes, is moved to a
certain position relative to the tool and the display is set either to zero or X
to another appropriate position value (e.g. to compen-sate the tool radius).
Example:
-250
250
-216,5
216,5
-125
125
0
250
216,5
125
1225 0
-125
-216,5
-250
150
0
750
-150
300±0,1
320
0
0
325
450
700
900
950
Example:
Z
Coordinates of the point 1:
X = 10 mm
Y = 5 mm Y
Z = 0 mm
10
1.2 Fundamentals of NC
Z=15mm
Z = 15 mm 15
X
Y=
m
If you are drilling or milling a workpiece according to a workpiece drawing X=20m
10
m
with absolute coordinates, you are moving the tool to the coordinates.
m
10
20
IZ=–15mm
2 0m
m
Absolute coordinates of the position ➁ : 20 mm
X = 10 mm IX=10
Y = 5 mm
10
15
Z = 20 mm X
5 5
Incremental coordinates of the position ➂ : 10
IX = 10 mm
0 10
IY = 10 mm
IZ = –15 mm 0
If you are drilling or milling a workpiece according to a workpiece drawing Fig. 1.18: Position definition through
with incremental coordinates, you are moving the tool by the coordinates. incremental coordinates
PR
+IPA +IPA
PR
PR PA
10 0°
CC
30 X+
Fig. 1.19: Incremental dimensions in polar coordinates (designated
with an "I")
1.2 Fundamentals of NC
Example:
Workpiece drawing with coordinate dimensioning
(according to ISO 129 or DIN 406, Part 11; Figure 179)
2.3
X2
1.1 1.2
Y1
X1
Dimensions in mm
Coordinate Coordinates
origin
Pos. X1 X2 Y1 Y2 r ϕ d
1 1 0 0 -
1 1.1 325 320 Ø 120 H7
1 1.2 900 320 Ø 120 H7
1 1.3 950 750 Ø 200 H7
1 2 450 750 Ø 200 H7
1 3 700 1225 Ø 400 H8
2 2.1 –300 150 Ø 50 H11
2 2.2 –300 0 Ø 50 H11
2 2.3 –300 –150 Ø 50 H11
3 3.1 250 0° Ø 26
3 3.2 250 30° Ø 26
3 3.3 250 60° Ø 26
3 3.4 250 90° Ø 26
3 3.5 250 120° Ø 26
3 3.6 250 150° Ø 26
3 3.7 250 180° Ø 26
3 3.8 250 210° Ø 26
3 3.9 250 240° Ø 26
3 3.10 250 270° Ø 26
3 3.11 250 300° Ø 26
3 3.12 250 330° Ø 26
Position encoders
Z
The position encoders – linear encoders for linear axes, angle encoders for
rotary axes – convert the movement of the machine axes into electrical
signals. The control evaluates these signals and constantly calculates the
actual position of the machine axes. Y
If there is an interruption in power, the calculated position will no longer
correspond to the actual position. When power is returned, the TNC can X
re-establish this relationship.
Reference marks
The scales of the position encoders contain one or more reference marks.
When a reference mark is passed over, it generates a signal which
identifies that position as the machine axis reference point.
With the aid of this reference mark the TNC can re-establish the assign-
ment of displayed positions to machine axis positions.
If the position encoders feature distance-coded reference marks, each
axis need only move a maximum of 20 mm (0.8 in.) for linear encoders,
and 20° for angle encoders.
1.3 Switch-On
Switch on the power supply for the TNC and machine. The TNC then
begins the following dialog:
MEMORY TEST
POWER INTERRUPTED
Message from the TNC indicating that the power was interrupted.
CE
Clear the message with the CE key.
MANUAL OPERATION
With the fast internal image generation, the TNC calculates the contour
and displays a graphic only of the completed part.
ENT
Confirm selection.
Plan view
In this mode, contour height is symbolized by image brightness.
The deeper the contour, the darker the image.
Number of depth levels: 7
3D view
This mode displays the simulated workpiece in
three-dimensional space.
00 rotation
900 rotation
1800 rotation
2700 rotation
ENT
Magnify detail.
Details can be magnified in any display mode. The abbreviation MAGN appears on the screen to indicate that the
image is magnified.
GRAPHICS Press BLK FORM to display the workpiece in its programmed size.
BLK
FORM
Status Display
The status display in a program run operating mode
shows the current coordinates as well as the
following information:
Bar graphs can be used to indicate analog quantities such as spindle speed and feed rate. These bar graphs must be
activated by the machine tool builder.
1.5 Programs
The TNC 360 can store up to 32 part programs at once. The programs can
be written in HEIDENHAIN plain language dialog or according to ISO. ISO
programs are indicated with “ISO”.
Each program is identified by a number with up to eight characters.
PGM
Edit ... NR
CL
Erase ... PGM
PGM
Test ... NR
PGM
Execute ... NR
PROGRAM NUMBER ?
ENT
Confirm your selection.
To erase a program:
To protect a program:
PROGRAM NUMBER = ?
e.g. 5 ENT
ENT
Enter the number of the program to be protected.
0 BEGIN 5 MM
Press the key until the dialog prompt "PGM PROTECTION?" appears.
repeatedly
PGM PROTECTION ?
The letter "P" for protected appears at the end of the first and last program
blocks.
0 BEGIN 5 MM P
VACANT BYTES =
repeatedly
CODE NUMBER
MANUAL OPERATION
Press the machine axis direction button and hold it for as long as you wish
e.g.
X the axis to move.
MANUAL OPERATION
Press and hold the machine axis direction button, then press the machine
e.g. Y I start button. The axis continues to move after you release the key.
together
You can only move one axis at a time with this method.
ELECTRONIC HANDWHEEL
INTERPOLATION FACTOR: 1 3
Now move the selected axis with the electronic handwheel. If you are
using the portable handwheel, first press the enabling switch on its back.
The smallest programable interpolation factor depends on the individual machine tool.
Positioning with the electronic handwheel can also be carried out in the operating mode PROGRAMMING (depend-
ing on MP7641).
Be sure not to press the axis direction keys unintentionally when you
remove the handwheel from its position as long as the enabling switch
(between the magnets) is depressed.
If you are using the handwheel for machine setup, press the enabling
switch. Only then can you move the axes with the axis direction keys.
8 8
8 16 X
Fig. 2.3: Incremental jog positioning in the
X axis
ELECTRONIC HANDWHEEL
INTERPOLATION FACTOR: 4
ELECTRONIC HANDWHEEL
JOG-INCREMENT: 4 8
MISCELLANEOUS FUNCTION M ?
100
Turn the spindle speed override knob:
50 150
Adjust the spindle speed S to between 0% and 150% of the last entered
value.
S%
0
The spindle speed override will function only if your machine tool is equipped with a stepless spindle drive.
100
Turn the feed rate override knob:
50 150 Adjust the feed rate to between 0% and 150% of the last entered value.
F%
0
Insert the zero tool with known radius into the spindle.
Ensure that the TNC is showing actual position values (see p. 11-4).
Fragile workpiece?
If the workpiece surface must not be scratched, Z Z
you can lay a metal shim of known thickness d
on it. Then enter a tool axis datum value that is
larger than the desired datum by the value d.
X X
Fig. 2.5: Datum setting in the tool axis; right with protective shim
DATUM SET Z=
For a zero tool: Set the display to Z = 0 or enter thickness d of the shim.
e.g. 0 ENT
5 0 ENT
For a preset tool: Set the display to the length L of the tool,
e.g.
for example Z=50 mm, or enter the sum Z=L+d.
Y
–R X
–R 2
1
2
Fig. 2.6: Setting the datum in the working plane; plan view (upper
right)
Move the zero tool until it touches the side of the workpiece.
e.g. +/ 5 ENT Enter the position of the tool center (here X = –5 mm) in the selected axis.
The TNC must be specially prepared by the machine tool builder for the use of a 3D touch probe.
After you press the machine START button, the touch probe begins
executing the selected probe function. The machine manufacturer sets
the feed rate at which the probe approaches the workpiece. When the 3D
touch probe contracts the workpiece, it
• transmits a signal to the TNC, which stores the coordinates of the
probed position
• stops moving
• returns to its starting position in rapid traverse
F
F
F max
MANUAL OPERATION
or
ELECTRONIC HANDWHEEL
X
To calibrate the effective length Fig. 2.9: Calibrating the touch probe length
Set the datum in the tool axis such that for the machine tool table, Z=0.
TOUCH
PROBE SURFACE = DATUM
ENT
Select the calibration function for the touch probe length.
Z+ Z–
TOOL AXIS = Z
Move the touch probe to a position just above the ring gauge.
The 3D touch probe contacts the upper surface of the ring gauge.
I
10
X
Fig. 2.10: Calibrating the touch probe radius
TOUCH
PROBE SURFACE = DATUM
X+ X– Y+ Y–
The 3D touch probe contacts one position on the bore for each axis direction.
4x I
PA 1
A B
TOUCH
PROBE SURFACE = DATUM
ENT
Select the BASIC ROTATION probe function.
BASIC ROTATION
X+ X- Y+ Y–
ROTATION ANGLE =
e.g. 0 ENT
Enter the nominal value of the rotation angle.
Move the ball tip to a starting position A near the first touch point 1 .
X+ X– Y+ Y–
or
Select the probe direction.
Move the ball tip to a starting position B near the second touch point 2 .
ROTATION ANGLE =
Y Z
1
X
SURFACE = DATUM
X+ X– Y+ Y– Z+ Z–
or Select the probe direction and axis in which you wish to set the datum, for
example Z in the Z– direction.
e.g. 0 ENT
Enter the nominal coordinate of the datum.
Corner as datum
Y Y
3 2
Y=?
P P 1
X X
X=?
Fig. 2.14: Probing procedure for finding the coordinates of the
corner P
ENT
Transfer the touch point coordinates to memory.
Move the touch probe to a starting position near the first touch point on the side that was not probed for basic
rotation.
CORNER = DATUM
X+ X– Y+ Y–
Move the touch probe to a starting position near the second touch point on the same side.
DATUM X =
e.g. 0 ENT
Enter the first coordinate of the datum point, here for the X axis.
.
.
.
.
.
.
DATUM Y =
If you do not wish to use points that just probed for a basic rotation:
Inside circle
The TNC automatically probes the inside wall in all four coordinate axis Y
directions.
For incomplete circles (circular arcs) you can choose the appropriate
probing directions. Y+
X–
10
X+
Y–
8 X
Fig. 2.15: Probing an inside cylindrical
surface to find the center
Move the touch probe to a position approximately in the center of the circle.
X+ X– Y+ Y–
DATUM X =
DATUM Y =
e.g. 1 0 ENT Enter the second coordinate of the datum, here in the Y axis.
Outside circle
Y
Y– 4
3
X+
X–
2
Y+
1
X
Fig. 2.16: Probing an outside cylindrical
surface to find the center
Move the touch probe to a starting position 1 near the first touch point outside of the circle.
X+ X– Y+ Y–
Repeat the probing process for points 2 , 3 and 4 (see Fig. 2.16).
After the probing procedure is completed, the TNC displays the coordi-
nates of the circle center and the circle radius PR.
SURFACE = DATUM
X+ X– Y+ Y– Z+ Z–
or Select the direction and axis in which you wish to find the coordinate.
Y l 1
Z
X
Move the probe to a starting position 1 near the first touch point.
SURFACE = DATUM
X+ X– Y+ Y– Z+ Z–
If you will need the current datum later, write down the value that appears in the DATUM display.
DATUM X =
Move the touch probe to a starting position 2 near the second touch point.
.
.
.
.
.
.
SURFACE = DATUM
X+ X– Y+ Y– Z+ Z–
The value displayed as DATUM is the distance between the two points.
To return to the datum that was active before the length measurement:
Set the datum to the value that you wrote down previously.
Measuring angles
You can also use the 3D touch probe system to measure angles in the
working plane. You can measure
• the angle between the angle reference axis and a workpiece side, or
• the angle between two sides.
The measured angle is displayed as a value of maximum 90°.
To find the angle between the angle reference axis and a side of the workpiece:
ROTATION ANGLE =
If you will need the current basic rotation later, write down the value that appears under ROTATION ANGLE.
Make a basic rotation with the side of the workpiece (see Section “Compensating workpiece misalignment”).
.
.
.
.
.
.
The angle between the angle reference axis and the side of the workpiece appears as the ROTATION ANGLE in the
BASIC ROTATION function.
Restore the previous basic rotation by setting the ROTATION ANGLE to the value that you wrote down previously.
PA
ROTATION ANGLE =
If you will need the current basic rotation later, write down the value that appears under ROTATION ANGLE.
Make a basic rotation for the first side (see “Compensating workpiece misalignment“).
Probe the second side as for a basic rotation, but do not set the ROTATION ANGLE to zero!
The angle PA between the workpiece sides appears as the ROTATION ANGLE in the BASIC ROTATION function.
Restore the previous basic rotation by setting the ROTATION ANGLE to the value that you wrote down previously.
The following TNC functions can be used in the TEST RUN operating
mode:
To do a test run:
TEST RUN
TO BLOCK NUMBER =
e.g. 1 0 ENT
Test the program up to the entered block.
Function Key
STOP
• Interrupt the test run
NO
• Continue test run after interruption ENT
or
GOTO
0 ENT Go to the first block of the program.
I
repeatedly
The feed rate and spindle speed can be changed with the override knobs.
Interrupting machining
There are various ways to interrupt a program run:
• Programmed interruptions
• External STOP key
• Switching to PROGRAM RUN / SINGLE BLOCK
• EMERGENCY STOP button
If the TNC registers an error during program run, it automatically interrupts
machining.
Programmed interruptions
Interruptions can be programmed directly in the part program. The part
program is interrupted at a block containing one of the following entries:
• STOP
• Miscellaneous functions M0, M02 or M30
• Miscellaneous function M06, if the machine tool builder has assigned it
a stop function
Interrupt machining.
Write down the error message and contact your repair service agency.
During program run, the TNC transfers program blocks from a floppy disk
unit or PC through its data interface, and erases them after execution. This
frees memory space for new blocks.
or
TEST RUN
PROGRAM NUMBER
e.g. 1 0 ENT Enter the program number and start data transfer.
GOTO Go to the block number at which you wish to begin data transfer, for
e.g. 1 5 0 ENT
example 150.
Execute the transferred blocks, starting with the block number that
I you entered.
Layout of a program
Block:
A part program consists of individual program
blocks. The TNC numbers the blocks in ascending
order. Program blocks contain units of information 10 L X+10 Y+5 R0 F100 M3
called “words.”
Path
function
Block Words
number
You can shorten the dialog by skipping over words that need not be
programmed or ending the block immediately after entering the necessary
information.
Function Key
NO
• Ignore the dialog question ENT
END
• End the dialog immediately
DEL
• Abort the dialog and erase the block
Editing functions
Editing means entering, adding to or changing commands for the TNC.
Types of input
Numbers, coordinate axes and radius compensation are entered directly
by keyboard. You can set the algebraic sign either before, during or after a
numerical entry.
GOTO
e.g. 1 0 ENT The entered block is shown between two horizontal lines.
Inserting blocks
Additional program blocks can be inserted behind any existing block
(except the PGM END block).
In addition to changing the existing words in a block, you can also add
new words with the aid of the plain language dialog.
Function Key
NO
• Delete the selected word ENT
DEL
• Delete the selected block
4.2 Tools
Each tool is identified by a number.
The tool data, consisting of the:
• length L, and
• radius R
are assigned to the tool number.
Once a tool is defined, the TNC then associates its dimensions with the
tool number and accounts for them when executing positioning blocks.
The tool with the number 0 is defined as having length L = 0 and radius
R = 0. In tool tables, T0 should also be defined with L = 0 and R = 0.
Tool radius R
The radius of the tool is entered directly.
Tool length L
The compensation value for the tool length is measured
• as the difference in length between the tool and a zero tool, or
• with a tool pre-setter.
A tool pre-setter eliminates the need to define a tool in terms of the
difference between its length and that of another tool.
Fig. 4.2: Tool lengths can be given as the difference from the zero
tool
Move the zero tool to the reference position in the tool axis (e.g. workpiece surface with Z = 0).
Change tools.
Move the new tool to the same reference position as the zero tool.
Enter the display value by using the “actual position capture” function (see page 4-19).
TOOL
DEF TOOL NUMBER?
TOOL LENGTH L?
Enter the compensation value for the tool length, for example
e.g. 1 0 ENT
L = 10 mm.
TOOL RADIUS R?
You can enter the tool length L directly in the tool definition by using the “actual position capture” function
(see page 4-19).
If your machine uses an automatic tool changer, the tool data must be
stored in the tool table.
PROGRAM NUMBER =
0 ENT
Select the tool table.
In the ELECTRONIC HANDWHEEL and MANUAL modes of operation, you can call the tool table at any time by
simply pressing ENT.
TOOL
CALL TOOL NUMBER?
5 ENT Enter the number of the tool as it was defined in a tool table or in a
e.g.
“TOOL DEF” block, for example 5.
ENT
Tool change
The TNC can work with either automatic or manual tool change.
If TOOL CALL 0 is programmed before the first tool call, the TNC moves
the spindle to an uncompensated position.
Fig. 4.4 : The TNC must compensate the length and radius of the tool
If a positive length compensation was in effect before TOOL CALL 0, the clearance to the workpiece is reduced.
If the tool axis is moved immediately after a TOOL CALL, the difference in length between the old and new tools is
added to the programmed value.
Tool radius
Radius compensation becomes effective as soon as a tool is called and is
moved in the working plane with RL or RR.
To cancel radius compensation, program a positioning block with R0.
Fig. 4.5: Programmed contour (–, +) and the path of the tool
center (- - -)
Traverse without radius compensation: R0
The tool center moves to the programmed coordi-
nates.
Applications:
• Drilling and boring
• Pre-positioning Y
X
Y
ENT
Select tool movement without radius compensation.
.
.
.
Y RL Y RR
R R
R X R X
Fig. 4.7: The tool moves to the left (RL) or to the right (RR) of the workpiece during milling
Radius compensation RR/RL is not in effect until the end of the block in
which it is first programmed.
Between two program blocks with differing radius compensation you must program at least one block without radius
compensation (that is, with R0).
Applications:
• Single-axis machining
• Occasionally for pre-positioning the tool, such as for the SLOT
MILLING cycle.
R+ and R– are activated by opening a positioning block with an orange axis key.
Machining corners
Outside corners
The TNC moves the tool in a transitional arc around
outside corners. The tool “rolls around” the corner
point.
If you work without radius compensation, you can influence the machining of outside corners with M90
(see page 5-36).
Inside corners
The TNC calculates the intersection of the tool
center paths at inside corners. From this point it
then starts the next contour element. This prevents RR RR
damage to the workpiece at inside corners.
PROGRAM NUMBER =
To start the dialog for blank form definition, press the BLK FORM key.
X
MIN and MAX points
The blank form is defined by two of its corner points:
• The MIN point — the smallest X, Y and Z coordinates of the blank form,
entered as absolute values.
• The MAX point — the largest X, Y and Z coordinates of the blank form,
entered as absolute or incremental values. MIN
The ratio of the blank-form side lengths must be less than 84:1.
Feed Rate F
The feed rate is the speed in (mm/min or inch/min) with which the tool
center moves.
Input range:
F = 0 to 29 999 mm/min (1181 inch/min)
The maximum feed rate is set in machine parameters individually for each
axis.
e.g. 1 0 0 ENT
Enter the feed rate F, for example F = 100 mm/min.
Rapid traverse
If you wish to program rapid traverse, press ENT for FMAX. If you know
the maximum traverse speed, you can also program it directly. FMAX is
effective only for the block in which it is programmed.
If the new feed rate is FMAX, after that block is executed the feed rate
returns to the last numerically entered feed rate.
Spindle speed S
Enter the spindle speed S in revolutions per minute (rpm) in the TOOL
CALL block.
Input range:
S = 0 to 99 999 rpm
TOOL NUMBER?
SPINDLE SPEED S?
100
You can vary the spindle speed S on machines with stepless
ballscrew drives by turning the spindle speed override knob on the
50 150
TNC keyboard.
S%
0
MISCELLANEOUS FUNCTION M?
e.g. 3 ENT
Enter the miscellaneous function, for example M3 (spindle on,
clockwise rotation).
.
.
.
MISCELLANEOUS FUNCTION M?
e.g. 5 ENT
Enter the miscellaneous function, for example M5 (spindle stop).
Some M functions are not effective on certain machines. The machine tool builder may also add some of his own M
functions.
If you wish to interrupt the program run or program test for a certain
duration, use the cycle 9: DWELL TIME (see page 8-38).
MISCELLANEOUS FUNCTION M ?
MANUAL OPERATION
Select or create the block in which you wish to enter the actual position of the tool.
COORDINATES?
e.g. X Select the axis in which you wish to capture a coordinate, for
example X.
Enter the radius compensation according the position of the tool relative to the workpiece.
In the PROGRAMMING AND EDITING mode, select the block behind which the L-block should be added.
MANUAL OPERATION
The generated L block is inserted after the block selected in the PRO-
GRAMMING AND EDITING mode. The L block has no tool radius compen-
sation, feed rate, or M function. These must be added if needed.
You can use the MOD function to define which axis coordinates are placed in the new L block (see page 11-5).
The machine and TNC must be prepared by the machine tool builder for this feature.
Always pre-position the tool at the beginning of a part program to prevent the possibility of damaging the tool or
workpiece.
Path functions
X
Each element of the workpiece contour is entered
separately using path functions. The various path
functions produce:
• Straight lines
• Circular arcs
You can also program a combination of the two
(helical paths).
L
L
L CC
Cycles
Common machining routines are delivered with the control as standard
cycles. The TNC features fixed cycles for:
• Peck drilling
• Tapping
• Slot milling
• Pocket and island milling
Parameter programming
Instead of numerical values you enter markers in the program, so-called
parameters, which are defined through mathematical functions or logical
comparisons. You can use parametric programming for:
• Conditional and unconditional jumps
• Measurements with the 3D touch probe during program run
• Output of values and measurements
• Transferring values to and from memory
The following mathematical functions are available:
• Assign
• Addition/Subtraction
• Multiplication/Division
• Angle measurement/Trigonometry
etc.
RL
RL A
End position
The end position, like the starting point, must be
• approachable without collision
• near the last contour point
• located to prevent contour damage during workpiece departure
The best end position E lies on the extension of the tool path. The end
position can be located anywhere outside of the hatch marked area in A
Fig. 5.6. It is approached without radius compensation.
S R0
The best common starting and end position lies exactly between the
extensions of the tool paths for machining the first and last contour
elements.
A
A common starting and end position is approached without radius com-
pensation.
SE
R0
Fig. 5.8: Common starting and end position
RL
Starting and end position
The starting S and end E positions of machining lie outside of the
workpiece and near the first and last contour elements, respectively.
R A
The tool path to the starting and end positions are programmed without
radius compensation.
R0
Input
The RND function is entered at the following locations in the program:
• During contour approach: after the block in which the first contour point
is programmed, i.e. after the first RL/RR radius-compensated B
block.
• During contour departure: after the block in which the last contour point RL
is programmed, i.e. after the last RL/RR radius-compensated
block.
R
E
R0
Program example
.
.
.
L X ... Y ... R0 ... ..................................................... Starting position S
L X ... Y ... RL ... ..................................................... First contour point A
RND R ... .................................................................... Smooth approach
.
.
.
Contour elements
.
.
.
L X ... Y ... RL ... ..................................................... Last contour point B
RND R ... .................................................................... Smooth departure
L X ... Y ... R0 ... ..................................................... End position E
For proper execution of an RND function, a radius must be chosen such that the arc can connect the start or end
point with the contour point.
General information
Part program input
To create a part program you enter the dimensional information given on
the workpiece drawing. The workpiece coordinates are entered as relative
or absolute values.
The TNC automatically calculates the tool path from the tool data and the
radius compensation.
Paraxial movement
Paraxial movement means that the tool path is parallel to the programmed
Z
axis. L X +100
Number of axes programmed in the NC block: 1
Y
X
100
Y
X
50
70
10 80
Straight line
To program a straight line, you enter:
• The coordinates of the end point E
• If necessary:
Radius compensation, feed rate, miscellaneous function
E
The tool moves in a straight line from its starting position S to the end
point E . The starting position was reached in the previous block.
L
COORDINATES?
ENT
After entering all coordinates, close the dialog with the ENT key.
.
.
.
.
.
.
TOOL RADIUS COMP.: RL / RR / NO COMP. ?
The tool must move to the left of the programmed contour to com-
R-L pensate its own radius.
Enter the feed rate of the tool on the straight line, for example
e.g. 1 0 0 ENT
100 mm/min.
MISCELLANEOUS FUNCTION M?
e.g. 3 ENT
Enter a miscellaneous function, if appropriate, for example M3
(spindle on, clockwise rotation).
–10
5
Part program
0 BEGIN PGM 360511 MM ................................... Begin program; program number 360511; dimensions in
millimeters
1 BLK FORM 0.1 Z X+0 Y+0 Z–20
2 BLK FORM 0.2 X+100 Y+100 Z+0 ..................... Define blank form for graphic workpiece simulation
(MIN and MAX point)
3 TOOL DEF 1 L+0 R+5
4 TOOL CALL 1 Z S1000 ....................................... Define tool in the program; call tool in the spindle axis Z;
spindle speed S = 1000 rpm
5 L Z+100 R0 FMAX M6 ....................................... Retract in the spindle axis; rapid traverse; insert tool
6 L X–10 Y–10 FMAX ............................................. Pre-position in X and Y; rapid traverse
7 L Z–10 FMAX M3 ............................................... Move to working depth; rapid traverse; spindle on with
clockwise rotation
8 L X+5 Y+5 RL F100 ............................................ Move to first contour point – corner point 1 – with radius
compensation (RL) and reduced feed rate (F 100)
9 L Y+95 ................................................................ Move to second contour point – corner point 2: all values that
remain the same as in block 8 need not be re-programmed
10 L X+95 ................................................................ Move to third contour point – corner point 3
11 L Y+5 .................................................................. Move to fourth contour point – corner point 4
12 L X+5 Y+5 .......................................................... Conclude milling, return to first contour point
13 L X–10 Y–10 R0 FMAX ....................................... For safety reasons, retract in X and Y; rapid traverse
14 L Z+100 FMAX M2 ............................................. Move tool to setup clearance; rapid traverse;
spindle off, coolant off, program stop,
Return jump to block 1
15 END PGM 360511 MM ...................................... End of program
Chamfer
1
The chamfer function permits you to cut off corners at the intersection of
two straight lines. L
E
S
2
Fig. 5.15: Chamfer from S to Z
You enter the length to be removed from each side of the corner.
Prerequisites:
1 S E
• The blocks before and after the chamfer block must be in the same
working plane.
• The radius compensation before and after the chamfer block must Z
bethe same.
• An inside chamfer must be large enough to accommodate the
currenttool.
2
Fig. 5.16: Tool radius too large
To program a chamfer:
COORDINATES?
e.g. 5 ENT Enter the length to be removed from each side of the corner, for
example 5 mm.
Resulting NC block: L5
Coordinates of the Z
corner points E : X = 95 mm
Y = 5 mm
Chamfer length: L = 10 mm
Milling depth: Z = –15 mm 100 Y
Tool radius: R = +10 mm
5 15
–15
85 E
95
100
Part program
Y Y
CC
YCC
X XCC X
Circle Center CC
You can define a circular movement by entering its
center CC.
A circle center can also serve as reference (pole) for
polar coordinates. Y Z
CC
X
YCC
XCC
Direction of Rotation DR
When there is no tangential transition to another Z
contour element, enter the mathematical direction
of rotation DR, where
DR+
• a clockwise direction of rotation is mathematical- Y DR–
ly negative: DR- CC
• a counterclockwise direction of rotation is CC X
mathematically positive: DR+
Z XY
Y ZX
X YZ
Fig. 5.20: Defining the spindle axis also defines the main plane
You can program circles that do not lie parallel to a main plane by using Q parameters. See Chapter 7.
Circle Center CC
If you program an arc using the C path function key, you must first define
the circle center CC by: Y
• entering the Cartesian coordinates of the circle center
• using the circle center defined in an earlier block
• capturing the actual position
CC
Y
You can define the last programmed position as circle center CC by
entering an empty CC block.
X X
IY
IX X
CC
COORDINATES?
e.g. 2 0 ENT Enter the coordinate for the circle center in this axis, for example
X = 20 mm.
ENT
Input
• Arc end point
• Direction of rotation (DR)
S
CC
The starting and end points of the arc must lie on the circle.
Input tolerance: up to 0,016 mm.
Y
Y
E
YE
CC
S E YCC
YS CC
S
XS XCC XE X
X
Fig. 5.24: Full circle around CC with a C- Fig. 5.25: Coordinates of a circular arc
block
C
COORDINATES?
e.g. X 5 Enter the first coordinate of the arc end point, for example
IX = 5 mm.
e.g. Y +/ 5 Enter the second coordinate of the arc end point, for example Y = –
5 mm.
ENT
Terminate coordinate entry.
ENT
CC
X
50
–5 50
Part program
Input E
R
• Coordinates of the arc end point
• Arc radius R
• Direction of rotation DR
• To program a full circle with CR you must enter two successive CR-
blocks.
• The distance from the starting point to the end point cannot be
larger than the diameter of the circle.
• The maximum permissible radius is 30 m (9.8 ft).
E1=S2
S1=E2
Arc radius R
Starting point S and end point E can be con-
nected by four different arcs with the same radius.
The arcs differ in their curvatures and lengths. CCA
CCA>180° CCA<180°
Fig. 5.28: Circular arcs with central angles greater than and less than
180°
RL,DR+,(R>0)
CR
COORDINATES?
e.g. X 1 0 Enter the coordinates of the arc end point, for example X = 10 mm, Y
= 2 mm.
Y 2 ENT
e.g. 5 +/ ENT
Enter the arc radius, for example R = 5 mm; and determine the size
of the arc using the sign, here the negative sign.
Semicircle radius: R = 50 mm
Coordinates of the Z
arc starting point: X = 0
Y = 0
Coordinates of the
arc end point: X = 100 mm Y
Y = 0
Tool radius: R = 25 mm
Milling depth: Z = 18 mm 100
X
50
100
–18
–20
Part program
Input
Coordinates of the arc end point E
L1 S
CT3
CT2
L2 CT1
L3
E
Prerequisites:
• The contour element to which the tangential arc connects must be
programmed immediately before the CT block.
• There must be at least two positioning blocks defining the tangentially
connected contour element before the CT block.
A tangential arc is a two-dimensional operation: the coordinates in the CT block and in the positioning block before it
should be in the plane of the arc.
CT
COORDINATES?
e.g. X 5 0 Enter the coordinates of the arc end point, for example IX = 50 mm,
IY = –10 mm.
Y +/ 1 0
ENT
Coordinates of the Z
transition point from
the line to the arc: X = 10 mm
Y = 40 mm
Y
Coordinates of the
arc end point: X = 50 mm
Y = 50 mm 100
90
Milling depth: Z = –15 mm
Tool radius: R = 20 mm X
50
40 100
50
–15
10
Part program
• Rounding corners
1
G1
R
E
G2
Input
• Radius of the arc
• Feed rate for RND
R
Prerequisite
On inside corners, the rounding arc must be large enough to accommo-
date the tool.
• In the preceding and subsequent blocks both coordinates should lie in the plane of the arc.
• The corner point E is cut off by the rounding arc and is not part of the contour.
• A feed rate programmed in the RND block is effective only in that block. After the RND block the previous feed
rate becomes effective again.
RND
ROUNDING OFF RADIUS R?
FEED RATE? F=
Enter the feed rate for the rounding radius, here F = 100 mm/min.
e.g. 1 0 0
ENT
Coordinates of
the corner point: X = 95 mm
Z
Y = 5 mm
Rounding radius: R = 20 mm
Milling depth: Z = –15 mm
Tool radius: R = 10 mm Y
100
R = 20 X
100
5 95
–15
Part program
X CC X
Fig. 5.35: The pole is entered as CC
Straight line LP
• You can enter any value from –360° to +360° for PA.
• Enter the algebraic sign for PA relative to the angle reference axis:
For an angle from the reference axis counterclockwise to PR: PA>0 Y
For an angle from the reference axis clockwise to PR: PA<0
IPA
IPA IPA
PR
IPA
PA
CC
X
Fig. 5.36: Contour consisting of straight
lines with polar coordinates
L
COORDINATES?
Enter the radius from the pole to the straight line end point, for
e.g. 5 ENT
example PR = 5 mm.
Enter the angle from the reference axis to PR, for example PA = 30°.
e.g. 3 0 ENT
50
–10
5
Part program
Input E
• Polar coordinate angle PA for arc end point
• Direction of rotation DR PR
DR+
PA
• For incremental values, enter the same sign for DR and PA.
• You can enter values from –5400° to +5400° for PA. CC S
C
COORDINATES?
+/ ENT
Set the direction of rotation for the tool path, for example negative for
clockwise rotation.
Circle radius: 50 mm
Circle center Z
coordinates: X = 50 mm
Y = 50 mm
Milling depth: Z = – 5 mm
Tool radius: R = 15 mm Y
100 CC
X
50
100
50
–5
Part program
Input:
E
• Polar coordinate angle PA of the arc end point E
• Polar coordinate radius PR of the arc end point E PR
PA
CC
CT
COORDINATES ?
Enter the distance from the pole to the arc end point, for example
1 0 ENT
PR = 10 mm.
8 Enter the angle from the reference axis to PR, for example PA = 80°.
0 ENT
Helical interpolation
Z
A helix is the combination of a circular movement in
a main plane and a linear movement perpendicular
to the plane. Y CC
A helix is programmed only in polar coordinates.
X
Applications:
You can use helical interpolation with form cutters
to machine:
• Large-diameter internal and external threads
• Lubrication grooves
Input angle
Calculate the incremental polar coordinate angle IPA as follows:
IPA = n . 360°; where
n = number of revolutions of the helical path.
For IPA you can enter any value from –5400° to +5400° (n = ±15).
Input height
Enter the helix height H in the tool axis. The height is calculated as:
H = n x P,
n = number of thread revolutions
P = thread pitch
Radius compensation
Enter the radius compensation for the helix accord-
ing to the table at right.
Fig. 5.40: The shape of the helix determines the direction of rotation
and the radius compensation
To program a helix:
C
COORDINATES ?
Enter PA incrementally.
Enter the total angle of tool traverse along the helix, for example
e.g. 1 0 8 0 PA = 1080°.
COORDINATES ?
ENT
Given Data
Thread:
Right-hand internal thread M64 x 1.5
Pitch P: 1.5 mm AE =0°
Start angle AS: 0°
End angle AE: 360° = 0° at ZE = 0
Thread revolutions nT: 8 A = –180° A = 0°
Thread overrun DR+
• at start of thread nS: 0.5 AA =0°
• at end of thread n E: 0.5
Number of cuts: 1
Note:
Part program
Note:
In program blocks with radius compensation (RR/RL), at external corners
the TNC automatically inserts a transition arc.
Duration of effect
The miscellaneous function M90 is effective only in the blocks in which it
is programmed. Operation with servo lag must be active.
A limit value can be set in machine parameter MP7460 (see page 12-9) below which the tool will move at constant
leed rate (valid for operation both with servo lag and with feed precontrol). This value is valid regardiess of M90.
X
Fig. 5.43: Standard behavior without M97 if the block were to be
executed as programmed
X
Fig. 5.44: Contouring behavior with M97
A contour machined with M97 is less complete than one without. You may wish to rework the contour with a
smaller tool.
Program example
.
.
.
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 the small contour step 13 - 14
15 L IX+100 ... ......................................................... Move to contour point 15
16 L IY+0.5 ... R .. F.. M97 ...................................... Machine the small contour step 15 - 16
17 L X .. Y ... ............................................................ Move to contour point 17
.
.
.
The outer corners are programmed in blocks 13 and 16: these are the
blocks in which you program M97.
S S
Duration of effect
The miscellaneous function M98 is effective only in
the blocks in which it is programmed.
11 12
Programming example
.
.
.
10 L X ... Y ... RL F .. ................................................ Move to contour point 10
11 L X .. IY–.. ... M98 ............................................... Move to contour point 11
12 L IX + .. ... ........................................................... Move to contour point 12
.
.
.
Coordinates that are referenced to the machine zero point are indicated in
the display with REF.
Workpiece datum
The user enters the coordinates of the datum for
workpiece machining in the MANUAL OPERATION
mode (see page 2-7).
Fig. 5.44: Machine datum and workpiece datum
Application examples:
• Pre-positioning
• Face milling
BLOCK COMPLETE
Application example
To remove workpiece misalignment on a rotary table
Preparation:
Perform a basic rotation with the 3D touch probe system; write down the
ROTATION ANGLE and cancel the basic rotation again.
IV COORDINATES?
BLOCK COMPLETE
Labels
Subprograms and program section repeats are marked by labels.
A label carries a number from 0 to 254. Each label number (except 0) can
only appear once in a program. Labels are assigned with the command
LABEL SET.
LABEL 0 marks the end of a subprogram.
6.1 Subprograms
Principle
The program is executed up to the block in which 0 BEGIN PGM ...
.
the subprogram is called with CALL LBL ( 1 ).
. 1
Then the subprogram is executed from beginning to .
end (LBL 0) ( 2 ). .
CALL LBL 1
.
Finally, the main program is resumed from the S
. 3
block after the subprogram call ( 3 ).
.
. R
.
L Z+100 M2
. LBL 1
.
. 2
.
. LBL 0
END PGM ...
LBL
SET LABEL NUMBER?
0 ENT
End of subprogram.
REPEAT REP?
The command CALL LBL 0 is not allowed because label 0 can only be used to mark the end of a subprogram.
Y
Coordinates of the first hole in each group:
20
Group 1 X = 15 mm Y = 10 mm 20
2
Group 2 X = 45 mm Y = 60 mm
Group 3 X = 75 mm Y = 10 mm 20
Spacing of holes: 60 20 3 X
IX = 20 mm IY = 20 mm 1
20 5
Total hole depth (DEPTH): Z = 10 mm
Hole diameter: Ø = 5 mm 10 75
45
15
Part Program
Principle
The program is executed up to the end of the 0 BEGIN PGM ...
labelled program section (block with CALL LBL) ( 1 , .
. 1
2 ).
.
Then the program section between the called LBL .
LBL 1
and the label call is repeated the number of times .
entered after REP in the CALL LBL command ( 3 , . 2 3 4
4 ). . R R
.
After the last repetition, the program is resumed CALL LBL 1 REP 2/2
.
( 5 ). .
5
.
.
Programming notes END PGM ...
LBL
SET LABEL NUMBER?
Number of repetitions
Enter the number of repetitions in the block which calls the label. This
block also identifies the end of the program section.
LBL
CALL LABEL NUMBER?
e.g. 7 ENT
Execute the program section beginning with LABEL 7.
REPEAT REP?
e.g. 1 0 ENT Repeat the program section from LBL 7 to this block 10 times.
The program section will therefore be executed a total of 11 times.
5 X
10 55
15
5
Part Program
Example for exercise: Milling with program section repeat without radius compensation
Y Z
Machining sequence
• Upward milling direction 100 78,35
4
0
• Machine the area from X=0 to 50 mm 6 89 10
21,64 X
(program all X-coordinates with the tool 50
radius subtracted) and from Y=0 to 11
100
–70
21 X
10
22 20
11
19
Part Program:
Principle
A program is executed until another program is
called (block with CALL PGM) ( 1 ).
0 BEGIN PGM A... 0 BEGIN PGM B...
The called program is executed from beginning to . .
end ( 2 ). . 1 S .
. .
Execution of the program from which the other . .
CALL PGM B 2
program was called is then resumed with the block . .
following the CALL PGM block ( 3 ). . .
3
. R .
. .
END PGM A... END PGM B...
Operating limits
• Programs called from an external data storage
medium (such as a floppy disk) must not contain
any subprograms or program section repeats.
• No labels are needed to call main programs as
subprograms.
• The called program must not contain the miscel-
laneous functions M2 or M30.
• The called program must not contain a jump into
the calling program.
PGM
CALL PROGRAM NUMBER?
Enter the main program call and the number of the program you want to call.
A main program can also be called with Cycle 12 PGM CALL (see page 8-38).
6.4 Nesting
Subprograms and program section repeats can be nested in the following
variations:
• Subprograms in subprograms
• Program section repeats in program section repeats
• Subprograms can be repeated
• Program section repeats can appear in subprograms
Nesting depth
The nesting depth is the number of successive levels for which subpro-
grams or program sections can call further subprograms or program
sections.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for calling main programs: 4
Subprogram in a subprogram
Program layout
0 BEGIN PGM 360069 MM
.
. 1
.
e.g. 17 CALL LBL 1 .............................................. Call of subprogram at LBL1
.
. 5
.
e.g. 35 L Z+100 R0 FMAX M2 ............................. Last program block of main program (with M2)
36 LBL 1
.
. 2
.
Subprogram 1
e.g. 39 CALL LBL 2 with program call of
. subprogram 2
. 4
.
e.g. 45 LBL 0 ........................................................ End of subprogram 1
46 LBL 2
.
. 3 Subprogram 2
.
e.g. 62 LBL 0 ........................................................ End of subprogram 2
Example for exercise: Group of four holes at three positions (see page 6-4), but with three different tools
Machining sequence:
Countersinking – Drilling – Tapping
Z
The drilling operation is programmed with cycle
1: PECK DRILLING (see page 8-5) and cycle 2:
TAPPING (see page 8-7). The groups of holes
are approached in one subprogram, and the 100
machining is performed in a second subprogram. 75
15 20 20
Part program
Continued...
30 LBL 1
31 L X+15 Y+10 R0 FMAX M3
32 L Z+2 FMAX
33 CALL LBL 2
34 L X+45 Y+60 FMAX Move to first hole in each group, then call subprogram 2
35 CALL LBL 2
36 L X+75 Y+10 FMAX
37 CALL LBL 2
38 LBL 0
39 LBL 2
40 L M99
41 L IX+20 F9999 M99 Machine first hole, then move to and machine the other holes
42 L IY+20 M99 using the same cycle
43 L IX–20 M99
44 LBL 0
45 END PGM 3600610 MM
e.g. 20 LBL 2
.
. 21 2x 2 4 2x 5
.
e.g. 27 CALL LBL 2 REP 2/2 ................................ Program section between this block and LBL 2 (block 20) is
. repeated twice
. 3 6
.
e.g. 35 CALL LBL 1 REP 1/1 ................................ Program section between this block and LBL 1 (block 15) is
repeated once
.
. 7
.
e.g. 50 END PGM 3600611 MM
Repeating subprograms
Program layout
0 BEGIN PGM 3600612 MM
.
.
. 1
e.g. 10 LBL 1
11 2x 3
CALL LBL 2 ............................................... Subprogram call
12 CALL LBL 1 REP 2/2 ..... Program section repeat
.
. 4
.
e.g. 19 L Z+100 R0 FMAX M2 .............................. Last program block of main program with M2
20 LBL 2 ......................................................... Beginning of subprogram
.
. 2
5
.
e.g. 28 LBL 0 ......................................................... End of subprogram
29 END PGM 3600612 MM ........................... End of main program
The TNC automatically assigns data to some Q parameters. For example, parameter Q108 is assigned the current
tool radius. You will find a list of these parameters in chapter 12..
Example
Cylinder with Q parameters Q1
Cylinder radius R = Q1
Cylinder height H = Q2 Q1
Cylinder Z1: Q1 = +30
Q2 = +10
Q2
Z1
Q
DEF FN0: ASSIGN
The value to the right of the equal sign is assigned to the Q parameter to
the left.
Z
Circle center CC: X = 50 mm
Y = 50 mm
Y
Beginning and end
of circular arc C: X = 50 mm
Y = 0 mm CC
Milling depth: Z = –5 mm X
50
Tool radius: R = 15 mm
–5 50
Overview
The mathematical functions assign the results of one of the following
operations to a Q parameter:
FN0: ASSIGN
e.g. FN0: Q5 = +60
Assigns a value directly
FN1: ADDITION
e.g. FN1: Q1 = –Q2 + –5
Calculates and assigns the sum of two values
FN2: SUBTRACTION
e.g. FN2: Q1 = +10 – +5
Calculates and assigns the difference between two values
FN3: MULTIPLICATION
e.g. FN3: Q2 = +3 ❊ +3
Calculates and assigns the product of two values
FN4: DIVISION
e.g. FN4: Q4 = +8 DIV +Q2
Calculates and assigns the quotient of two values
Note
Note: Division by 0 is not possible!
Q
DEF FN0: ASSIGN
GOTO
3 ENT Select function directly or with arrow keys,
e.g. FN3: MULTIPLICATION.
or
FN3: MULTIPLICATION
Q
DEF
FN 0 : ASSIGN
ENT
Select Q parameter function FN 0.
Q
DEF FN 0 : ASSIGN
GOTO
3 ENT Select Q parameter function FN 0 again.
FN3: MULTIPLICATION
ENT
Select Q parameter function FN3.
1 2 ENT
Enter parameter number, for example Q12.
Q 5 ENT
Enter Q5 (=10).
Where α
• c is the side opposite the right angle b
• a is the side opposite the angle α
• b is the third side
Furthermore: a2 + b2 = c2 (a2 = a . a)
2 2
c= a +b
Overview
FN6: SINE
e.g. FN6: Q20 = SIN –Q5
Calculate sine of an angle in degrees (°) and assign it to a parameter
FN7: COSINE
e.g. FN7: Q21 = COS –Q5
Calculate the cosine of an angle in degrees (°) and assign it to a
parameter
FN13: ANGLE
e.g. FN13: Q20 = +10 ANG –Q1
Calculate the angle from the arc tangent of two sides or from the
sine and cosine of the angle, and assign it to a parameter
Jumps
The jump target is specified in the block through a label number. If the
programmed condition is true, the TNC continues the program at the
specified label; if it is false, the next block is executed.
To jump to another program, you enter a PGM CALL after the block with
the target label (see page 6-8).
Abbreviations used:
IF If
EQU Equals
NE Not equal
GT Greater than
LT Less than
GOTO Go to
Overview
Unconditional jumps
Unconditional jumps are jumps which are always executed because the
condition is always true.
Example:
FN 9: IF +10 EQU +10 GOTO LBL1
Since it is always true that 10=10, the jump will always be executed.
Program example
When Q5 becomes negative, a jump to program 100 will occur.
.
.
.
5 FN0: Q5 = +10 ................................................... Assign value (such as 10) to parameter Q5
.
.
.
9 FN 2: Q5 = +Q5–+12 ......................................... Reduce the value of Q5
10 FN 12: IF +Q5 LT +0 GOTO LBL 5 ..................... If +Q5 is less than 0, jump to label 5
.
.
.
15 LBL 5 .................................................................. Label 5
16 PGM CALL 100 ................................................... Jump to program 100
.
.
.
Preparation:
• A running program must be aborted (e.g. press machine STOP button
and STOP key)
• If you are doing a test run, you must interrupt it
To call a Q parameter:
Q Q =
e.g. 1 0 ENT
Select desired parameter (in this example, Q10).
Q10 = + 100
e.g. 0 ENT
Change Q parameter (in this example, Q10 is changed to 0).
ENT
Leave the Q parameter unchanged.
Input example:
FN 14: ERROR = 254
The TNC will display the text of error number 254.
Your machine builder may have programmed a text that differs from the above.
TOUCH
PROBE TCH PROBE 0: REF. PLANE
ENT
Select the touch probe function.
5 ENT
Enter the number of the Q parameter to which the coordinate is to be
assigned (in this example, Q5).
X Enter the probing axis for the coordinate (in this example, X).
POSITION VALUE?
Y 0
Z +/ 5
ENT
Conclude input.
Resulting NC blocks:
TCH PROBE 0.0 REF. PLANE Q5 X–
TCH PROBE 0.1 X+5 Y+0 Z–5
Pre-position the touch probe manually such that it will not collide with the workpiece when it moves toward the
programmed position.
Part program:
Part program
25
70
35
30 90 X
Part program
0 BEGIN PGM 3600715 MM ..................................... Load data for bolt hole circle 1:
1 FN 0: Q1 = + 30 ...................................................... Circle center X coordinate
2 FN 0: Q2 = +70 ....................................................... Circle center Y coordinate
3 FN 0: Q3 = +11 ....................................................... Number of holes
4 FN 0: Q4 = +25 ....................................................... Circle radius
5 FN 0: Q5 = +90 ....................................................... Start angle
6 FN 0: Q6 = +0 ......................................................... Hole angle increment (0: distribute hole over 360°)
7 FN 0: Q7 = +2 ......................................................... Setup clearance
8 FN 0: Q7 = +15 ....................................................... Total hole depth
9 BLK FORM 0.1 Z X+0 Y+0 Z–20
10 BLK FORM 0.2 X+100 Y+100 Z+0
11 TOOL DEF 1 L+0 R+4
12 TOOL CALL 1 Z S2500
13 CYCL DEF 1.0 PECKING ....................................... Definition of the pecking cycle
14 CYCL DEF 1.1 SET UP +Q7 .................................. Setup clearance
15 CYCL DEF 1.2 DEPTH –Q8 ................................... Total hole depth according to the load data
16 CYCL DEF 1.3 PECKG +5
17 CYCL DEF 1.4 DWELL 0
18 CYCL DEF 1.5 F250
19 CALL LBL 1 ........................................................... Call bolt hole circle 1, load data for bolt hole circle 2
(only re-enter changed data)
20 FN 0: Q1 = +90 ..................................................... New circle center X coordinate
21 FN 0: Q2 = +25 ..................................................... New circle center Y coordinate
22 FN 0: Q3 = +5 ....................................................... New number of holes
23 FN 0: Q4 = +35 ..................................................... New circle radius
24 FN 0: Q6 = +30 ..................................................... New hole angle increment (not a full circle, 5
holes at 30° intervals)
25 CALL LBL 1 ........................................................... Call bolt hole circle 2
26 L Z+200 R0 F MAX M2
Continued ...
Ellipse
Part program
Continued ...
20 LBL 10
21 CYCL DEF 7.0 DATUM SHIFT
22 CYCL DEF 7.1 X+Q1
23 CYCL DEF 7.2 Y+Q2 ............................................. Shift datum to center of ellipse
24 CYCL DEF 10.0 ROTATION
25 CYCL DEF 10.1 ROT +Q8 ..................................... Activate rotation, if Q8 is loaded
26 FN2: Q35 = +Q6 – +Q5 ........................................ Calculate angle increment (end angle to start angle
divided by number of steps)
27 FN4: Q35 = +Q35 DIV +Q7 .................................. Current angle for calculation =
set start angle
28 FN0: Q36 = +Q5 ................................................... Set counter for milled steps
29 FN0: Q37 = +0 ...................................................... Call subprogram for calculating the points of the ellipse
30 CALL LBL 11 REP ................................................. Call subprogram for calculating the points of the ellipse
31 L X+Q21 Y+Q22 R0 F MAX M03 ......................... Move to start point in the plane
32 L Z+Q12 R0 F MAX M .......................................... Rapid traverse in Z to setup clearance
33 L Z–Q9 R0 FQ10 M ............................................... Plunge to milling depth at plunging feed rate
34 LBL 1
35 FN1: Q36 = +Q36 + +Q35 .................................... Update the angle
36 FN1: Q37 = +Q37 + +1 ........................................ Update the counter
37 CALL LBL11 REP .................................................. Call subprogram for calculating the points of the ellipse
38 L X+Q21 Y+Q22 R0 FQ11 M ................................ Move to next point
39 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 .................. Unfinished?
47 LBL 11
48 FN7: Q21 = COS + Q36
49 FN3: Q21 = +Q21* + Q3 ...................................... Calculate X coordinate
50 FN6: Q22 = SIN + Q36
51 FN3: Q22 = +Q22 * +Q4 ...................................... Calculate Y coordinate
52 LBL 0
53 END PGM 360079 MM
Part program
Continued...
20 LBL 10
21 FN1: Q15 = + Q5 + + Q4
22 FN0: Q21 = + Q1 Determine starting and calculation values
23 FN1: Q24 = + Q4 + + Q108
24 FN0: Q26 = + Q6
25 CYCL DEF 7.0 DATUM
26 CYCL DEF 7.1 X+Q9 Shift datum to center of sphere
27 CYCL DEF 7.2 Y+Q10
28 CYCL DEF 7.3 Z–Q4
29 CYCL DEF 10.0 ROTATION Rotation for program start (starting plane angle)
30 CYCL DEF 10.1 ROT + Q6
31 CC X+0 Y+0
32 LP PR + Q24 PA + Q6 R0 FQ11 ......................... Pre-positioning before machining
33 LBL 1
34 CC Z+0 X+Q108
35 L Y+0 Z+0 FQ11 ................................................. Pre-positioning at beginning of each arc
36 LBL 2
37 LP PR+Q4 PA+Q21 R0 FQ11
38 FN2: Q21 = + Q21 – + Q3 Mill the sphere upward until the highest points is reached
39 FN11: IF + Q21 GT + Q2 GOTO LBL2
40 LP PR+Q4 PA+Q2
Mill the highest point and then retract the tool
41 L Z+Q15 R0 F1000
42 L X+Q24 R0 FMAX
43 FN1: Q26 = + Q26 + + Q8 ................................. Prepare the next rotation increment
44 FN0: Q21 = + Q1 ................................................ Reset solid angle for machining to the starting value
45 CYCL DEF 10.0 ROTATION
Rotate the coordinate system about the Z axis until
46 CYCL DEF 10.1 ROT + Q26
plane end angle is reached
47 FN12: IF + Q26 LT + Q7 GOTO LBL1
48 FN9: IF + Q26 EQU + Q7 GOTO LBL1
49 CYCL DEF 10.0 ROTATION
50 CYCL DEF 10.1 ROT + 0
51 CYCL DEF 7.0 DATUM Reset rotation and datum shift
52 CYCL DEF 7.1 X+0
53 CYCL DEF 7.2 Y+0
54 CYCL DEF 7.3 Z+0
55 LBL 0 .................................................................. End of subprogram
56 END PGM 360712 MM
Programming a cycle
Defining a cycle
Pressing the CYCL DEF key opens the cycle directory. Select the desired
cycle and program it in the dialog. The following example shows how to
define any cycle:
Select a cycle with the vertical arrow keys (in this example, cycle 17).
GOTO
1 7 ENT
Address the desired cycle directly with GOTO.
ENT
Confirm entry of the selected cycle.
.
.
.
.
.
.
The TNC then requests the data for the selected cycle:
SETUP CLEARANCE?
THREAD PITCH?
Cycle call
The following cycles become effective immediately upon being defined in
the part program:
• Coordinate transformation cycles
• Dwell time
• The SL cycle CONTOUR
All other cycles must be called separately. Further information on cycle
calls is provided in the descriptions of the individual cycles.
If the cycle is to be programmed after the block in which it was called up,
program the cycle call
• with CYCL CALL
CYCL
CALL MISCELLANEOUS FUNCTION
Prerequisites:
The following data must be programmed before a cycle call:
• BLK FORM for graphic display
• Tool call
• Positioning block for starting position X, Y
• Positioning block for starting position Z (setup clearance)
• Direction of rotation of the spindle (miscellaneous functions M3/M4)
• Cycle definition (CYCL DEF).
The algebraic signs for SETUP CLEARANCE, TOTAL HOLE DEPTH and
JOG INCREMENT define the working direction. They must be entered
identically (usually negative).
Customized macros
The machine tool builder can store additional cycles in the control
memory. These cycles can be called up under cycle numbers 68 to 99.
Information on these cycles is available from the machine builder.
The TNC assumes that at the beginning of the cycle the tool is positioned over the workpiece at the clearance
height.
PECKING (Cycle 1)
Process:
1. 2. 3. 4.
• The tool drills at the entered feed rate to the first
pecking depth. A A A
• The tool is then retracted at rapid traverse C C
t
(FMAX) to the starting position and advances
again to the first pecking depth, minus the
advanced stop distance t (see calculations).
• The tool advances with another infeed at the
programmed feed rate.
• These steps are repeated until the programmed
total hole depth is reached. A A
• After a dwell time at the bottom of the hole, the t
tool is retracted to the starting position at FMAX B
C
for chip breaking. t
Input data
• SETUP CLEARANCE A :
Distance between tool tip (at starting position) and workpiece surface
• TOTAL HOLE DEPTH B :
Distance between workpiece surface and bottom of hole (tip of drill
taper)
• PECKING DEPTH C :
Infeed per cut.
If the TOTAL HOLE DEPTH equals the PECKING DEPTH, the tool will
drill to the programmed hole depth in one operation. The PECKING
DEPTH does not have to be a multiple of the TOTAL HOLE DEPTH. If
the PECKING DEPTH is greater than the TOTAL HOLE DEPTH, the tool
only advances to the TOTAL HOLE DEPTH.
• DWELL TIME:
Length of time the tool remains at the total hole depth for chip
breaking.
• FEED RATE:
Traversing speed of the tool when drilling
Calculations
The advanced stop distance is automatically calculated by the control:
• Total hole depth up to 30 mm: t = 0.6 mm
• Total hole depth over 30 mm: t = Total hole depth / 50
maximum advanced stop distance: 7 mm
Example: Pecking
Hole coordinates:
Z
1 X = 20 mm Y = 30 mm
2 X = 80 mm Y = 50 mm
Hole diameter: 6 mm
Setup clearance: 2 mm Y
Total hole depth: 15 mm
6
Pecking depth: 10 mm 2
Dwell time: 1 s 50
1 X
Feed rate: 80 mm/min
30
80
20
A
Required tool
A floating tap holder is required for tapping. The B
floating tap holder compensates the tolerances for
feed rate and spindle speed during the tapping
process.
Fig. 8.2: TAPPING cycle
Input data
• SETUP CLEARANCE A :
Distance between tool tip (starting position) and workpiece surface.
Standard value: 4x thread pitch.
• TOTAL HOLE DEPTH B (thread length):
Distance between workpiece surface and end of thread
• DWELL TIME:
Enter a value between 0 and 0.5 seconds to prevent wedging of the
tool when retracted. (Further information is available from the machine
manufacturer.)
• FEED RATE F:
Traversing speed of the tool during tapping.
The signs for setup clearance and total hole depth are the same and
depend on the working direction.
Calculations
The feed rate is calculated as follows:
F = Sxp
F: Feed rate (mm/min)
S: Spindle speed (rpm)
p: Thread pitch (mm)
When a cycle is being run, the spindle speed override control is disabled. The feed rate override control is only active
within a limited range (preset by the machine tool builder).
For tapping right-hand threads activate the spindle with M3; for left-hand threads use M4.
Setup clearance: 3 mm
Thread depth: 20 mm X
Dwell time: 0.4 s
Feed rate: 100 mm/min 20
50
Machine and control must be specially prepared by the machine manufacturer to enable rigid tapping.
Input data
Z
• SETUP CLEARANCE A :
Distance between tool tip (starting position) and workpiece surface.
• TAPPING DEPTH B :
Distance between workpiece surface (beginning of thread) and
end of thread
C
The signs for setup clearance and thread pitch are the same and depend
on the working direction. A
• THREAD PITCH C : X
The sign differentiates between right-hand and left-hand threads: B
+ = Right-hand thread
– = Left-hand thread
The control calculates the feed rate from the spindle speed. If the spindle speed override knob is turned during
tapping, the control automatically adjusts the feed rate accordingly. The feed rate override is disabled.
Finishing process:
• The control advances the tool in a quarter circle
at the bottom of the slot by the remaining
finishing cut. The tool subsequently climb mills Fig. 8.4: SLOT MILLING cycle
the contour (with M3).
• At the end of the cycle, the tool is retracted in
rapid traverse to the setup clearance.
If the number of infeeds was odd, the tool
returns to the starting position at the level of the
setup clearance.
Required tool
This cycle requires a center cut end mill (ISO 1641). The cutter diameter
must not be larger than the width of the slot and not smaller than half the
width of the slot. The slot must be parallel to an axis of the current
coordinate system.
A
Input data C
B
• Setup clearance A
• Milling depth B : Depth of the slot
• Pecking depth C
• FEED RATE FOR PECKING:
Traversing speed of the tool during penetration.
• FIRST SIDE LENGTH D :
Length of the slot. Specify the sign to determine the first milling Fig. 8.5: Infeeds and distances for the
direction. SLOT MILLING cycle
• SECOND SIDE LENGTH E :
Width of the slot
• FEED RATE:
Traversing speed of the tool in the working plane.
1 2 2 10
Slot length 50 mm 80 mm 10
1st milling direction – +
X
Slot widths: 10 mm
15 30 80 100
Feed rate: 120 mm/min
Requirements / Limitations
This cycle requires a center-cut end mill (ISO 1641) or a separate pilot
drilling operation at the pocket center. The pocket sides are parallel to the
axes of the coordinate system.
Fig. 8.7: Infeeds and distances for the
POCKET MILLING cycle
Input data
• Setup clearance A
• Milling depth B
• Pecking depth C
• FEED RATE FOR PECKING:
Traversing speed of the tool during penetration.
• FIRST SIDE LENGTH D : DR+
Length of the pocket, parallel to the first main axis of the working
plane. E
• SECOND SIDE LENGTH E :
Width of the pocket DR–
The signs of the side lengths are always positive F
• FEED RATE:
Traversing speed of the tool in the working plane. D
• DIRECTION OF THE MILLING PATH:
DR + : Climb milling with M3
DR – : Up-cut milling with M3
Fig. 8.8: Side lengths of the pocket
The radius of the pocket corners is determined by the cutter radius. The tool does not perform any circular move-
ment in the pocket corners.
Calculations:
Stepover factor k:
k = KxR
K: Overlap factor (preset by the machine builder)
R: Cutter radius
5
First side length: 80 mm
R
Second side length: 40 mm
40
Milling feed rate: 100 mm/min
Direction of cutter path: +
15
80 X
20 100
Required tool
This cycle requires a center-cut end mill (ISO 1641) or a separate pilot
drilling operation at the pocket center.
Fig. 8.10: Cutter path for roughing-out
Input data
• SETUP CLEARANCE A
• MILLING DEPTH B : depth of the pocket
• PECKING DEPTH C
• FEED RATE FOR PECKING:
Traversing speed of the tool during penetration
• CIRCLE RADIUS R :
Radius of the circular pocket
• FEED RATE: A
Traversing speed of the tool in the working plane C
• DIRECTION OF THE MILLING PATH: B
DR + : Climb milling with M3
DR – : Up-cut milling with M3
F
DR+ DR–
Setup clearance: 2 mm
Milling depth: 12 mm Y
Pecking depth: 6 mm
Feed rate for pecking: 80 mm/min 12
Circle radius: 35 mm
35 X
Milling feed rate: 100 mm/min
50
Direction of the cutter path: –
60
8.3 SL Cycles
Subcontour list (SL) cycles are very powerful cycles that enable you to mill
any plane contour. They are characterized by the following features:
• A contour can consist of superimposed subcontours. Pockets and
islands compose the subcontours.
• The subcontours are programmed as subprograms.
• The control automatically superimposes the subcontours and calculates
the points of intersection of the subcontours with each other.
Prerequisite:
The plane has to be perpendicular to the tool axis in TOOL CALL.
Example:
Tool axis Z or W; possible planes X/Y, U/Y, X/V, U/V
Example:
Tool axis Z, machining plane X/V
.
.
.
TOOL DEF 1 L+0 R+3
TOOL CALL 1 Z S 1000
CYCL DEF 14.0 CONTOUR GEOM.
CYCL DEF 14.1 CONTOUR LABEL 1/2/3
.
.
.
L....M2
LBL 1
CC X+20 V+10
.
.
.
All other coordinates are then ignored.
The following examples will at first use only the ROUGH-OUT cycle.
Later, as the examples become more complex, the full range of possibili-
ties of this group of cycles will be illustrated.
Input data
Enter the LABEL numbers of the subprograms. A
maximum of 12 subprograms can be listed.
Effect
Cycle 14 becomes effective as soon as it is defined. Fig. 8.13: Example of an SL contour: A, B = pockets; C, D = islands
ROUGH-OUT (Cycle 6)
Process
Cycle 6 specifies the cutting path and partitioning.
• The tool is positioned in the tool axis above the first infeed point, taking
the finishing allowance into account.
• Then the tool penetrates into the workpiece at the programmed feed
rate for pecking.
Required tool
This cycle requires a center cut end mill (ISO 1641) if the pocket is not
separately pilot drilled or if the tool must repeatedly jump over contours.
Input data
• SETUP CLEARANCE A A
• MILLING DEPTH B
C
• PECKING DEPTH C
B
• FEED RATE FOR PECKING:
Traversing speed of the tool during penetration
• FINISHING ALLOWANCE D :
Allowance in the machining plane (positive number)
• ROUGH-OUT ANGLE α :
Feed direction for roughing out. The rough-out angle is relative to the
angle reference axis and can be set such that the resulting cuts are as D
long as possible with few cutting movements.
Fig. 8.14: Infeeds and distances with the
• FEED RATE: ROUGH-OUT cycle
Traversing speed of the tool in the machining plane.
12
2 5
R
Coordinates of the island corners: 60 1
X Y
1 70 mm 60 mm LBL
2 15 mm 60 mm
3 15 mm 20 mm 20
70 mm 20 mm 3 4
4 8
Coordinates of the auxiliary pocket: X
15 70
X Y
9
6 –5 mm –5 mm
7 105 mm –5 mm
8 105 mm 105 mm 7
9 –5 mm 105 mm
Starting point for machining: 6
5 X = 40 mm Y = 60 mm
Setup clearance: 2 mm
Milling depth: 15 mm
Pecking depth: 8 mm
Feed rate for pecking: 100 mm/min
Finishing allowance: 0
Rough-out angle: 00
Feed rate for milling: 500 mm/min
Starting position
Machining begins at the starting position of the first pocket in cycle 14
CONTOUR GEOMETRY. The starting position should be located as far as Y Z
possible from the overlapping contours.
X
Circle radii 5
R2
R2
R = 25 mm
50 1 2
Setup clearance: 2 mm
Milling depth: 10 mm
Pecking depth: 5 mm
Feed rate for pecking: 500 mm/min
X
Finishing allowance: 0 35 65
Rough-out angle: 0
Milling feed rate: 500 mm/min
Continued...
15 LBL 1
S1
16
17
L X+10 Y+50 RL
CC X+35 Y+50 A Left pocket
A B
18 C X+10 Y+50 DR+ S2
19 LBL 0
20 LBL 2
21 L X+90 Y+50 RL
22
23
CC X+65 Y+50
C X+90 Y+50 DR+
B Right pocket
24 LBL 0
25 END PGM 360821 MM Fig. 8.17: Points of intersection S1 and S2 of
pockets A and B
Depending on the control setup (machine parameters), machining starts
either with the outline or the surface:
Fig. 8.18: Outline is machined first Fig. 8.19: Surface is machined first
Area of inclusion
Both areas (element A and element B) are to be
machined — including the area of overlap.
• A and B must be pockets.
• The first pocket (in cycle 14) must start outside
the second. B
15 LBL 1
A
16 L X+10 Y+50 RL
17 CC X+35 Y+50
18 C X+10 Y+50 DR+
19 LBL 0
20 LBL 2
21 L X+90 Y+50 RL
22 CC X+65 Y+50
23 C X+90 Y+50 DR+ Fig. 8.20: Overlapping pockets: area of inclusion
24 LBL 0
Area of exclusion
Surface A is to be machined without the portion
overlapped by B:
• A must be a pocket and B an island.
• A must start outside of B.
15 LBL 1
16 L X+10 Y+50 RL B
17 CC X+35 Y+50 A
18 C X+10 Y+50 DR+
19 LBL 0
20 LBL 2
21 L X+90 Y+50 RR
22 CC X+65 Y+50
23 C X+90 Y+50 DR+
24 LBL 0
Fig. 8.21: Overlapping pockets: area of exclusion
Area of intersection
Only the area of intersection of A and B is to be
machined.
• A and B must be pockets.
• A must start inside B. A B
15 LBL 1
16 L X+60 Y+50 RL
17 CC X+35 Y+50
18 C X+60 Y+50 DR+
19 LBL 0
20 LBL 2
21 L X+90 Y+50 RL
22 CC X+65 Y+50
23 C X+90 Y+50 DR+ Fig. 8.22: Overlapping pockets: area of intersection
24 LBL 0
Area of inclusion
Elements A and B are to be left unmachined
including the mutually overlapped surface:
• A and B must be islands.
• The first island must start outside the second
island. B
22 LBL 2 A
23 L X+10 Y+50 RR
24 CC X+35 Y+50
25 C X+10 Y+50 DR+
26 LBL 0
27 LBL 3
28 L X+90 Y+50 RR
29 CC X+65 Y+50
30 C X+90 Y+50 DR+
Fig. 8.23: Overlapping islands: area of inclusion
31 LBL 0
32 END PGM 360823 MM
The supplements and subprograms are entered in the main program on page 8-23.
Area of exclusion
All of surface A is to be left unmachined except the
portion overlapped by B:
• A must be an island and B a pocket.
• B must start inside A.
22 LBL 2
B
23 L X+10 Y+50 RR A
24 CC X+35 Y+50
25 C X+10 Y+50 DR+
26 LBL 0
27 LBL 3
28 L X+40 Y+50 RL
29 CC X+65 Y+50
30 C X+40 Y+50 DR+
31 LBL 0
32 END PGM 360823 MM Fig. 8.24: Overlapping islands: area of exclusion
Area of intersection
Only the area of intersection of A and B is to remain
unmachined.
22 LBL 2
23 L X+60 Y+50 RR
24 CC X+35 Y+50
25 C X+60 Y+50 DR+
26 LBL 0
27 LBL 3
28 L X+90 Y+50 RR
29 CC X+65 Y+50
30 C X+90 Y+50 DR+
31 LBL 0 Fig. 8.25: Overlapping islands: area of intersection
32 END PGM 360823 MM
25
R2
R
A and B (two overlapping pockets) as well as
5
C and D (two islands within these pockets). X
35 65
D
C B
A
12 CYCL CALL
13 L Z+100 R0 FMAX M2
14 LBL 1
15 L X+10 Y+50 RL
16 CC X+35 Y+50
17 C X+10 Y+50 DR+
18 LBL 0
19 LBL 2
20 L X+90 Y+50 RL
21 CC X+65 Y+50
22 C X+90 Y+50 DR+
23 LBL 0
24 LBL 3
25 L X+27 Y+42 RL Fig. 8.27: Milling completed
26 L Y+58
27 L X+43
28 L Y+42
29 L X+27
30 LBL 0
31 LBL 4
32 L X+57 Y+42 RR
33 L X+73
34 L X+65 Y+58
35 L X+57 Y+42
36 LBL 0
37 END PGM 360825 MM
X
Input data
• SETUP CLEARANCE
• TOTAL HOLE DEPTH Identical to cycle 1
Fig. 8.28: Example of cutter infeed points
• PECKING DEPTH for PECKING
PECKING
• DWELL TIME
• FEED RATE
• FINISHING ALLOWANCE
Allowed material for the drilling operation (see Fig. 8.29). Y
The sum of the tool radius and finishing allowance should be the same
for pilot drilling and roughing out. D
Process
• The tool is positioned above the first starting point.
• The tool then penetrates at the programmed feed rate to the first
pecking depth.
• On reaching the first pecking depth, the tool mills the first contour at
the programmed feed rate and in the specified direction of rotation.
• At the infeed point, the tool is advanced to the next pecking depth.
A
This process is repeated until the programmed milling depth is reached.
The remaining subcontours are milled in the same manner. C
B
Required tool
This cycle requires a center-cut end mill (ISO 1641).
The following scheme illustrates the application of the cycles Pilot Drilling,
Rough-Out and Contour Milling in part programming:
2. Drilling
Define and call the drilling
CYCL DEF 15.0 PILOT DRILLING
Pre-positioning
Cycle call required!
3. Rough-out
Define and call tool for rough milling
CYCL DEF 6.0 ROUGH-OUT
Pre-positioning
Cycle call required!
4. Finishing
Define and call finish milling tool
CYCL DEF 16.0 CONTOUR MILLING
Pre-positioning
Cycle call required!
5. Contour subprograms
STOP M02
Subprograms for the subcontours.
Input data
Only the coordinates of the new datum need to be entered. Absolute
values are based on the workpiece datum manually defined with datum Fig. 8.36: Activation of the datum shift
setting. Incremental values are based on the last valid datum; this datum
can itself be shifted.
Z Z
Y Y
IY
Y X X
IX
Fig. 8.37: Datum shift, absolute Fig. 8.38: Datum shift, incremental
Cancellation
To cancel a datum shift, enter the datum shift coordinates X = 0, Y = 0
and Z = 0.
1
20
15
25 30
LBL 1 LBL 0
Datum shift Block 15 Block 27
Mirror image, rotation, scaling Block 19 Block 31
Activation Z
The Mirror Image cycle becomes active as soon as
it is defined:
Mirrored axes are identified in the status display by
the letter S.
Y
• If one axis is mirrored, the machining direction of X
the tool is reversed (this holds only for machining
cycles).
• If two axes are mirrored, the machining direction
remains the same.
Input data Z
Enter the axis that you wish to mirror. The tool axis Y
cannot be mirrored.
X
Cancellation
To cancel a mirror image, answer the dialog query
with NO ENT.
Y Y
3
2
X
X
60
1
20
15
70
25 30
Activation
A rotation becomes active as soon as the cycle is defined. This cycle is
also effective in the POSITIONING WITH MANUAL INPUT mode.
Input data
The angle of rotation is entered in degrees (°).
Entry range: –360° to +360° (absolute or incremental)
Cancellation
To cancel a rotation, enter a rotation angle of 0°.
Example: Rotation
35°
2 X
1
60
70
Continued...
Activation
A scaling factor becomes effective as soon as the cycle is defined.
Scaling factors can be applied
• in the machining plane, or to all three coordinate axes at the same time
(depending on MP7410)
• to the dimensions in cycles
• also in the parallel axes U, V, W
The scaling factor is indicated in the status display with SCL.
Input data
The cycle is defined by entering the scaling factor SCL. The TNC multiplies
the coordinates and radii by the SCL factor (as described under
“Activation” above).
To increase the size: enter SCL greater than 1 (max. 99.999 999)
To reduce the size: enter SCL less than 1 (down to 0.000 001)
Cancellation
To cancel a scaling factor, enter a scaling factor of 1.
Prerequisite
Before entering a scaling factor it is advisable to set the datum to an edge
or corner of the contour.
20 1
15
60
25 30
The dwell time cycle can be used, for example, for chip breaking.
Activation
This cycle becomes effective as soon as it is defined. Modal conditions
(such as a spindle rotation) are not affected.
Input data
A dwell time is entered in seconds.
Entry range: 0 to 30 000 s (approx. 8.3 hours) in increments of 0.001 s.
Input data
Enter the file name of the program to be called.
Part program
.
.
.
CYCL DEF 12.0 PGM CALL ........................................ Definition:
CYCL DEF 12.1 PGM 50 ............................................. “Program 50 is a cycle”
L X+20 Y+50 FMAX M99 ........................................... Call of program 50
.
.
.
Application
The control can address the machine tool spindle as a 5th axis and turn
it to a certain angular position. Oriented spindle stops are required for:
• Tool changing systems with a defined tool change position
• Orientation of the transmitter/receiver window of the TS 511 Touch
Probe System from HEIDENHAIN OO
Activation
The angle of orientation defined in the cycle is positioned to with M19. If
M19 is executed without a cycle definition, the machine tool spindle will
be oriented to the angle set in the machine parameters.
Fig. 8.42: Oriented spindle stop
Prerequisite
The machine must be set up for this cycle.
Input data
Angle of orientation (based on the reference axis of the machining plane)
Input range: 0 to 360°
Input resolution: 0.1°
The TNC and machine must have been prepared by the machine tool builder for the use of a 3D touch probe.
Y ZS
MIN
Fig. 9.1: Clearance height and digitizing
range
Input data
• PGM NAME
Name of the file in which the digitized data is to be stored
• MIN POINT RANGE
Coordinates of the lowest point in the range to be digitized
• MAX POINT RANGE
Coordinates of the highest point in the range to be digitized
• CLEARANCE HEIGHT
Position in the probe axis at which the probe cannot collide with the
model
TOUCH
PROBE TCH PROBE: 0 REF. PLANE
GOTO
5 ENT
Select digitizing cycle 5: RANGE.
ENT
Confirm selection.
PGM NAME?
Enter the name of the file in which the digitizing data are to be stored.
.
.
.
.
.
.
MIN. POINT RANGE ?
e.g. 0 ENT
Enter in sequence the X, Y and Z coordinates of the range MIN point.
0 ENT
0 ENT
e.g. 1 0 ENT Enter in sequence the X, Y and Z coordinates of the range MAX point.
e.g. 1 0 ENT
e.g. 2 0 ENT
CLEARANCE HEIGHT?
ENT
Resulting NC blocks:
.
.
.
TCH PROBE 5.0 RANGE
TCH PROBE 5.1 PGM NAME: 5007
TCH PROBE 5.2 Z X+0 Y+0 Z+0
TCH PROBE 5.3 X+10 Y+10 Z+20
TCH PROBE 5.4 HEIGHT: + 100
.
.
.
Starting position
• Coordinates from the RANGE cycle:
X and Y coordinates of the MIN point
Z coordinate = CLEARANCE HEIGHT
• Automatically move to the starting position:
first Z, then X and Y
Contour approach
The touch probe moves in the negative Z direction towards the model.
Upon contact, the TNC stores the position.
Input data
• LINE DIRECTION
Coordinate axis in whose positive direction the touch probe moves
(beginning with the first contour point).
• LIMIT IN NORMAL LINES DIRECTION
Distance the probe is retracted from the model after each deflection of
the stylus during scanning
• LINE SPACING
The offset by which the probe moves at the ends of the lines before
scanning the next line
• MAX. PROBE POINT INTERVAL
Maximum spacing between consecutive digitized positions
The LINE SPACING and MAX. PROBE POINT INTERVAL cannot exceed 5 mm.
When the entire range has been scanned, the Fig. 9.3: Digitizing with the MEANDER cycle
touch probe returns to the CLEARANCE HEIGHT.
TOUCH
PROBE TCH PROBE: 0 REF PLANE
GOTO
6 ENT
Select the digitizing cycle 6: MEANDER.
ENT
Confirm your selection.
LINE DIRECTION ?
e.g. X ENT
Enter the line direction, for example X.
e.g. 0 . 5 Enter the distance by which the probe is to retract from the surface,
for example 0.5 mm.
ENT
LINE SPACING ?
.
.
.
.
.
.
MAX. PROBE POINT INTERVAL ?
Enter the maximum probe point interval, for example 0.8 mm.
e.g. 0 . 8
ENT
Resulting NC blocks:
TCH PROBE 6.0 MEANDER
TCH PROBE 6.1 DIRECTN: X
TCH PROBE 6.2 TRAVEL: 0.5 L.SPAC: 0.2
P.P. INT: 0.8
Before cycle 6: MEANDER the program must have a range defined in digitizing cycle 5: RANGE.
Starting position
• Z coordinate of the MIN point from the RANGE cycle if the line spacing
was entered as a positive value, or Z coordinate of the MAX point if the
line spacing was entered as a negative value.
• Define the X and Y coordinates in the CONTOUR LINES cycle
• Automatically approach the starting point:
first in Z to the CLEARANCE HEIGHT (from RANGE cycle), then in
X and Y
Contour approach
The probe moves towards the surface in the programmed direction. When
it makes contact, the TNC stores the position coordinates.
Input data
• TIME LIMIT
The time within which the probe must orbit the model and reach the
first probe point. If the time limit is exceeded, the control aborts the
digitizing cycle. The input value 0 means there is no time limit.
• STARTING POINT
Coordinates of the starting point in the plane perpendicular to the probe
axis.
• AXIS AND DIRECTION OF APPROACH
Coordinate axis and direction in which the probe approaches the model.
• STARTING PROBE AXIS AND DIRECTION
Coordinate axis and direction in which the probe begins scanning the
model.
• LIMIT IN NORMAL LINES DIRECTION
Distance by which the probe is retracted from the model after a stylus
deflection.
• LINE SPACING
Offset by which the probe moves to start a new contour line. The
algebraic sign determines the direction.
• MAX. PROBE POINT INTERVAL
Maximum distance between digitized positions.
• The LINE SPACING and MAX. PROBE POINT INTERVAL cannot exceed 5 mm.
• After digitizing, the TNC moves the 3D touch probe back to the programmed STARTING POINT.
TOUCH
PROBE TCH PROBE: 0 REF. PLANE
GOTO
7 ENT
Select digitizing cycle 7: CONTOUR LINES.
ENT
Confirm your selection.
TIME LIMIT ?
ENT
STARTING POINT ?
.
.
TNC 360 9-9
9 Digitizing 3D Surfaces
9.4 Contour Line Digitizing
.
.
.
AXIS AND DIRECTION OF APPROACH ?
z.B. Y +/ ENT
Enter the approach direction, for example Y–.
e.g. 0 . 5 Enter the distance the probe is retracted, for example 0.5 mm.
ENT
e.g. +/ ENT
Enter the line spacing, here 1 mm. The algebraic sign determines the
direction in which the probe moves to start the next contour line.
e.g. 0 . 2 Enter the maximum probe point interval, for example 0.2 mm.
ENT
Resulting NC blocks:
TCH PROBE 7.0 CONTOUR LINES
TCH PROBE 7.1 TIME: 200 X+50 Y+0
TCH PROBE 7.2 ORDER Y–/X+
TCH PROBE 7.3 TRAVEL: 0.5 L.SPAC: –1 P.P. INT: 0.2
Before Cycle 7: CONTOUR LINES, the program must have a range defined in digitizing Cycle 5: RANGE.
The TNC generates an NC part program from the digitized data. The
program name is entered in the scanning cycle RANGE.
During machine execution, the tool radius determines the shape of the
machined contour.
When the tool radius does not equal the effective probe tip radius
In this case the machined part will be either smaller or larger than the
model. The HEIDENHAIN evaluation software SUSA can reproduce the
original shape of workpiece models that were scanned with the meander
scanning process.
0 BEGIN PGM DATA MM ..................................... Program name DATA.H is entered in the RANGE cycle
1 L Z+40 FMAX ..................................................... Starting point in Z
2 L X+0 Y–25 FMAX .............................................. Starting point in X, Y
3 L X+2.005 Y–12.561 ........................................... 1st digitized position
4 L X+2.025 Y–12.375 ........................................... 2nd digitized position
.
.
.
L X+2.005 Y–12.560 ........................................... Contour line completed: probe has returned to first digitized
. position
.
.
L Z+0.5 X+0 Y–10.423 ........................................ 1st digitized position at the height of the new line
.
.
.
L X+0 Y–12.560 .................................................. Last digitized position
.
.
.
L X+0 Y–25 FMAX .............................................. Return to starting point in X, Y
L Z+40 FMAX ..................................................... Return to clearance height
END PGM DATA MM ......................................... Program end
Note:
• The feed rate of the touch probe system for approaching the starting
point and departing the end point is set in machine parameters for the
touch probe.
• The program length is limited only by the capacity of the external
storage device. After block 65535 the numbering begins again with 0.
• The probe scans the contour up to the next contour line.
• The TNC automatically marks the program beginning and end for data
transfer.
At the end of the digitized data program generated by the CONTOUR LINES cycle, the tool is returned to the pro-
grammed starting point.
Transfer all programs from the storage medium READ-IN ALL PROGRAMS
into the TNC
Display programs for transfer into the TNC READ-IN PROGRAM OFFERED
Transfer all programs which are in TNC memory READ-OUT ALL PROGRAMS
to an external device
If you are transferring data between two TNCs, the receiving control must be started first.
Blockwise transfer
In the operating modes PROGRAM RUN/FULL SEQUENCE and SINGLE
BLOCK, it is possible to transfer programs which exceed the memory
capacity of the TNC by means of blockwise transfer with simultaneous
execution (see page 3-6).
10.2 Pin Layout and Connecting Cable for the Data Interface
RS-232-C/V.24 Interface
HEIDENHAIN devices
Fig. 10.2: Pin layout of the RS-232-C/V.24 interface for HEIDENHAIN devices
The connecting pin layout on the TNC logic unit (X25) is different from that on the adapter block.
Non-HEIDENHAIN devices
The connector pin layout on a non-HEIDENHAIN device may differ
considerably from that on a HEIDENHAIN device. The pin layout will
depend on the unit and the type of data transfer.
HEIDENHAIN Devices
HEIDENHAIN devices (FE floppy disk unit and ME magnetic tape unit) are
designed for use with the TNC. They can be used for data transfer
without further adjustments.
The baud rate can be selected on the FE 401 floppy disk unit.
Non-HEIDENHAIN devices
The TNC and non-HEIDENHAIN devices must be adapted to each other.
The MOD functions provide additional displays and input possibilities. The
MOD functions available depend on the selected operating mode.
ENT Page through the MOD functions until you find the desired function.
Repeatedly
END
Close the MOD functions.
Timers for:
Control ON
Program run
Spindle ON 857282
Code numbers are entered in the dialog field after the corresponding MOD
function is selected.
BAUD RATE
The baud rate is the speed of data transfer in bits per second.
Permissible baud rates (enter with the numerical keys):
110, 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400 baud
The ME 101 has a baud rate of 2400.
RS-232-C Interface
The proper setting depends on the connected device.
Use the ENT key to select the baud rate.
1
11.6 Selecting Position Display Types
2 3
The positions indicated in Fig. 11.1 are:
• Starting position A A Z
• Target position of the tool Z
• Workpiece datum W 4 5
• Scale datum M
W
Select the desired information with the ENT key. It is then displayed
directly in the status field.
The machine and TNC must be prepared for this feature by the machine tool builder.
Move the spindle to the desired positive and negative end positions of the X, Y and Z axes.
Enter the values that you wrote down as LIMITS in the corresponding axes.
• The tool radius is not automatically compensated in the axis traverse limits values.
• Traverse range limits and software limit switches become active as soon as the reference marks are crossed
over.
• In every axis the TNC checks whether the negative limit is smaller than the positive one.
• The reference positions can also be captured directly with the Actual Position Capture function
(see page 4-19).
MP 5010
Function MP Bit
MP 5020
• Number of data bits 7 data bits (ASCII code, 8th bit = parity) .................................... +0
8 data bits (ASCII code, 9th bit = parity) .................................... +1
Example
To adapt the TNC interface to an external non-HEIDENHAIN device, use
the following setting:
8 data bits, BCC any character, transmission stop with DC3, even charac-
ter parity, character parity desired, 2 stop bits.
Input value: 1+0+8+0+32+64 = 105, so enter 105 for MP 5020.
Interface type
MP 5030
Function Value
Function Value
Function Value
Dialog language
MP 7230
Function Value
MP 7240
Function Value
MP 7270
Decimal character
MP 7280
Function Value
Function Value
Graphics display
Entry range: 0 to 3 (sum of the individual values)
MP 7310
Function Value
• Overwrite current tool data with the calibrated data of the touch probe ......................................................... 0
MP 7420
• Milling direction for a Clockwise for pockets, counterclockwise for islands .................. +1
channel around the contour Counterclockwise for pockets, clockwise for islands .................. +0
• Sequence of roughing out and First mill contour channel, then rough out .................................... +0
channel milling First rough out, then mill contour channel .................................... +2
• Milling in depth At each pecking depth, mill channel and rough out
before going to next depth ........................................................... +8
Mill contour channel to full pocket depth, then
rough out to full pocket depth ...................................................... +0
MP 7430
Function Value
Effect of M functions
The M functions M6 and M89 are influenced by MP 7440:
Entry range: 0 to 7
(Sum of the individual values in the “value” column)
MP 7440
• Modal cycle call with M89 Modal cycle call with M89 ........................................................... +2
M89 vacant M function ................................................................ +0
MP 7460
Function Value
• Maintain constant path speed at inside corners for angles of (degrees) ...................................... 0 to 179.999
Function Value
MP 7620
• Feed rate override when rapid traverse key Override effective ............................................................. +4
and machine axis direction button pressed Override not effective ....................................................... +0
MP 7640
Function Value
• No handwheel .................................................................................................................................................. 0
• HR 330 with additional keys – the keys for traverse direction
and rapid traverse are evaluated by the NC ..................................................................................................... 1
M Function Effective at
start of end of
block block
M02 Stop program run / Spindle stop / Coolant off. Clear the status display •
(depending on machine parameter) / Return to block 1
M06 Tool change / Stop program run (depending on machine parameter) / Spindle •
stop
M08 Coolant on •
M95 Reserved •
M96 Reserved •
Spindle speed S
The spindle speed S can be calculated from the tool radius R and the
cutting speed v as follows:
S = V
2 . R .π
Units:
S in rpm
V in mm/min
R in mm
You can read the spindle speed directly from the diagram.
Example:
Tool radius R = 15 mm
Cutting speed V = 50 000 mm/min
Spindle speed S ≈ 500 rpm
(calculated S = 530 rpm)
Tool radius
R [mm]
Cutting velocity
V [m/min]
Feed rate F
The feed rate F of the tool is calculated from the number of tool teeth n,
the permissible depth of cut per tooth d, and the spindle speed S:
F= n.d.S
Units:
F in mm/min
d in mm
S in rpm
The feed rate read from the diagram must be multiplied by the number of
tool teeth.
Example:
Depth of cut per tooth d = 0.1 mm
Spindle speed S = 500 rpm
Feed rate from diagram F = 50 mm/min
Number of tool teeth n = 6
Feed rate to enter F = 300 mm/min
Spindle speed
S [rpm]
Units:
F in mm/min
p in mm/1
S in rpm
The feed rate for tapping can be read directly from the diagram below.
Example:
Thread pitch p = 1 mm/rev
Spindle speed S = 100 rpm
Feed rate for tapping F = 100 mm/min
Thread pitch
p [mm/rev]
Spindle speed
S [rpm]
TNC 360
Description
Contouring control for up to 4 axes, with oriented spindle stop.
Components
Logic unit, keyboard, monochrome flat luminescent screen or CRT.
Data interface
RS-232-C / V.24
Background programming
For editing one part program while the TNC is running another.
Test run
Internally and with test run graphics.
Program types
• HEIDENHAIN plain Language format and ISO programs
• Tool table
Program memory
• Battery-buffered for up to 32 programs
• Capacity: approximately 4000 program blocks
Tool definitions
• Up to 254 tools in one program or up to 99 tools in the tool table
(program 0).
Programmable Functions
Contour elements
Straight line, chamfer, circle center, circle radius, tangentially connecting
arc, corner rounding.
Program jumps
Subprogram, program section repetition, main program as subprogram.
Fixed cycles
Peck drilling, tapping (also with synchronized spindle), rectangular and
circular pocket milling, slot milling, milling pockets and islands from a list
of subcontour elements.
Coordinate transformations
Datum shift, mirroring, rotation, scaling factor.
Mathematical functions
Basic operations +, –, x and %, trigonometric functions
sin, cos, tan and arctan.
Square roots ( a ) and root sum of squares ( a2 + b2 ).
Logical comparisons greater than, smaller than, equal to, not equal to.
TNC Specifications
Block execution time 1500 blocks/min (40 ms per block)
Control loop cycle time 6 ms
Data transfer rate Max. 38 400 baud
Ambient temperature 0°C to 45°C (operation)
–30°C to 70°C (storage)
Traverse Max. ± 30 m (1181 inches)
Traversing speed Max. 30 m/min (1181 ipm)
Spindle speed Max. 99 999 rpm
Input resolution As fine as 1 µm (0.0001 in.) or 0.001°
Accessories
FE 401 Floppy Disk Unit
Electronic Handwheels
Some of the more frequent TNC error messages are explained in the
following list.
ARITHMETICAL ERROR
Each axis can only have one value for position coordinates.
CYCL INCOMPLETE
EXCESSIVE SUBPROGRAMMING
KEY NON-FUNCTIONAL
This message always appears when you press a key that is not needed for
the current dialog.
You can only call labels numbers that have been assigned.
• Use the same radius compensation before and after a RND and CHF
block.
• Do not begin tool radius compensation in a block with a circular path.
PROGRAM-START UNDEFINED
Before a test run or program run you must go to the beginning of the
program by entering GOTO 0.
WRONG RPM
Program two different axes for the coordinates of the starting point
(CONTOUR LINES cycle).
Exchange the battery in the touch probe head (TS 511). This message is
displayed when the probe reaches the end of a line.
• Enter MIN coordinates that are smaller than their MAX coordinates.
• Define the RANGE within the limits set by software limit switches.
• Define the RANGE for the MEANDER and CONTOUR LINES cycles.
RANGE EXCEEDED
Program the starting point coordinates for the CONTOUR LINES cycle so
that they lie within the RANGE.
Pre-position the touch probe so that the stylus cannot be deflected before
it reaches the RANGE.
M Function Effective at
start of end of
block block
M02 Stop program run / Spindle stop / Coolant off. Clear the status display (depend- •
ing on machine parameter) / Return to block 1
M06 Tool change / Stop program run (depending on machine parameter) / Spindle •
stop
M08 Coolant on •
or
M95 Reserved •
M96 Reserved •