TNC Models TNC 406, TNC416, Software and Features
TNC Models TNC 406, TNC416, Software and Features
280 620-xx
280 621-xx
286 180-xx
User’s Manual
Conversational
Programming
English (en)
4/2001
www.EngineeringBooksPdf.com
Controls on the visual display unit Programming path movements
Split screen layout Straight line
Switch between machining or
programming modes Circle center/pole for polar coordinates
F % S %
0 0
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
TNC Models, Software and Features
This manual describes functions and features provided by the TNCs as
of the following NC software numbers.
Location of use
The TNC complies with the limits for a Class A device in accordance
with the specifications in EN 55022, and is intended for use primarily
in industrially-zoned areas.
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
Contents Introduction
1
Manual Operation, Setup and Probing
Functions 2
Positioning with manual data input
(MDI) 3
Programming: Fundamentals, Files,
Program Entry, Spark Erosion, Erosion
Tables 4
Programming: Tools
5
Programming: Programming Contours
6
Programming: Miscellaneous Functions
7
Programming: Cycles
8
Programming: Subprograms and
Program Section Repeats 9
Programming: Q Parameters
10
Test Run and Program Run
11
MOD Functions
12
Tables and Overviews
13
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
1 Introduction ..... 1
1.1 The TNC 406, the TNC 416 ..... 2
Controls ..... 2
Visual display unit and keyboard ..... 2
Programming ..... 2
Graphics ..... 2
Compatibility ..... 2
1.2 Visual Display Unit and Keyboard ..... 3
Visual display unit ..... 3
Screen layout ..... 4
Keyboard ..... 5
1.3 Modes of Operation ..... 6
Manual Operation, Incremental Jog, and Positioning with Manual Data Input ..... 6
Programming and Editing ..... 7
Test Run ..... 7
Program Run, Full Sequence and Program Run, Single Block ..... 8
1.4 Status Display ..... 9
General status display ..... 9
Additional status displays ..... 9
1.5 Accessory: Electronic Handwheels from HEIDENHAIN ..... 13
HR electronic handwheels ..... 13
www.EngineeringBooksPdf.com
2 Manual Operation, Setup and Probing Functions ..... 15
2.1 Switch-on ..... 16
Switch-on ..... 16
2.2 Moving the Machine Axes ..... 18
Note ..... 18
To traverse with the machine axis direction buttons: ..... 18
Traversing with the HR 410 electronic handwheel ..... 19
Incremental jog positioning ..... 20
Positioning with manual data input (MDI) ..... 20
Eroding a workpiece manually ..... 21
2.3 Datum Setting ..... 22
Example ..... 22
2.4 Calibration and Setup ..... 23
Using an electrode ..... 23
Select the touch probe function ..... 24
Calibrating the probing electrode ..... 25
Compensating workpiece misalignment ..... 27
2.5 Datum Setting with a Probing Electrode ..... 28
Functions for setting the datum ..... 28
Writing probed values to tables ..... 28
Datum setting in any axis ..... 29
Manual probing ..... 29
Workpiece center as datum ..... 30
Corner as datum ..... 31
Circle center as datum ..... 32
2.6 Measuring with a Probing Electrode ..... 33
Introduction ..... 33
To find the coordinate of a position on an aligned workpiece ..... 33
Finding the coordinates of a corner in the working plane ..... 33
Measuring workpiece dimensions ..... 34
Measuring angles ..... 35
2.7 Entering and Starting Miscellaneous Functions M ..... 36
Entering values ..... 36
II
www.EngineeringBooksPdf.com
4 Programming: Fundamentals, Files,
Program Entry, Spark Erosion, Erosion Tables ..... 41
4.1 Fundamentals of Positioning ..... 42
Introduction ..... 42
What is NC? ..... 42
The part program ..... 42
Programming ..... 42
Position encoders and reference marks ..... 43
Reference system ..... 43
Reference system with EDMs ..... 44
Programming electrode movement ..... 44
Polar coordinates ..... 45
Absolute and incremental workpiece positions ..... 46
Setting the datum ..... 47
4.2 Files ..... 48
File directory ..... 48
Selecting, copying, deleting and protecting files ..... 50
4.3 Creating and Writing Programs ..... 51
Organization of an NC program in HEIDENHAIN conversational format. ..... 51
Defining the blank form–BLK FORM ..... 51
Creating a new part program ..... 52
Programming tool movements in conversational format ..... 54
Editing a program ..... 55
4.4 Automatic Workpiece Change with WP-Call ..... 57
Programming a workpiece change ..... 57
4.5 Fundamentals of Spark Erosion ..... 58
4.6 Erosion Tables ..... 61
Using erosion tables in a program ..... 61
Working without an erosion table ..... 61
Ready-to-use erosion tables ..... 61
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table ..... 62
To enter erosion parameters in the erosion table ..... 63
Power stage (NR) ..... 64
Low voltage current (LV) ..... 64
High voltage current (HV) ..... 64
Gap voltage (GV) ..... 64
Pulse-on duration and pulse-off duration ..... 65
Servo sensitivity SV ..... 65
Erosion time ET, Auto jump distance AJD ..... 65
Arc sensitivity (AR) ..... 66
Electrode polarity (P) ..... 66
High voltage selector HS ..... 66
Wear rate WR ..... 67
Surface finish RA ..... 67
Stock removal SR ..... 68
Two-times gap (2G) ..... 68
Minimum undersize (UNS) ..... 69
Auxiliary parameters AUX 1, AUX 2, ... AUX 6 ..... 69
IV
www.EngineeringBooksPdf.com
6 Programming: Programming Contours ..... 85
6.1 General Information on Programming Electrode Movements ..... 86
Path functions ..... 86
Machines with 5 axes ..... 86
Subprograms and program section repeats ..... 86
Cycles ..... 87
Parametric programming ..... 87
6.2 Contour Approach and Departure ..... 88
Starting point and end point of machining ..... 88
Tangential contour approach and departure ..... 91
6.3 Path functions ..... 92
General ..... 92
Programmed machine axis movement ..... 92
6.4 Path Contours — Cartesian Coordinates ..... 93
Overview of path functions ..... 93
Straight line L ..... 94
Inserting a chamfer CHF between two straight lines ..... 96
Corner rounding RND ..... 97
Circles and circular arcs ..... 97
Circle center CC ..... 98
Circular path C around circle center CC ..... 100
Circular path CR with defined radius ..... 101
Circular path CT with tangential connection ..... 103
6.5 Path Contours — Polar Coordinates ..... 109
Overview ..... 109
Polar coordinate origin: Pole CC ..... 109
Straight line LP ..... 110
Circular path CP around pole CC ..... 111
Circular path CTP with tangential connection ..... 112
Helical interpolation ..... 113
www.EngineeringBooksPdf.com
7 Programming: Miscellaneous functions ..... 119
7.1 Entering Miscellaneous Functions M and STOP ..... 120
Fundamentals ..... 120
7.2 Miscellaneous Functions for Program Run Control, Electrode and Flushing ..... 122
Overview ..... 122
7.3 Miscellaneous Functions for Contouring Behavior and Coordinate Data ..... 123
Introduction ..... 123
Machining small contour steps: M97 ..... 123
Machining open contours: M98 ..... 124
Programming machine-referenced coordinates: M91/M92 ..... 124
Retracting electrode to block starting point at end of block: M93 ..... 125
7.4 Vacant miscellaneous functions ..... 126
VI
www.EngineeringBooksPdf.com
8 Programming: Cycles ..... 129
8.1 General Overview of Cycles ..... 130
Prerequisites ..... 130
Start of effect ..... 130
Dimensions in the electrode axis ..... 130
OEM cycles ..... 130
Programming a cycle ..... 131
8.2 Cycle 1 GENERATOR ..... 133
Working with an erosion table ..... 133
Working without an erosion table ..... 133
To enter Cycle 1.0 GENERATOR ..... 133
Changing the power stage ..... 134
8.3 Electrode Definition ..... 135
Cycle 3 TOOL DEF ..... 135
Example NC blocks ..... 136
8.4 Erosion Cycles ..... 137
Overview ..... 137
Cycle 14 CONTOUR GEOMETRY ..... 137
Cycle 16 ORBIT ..... 139
Cycle 17 DISK ..... 142
Cycle 2 ERO.TIME LIM. ..... 145
Cycle 4 SPARK-OUT TIME ..... 146
8.5 Coordinate Transformation Cycles ..... 155
Cycles for electrode definition ..... 155
Coordinate transformation cycles ..... 155
DATUM SHIFT (Cycle 7) ..... 156
Working with datum tables ..... 157
MIRROR IMAGE (Cycle 8) ..... 158
ROTATION (Cycle 10) ..... 159
SCALING FACTOR (Cycle 11) ..... 160
WORKING PLANE (Cycle 19) ..... 161
8.6 Other Cycles ..... 171
DWELL TIME (Cycle 9) ..... 171
PGM-CALL (Cycle 12) ..... 171
www.EngineeringBooksPdf.com
9 Programming: Subprograms and Program Section Repeats ..... 173
9.1 Labeling Subprograms and Program Section Repeats ..... 174
Labels ..... 174
9.2 Subprograms ..... 175
Operating sequence ..... 175
Programming notes ..... 175
Programming a subprogram ..... 175
Calling a subprogram ..... 175
9.3 Program Section Repeats ..... 176
Label LBL ..... 176
Operating sequence ..... 176
Programming notes ..... 176
Resetting the program repeat counters after an interruption ..... 176
Programming a program section repeat ..... 176
Calling a program section repeat ..... 177
9.4 Separate Program as Subprogram ..... 178
Operating sequence ..... 178
Programming notes ..... 178
Calling any program as a subprogram ..... 178
9.5 Nesting ..... 179
Types of nesting ..... 179
Nesting depth ..... 179
Subprogram within a subprogram ..... 179
Repeating program section repeats ..... 180
Repeating a subprogram ..... 181
VIII
www.EngineeringBooksPdf.com
10 Programming: Q Parameters ..... 185
10.1 Principle and Overview ..... 186
Automatic deletion of Q parameters ..... 186
10.2 Part Families – Q Parameters in Place of Numerical Values ..... 187
Example NC blocks ..... 187
Example ..... 187
To assign numerical values to Q parameters ..... 188
10.3 Describing Contours through Mathematical Operations ..... 189
Function ..... 189
Overview ..... 189
Programming example for basic mathematical operations ..... 190
10.4 Trigonometric Functions ..... 192
Definitions ..... 192
Overview of functions ..... 193
10.5 If-Then Decisions with Q Parameters ..... 194
Function ..... 194
Unconditional jumps ..... 194
Programming If-Then decisions ..... 194
Abbreviations used: ..... 195
10.6 Checking and Changing Q Parameters ..... 196
Procedure ..... 196
10.7 Output of Q Parameters and Messages ..... 197
Output of error messages ..... 197
Output through an external data interface ..... 197
Indexed assignment ..... 198
Transferring values to/from the PLC ..... 198
10.8 Measuring with a probing electrode during program run ..... 199
Introduction ..... 199
To program the use of a probing electrode ..... 200
10.9 Q Parameters with Special Functions ..... 202
Vacant Q parameters ..... 202
Preassigned Q parameters ..... 202
Q parameters with special functions ..... 202
Preassigned Q parameters ..... 202
Q parameters with special functions ..... 206
www.EngineeringBooksPdf.com
11 Test run and Program Run ..... 215
11.1 Graphics ..... 216
Function ..... 216
Overview of display modes ..... 216
Plan view ..... 217
Projection in 3 planes ..... 217
3-D view ..... 217
Magnifying details ..... 218
Repeating graphic simulation ..... 219
11.2 Test run ..... 220
Function ..... 220
Running a program test ..... 220
Running a program test up to a certain block ..... 221
Operating time ..... 221
11.3 Program run ..... 222
Application ..... 222
Background programming ..... 222
Operating time ..... 222
Changing the erosion parameters during program run ..... 222
Running a part program ..... 223
Interrupting machining ..... 223
Mid-program startup (block scan) ..... 224
Resuming program run after an interruption ..... 225
Returning to the interruption spot ..... 226
Resuming program run with the GOTO key ..... 226
Resetting the counters ..... 227
Time capture table TIME.W ..... 227
www.EngineeringBooksPdf.com
12 MOD Functions ..... 229
12.1 MOD functions ..... 230
Selecting, Changing and Exiting the MOD Functions ..... 230
Overview of MOD functions ..... 230
Position Display Types ..... 231
Unit of measurement ..... 231
System Information ..... 232
Setting the external data interfaces ..... 232
BAUD RATE ..... 232
RS-232-C interface ..... 232
12.2 External Data Transfer ..... 233
Application examples ..... 233
LSV-2 protocol ..... 233
Protecting files ..... 233
12.3 Menu for External Data Transfer ..... 233
To select external data transfer ..... 233
Windows for external data transfer ..... 234
12.4 Selecting and Transferring Files ..... 235
Selecting the transfer function ..... 235
Selecting a file ..... 235
Transferring files ..... 235
Formatting disks ..... 236
Deleting files ..... 236
12.5 Software for Data Transfer ..... 237
Software for data transfer ..... 237
12.6 Enter Axis Traverse Limits ..... 240
Introduction ..... 240
12.7 Machine-Specific User Parameters ..... 242
Function ..... 242
12.8 Code Number ..... 243
Function ..... 243
12.9 Q Parameter Status Display ..... 244
Function ..... 244
www.EngineeringBooksPdf.com
13 Tables and Overviews ..... 245
13.1 General User Parameters ..... 246
Entering machine parameters ..... 246
Selecting the General User Parameters ..... 246
13.2 Pin Layout and Connecting Cable for the Data Interfaces ..... 254
RS-232-C/V.24 Interface HEIDENHAIN devices ..... 254
RS-422/V.11 Interface ..... 255
13.3 Preparing the Devices for Data Transfer ..... 256
HEIDENHAIN devices ..... 256
Non-HEIDENHAIN devices ..... 256
13.4 Technical Information ..... 257
13.5 TNC Error Messages ..... 259
TNC error messages during programming ..... 259
TNC error messages during test run and program run ..... 259
XII
www.EngineeringBooksPdf.com
1
Introduction
www.EngineeringBooksPdf.com
1.1 The TNC 406, the TNC 416
Programming
The user programs the TNC 406/TNC 416 right at the machine with
interactive conversational-type guidance.
Graphics
Workpiece machining can be graphically simulated. Various display
modes are available.
Compatibility
The TNC 406/TNC 416 can execute all programs whose commands
belong to the command set of the TNC 406/TNC 416.
2 1 Introduction
www.EngineeringBooksPdf.com
1.2 Visual Display Unit and
1 Header
When the TNC is on, the selected operating modes are shown in
the screen header.
2 Soft keys
In the footer the TNC indicates additional functions in a soft-key
row. You can select these functions by pressing the keys 2
immediately below them. The lines immediately above the soft-
key row indicate the number of soft-key rows that can be called 4 4
with the black arrow keys to the right and left. The line 31
representing the active soft-key row is highlighted.
5 7 8 9 10 6
1
3 Soft key selector keys
4 Switching the soft-key rows
5 Setting the screen layout
6 Shift key for switchover between machining and programming
modes
www.EngineeringBooksPdf.com
1.2 Visual Display Unit and Keyboard
RECALL No function
Screen layout
You select the screen layout yourself: In the TEST RUN mode of
operation, for example, you can have the TNC show program blocks in
the left window while the right window displays programming
graphics. You could also display the tool status in the right window
instead, or display only program blocks in one large window. The
available screen windows depend on the selected operating mode.
To change the screen layout:
4 1 Introduction
www.EngineeringBooksPdf.com
1.2 Visual Display Unit and Keyboard
Keyboard
1 7
The figure at right shows the keys of the keyboard grouped according
to their functions:
www.EngineeringBooksPdf.com
1.3 Modes of Operation
1.3 Modes of Operation
6 1 Introduction
www.EngineeringBooksPdf.com
1.3 Modes of Operation
Programming and Editing
In this mode of operation you can write your part programs. The
various cycles and Q parameter functions help you with programming
and add necessary information.
Soft keys for selecting the screen layout
Test Run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities, or
missing or incorrect data within the program. This simulation is
supported graphically in different display modes.
Soft keys for selecting the screen layout
Graphics
www.EngineeringBooksPdf.com
1.3 Modes of Operation
8 1 Introduction
www.EngineeringBooksPdf.com
1.4 Status Display
Soft
Additional status display
keys
Information on the current electrode
www.EngineeringBooksPdf.com
1.4 Status Display
1 Electrode length
2 Electrode radius 1
3 Electrode undersize 2
4 Electrode axis 3
4
5 6
10 1 Introduction
www.EngineeringBooksPdf.com
1.4 Status Display
Information on the current OEM cycle
2 3
www.EngineeringBooksPdf.com
1.4 Status Display
12 1 Introduction
www.EngineeringBooksPdf.com
1.5 Accessory: Electronic
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
2
Manual Operation, Setup and
Probing Functions
www.EngineeringBooksPdf.com
2.1 Switch-on
2.1 Switch-on
Switch-on
Switch on the power supply for control and machine. The TNC
automatically initiates the following dialog
MEMORY TEST
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
www.EngineeringBooksPdf.com
2.1 Switch-on
The TNC is now ready for operation in the Manual Operation mode.
www.EngineeringBooksPdf.com
2.2 Moving the Machine Axes
2.2 Moving the Machine Axes
Note
www.EngineeringBooksPdf.com
2.2 Moving the Machine Axes
Traversing with the HR 410 electronic
handwheel
The portable HR 410 handwheel is equipped with two permissive
buttons. The permissive buttons are located below the star grip.
You can only move the machine axes when an permissive button is 1
depressed (machine-dependent function). 2
The HR 410 handwheel features the following operating elements:
1 EMERGENCY STOP
2 Handwheel 3
4
3 Permissive buttons 4
6 5
4 Axis address keys
5 Actual-position-capture key 7
8
6 Keys for defining the feed rate (slow, medium, fast; the feed rates
are set by the machine tool builder)
7 Direction in which the TNC moves the selected axis
8 Machine function (set by the machine tool builder)
The red indicators show the axis and feed rate you have selected.
It is also possible to move the machine axes with the handwheel
during a program run.
To move an axis:
www.EngineeringBooksPdf.com
2.2 Moving the Machine Axes
INTERPOLATION FACTOR = 8 8
JOG INCREMENT =
www.EngineeringBooksPdf.com
2.2 Moving the Machine Axes
Eroding a workpiece manually
The MANUAL and JOG INCREMENT modes of operation enable you
to erode a workpiece manually. This function is especially useful for
initial erosion and datum setting. The present gap must be taken into
account when setting the datum.
Prerequisite
Cycle 1 GENERATOR must be active.
Procedure
8 Select the MANUAL or JOG INCREMENT mode of operation.
www.EngineeringBooksPdf.com
2.3 Datum Setting
2.3 Datum Setting
Z
The production drawing identifies a certain form element of the
workpiece (usually a corner) as the absolute datum, and usually one or
more form elements as relative datums (see ”Setting the datum” on
page 47). Through the datum setting process, the origin of the Y
absolute or relative coordinate systems is set to these datums:
The workpiece – aligned to the machine axes – is brought into a certain
position relative to the electrode, and the display is set to zero or the
appropriate position value (i.e., to account for the electrode radius).
X
Example
Coordinates of Point 1:
X = 10 mm
Y = 5 mm
Z = 0 mm
Z
The datum of the rectangular coordinate system is located
negative 10 mm on the X axis and negative 5 mm on the Y axis from
Point 1.
The fastest, easiest and most accurate way of setting the datum is by Y
using the probing functions for datum determination.
X
1
10
www.EngineeringBooksPdf.com
2.4 Calibration and Setup
www.EngineeringBooksPdf.com
2.4 Calibration and Setup
Manual probing
www.EngineeringBooksPdf.com
2.4 Calibration and Setup
Calibrating the probing electrode
The probing electrode is to be calibrated in the following situations:
During commissioning
When the electrode is changed
When the probing feed rate is changed
In case of irregularities, such as those arising when the machine
heats up
During calibration, the TNC finds the effective length and the effective
radius of the electrode.
To calibrate the electrode, clamp a ring gauge of known height and
inside diameter to the machine table.
www.EngineeringBooksPdf.com
2.4 Calibration and Setup
www.EngineeringBooksPdf.com
2.4 Calibration and Setup
Compensating workpiece misalignment
The TNC electronically compensates workpiece misalignment by
computing a ”basic rotation”.
For this purpose, the rotation angle is set to the desired angle with
respect to the reference axis in the working plane. If the tilt working
plane function is used, the TNC also takes the basic rotation into
account in the tilted system.
www.EngineeringBooksPdf.com
2.5 Datum Setting with a
2.5 Datum Setting with a Probing Electrode
Probing Electrode
Functions for setting the datum
Manual probing
After probing you can set a new datum or transfer the captured values
to a datum or tool table.
The TNC writes the probed value to a table after the TRANSFER TO
TABLE soft key is pressed. You can choose a datum table (NAME.D)
as well as a tool table (NAME.T):
8 Select manual probing by pressing the TOUCH PROBE soft key.
8 Enter the name of the datum or tool table.
8 Enter the datum number or tool number.
8 Select the probing function and begin probing.
8 Press the TRANSFER TO TABLE soft key for the TNC to write the
probed value to the selected table.
www.EngineeringBooksPdf.com
2.5 Datum Setting with a Probing Electrode
Datum setting in any axis
8 Select the probing function by pressing the PROBING
POS soft key.
8 Move the touch probe to a starting position near the
touch point.
8 Select the probe axis and direction in which you wish
to set the datum, such as Z in direction Z–. Selection
is made via soft keys.
8 To probe the workpiece, press the machine START
button.
8 Datum: Enter the nominal coordinate and confirm your
entry with ENT.
Manual probing
The PROBING DEPTH function enables you to probe the workpiece as
often as desired in one axis. At the same time, you can move all
remaining axes with the electronic handwheel. This probing function
is particularly convenient for finding peaks and valleys.
In this process, the TNC always stores the last point of electrode
contact with the workpiece. You can end the probing process with the
CYCLE STOP button.
8 Select the probing function PROBING DEPTH.
8 Move the probing electrode to a starting position near the touch
point.
8 Set the axis traverse limit, i.e. the maximum permissible traverse of
the electrode in the probing axis, and confirm with ENT.
8 Select the probe axis and direction in which you wish to set the
datum, such as Z in direction Z–.
8 Start the probing process. The TNC moves the electrode in the
selected axis direction until it makes contact with the workpiece.
This coordinate is stored in the TNC memory.
The probing process is repeated until you end the probing function
with CYCLE STOP.
8 Use the electronic handwheel to move the electrode in any of the
remaining axes to be scanned for peaks or valleys.
8 Enter the nominal coordinate of the datum and confirm with ENT.
www.EngineeringBooksPdf.com
2.5 Datum Setting with a Probing Electrode
www.EngineeringBooksPdf.com
2.5 Datum Setting with a Probing Electrode
Corner as datum
8 To select the probe function, press PROBING P.
8 Move the probing electrode to a position near the first
touch point. Y Y
8 Select the probing direction via soft key, e.g. X+.
8 To probe the workpiece, press the machine START
button.
8 Position the probing electrode near the second touch
point on the same side. Y=?
P P
8 To probe the workpiece, press the machine START
button. X X
X=?
8 Probe two points on the next edge in the same
manner.
8 Datum: Enter both datum coordinates into the menu
window, and confirm your entry with the ENT key.
8 To terminate the probe function, press the END key.
www.EngineeringBooksPdf.com
2.5 Datum Setting with a Probing Electrode
For incomplete circles (circular arcs) you can choose the appropriate
X– X+
probing direction.
8 Move the electrode to a position approximately in the center of the
circle.
Y–
8 To select the probe function, press PROBING CC.
www.EngineeringBooksPdf.com
2.6 Measuring with a
www.EngineeringBooksPdf.com
2.6 Measuring with a Probing Electrode
www.EngineeringBooksPdf.com
2.6 Measuring with a Probing Electrode
Measuring angles
You can also use the probing electrode 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
8 Select the probing function by pressing the PROBING
ROT soft key.
www.EngineeringBooksPdf.com
2.7 Entering and Starting
2.7 Entering and Starting Miscellaneous Functions M
Miscellaneous Functions M
Entering values
Miscellaneous function M
MISCELLANEOUS FUNCTION M =
www.EngineeringBooksPdf.com
3
Positioning with
Manual Data Input (MDI)
www.EngineeringBooksPdf.com
3.1 Positioning with Manual Data Input (MDI)
Conclude entry.
www.EngineeringBooksPdf.com
3.1 Positioning with Manual Data Input (MDI)
Protecting and erasing programs in $MDI
The $MDI file is generally intended for short programs that are only
needed temporarily. Nevertheless, you can store a program, if
necessary, by proceeding as described below:
TARGET FILE =
74523 Enter the name under which you want to save the
current contents of the $MDI file.
Erasing the contents of the $MDI file is done in a similar way: Instead
of copying the contents, however, you erase them with the DELETE
soft key. The next time you select the operating mode Positioning with
MDI, the TNC will display an empty $MDI file.
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
4
Programming:
Fundamentals, Files,
Program Entry, Spark Erosion,
Erosion Tables
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
4.1 Fundamentals of Positioning
Introduction
This chapter covers the following topics:
What is NC?
The part program
Programming
Position encoders and reference marks
Reference system
Reference system with electrical discharge machines (EDM)
Programming electrode movement
Polar coordinates
Absolute and incremental workpiece positions
Setting the datum
What is NC?
NC stands for Numerical Control, that is, the operation of a machine
tool by a series of coded instructions comprised of numbers.
Modern controls such as TNCs have a built-in computer for this
purpose and are therefore called CNC (Computerized Numerical
Control).
Programming
Conversational programming is a particularly easy method of writing
and editing part programs.
HEIDENHAIN NCs were developed specifically for the machine
operator who keys in programs right at the machine. This is why they
are called TNC (Touch Numerical Control).
You begin each machining step by pressing a key. The TNC then asks
you for all the information it needs to execute the step.
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
Position encoders and reference marks
The machine axes are equipped with position encoders that register
the positions of the machine table or tool. When a machine axis XMP
moves, the corresponding position encoder generates an electrical
signal. The TNC evaluates this signal and calculates the precise actual
position of the machine axis. X (Z,Y)
If there is an interruption of power, the calculated position will no
longer correspond to the actual position of the machine slide. The TNC
can re-establish this relationship with the aid of reference marks when
power is returned. The scales of the position encoders contain one or
more reference marks that transmit a signal to the TNC when they are
crossed over. From the signal the TNC identifies that position as the
machine-axis reference point and can re-establish the assignment of
displayed positions to machine axis positions.
Linear encoders are generally used for linear axes. Rotary tables and
tilt axes have angle encoders. If the position encoders feature
distance-coded reference marks, you only need to move each axis a
maximum of 20 mm (0.8 in.) for linear encoders, and 20° for angle Z
encoders, to re-establish the assignment of the displayed positions to
machine axis positions. Y
Reference system X
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
The TNC 406/TNC 416 can control up to 5 axes. The axes U, V and W
are secondary linear axes parallel to the main axes X, Y and Z,
respectively. Rotary axes are designated as A, B and C. The illustration
at lower right shows the assignment of secondary axes and rotary
axes to the main axes.
Y W+
C+
B+
V+ A+ X
U+
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
Polar coordinates
If the production drawing is dimensioned in Cartesian coordinates, you
also write the part program using Cartesian coordinates. For parts
containing circular arcs or angles it is often simpler to give the Y
dimensions in polar coordinates (see „Path Contours — Polar
Coordinates” on page 109).
R
While the Cartesian coordinates X, Y and Z are three-dimensional and H2
can describe points in space, polar coordinates are two-dimensional
and describe points in a plane. Polar coordinates have their datum at a H3
R
circle center (CC), or pole. A position in a plane can be clearly defined R
by the: H1
10 0°
CC
Polar Radius, the distance from the circle center CC to the position,
and the
Polar Angle, the size of the angle between the reference axis and X
the line that connects the circle center CC with the position. 30
Y/Z +Y Z
Y
Z/X +Z X
Z Y
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
15
X = 10 mm
Y = 10 mm
10
14
Hole 5, referenced to 4 Hole 6, referenced to 5
X = 20 mm X = 20 mm
Y = 10 mm Y = 10 mm 10
20 20 X
Absolute and incremental polar coordinates 10
Absolute polar coordinates always refer to the pole and the reference
axis.
Incremental polar coordinates always refer to the last programmed
nominal position of the tool.
Y
+IPR
PR
+IPA +IPA PR
PR PA
10 0°
CC
X
30
www.EngineeringBooksPdf.com
4.1 Fundamentals of Positioning
Setting the datum
The production drawing identifies a certain form element of the
workpiece (usually a corner) as the absolute datum, and usually one or
more form elements as relative datums. Through the datum setting Z
process, the origin of the absolute or relative coordinate systems is set
to these datums: The workpiece – aligned to the machine axes – is MAX
brought into a certain position relative to the electrode, and the display Y
is set to zero or the appropriate position value (i.e., to account for the
electrode radius) (see „Datum Setting” on page 22).
X
Example
The workpiece drawing at right shows holes (1 to 4) whose
dimensions are shown with respect to an absolute datum with the
coordinates X=0, Y=0. The holes (5 to 7) are dimensioned with respect
to a relative datum with the absolute coordinates X=450, Y=750. With MIN
the DATUM SHIFT cycle you can temporarily set the datum to the
position X=450, Y=750, to be able to program the holes (5 to 7)
without further calculations.
17 150 13 14
0
750 16
15 -150
300±0,1
320
1 12
X
325 450 900
950
www.EngineeringBooksPdf.com
4.2 Files
4.2 Files
The TNC 416 saves programs and tables as files. The TNC can store
up to 100 files. A file is identified by its file name and file extension.
The file name is entered when a new file is created.
The file extension is separated from the file name by a period, and
indicates what type of file it is.
Tables for
Erosion .E
Datum .D
Tools .T
Time capture Time.W
File directory
You call the file directory with the PGM NAME key (TNC 406) or the
PGM MGT key (TNC 416).
To delete files from the TNC, use CL PGM on the TNC 406 to call up
the directory.
Overview of the file management functions:
Operating
File Call file directory with
mode
... Create or
... Edit or
... Delete or
... Test or
... Run or
www.EngineeringBooksPdf.com
4.2 Files
The file directory contains the following information:
Display Meaning
FILE NAME Name (up to 8 characters plus file extension)
STORAGE AREA
AND NUMBER
INTERNAL Files in the TNC memory
FILES
Files in ROM
Pressing the ROM soft key displays files that the machine tool builder
wrote and stored in ROM, such as erosion tables. These files can be
edited.
www.EngineeringBooksPdf.com
4.2 Files
File protection
Deleting a file
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
You only need to define the blank form if you wish to run
a graphic test for the program!
MIN
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
-40
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
Example: Display the BLK form in the NC program.
0 BEGIN PGM NEW MM Program begin, name, unit of measure
1 BLK FORM 0.1 Z X+0 Y+0 Z-40 Spindle axis, MIN point coordinates
2 BLK FORM 0.2 X+100 Y+100 Z+0 MAX point coordinates
3 END PGM NEW MM Program end, name, unit of measure
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
Example of a dialog
Dialog initiation
COORDINATES ?
MISCELLANEOUS FUNCTION M ?
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
Function Key
Continue the dialog
Editing a program
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Function Key
Set the selected word to zero
www.EngineeringBooksPdf.com
4.3 Creating and Writing Programs
The word that is highlighted in the new block is the same as the one
you selected previously.
www.EngineeringBooksPdf.com
4.4 Automatic Workpiece Change
Example NC block
7 WP–CALL 1 / 1
www.EngineeringBooksPdf.com
4.5 Fundamentals of Spark Erosion
4.5 Fundamentals of Spark Erosion
An electric field is then created in the gap between the electrode and
+
the workpiece.
The electric field is strongest where the gap is the smallest.
The electrically conductive particles in the dielectric fluid are
concentrated at this point.
www.EngineeringBooksPdf.com
4.5 Fundamentals of Spark Erosion
After a certain length of time (the ignition delay time), a discharge
channel suddenly forms across the bridge of particles, and current
starts to flow between the electrode and the workpiece. The current
flow increases the temperature in the discharge channel, and further
electrically charged particles are created (ions). The current increases.
+
+
dielectric fluid there vaporizes.
The discharge channel expands in the middle while at the electrode
+
and workpiece it becomes narrower.
The temperature increases to a point where the surfaces of the
electrode and workpiece melt. Part of the molten metal vaporizes.
www.EngineeringBooksPdf.com
4.5 Fundamentals of Spark Erosion
When the discharge channel collapses, the implosion thrusts the
molten metal into the dielectric fluid.
+
A small crater remains on the electrode and the workpiece. The debris
of melted electrode or workpiece material remains suspended in the
dielectric fluid.
+
www.EngineeringBooksPdf.com
4.6 Erosion Tables
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
4.7 Parameters in the Erosion Table
You can enter the following erosion parameters in one erosion table:
Meaning Range
Power stage (NR) 25 to 1
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
To enter erosion parameters in the erosion table
FILE NAME ?
15 Enter the file name directly, e.g. 15. For a new erosion
table you must enter the name.
PROGRAM SELECTION
The TNC then asks for all further erosion parameters described in this
chapter.
To conclude entry
Return to program management with PGM NAME.
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Recommended input
Roughing NR = 15 to 10
Finishing NR = 10 to 6
Fine finishing NR = 6 to 1
Polishing NR = 5
Input range
15 (25) to 1 in decreasing order.
Input range
0 to 99 in up to 100 increments.
Input range
0 to 9 in up to 10 increments.
Setting
If the gap voltage is too high, the rate of stock removal will be too
low.
If the gap voltage is too low, irregularities will occur (arcing, short
circuiting).
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Pulse-on duration and pulse-off duration
The pulse-on duration (TON) is the time in which the generator
U
applies a voltage to the electrode and workpiece.
Ignition and subsequent discharge take place during this time.
The pulse-off duration (TOF) is the time in which no voltage is 1
t
generated. T- ON TF
During this time the gap is flushed and deionized.
Select the TON/TOF ratio according to the type of machining:
U
Setting
Roughing: Long pulse-on duration, short pulse-off duration
2
Finishing and polishing: Short pulse-on duration, long pulse-off t
T- ON TF
duration
Servo sensitivity SV
The servo sensitivity influences the reaction speed of the gap control.
SV= 60
Setting
High servo sensitivity: fast gap control U gap
Low servo sensitivity: slow gap control
Input range
0 to 99 %
Intermittent flushing
To improve deionization of the gap and flush away debris, you can
activate miscellaneous function M8 (intermittent flushing ON). ET AJD
ET
AJD
MP 2051
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Input value
Positive electrode: 0
Negative electrode: 1
T- ON t
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Wear rate WR
The wear rate is the ratio between the volume of material removed
from an electrode (Ve) and the volume of material removed from the
workpiece (Vw).
WR = Ve / Vw • 100 %
For the wear rate on the electrode for your particular machining task
and combination of materials, refer to the electrode table. Ve
Vw
Surface finish RA
Surface finish is a measure of machining quality. A machined surface
is never absolutely smooth, but consists of a series of peaks and
valleys.
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Stock removal SR
The stock removal is the volume of removed workpiece material (Vw)
per unit of time.
Stock removal is measured in ccm/minute.
Vw
www.EngineeringBooksPdf.com
4.7 Parameters in the Erosion Table
Minimum undersize (UNS)
The electrode diameter (Re) must be smaller than the cavity diameter
by at least the value of the minimum undersize UNS. UM UNS
=
Roughing 2 2
For roughing, the minimum undersize UNS is calculated from the
two-times gap 2G and the maximum surface roughness Rmax.
Finishing and polishing Rmax G
For finishing and polishing, the minimum undersize UNS is equal to
the two-times gap 2G. (The maximum surface roughness Rmax can
be disregarded.)
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
5
Programming: Tools
www.EngineeringBooksPdf.com
5.1 Electrodes
5.1 Electrodes
Electrode axis C
You can define the C axis as the electrode axis.
The TNC then operates as if the Z axis were the electrode axis. This
also holds for radius compensation and for the ROTATION cycle.
Electrode radius R
The radius of the electrode is entered directly.
Electrode length L
The compensation value for the electrode length is defined
as a length difference between the electrode and a zero electrode,
or
with a tool presetter.
If electrode lengths are determined with a tool presetter they should
be entered directly into the electrode definition (TOOL DEF block)
without further conversions.
72 5 Programming: Tools
www.EngineeringBooksPdf.com
5.1 Electrodes
Determining the electrode length with a zero electrode
Sign of the electrode length L:
L>L0: The tool is longer than the zero tool
L<L0: The tool is shorter than the zero tool
Example
www.EngineeringBooksPdf.com
5.1 Electrodes
74 5 Programming: Tools
www.EngineeringBooksPdf.com
5.1 Electrodes
If the TNC cannot show all positions in the tool table in one screen
page, the highlight bar at the top of the table will display the symbol
”>>” or ”<<”.
Delete line
www.EngineeringBooksPdf.com
5.1 Electrodes
76 5 Programming: Tools
www.EngineeringBooksPdf.com
5.1 Electrodes
Following electrode
Answering ”YES” to FOLW. ELECTRODE prevents the workpiece
from being damaged by too large an amount of taper (caused by
insufficient flushing or deep mold cavities) during roughing operations
at high current. For the gap between the electrode and the workpiece
the TNC multiplies the minimum gap by the value in Q157.
The value in Q157 is determined by your answer to FOLW.
ELECTRODE.
Call with following electrode: finishing, small undersize (narrow gap):
Q157 = 1
Call without following electrode: roughing, large undersize (wide gap):
1< Q157 < 2.5
4 EL-CALL 1 /ZF
www.EngineeringBooksPdf.com
5.1 Electrodes
Electrode compensation
You can compensate the electrode length and radius in a separate
program block.
8 Select the Programming and Editing mode of operation.
8 Select the EL-CORR function with the EL-CORR soft
key.
8 Undersize comp: Enter the undersize compensation.
Confirm your entry with the ENT key.
8 Electrode length comp:
Enter the electrode length compensation value.
Confirm your entry with the ENT key.
If no electrode length compensation: Press the NO
ENT key.
8 Electrode radius comp:
Enter the electrode radius compensation value.
Confirm your entry with the ENT key.
If no electrode radius compensation: Press the NO
ENT key.
Example
4 EL-CORR U+1 L R+0.5
Effect on Q parameters
The EL CORR block influences the pre-assigned Q parameters Q108,
Q158 and Q159 (see also ”Electrode data: Q108, Q158 to Q160” on
page 203).
78 5 Programming: Tools
www.EngineeringBooksPdf.com
5.2 Electrode Compensation Values
www.EngineeringBooksPdf.com
5.2 Electrode Compensation Values
80 5 Programming: Tools
www.EngineeringBooksPdf.com
5.2 Electrode Compensation Values
Tool movements with radius compensation: RR and RL
RR The electrode moves to the right of the programmed
contour.
RL The electrode moves to the left of the programmed contour. Y
Program any desired path function, enter the coordinates of the target
point and confirm your entry with ENT.
RR
RADIUS COMP. RL/RR/NO COMP. ?
www.EngineeringBooksPdf.com
5.2 Electrode Compensation Values
RL
Inside corners
The TNC calculates the intersection of the electrode center paths at
inside corners. It then starts the next contour element from this
point. This prevents damage to the workpiece at the inside corners.
The permissible electrode radius is therefore limited by the
geometry of the programmed contour.
RL RL
To prevent the tool from damaging the contour, be careful
not to program the starting or end position for machining
inside corners at a corner of the contour.
S S
82 5 Programming: Tools
www.EngineeringBooksPdf.com
5.3 Entering Electrode-Related
Input
Answer the dialog question in the positioning block:
Rapid traverse
For rapid traverse you can enter F = FMAX. The rapid traverse can also
be programmed directly.
FMAX is only effective in the program block in which it is programmed.
www.EngineeringBooksPdf.com
5.4 Actual Position Capture
5.4 Actual Position Capture
Function
The coordinates of the electrode position can be transferred into the Z
part program with the actual position capture feature.
You can also use this feature to transfer the electrode length directly L0
into the program (also see ”To enter the electrode data into a program T3
block” on page 73).
5
When the ACTL, ACT.W, NOML, NOM.W or REF TOOL DEF 3 L5 R
positions are being displayed, the TNC takes the value
from the position display. When the DIST. or LAG
positions are being displayed, the TNC uses the
associated nominal value. X
Select or open the program block into which you wish to transfer the
actual position of the electrode.
COORDINATES ?
84 5 Programming: Tools
www.EngineeringBooksPdf.com
6
Programming:
Programming Contours
www.EngineeringBooksPdf.com
6.1 General Information on Programming Electrode Movements
Path functions
Each element of the workpiece contour is entered separately using X
path functions. You enter
straight lines
circular arcs
You can also program a combination of the two elements (helical
paths):
The contour elements are executed in sequence to machine the
programmed contour as in the illustration.
C
Subprograms and program section repeats
If a machining routine occurs several times in a program, you can save
time and reduce the chance of programming errors by entering the
sequence once and then defining it as a subprogram or program
section repeat.
Programming variants:
Repeat a machining routine immediately after it is executed
(program section repeat)
Writing a machine routine separately and then inserting it into a
program (subprogram)
Calling a separate program for execution or test run within the main
program (program call)
www.EngineeringBooksPdf.com
6.1 General Information on Programming Electrode Movements
Cycles
The ORBIT erosion cycle is the basis for user-specific machining tasks.
This cycle allows you to program features such as conical and rounded
cavities.
You can also define the eroding time for this cycle.
Further cycles for coordinate transformations are available. These can
be used to change the coordinates of a machining sequence in a
defined way. Examples:
Datum shift
Mirroring
Basic rotation
Enlarging and reducing
The TOOL DEF cycle allows you to enter compensation values for the
electrode dimensions (tool data).
Parametric programming
With parametric programming, instead of programming numerical
values you enter markers called parameters which are defined through
mathematical functions or logical comparisons. You can use
parametric programming for:
Conditional and unconditional jumps
Probing for measurements with an electrode during program run
Output of values and messages
Transferring values to and from memory
The following mathematical functions are available:
Assign
Addition/Subtraction
Multiplication/Division
Angular measurement/Trigonometry
www.EngineeringBooksPdf.com
6.2 Contour Approach and
6.2 Contour Approach and Departure
Departure
RL
RL A
www.EngineeringBooksPdf.com
6.2 Contour Approach and Departure
Approaching the starting point S in the spindle axis
When the starting point S is approached, the spindle axis is moved to
working depth.
If there is danger of collision:
Approach the starting point in the spindle axis separately.
Example:
L X ... Y ...
L Z-10
S
The electrode is positioned in the Z axis to working depth.
End point
Similar requirements hold for the end point E:
Approachable without danger of collision
Near the last contour point
Avoids damage to tool and the workpiece
The ideal location for the end point E is again on the extended tool path
outside the hatched area. It is approached without radius
compensation.
E A
R0
L X ... Y ... R0
L Z+50
www.EngineeringBooksPdf.com
6.2 Contour Approach and Departure
SE
www.EngineeringBooksPdf.com
6.2 Contour Approach and Departure
Tangential contour approach and departure
Starting point and end point
The starting point and end point of machining are off the workpiece
near the first or last contour element. RL
The tool path to the starting or end point is programmed without radius
compensation.
Input A
The RND function is entered at the following points in the program: R
For the approach path, RND is programmed after the block
containing the first contour element (the first block with radius S
compensation RL/RR).
R0
For the departure path, RND is programmed after the block
containing the last contour element (the last block with radius
compensation RL/RR).
B
RL
E
R0
Example NC blocks
...
7 L X ... Y ... RO Starting point S
8 L X ... Y ... RL First contour point A
9 RND R Tangential approach
...
CONTOUR ELEMENTS
...
52 L X ... Y ... RL Last contour point B
53 RND R Tangential departure
54 L X ... Y ... RO End point E
...
www.EngineeringBooksPdf.com
6.3 Path functions
6.3 Path functions
General
Part program input
You create a part program by entering the workpiece dimensions.
Coordinates are programmed as absolute or relative (incremental)
values.
In general you program the coordinates of the end point of the contour
element.
The TNC automatically calculates the path of the electrode based on
the electrode data (length and radius) and the radius compensation.
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian
Circle C Circular arc around a circle center Coordinates of the arc end point,
CC to an arc end point direction of rotation
Circular Arc CR Circular arc with a certain radius Coordinates of the arc end point,
arc radius, direction of rotation
Circular Arc CT Circular arc with tangential Coordinates of the arc end point
connection to the preceding and
subsequent contour elements
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Straight line L
The TNC moves the tool in a straight line from its current position to
the straight-line end point. The starting point is the end point of the Y
preceding block.
8 Coordinates of the end point of the straight line 40
15
Further entries, if necessary:
8 Radius compensation RL/RR/R0
10
8 Feed rate F
8 Miscellaneous function M
Example NC blocks
7 L X+10 Y+40 RL F M 20 X
8 L IX+20 IY-15 R F M 10
9 L X+60 IY-10 R F M 60
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Programming a straight line
Example — programming a straight line:
COORDINATES ?
MISCELLANEOUS FUNCTION M ?
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Example NC blocks
7 L X+0 Y+30 RL F M X
8 L X+40 IY+5 R F M
9 L 12
10 L IX+5 Y+0 R F M
Y 12
You cannot start a contour with a CHF block.
A chamfer is possible only in the working plane.
The feed rate for chamfering is the same as for the
12
5
preceding block. 30
The corner point E is cut off by the chamfer and is not
part of the contour.
5 X
40
1 S E
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Corner rounding RND
The RND function is used for rounding off corners.
The tool moves on an arc that is tangentially connected to both the Y
preceding and subsequent contour elements.
The rounding arc must be large enough to accommodate the tool.
40
8 Rounding-off radius: Enter the radius
Further entries, if necessary: R5 25
8 Feed rate F (only effective in RND block)
Example NC blocks
5
5 L X+10 Y+40 RL F M
6 L X+40 Y+25 R F M X
10 40
7 RND R5 R F M
8 L X+10 Y+5
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Circle center CC
You can define a circle center CC for circles that are programmed with
the C key (circular path C). This is done in the following ways:
Entering the Cartesian coordinates of the circle center, or
Z
Using the circle center defined in an earlier block, or Y
Capturing the coordinates with the ACTUAL-POSITION-CAPTURE
key. CC
Example NC blocks X CC
5 CC X+25 Y+25
or
10 L X+25 Y+25
11 CC Y
Direction of rotation DR
When a circular path has no tangential transition to another contour Z
element, enter the mathematical direction of rotation DR of the
circular path:
Clockwise rotation: negative direction of rotation (DR–) DR DR +
Y
Counterclockwise rotation: positive direction of rotation (DR+)
X
Radius compensation in circular paths
You cannot begin radius compensation in a circle block - it must be
activated beforehand in a line block (L block).
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Circles in the main planes
When you program a circle, the TNC assigns it to one of the main
planes. This plane is automatically defined when you set the electrode
axis during an electrode call (TOOL CALL).
Y ZX, also
WU, ZU, WX
X YZ, also
VW, YW, VZ
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
8 Feed rate F
8 Miscellaneous function M
Example NC blocks
5 CC X+25 Y+25
6 L X+45 Y+25 RR F M
7 C X+5 Y+25 IC +180 DR+ R F M
Full circle
To program a full circle you must enter two C blocks in succession:
The end point of the first semicircle is the starting point of the second Y
circle. The end point of the second semicircle is the starting point of
the first.
The easiest method of programming a full circle is described on
page 111.
R
E1=S2
CC S1=E2
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Circular path CR with defined radius
The electrode moves on a circular path with the radius R.
8 Coordinates of the arc end point
Y
8 Radius R
Note: The algebraic sign determines the size of the arc!
8 Direction of rotation DR
Note: The algebraic sign determines whether the arc
is concave or convex! R
E1=S2
Further entries, if necessary:
CC S1=E2
8 Miscellaneous function M
8 Feed rate F
Full circle
To program a full circle you must enter two CR blocks in succession: The X
end point of the first semicircle is the starting point of the second circle.
The end point of the second semicircle is the starting point of the first.
The easiest method of programming a full circle is described on
page 111.
or ZW
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Circular path CT with tangential connection
The electrode moves on an arc that starts at a tangent with the
previously programmed contour element.
Y
A transition between two contour elements is called tangential when
there is no kink or corner at the intersection between the two
contours—the transition is smooth.
The contour element to which the tangential arc connects must be
programmed immediately before the CT block. This requires at least
two positioning blocks. 30
25
20
If you are using an electrode with tool compensation in
the XY plane, you must rotate the electrode in synchrony
with the angle on circular arcs. For example, for a
semicircle you must rotate the C axis by 180°
(incremental). X
25 45
8 Coordinates of the arc end point
Further entries, if necessary:
8 Feed rate F
8 Miscellaneous function M
Example NC blocks
7 L X+0 Y+25 RL F M36
8 L X+25 Y+30 R F M
9 CT X+45 Y+20 R F M
10 L Y+0 R F M
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Y 10
31
95
4
10
20
1
5
21
20 X
5 95
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
16 L Y+5 R F M Point 4: 2nd straight line for corner 3, 1st straight line for corner 4
17 L 20 Program chamfer with length 20 mm
18 L X+5 R F M Move to last contour point 1, second straight line for corner 4
21 L X–10 Y–10 R0 F M37 Retract tool in the working plane; eroding OFF
20 L Z+100 F MAX Move electrode to set-up clearance; rapid traverse
21 END PGM LINEAR MM End of program
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
CC
50
X
50
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
Example: Circular movements with Cartesian coordinates
95
R3
85
R10
0
40
X
5 30 40 70 95
www.EngineeringBooksPdf.com
6.4 Path Contours — Cartesian Coordinates
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar
Circular arc CP + Circular path around circle center/ Polar angle of the arc end point,
pole CC to arc end point direction of rotation
Circular arc CTP + Circular arc with tangential Polar radius, polar angle of the arc
connection to the preceding end point
contour element
Helical interpolation + Combination of a circular and a Polar radius, polar angle of the arc
linear movement end point, coordinate of the end
point in the tool axis
Example NC blocks
12 CC X+45 Y+25 X
XCC
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Straight line LP
The electrode moves in a straight line from its current position to the
straight-line end point. The starting point is the end point of the
preceding block. Y
8 Polar coordinates radius PR: Enter the distance
from the pole CC to the straight-line end point.
30
8 Polar coordinates angle PA: Angular position of the 60°
straight-line end point between –360° and +360°. 60°
Example NC blocks X
45
12 CC X+45 Y+25
13 LP PR+30 PA+0 RR F M
14 LP PR PA+60 R F M
15 LP PR IPA+60 R F M
16 LP PR PA+180 R F M
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Circular path CP around pole CC
The polar coordinate radius PR is also the radius of the arc. It is defined
by the distance from the starting point to the pole CC. The last
programmed electrode position before the CP block is the starting Y
point of the arc.
Full circle
For a full circle you must program the incremental polar coordinate
angle IPA with 360°. The electrode moves from the starting point Y
around the circle center CC.
The linear coordinate IC +360 rotates the electrode in synchrony with
the angle on the circular path.
Example NC blocks
5 CC X+25 Y+25
6 L X+45 Y+25 RR F M X
25 45
7 CP IPA +360 IC+360 DR+ R F M
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
5
0
R3
R2
Example NC blocks 30°
35
12 CC X+40 Y+35 CC
13 L X+0 Y+35 RL F M
14 LP PR+25 PA+120 R F M
15 CTP PR+30 PA+30 R F M X
16 L Y+0 R F M 40
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Helical interpolation
A helix is a combination of a circular movement in a main plane and a
liner movement perpendicular to this plane.
Z
A helix is programmed only in polar coordinates.
Y CC
Application
Large-diameter internal and external threads
X
Lubrication grooves
Work Radius
Internal thread Direction
direction comp.
Right-handed Z+ DR+ RL
Left-handed Z+ DR– RR
Right-handed Z– DR RR
Left-handed Z– DR+ RL
External thread
Right-handed Z+ DR+ RR
Left-handed Z+ DR– RL
Right-handed Z– DR RL
Left-handed Z– DR+ RR
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Programming a helix
5
revolutions, program the helix in a program section 270°
repeat 25 X
(see ”Program Section Repeats” on page 176)
If you are using an electrode with tool compensation in
the XY plane, you must rotate the electrode in 40
synchrony with the angle on circular arcs. Enter the
same angle in incremental dimensions for the C axis as
for the total angle.
12 CC X+40 Y+25
13 L Z+0 R F M37
14 LP PR+3 PA+270 RL F M
15 CP IPA-1800 IZ+5 IC-1800 DR- R F M
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Example: Linear movement with polar coordinates
Y
100
31
21
60°
5
R4
CC
50 1 41
61 51
5
X
5 50 100
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
Example: Helix
M64 x 1,5
CC
50
X
50 100
www.EngineeringBooksPdf.com
6.5 Path Contours — Polar Coordinates
...
11 L Z-12.75 R0 F M
12 LP PR+32 PA–180 RL M36
13 LBL 1 Identify beginning of program section repeat
14 CP IPA+360 IZ+1.5 IC+360 DR+ R F M Enter the thread pitch as an incremental IZ dimension
15 CALL LBL 1 REP 24 Program the number of repeats (thread revolutions)
16 L X+50 Y+50 R0 F MAX M37
www.EngineeringBooksPdf.com
7
Programming:
Miscellaneous functions
www.EngineeringBooksPdf.com
7.1 Entering Miscellaneous
7.1 Entering Miscellaneous Functions M and STOP
MISCELLANEOUS FUNCTION M ?
MISCELLANEOUS FUNCTION M ?
Example NC block
7 STOP M39
www.EngineeringBooksPdf.com
7.1 Entering Miscellaneous Functions M and STOP
The program run or test run is interrupted when the NC block
containing the STOP function is reached.
You can also enter an M function in a STOP block.
If the program run is to be interrupted for a specified time, use Cycle
9 DWELL TIME (see also ”DWELL TIME (Cycle 9)” on page 171).
MISCELLANEOUS FUNCTION M ?
Example NC block
7 STOP M6
www.EngineeringBooksPdf.com
7.2 Miscellaneous Functions for
7.2 Miscellaneous Functions for Program Run Control, Electrode and Flushing
M08 Flushing ON
www.EngineeringBooksPdf.com
7.3 Miscellaneous Functions for
Effect
14 15
M97 is effective only in the blocks in which it is programmed.
Example NC blocks
5 TOOL DEF L ... R+20 Large tool radius
...
13 L X ... Y ... R.. F .. M97 Move to contour point 13
14 L IY–0.5 .... R .. F.. Machine small contour step 13 to 14
15 L IX+100 ... Move to contour point 15
16 L IY+0.5 ... R .. F.. M97 Machine small contour step 15 to 16
17 L X .. Y ... Move to contour point 17
www.EngineeringBooksPdf.com
7.3 Miscellaneous Functions for Contouring Behavior and Coordinate Data
Effect S S
M98 is effective only in the blocks in which it is programmed.
M98 takes effect at the end of block.
Example NC blocks
Move to the contour points 10, 11 and 12 in succession:
10 L X ... Y... RL F
11 L X... IY-... M98
12 L IX+ ...
10
Machine datum
The machine datum is required for the following tasks:
Defining the limits of traverse (software limit switches)
Moving to machine-referenced positions (such as tool change
positions)
Setting the workpiece datum
The distance in each axis from the scale reference point to the
machine datum is defined by the machine tool builder in a machine
parameter.
Standard behavior
The TNC references coordinates to the workpiece datum.
www.EngineeringBooksPdf.com
7.3 Miscellaneous Functions for Contouring Behavior and Coordinate Data
Behavior with M91 – Machine datum
If you want the coordinates in a positioning block to be referenced to X MP
the machine datum, end the block with M91. X(Z,Y)
Effect
M91 and M92 are effective only in the blocks in which they are
programmed.
Z
Workpiece datum Y
The position of the datum for the workpiece coordinates is defined in Y
the MANUAL OPERATION mode (see also ”Datum Setting” on page X
22). The user enters the coordinates of the datum for workpiece
machining in this mode.
X
Retracting electrode to block starting point at M
end of block: M93
Standard behavior
The TNC executes the NC blocks as programmed.
www.EngineeringBooksPdf.com
7.4 Vacant miscellaneous functions
7.4 Vacant miscellaneous functions
M07 M53
M10 M54
M11 M55
M12 M56
M15 M57
M16 M58
M17 M59
M18 M60
M19 M61
M20 M62
M21 M63
M22 M64
M23 M65
M24 M66
M25 M67
M26 M68
M27 M69
M28 M70
M29 M71
M31 M72
M32 M73
M33 M74
M34 M75
M35 M76
M40 M77
www.EngineeringBooksPdf.com
7.4 Vacant miscellaneous functions
M Function Effective at block M Function Effective at block
start end start end
M41 M78
M42 M79
M43 M80
M44 M81
M45 M82
M46 M83
M47 M84
M48 M85
M49 M86
M50 M87
M51 M88
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
8
Programming: Cycles
www.EngineeringBooksPdf.com
8.1 General Overview of Cycles
8.1 General Overview of Cycles
Prerequisites
Before a cycle call you must have programmed:
BLK FORM for graphic display
Electrode call
Positioning block for starting position X, Y
Positioning block for starting position Z (set-up clearance)
Start of effect
All cycles except PGM CALL go into effect as soon as they are
defined. PGM CALL must be called.
OEM cycles
www.EngineeringBooksPdf.com
8.1 General Overview of Cycles
Programming a cycle
Press the CYCL DEF key to open the cycle directory. Select the
desired cycle and program it in the dialog. Using the DISK cycle as an
example, the flow chart illustrates how any cycle can be defined:
MISCELLANEOUS FUNCTION M ?
EXPANSION RADIUS ?
www.EngineeringBooksPdf.com
8.1 General Overview of Cycles
Example NC blocks
17.0 DISK
17.1 Z-5, M36
17.2 RAD=75, MOD=0
www.EngineeringBooksPdf.com
8.2 Cycle 1 GENERATOR
EROSION TABLE ?
www.EngineeringBooksPdf.com
8.2 Cycle 1 GENERATOR
Example NC blocks
1.0 GENERATOR
1.1 P-TAB 5
1.2 MAX=15, MIN=2
Example NC block
Desired power stage = 12
FN 0: Q99 = 12
www.EngineeringBooksPdf.com
8.3 Electrode Definition
TOOL NUMBER ?
www.EngineeringBooksPdf.com
8.3 Electrode Definition
TOOL RADIUS ?
TOOL COMP. ?
Example NC blocks XK
Z
3.0 CYCL DEF TOOL DEF
Y
3.1 CYCL DEF T=5 R+10 X
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Miscellaneous function M
You can enter a miscellaneous function in Cycle 14 CONTOUR
GEOMETRY, such as M36 (eroding ON).
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Cycle 16 ORBIT
Z
The ORBIT cycle is a machining cycle which facilitates programming UM
of spark-out behavior and movement of the electrode. 2
Re
In Cycle 16 ORBIT you enter the
Eroding axis
V
Eroding depth
Miscellaneous function M
Expansion radius RAD
Rotational direction DIR
RAD
Expansion mode PAT
Spark-out mode SPO UNS X
2 D
If necessary, you may also use Q parameters for the cycle definition.
Miscellaneous function M
You can enter a miscellaneous function in Cycle 16 ORBIT, such as
M36 (eroding ON).
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
RAD
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Spark-out mode SPO
The spark-out mode SPO determines the manner and duration of the
spark-out.
SPO = 0: Fast sparking-out
Spark-out depends on the end radius and machine parameter
MP2110, or, if Cycle 4 SPARK-OUT is defined, on the parameters in
Cycle 4.
SPO = 1: Sparking-out
Spark-out begins when the end radius has been reached, and the
electrode has been in free run for 1.25 orbits.
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Cycle 17 DISK
Z
The DISK cycle is a machining cycle. It facilitates the sparking-out UM
behavior and movement of the electrode. 2
You can use the DISK cycle to develop machining sequences such as Re
for conical cavities (see Chapter 7).
In Cycle 17 DISK you enter the V
Eroding axis
Eroding depth
Miscellaneous function M
Expansion radius RAD RAD
Expansion mode MOD UNS X
If necessary, you may also use Q parameters for the cycle definition. 2 D
Miscellaneous function M
You can enter a miscellaneous function in Cycle 17 DISK, such as M36
(eroding ON).
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Differences with sparking out
Fast sparking-out (MOD = 0 to 3)
The TNC ends the cycle when the electrode reaches the final vector
V and has eroded one full orbit at the final depth.
S
Complete sparking-out (MOD = 4 to 7)
The TNC ends the cycle when the electrode reaches the final vector
V and has eroded 1.25 orbits at the final depth.
Types of electrode movement
T
Circular expansion (MOD = 0 and 4)
From the starting depth S the electrode moves along the surface of
a circular cone until it reaches the programmed eroding depth T and
the expansion radius RAD (see top illustration).
Square expansion (MOD = 1 and 5)
From the starting depth S the electrode moves along the surface of RAD
a square-base pyramid until it reaches the programmed eroding
depth T and the expansion radius RAD (see center illustration).
Orbital sinking (MOD = 2 and 6)
The electrode moves from the starting point S by the expansion
radius RAD in radial direction. It then follows a radial path until
reaching the eroding depth. After reaching the eroding depth T, the S
TNC moves the electrode to the starting point S on a diagonal path.
Orbital sinking (MOD = 3 and 7)
The electrode moves from the starting point S by the expansion
radius RAD in radial direction. It then follows a radial path until
reaching the eroding depth (see bottom illustration). After reaching
the eroding depth T, the TNC moves the electrode to the starting
point S on a diagonal path. T
Overview of expansion modes
Quadratic Fast 1
expansion Complete 5
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Cycle 2 ERO.TIME LIM.
Cycle 2 ERO.TIME LIM. (Erosion Time Limit) defines the duration of
eroding for:
Cycle 16 ORBIT
Cycle 17 ORBIT
Miscellaneous function M93
During eroding, the TNC interrupts machining when the programmed
eroding time is reached.
Enter the eroding time T in minutes in Cycle 2 ERO.TIME LIM.
ERODING-TIME (MIN) ?
Example NC blocks
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Example NC blocks
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Example for Cycle 3 TOOL DEF
Y
X
Program section:
•
•
•
11 CYCL DEF 3.1 TOOL DEF Cycle 3 TOOL DEF
12 CYCL DEF 3.1 T1 R+0 Tool number, tool radius
13 CYCL DEF 3.2 X–10 Z+5 Compensation values
14 TOOL CALL 1 Z U+0.1 Tool call
15 L X+50 Y+50 Z+2 Pre-position
16 L Z–5 M36 Eroding
•
•
•
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
12 mm
Main program:
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
15 FN 16: Q11 = Q200(Q99) The diametrical gap according to the current power stage is
assigned to Q11 (see ”Indexed assignment” on page 198).
16 FN3 Q11 = Q11 * 0.8 Calculation of the vertical gap
17 L Z+Q11 R0 F M36 Pre-positioning with vertical gap; eroding ON
18 LBL 1 Label number
19 CYCL DEF 11.0 SCALING SCALING cycle
20 CYCL DEF 11.1 SCL Q1 (see ”SCALING FACTOR (Cycle 11)” on page 160)
21 L IY+Q12 R F M Pre-positioning
22 CYCL DEF 14.0 CONTOUR GEOMETRY Cycle 14 Contour Geometry (see ”Cycle 14 CONTOUR
GEOMETRY” on page 137)
23 CYCL DEF 14.1 IZ-1.5 M36 Incremental eroding depth, eroding ON
24 CYCL DEF 14.2 PGM GEOMETR Name of the contour program
25 CYCL DEF 14.3 PRC=Q4 Spark-out distance in percent
26 L IY-Q12 R F M37 Retract, eroding OFF
27 FN 2: Q1 = +Q1 - +0.1 New scaling factor
28 FN 2: Q5 = +Q5 - +1 Decrease counter
29 IF +Q5 NE +0 GOTO LBL 1 Jump to LBL1 if counter does not equal zero
30 L Z+50 R0 FMAX M37 Set-up clearance, eroding OFF
31 END PGM POCKET MM End of program
Contour program:
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Workpiece geometry
Z
Cavity diameter D = 24 mm
Eroding depth T = –10 mm
Electrode data
Cylindrical electrode Y
Electrode radius Re = 9.9 mm X
Electrode undersize U = 4.2 mm
Determining the eroding gap B through indexed
assignment
m
24 m
Calculation of the expansion radius Z
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
14 FN4: Q8 = +Q9 DIV +2 Calculation of the expansion radius RAD
15 FN3: Q7 = +Q10 * +0.8 Calculation of the vertical gap
16 FN2: Q6 = +Q1 - +Q7 Decrease incremental depth by the vertical gap
17 CYCL DEF 16.0 ORBIT Cycle ORBIT (see ”Cycle 16 ORBIT” on page 139)
18 CYCL DEF 16.1 IZ–Q6 M36 Incremental eroding depth IZ=–Q6, eroding ON
19 CYCL DEF 16.2 RAD=Q8 DIR=0 Expansion radius RAD=Q8, erosion movement
counterclockwise DIR=0
20 CYCL DEF 16.3 PAT=0 SPO=0 Circular expansion PAT=0, spark-out mode SPO=0
21 IF +Q99 EQU +Q151 GOTO LBL 99 Inquiry if minimum power stage has been reached
22 FN 2: Q99= +Q99 - +1 Decrease current power stage by 1
23 FN 9: IF +0 EQU +0 GOTO LBL 1 Jump to LBL1, machine again with lower power stage
24 LBL 99 LBL 99 is reached when machining with the lowest
power stage is completed
25 L Z+50 R0 F MAX M37 Retract to set-up clearance, eroding OFF
26 END PGM EXORB1 MM
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
20 CYCL DEF 16.2 RAD=Q8 DIR=0 Expansion radius RAD=Q8, erosion movement
counterclockwise DIR=0
21 CYCL DEF 16.3 PAT=0 SPO=0 Circular expansion PAT=0, spark-out mode SPO=0
22 IF +Q99 EQU +Q151 GOTO LBL 99 Inquiry if minimum power stage has been reached
23 FN 2: Q99= +Q99 - +1 Decrease current power stage by 1
24 FN 9: IF +0 EQU +0 GOTO LBL 1 Jump to LBL1, machine again with lower power stage
25 LBL 99 LBL 99 is reached when machining with the lowest
power stage is completed
26 L Z+50 R0 F MAX M37 Retract to set-up clearance, eroding OFF
27 END PGM EX2 MM
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
Practice examples: Eroding with Cycle 17 DISK
Workpiece geometry
Cavity diameter D = 24 mm Z
Eroding depth T = –10 mm
Electrode data
Cylindrical electrode Y
Electrode radius Re = 9.9 mm X
Electrode undersize U = 4.2 mm
Width of the erosion gap B= 0.1 mm
www.EngineeringBooksPdf.com
8.4 Erosion Cycles
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Effect
Y Z
When the DATUM shift cycle is defined, all coordinate data is based Y
on the new datum. X
The datum shift is indicated in the status display with the index T by
the shifted axes.
X
Input
Enter the coordinates of the new datum (zero point) for up to 5 axes.
Absolute values are referenced to the zero point, which is determined
by the manual datum setting. Incremental values are referenced to the
datum which was last valid (this may be a datum which has already
been shifted).
If you are working with the datum table, enter the name of the datum
(with the # key) from the table and the name of the datum table from
which the TNC is to activate the datum shift. If you do not enter a Z
name, the TNC automatically uses the datum table 0.D. A selected
datum table remains active until you activate another table at a later
stage in the program.
Y
The status display STATUS COORD. TRANSF. shows you the datum
table and the datum number that are currently active.
Cancellation Y X
A datum shift is canceled by entering the datum shift coordinates 0, or
with the number #0.
X
If you combine coordinate transformations, note that the
datum shift must be programmed before other
transformations.
IY
X
IX
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Working with datum tables
The TNC can store several datum tables. Depending on the
configuration of your machine tool, a new datum table includes four or
five axes.
Editing a datum table:
8 Press the PGM NAME or PGM MGT key in the PROGRAMMING
AND EDITING mode of operation.
8 Enter the name of the datum table.
The selected datum table appears on the screen. You can store the
coordinates for up to 999 datum points in this table. If necessary,
you can enlarge the table with the INSERT soft key, and enter the
desired datum number in column D.
The TNC writes the datum number and coordinates in the
Q parameters Q80 to Q85.
With the miscellaneous functions M38 and M39 you can write
coordinates to and from the active datum table. M38 and M39 allow
you to store any positions as datum points in the table 0.D (see also
”Q parameters for the datum table: Q81 to Q84” on page 206).
Depending on the setting of user parameter 7411, a datum shift in the
fourth axis will also result in a rotation (see also ”Selecting the General
User Parameters” on page 246).
If the tool axis is not the Z axis, C from the datum table will only result
in a shift, not a rotation.
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Cancellation
The cycle is canceled by replying with NO ENT to the dialog question.
Effect
The mirror image cycle becomes effective as soon as it is defined in
the program. The mirrored axis is indicated in the status display with
the index S by the mirrored axes.
When one axis is mirrored, the machining direction of the electrode Z
is reversed.
If two axes are mirrored, the machining direction remains the same. Y
Y
Z
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
ROTATION (Cycle 10)
Function
The coordinate system can be rotated about the active datum in the Z
working plane within a program.
Y Z
Effect X
Y
The rotation takes effect as soon as it is defined in the program.
Cycle 10 ROTATION cancels radius compensation RR/RL.
X
Reference axis for the rotation angle:
X/Y plane X axis
Y/Z plane Y axis
Z/X plane Z axis
The active rotation angle is shown in the status display (ROT).
Input
Enter the rotation angle in degrees (°).
Input range: –360° to +360° (absolute or incremental).
Effect on Q parameters
The plane of rotation influences Q parameter Q112:
X/Y plane Q112 = 2
Y/Z plane Q112 = 0
Z/X plane Q112 = 1
No plane defined Q112 = –1
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Input
The cycle is defined by entering the factor SCL. The TNC multiplies the
coordinates and radii by the SCL factor (as described under ”Effect”
above).
Enlargement: SCL greater than 1 (up to 99.999 999)
Reduction: SCL less than 1 (down to 0.000 001)
Cancellation
To cancel the scaling factor, enter a scaling factor of 1.
Prerequisite
It is advisable to set the datum to an edge or a corner of the contour
before enlarging or reducing the contour.
Example: NC blocks
11 CALL LBL1
12 CYCL DEF 7.0 DATUM SHIFT
13 CYCL DEF 7.1 X+60
14 CYCL DEF 7.2 Y+40
15 CYCL DEF 11.0 SCALING
16 CYCL DEF 11.1 SCL 0.75
17 CALL LBL1
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
WORKING PLANE (Cycle 19)
Function
With Cycle 19, it is possible to tilt linear traverse and machining with
Cycle 16 ORBIT, Cycle 17 DISK or an OEM cycle at random in a 3-D
plane. Thus, execution of inclined eroding-cycles can be made simple.
Effect
After a cycle definition WORKING PLANE, the TNC tilts the
subsequent machining blocks around the datum which was last set in
the MANUAL mode (active datum).
Input
You enter:
Tilt angle A, corresponding to the rotation about the X axis. This can
be programmed with the orange key X.
Tilt angle B, corresponding to the rotation about the Y axis. This can
be programmed with the orange key Y.
Tilt angle C, corresponding to the rotation about the Z axis. This can
be programmed with the orange key Z.
The TNC displays the current active tilt angles in the STATUS TILT
display.
Input range: –360° to +360° (only absolute values possible).
Cancellation
To cancel the tilt angle, redefine the WORKING PLANE cycle and enter
an angular value of 0° for all axes of rotation, or select a new program.
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Y X
Y
15
2
20
60
25 X
40 30
1
20
15
0
25 3
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
16 CYCL DEF 7.2 Y+0
17 L Z+100 R0 F MAX M2 End of main program
18 LBL 1 Start of the subprogram for the geometry of the original contour
19 L X–10 Y–10 R0 F MAX M Pre-positioning in the X/Y plane
20 L Z+2 R FMAX M Pre-positioning in the Z plane
21 L Z–5 R F M36 Move to end depth, eroding ON
22 L X+0 Y+0 RL F M Traverse the first contour point
23 L Y+20 R F M
24 L X+25 R F M
25 L X+30 Y+15 R F M
26 L Y+0 R F M
27 L X+0 R F M
28 L X–10 Y–10 R0 F MAX M37 Retract in the X/Y plane, eroding OFF
29 L Z+2 R F MAX M Retract in Z direction
30 LBL 0 End of subprogram
31 END PGM DATUM MM
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
Y
Y X
3
2
X
60
1
20
15
70
0
25 3
0 PGM MIRROR MM
1 BLK FORM 0.1 Z X+0 Y+0 Z–20
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 CYCL DEF 1.0 GENERATOR Cycle GENERATOR (see ”Cycle 1 GENERATOR” on page 133)
4 CYCL DEF 1.1 P-TAB CUST1 Select erosion table (here, CUST1)
5 CYCL DEF 1.2 MAX=12 MIN=12 Select power stage
6 TOOL DEF 1 L+0 R+3 Define the tool
7 TOOL CALL 1 Z U+0 Tool call
8 L Z+100 R0 F MAX M
9 CALL LBL 1 Unmirrored 1; mirrored version
10 CYCL DEF 7.0 DATUM SHIFT 1. Datum shift 2
11 CYCL DEF 7.1 X+70
12 CYCL DEF 7.2 Y+60
13 CYCL DEF 8.0 MIRROR IMAGE 2. Mirror image 3
14 CYCL DEF 8.1 X
15 CALL LBL 1 3. Subprogram call
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
16 CYCL DEF 8.0 MIRROR IMAGE Cancel mirror image
17 CYCL DEF 8.1
18 CYCL DEF 7.0 DATUM SHIFT Reset the datum shift
19 CYCL DEF 7.1 X+0
20 CYCL DEF 7.2 Y+0
21 L Z+100 R0 F MAX M2 End of main program
22 LBL 1 Start of the subprogram for the geometry of the original contour
23 L X-10 Y-10 R0 F MAX M Pre-positioning in the X/Y plane
24 L Z+2 R F MAX M
25 L Z-5 R F M36 Move to end depth, eroding ON
26 L X+0 Y+0 RL F M Traverse the first contour point
27 L Y+20 R F M
28 L X+25 R F M
29 L X+30 Y+15 R F M
30 L Y+0 R F M
31 L X+0 R F M
32 L X–10 Y–10 R0 F MAX M37 Retract in the X/Y plane, eroding OFF
33 L Z+2 R F MAX M
34 LBL 0 End of subprogram
35 END PGM MIRROR MM
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
2 X
1
60
70
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
16 CYCL DEF 10.0 ROTATION Reset the rotation
17 CYCL DEF 10.1 ROT 0
18 CYCL DEF 7.0 DATUM SHIFT Cancel datum shift
19 CYCL DEF 7.1 X+0
20 CYCL DEF 7.2 Y+0
21 L Z+100 R0 F MAX M2 End of main program
22 LBL 1 Start of the subprogram for the geometry of the original contour
.
.
.
LBL 0 End of subprogram
END PGM ROTAT MM
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
16 CYCL DEF 11.0 SCALING Cancel transformations
17 CYCL DEF 11.1 SCL 1
18 CYCL DEF 7.0 DATUM SHIFT Reset the datum shift
19 CYCL DEF 7.1 X+0
20 CYCL DEF 7.2 Y+0
21 L Z+100 R0 F MAX M2 End of main program
22 LBL 1 Start of the subprogram for the geometry of the original contour
23 L X-10 Y-10 R0 F MAX M Pre-positioning in the X/Y plane
24 L Z+2 R F MAX M
25 L Z-5 R F M36 Move to end depth, eroding ON
26 L X+0 Y+0 RL F M
27 L Y+20 R F M
28 L X+25 R F M
29 L X+30 Y+15 R F M
30 L Y+0 R F M
31 L X+0 R F M
32 L X–10 Y–10 R0 F MAX M37 Retract in the X/Y plane, eroding OFF
33 L Z+2 R F MAX M
34 LBL 0
35 END PGM SCALING MM
www.EngineeringBooksPdf.com
8.5 Coordinate Transformation Cycles
20
www.EngineeringBooksPdf.com
8.6 Other Cycles
Effect
The cycle takes effect as soon as it is defined. Modal conditions are
not affected.
Input
Enter the dwell time in seconds.
Input range: 0 to 30 000 seconds (approx. 8.3 hours) in increments of
0.001 seconds.
Input
Enter the name of the program to be called.
Cancellation
You can cancel M89 (cycle call after every block) as follows:
With M99 (the program is called one more time)
With CYCL CALL (the program is called one more time)
By redefining Cycle 12
www.EngineeringBooksPdf.com
8.6 Other Cycles
...
...
11 CYCL DEF 12.0 PGM CALL Definition
12 CYCL DEF 12.1 PGM 50 ”Program 50 is a cycle”
13 L X+20 Y+50 R FMAX M99 Call program 50
...
...
www.EngineeringBooksPdf.com
9
Programming:
Subprograms and Program
Section Repeats
www.EngineeringBooksPdf.com
9.1 Labeling Subprograms and
9.1 Labeling Subprograms and Program Section Repeats
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels.
A label is identified by a number between 1 and 254. Each label can be
set only once with LABEL SET in a program.
www.EngineeringBooksPdf.com
9.2 Subprograms
9.2 Subprograms
Operating sequence
1 The TNC executes the part program up to the block in which a
subprogram is called with CALL LBL. 0 BEGIN PGM ...
2 The subprogram is then executed from beginning to end. The
subprogram end is marked LBL 0.
3 The TNC then resumes the part program from the block after the CALL LBL1
subprogram call.
Programming notes
L Z+100 M2
A main program can contain up to 254 subprograms.
LBL1
You can call subprograms in any sequence and as often as desired.
A subprogram cannot call itself.
Write subprograms at the end of the main program (behind the block LBL0
with M2 or M30). END PGM ...
If subprograms are located before the block with M02 or M30, they
will be executed at least once even if they are not called.
Programming a subprogram
8 To mark the beginning, press the LBL SET key and
enter a label number.
8 Enter the subprogram number.
8 To mark the end, press the LBL SET key and enter the
label number ”0”.
Calling a subprogram
8 To call a subprogram, press the LBL CALL key.
8 Label number: Enter the label number of the
subprogram you wish to call.
8 Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program section
repeats.
www.EngineeringBooksPdf.com
9.3 Program Section Repeats
9.3 Program Section Repeats
Label LBL
The beginning of a program section repeat is marked by the label LBL.
The end of a program section repeat is identified by CALL LBL /REP. 0 BEGIN PGM ...
Operating sequence
LBL1
1 The TNC executes the part program up to the end of the program
section (CALL LBL /REP).
2 Then the program section between the called LBL and the label
call is repeated the number of times entered after REP. CALL LBL1 REP 2/2
3 The TNC then resumes the part program after the last repetition.
www.EngineeringBooksPdf.com
9.3 Program Section Repeats
Calling a program section repeat
8 Press the LBL CALL key and enter the label number of
the program section you want to repeat as well as the
number of repeats (with Repeat REP).
www.EngineeringBooksPdf.com
9.4 Separate Program as
9.4 Separate Program as Subprogram
Subprogram
Operating sequence
1 The TNC executes the part program up to the block in which
another program is called with CALL PGM.
2 Then the other program is run from beginning to end.
0 BEGIN PGM A 0 BEGIN PGM B
3 The TNC then resumes the first (calling) part program with the
block behind the program call.
You can also call a program with Cycle 12 PGM CALL (see
also ”Calling Cycle 12 PGM-CALL” on page 171).
www.EngineeringBooksPdf.com
9.5 Nesting
9.5 Nesting
Types of nesting
Subprograms within a subprogram
Program section repeats within a program section repeat
Subprograms repeated
Program section repeats within a subprogram
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for calling main programs: 4
www.EngineeringBooksPdf.com
9.5 Nesting
Program execution
1 Main program SUBPGMS is executed up to block 17.
2 Subprogram 1 is called, and executed up to block 39.
3 Subprogram 2 is called, and executed up to block 62. End of
subprogram 2 and return jump to the subprogram from which it
was called.
4 Subprogram 1 is executed from block 40 up to block 45. End of
subprogram 1 and return jump to the main program SUBPGMS.
5 Main program SUBPGMS is executed from block 18 up to block
35. Return jump to block 1 and end of program.
A subprogram that ends with LBL 0 cannot be located within another
subprogram.
Program execution
1 Main program REPS is executed up to block 27.
2 Program section between block 27 and block 20 is repeated twice.
3 Main program REPS is executed from block 28 to block 35.
4 Program section between block 35 and block 15 is repeated once
(including the program section repeat between 20 and block 27).
5 Main program REPS is executed from block 36 to block 50 (end of
program).
www.EngineeringBooksPdf.com
9.5 Nesting
Repeating a subprogram
Example NC blocks
0 BEGIN PGM SUBREP MM
...
10 LBL 1 Beginning of program section repeat 1
11 CALL LBL 2 Subprogram call
12 CALL LBL 1 REP 2/2 The program section between this block and LBL 1
... (block 10) is repeated twice
19 L Z+100 R0 FMAX M2 Last program block of the main program with M2
20 LBL 2 Beginning of subprogram
...
28 LBL 0 End of subprogram
29 END PGM SUBREP MM
Program execution
1 Main program SUBREP is executed up to block 11.
2 Subprogram 2 is called and executed.
3 Program section between block 12 and block 10 is repeated twice.
This means that subprogram 2 is repeated twice.
4 Main program SUBREP is executed once from block 13 to block
19. End of program.
www.EngineeringBooksPdf.com
9.6 Programming Examples
Program sequence
Approach the erosion hole patterns in the main
program Y
Call the erosion hole pattern (subprogram 1)
100
Program the erosion hole pattern only once in
subprogram 1
21
60
5
20
20
1 31
10
X
15 45 75 100
www.EngineeringBooksPdf.com
9.6 Programming Examples
19 L IX+20 R F MAX M Move to second cavity
20 CALL LBL 2 Call subprogram 2
21 L IY+20 R F MAX M Move to third cavity
22 CALL LBL 2 Call subprogram 2
23 L IX–20 R F MAX M Move to fourth cavity
24 CALL LBL 2 Call subprogram 2
25 LBL 0 End of subprogram 1
26 LBL 2 Beginning of subprogram 2
27 L Z–10 R F M36 Sink; eroding ON
28 L Z+2 F MAX M37 Retract electrode; eroding OFF
29 LBL 0 End of subprogram 2
30 END PGM GROUPS MM
www.EngineeringBooksPdf.com
9.6 Programming Examples
¬5
15 X
10
www.EngineeringBooksPdf.com
10
Programming: Q Parameters
www.EngineeringBooksPdf.com
10.1 Principle and Overview
10.1 Principle and Overview
You can program an entire family of parts in a single part program. You
do this by entering variables called Q parameters instead of fixed
numerical values.
Q parameters can represent information such as:
Q6
Coordinate values
Electrode data
Q1 Q3
Cycle data
Q parameters are designated by the letter Q and a number between Q4
0 and 255. Q2
www.EngineeringBooksPdf.com
10.2 Part Families – Q Parameters in
Example NC blocks
15 FNO: Q10=25 Assign
... Q10 contains the value 25
25 L X +Q10 Means L X +25
You need write only one program for a whole family of parts, entering
the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values to
the individual Q parameters.
Example
Cylinder with Q parameters
Cylinder radius R = Q1
Cylinder height H = Q2 Q1
Cylinder Z1 Q1 = +30
Q2 = +10
Cylinder Z2 Q1 = +10
Q2 = +50 Q1
Q2 Z2
Q2
Z1
www.EngineeringBooksPdf.com
10.2 Part Families – Q Parameters in Place of Numerical Values
FN0: ASSIGN
Select FN 0: ASSIGN
Example NC block
FN0: Q5 = 10
The TNC assigns the numerical value on the right of the equal sign to
the Q parameter on the left of the equal sign.
www.EngineeringBooksPdf.com
10.3 Describing Contours through
Overview
Function
FN0: ASSIGN
Example: FN0: Q5 = +60
Assigns a numerical value.
FN1: ADDITION
Example: FN1: Q1 = –Q2 + –5
Calculates and assigns the sum of two values.
FN2: SUBTRACTION
Example: FN2: Q1 = +10 – +5
Calculates and assigns the difference of two values.
FN3: MULTIPLICATION
Example: FN3: Q2 = +3 * +3
Calculates and assigns the product of two values.
FN4: DIVISION
Example: FN4: Q4 = +8 DIV +Q2
Calculates and assigns the quotient of two values.
Not permitted: division by 0
To the right of the ”=” character you can enter the following:
Two numbers
Two Q parameters
A number and a Q parameter
The Q parameters and numerical values in the equations can be
entered with positive or negative signs.
www.EngineeringBooksPdf.com
10.3 Describing Contours through Mathematical Operations
FN 0: ASSIGN
www.EngineeringBooksPdf.com
10.3 Describing Contours through Mathematical Operations
Assign the product of Q5 and Q7 to Q12:
FN 0: ASSIGN
FN 3: MULTIPLICATION
Select FN 3: MULTIPLICATION
www.EngineeringBooksPdf.com
10.4 Trigonometric Functions
10.4 Trigonometric Functions
Definitions
Sine, cosine and tangent are terms designating the ratios of sides of
right triangles. For a right triangle, the trigonometric functions of the
angle a are defined by the following equations:
Sine: sin α = a / c
Cosine: cos α = b / c
Tangent: tan α = a / b = sin α / cos α c
a
where
α
c is the side opposite the right angle
b
a is the side opposite the angle a
b is the third side.
The TNC can find the angle from the tangent:
α = arctan (a / b) = arctan (sin α / cos α)
Example:
a = 10 mm
b = 10 mm
α = arctan (a / b) = arctan 1 = 45°
Furthermore:
a² + b² = c² (where a² = a x a)
c = (a² + b²)
www.EngineeringBooksPdf.com
10.4 Trigonometric Functions
Overview of functions
Function
FN6: SINE
Example: FN6: Q20 = SIN–Q5
Calculate the sine of an angle in degrees (°) and
assign it to a parameter.
FN7: COSINE
Example: FN7: Q21 = COS–Q5
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
FN13: ANGLE
Example: FN13: Q20 = +10 ANG–Q1
Calculate the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assign it to a parameter.
www.EngineeringBooksPdf.com
10.5 If-Then Decisions with
10.5 If-Then Decisions with Q Parameters
Q Parameters
Function
The TNC can make logical If-Then decisions by comparing a
Q parameter with another Q parameter or with a numerical value. If
the condition is fulfilled, the TNC continues the program at the label
that is programmed after the condition (for information on labels see
also ”Labeling Subprograms and Program Section Repeats” on page
174). If it is not fulfilled, the TNC continues with the next block.
To call another program as a subprogram, enter PGM CALL after the
block with the target label.
Unconditional jumps
An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:
FN9: IF+10 EQU+10 GOTO LBL1
Function
FN9: IF EQUAL, JUMP
Example: FN9: IF +Q1 EQU +Q3 GOTO LBL 5
If the two values or parameters are equal, jump to the
given label.
www.EngineeringBooksPdf.com
10.5 If-Then Decisions with Q Parameters
Abbreviations used:
IF : If
EQU : Equals
NE : Not equal
GT : Greater than
LT : Less than
GOTO : Go to
www.EngineeringBooksPdf.com
10.6 Checking and Changing
10.6 Checking and Changing Q Parameters
Q Parameters
Procedure
Q parameters can be checked during a program run or test run. If you
wish to change any Q parameters, you must interrupt the program run
or test run.
www.EngineeringBooksPdf.com
10.7 Output of Q Parameters and
Input:
Example: FN 14: ERROR = 254
The TNC then displays the text stored under error number 254.
Example NC block
180 FN14: ERROR = 254
Example NC block
23 FN 15: PRINT 1/Q1/2/Q2
www.EngineeringBooksPdf.com
10.7 Output of Q Parameters and Messages
Indexed assignment
The function FN16: INDEXED DATA ASSIGNMENT accesses a
Q parameter in a previously created list (for example, a list of gap Q200<-- Q20
diameter values).
In the following example, Q55 is the pointer parameter that points to
Q201 = 0.04
a Q parameter in a list, and Q200 is the base parameter that indicates Q202 = 0.08
the beginning of the list. Q203 = 0.12
Example: Q204 = 0.16
12 FN 0: Q55 = 5 Q205 = 0.20<-- Q55
...
Q206 = 0.24
23 FN 16: Q20 = Q200 (Q55)
Q207 = 0.28
.....
...
The TNC assigns to Q parameter Q20 the value that is in the fifth
position in the list from Q200.
Example:
22 FN 19: PLC + 11/+Q13/Q77
www.EngineeringBooksPdf.com
10.8 Measuring with a probing
www.EngineeringBooksPdf.com
10.8 Measuring with a probing electrode during program run
POSITION VALUE?
Example NC blocks
180 TCH PROBE 0.0 REF. PLANE Q5 X-
181 TCH PROBE 0.1 X+5 Y+0 Z-5
www.EngineeringBooksPdf.com
10.8 Measuring with a probing electrode during program run
Example: Measuring the height of an island on a workpiece
Program sequence
Store coordinates for pre-positioning the
electrode in Q parameters Z
Probe probe point 1
Probe probe point 2
Determine the height from the difference in Z
values
Y 1
2 X
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special
10.9 Q Parameters with Special Functions
Functions
Vacant Q parameters
Preassigned Q parameters
Preassigned Q parameters
Additional erosion parameters: Q96, Q97, Q98
If you work with erosion tables, the machine tool builder can store
additional erosion parameters in the Q parameters Q96, Q97 and Q98.
The machine tool builder can give you more information about these
Q parameters.
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Data from the erosion table
When you are working with an erosion table, the following erosion
parameters are also available in Q parameters.
Entry Parameters
Electrode radius from TOOL DEF Q108
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Z axis Q109 = 2
Y axis Q109 = 1
X axis Q109 = 0
Flushing: Q111
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Dimensions in the erosion table: Q114
Y axis Q116
Z axis Q117
Y axis Q121
Z axis Q122
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Entry Parameter
Cycle number Q162
Entry Parameter
Gap size Q164
X coordinate Q81
Y coordinate Q82
Z coordinate Q83
C coordinate Q84
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Q parameters from the PLC: Q100 to Q107
The TNC can assume preassigned Q parameters from the integrated
PLC (Q100 to Q107).
The machine tool builder can give you more information about these
Q parameters.
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Example: Ellipse
Program sequence
The contour of the ellipse is approximated by
many short lines (defined in Q7). The more Y
calculating steps you define for the lines, the
smoother the curve becomes.
The machining direction can be altered by 50
changing the entries for the starting and end
angles in the plane:
30
Clockwise machining direction:
starting angle > end angle
50
Counterclockwise machining direction: starting
angle < end angle
The tool radius is not taken into account.
X
50
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
20 L Z+250 R0 F MAX M Retract electrode
21 CALL LBL 10 Call machining operation
22 L Z+100 R0 F MAX M2 Retract in the tool axis, end program
23 LBL 10 Subprogram 10: Machining operation
24 CYCL DEF 7.0 DATUM SHIFT Shift datum to center of ellipse
25 CYCL DEF 7.1 X+Q1
26 CYCL DEF 7.2 Y+Q2
27 CYCL DEF 10.0 ROTATION Account for rotational position in the plane
28 CYCL DEF 10.1 ROT+Q8
29 FN2 Q35 = Q6 - Q5 Starting angle - end angle
30 FN4 Q35 = Q35 DIV Q7 Calculate angle increment
31 FN0 Q37 = 0 Set counter
32 FN7 Q36 = COS Q5
33 FN3 Q21 = Q3 * Q36 Calculate X coordinate for starting point
34 FN7 Q36 = SIN Q5
35 FN3 Q22 = Q4 * Q36 Calculate Y coordinate for starting point
36 L X+Q21 Y+Q22 R0 F MAX M36 Move to starting point in the plane; eroding ON
37 L Z+Q12 R0 F MAX M Pre-position in tool axis to setup clearance
38 L Z-Q9 R0 FQ10 M Move to working depth
39 LBL 1
40 FN1 Q36 = Q5 + Q35 Update the angle
41 FN1 Q37 = Q37 + 1 Update the counter
42 FN7 Q38 = COS Q36
43 FN3 Q21 = Q3 * Q38 Calculate the current X coordinate
44 FN6 Q38 = SIN Q36
45 FN3 Q22 = Q4 * Q38 Calculate the current Y coordinate
46 L X+Q21 Y+Q22 R0 FQ11 M Move to next point
47 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Program sequence
Y
Define parameter coordinates for the full circle
Define parameter coordinates for the circle arc
The positions to be eroded are each approached
in the subprogram LBL1 through movements in 25
the plane with polar coordinates.
90°
30°
1
25
70
35
30 90 X
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
18 FN 0: Q1 = +90 Circle segment 2: center X
19 FN 0: Q2 = +25 Circle segment 2: center Y
20 FN 0: Q3 = +5 Circle segment 2: number of cavities
21 FN 0: Q4 = +35 Circle segment 2: radius
22 FN 0: Q6 = +30 Circle segment 2: angle increment
24 LBL 1 Subprogram 1
25 FN 0: Q10 = +0 Reset counter for completed cavities
26 FN 10: IF +Q6 NE +0 GOTO LBL 10 If angle increment does not equal 0, go to LBL 10
27 FN 4: Q6 = +360 DIV +Q3 Calculate angle increment for full circle
28 LBL 10
29 FN 1: Q11 = +Q5 + +Q6 Angle for second eroding position
30 CC X+Q1 Y+Q2 Position pole at center
31 LP PR+Q4 PA+Q5 R0 F MAX M3 Account for rotational position in the plane
32 L Z+Q7 R0 F MAX M Pre-position electrode at set-up clearance
33 L Z+Q8 R F M36 First cavity; eroding ON
34 L Z+Q7 R F MAX M37 Retract electrode; eroding OFF
35 FN 1: Q10 = +Q10 + +1 Increment counter for completed cavities
36 FN 9: IF +Q10 EQU +Q3 GOTO LBL 99 If finished, jump to LBL 99
37 LBL 2
38 LP PR+Q4 PA+Q11 R0 F MAX M Move to next cavity
39 L Z+Q8 R F M36 Eroding
40 L Z+Q7 R F MAX M37 Retract electrode; eroding OFF
41 FN 1: Q10 = +Q10 + +1 Increment counter for completed cavities
42 FN 1: Q11 = +Q11 + +Q6 Calculate angle for next cavity
43 FN 12: IF +Q10 LT +Q3 GOTO LBL 2 If not yet finished, jump to LBL 2
44 LBL 99
45 L Z+200 R F MAX M Retract electrode
46 LBL 0 End of subprogram
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
Program sequence
The program accesses the minimum undersize Z
UNS with indexed data assignment via the UM
power stage.
2
The minimum undersize UNS is located in the
erosion table. Re
Calculations in the program:
Undersize UM = D – 2 • R
Expansion radius RAD = 0.5 • ( UM – UNS ) V
The depth of cavity T is reduced by the value of
UNS programmed in the DISK cycle. The
electrode radius must be larger than the radius
of the cavity (= 0.5 • D=20 mm).
RAD
UNS X
2 D
www.EngineeringBooksPdf.com
10.9 Q Parameters with Special Functions
18 FN 4: Q12 = +Q12 DIV +2
19 FN 1: Q13 = +Q1 + +Q11 Calculate T–UNS
20 CYCL DEF 17.0 DISK
21 CYCL DEF 17.1 Z+Q13 M36 Cycle DISK (see ”Cycle 17 DISK” on page 142),
Depth T–UNS; eroding ON
22 CYCL DEF 17.2 RAD=Q12 MOD=0 Expansion radius Q12; expand circularly
23 L Z+100 R0 FMAX M37 Retract electrode; eroding OFF
24 END PGM QDISK MM
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
11
Test run
and Program Run
www.EngineeringBooksPdf.com
11.1 Graphics
11.1 Graphics
Function
In the program run modes of operation as well as in the Test Run
mode, the TNC graphically simulates the machining of the workpiece.
Use the BLK FORM ON/OFF soft key to determine if the graphic
should be shown or not. Using soft keys, select whether you desire:
Plan view
Projection in 3 planes
3-D view
The TNC will not show a graphic if
the current program has no valid blank form definition
no program is selected
Soft
Display mode
key
Plan view
Projection in 3 planes
3-D view
www.EngineeringBooksPdf.com
11.1 Graphics
Plan view
8 Press the soft key for plan view.
Projection in 3 planes
Similar to a workpiece drawing, the part is displayed with a plan view
and two sectional planes. A symbol to the lower left indicates whether
the display is in first angle or third angle projection according to ISO
6433 (selected with MP7310).
Details can be isolated in this display mode for magnification.
In addition, you can shift the sectional planes with the corresponding
soft keys:
8 Press the soft key for projection in three planes.
8 Shift the soft-key row until the TNC displays the
following soft keys:
3-D view
The workpiece is displayed in three dimensions, and can be rotated
about the vertical axis.
The shape of the workpiece blank can be depicted by a frame overlay
at the beginning of the graphic simulation.
In the Test Run mode of operation you can isolate details for
magnification.
8 Press the soft key for 3-D view.
www.EngineeringBooksPdf.com
11.1 Graphics
The current angle of rotation of the display is shown at the bottom left
of the graphic.
Switch the frame overlay display for the workpiece blank on/off:
8 Show the frame overlay with SHOW BLK-FORM
Magnifying details
You can magnify details in the Test Run mode in the following display modes:
Projection in three planes
3-D view
The graphic simulation must first have been stopped. A detail
magnification is always effective in all display modes.
Shift the soft-key row in the Test Run mode of operation until the
following soft keys appear:
www.EngineeringBooksPdf.com
11.1 Graphics
Cursor position during detail magnification
During detail magnification, the TNC displays the coordinates of the
axis that is currently being isolated. The coordinates describe the area
determined for magnification. To the left of the slash is the smallest
coordinate of the detail (MIN point), to the left is the largest (MAX
point).
If a graphic display is magnified, this is indicated with MAGN at the lower
right of the graphics window.
If the workpiece blank cannot be further enlarged or reduced, the TNC
displays an error message in the graphics window. To clear the error
message, reduce or enlarge the workpiece blank.
www.EngineeringBooksPdf.com
11.2 Test run
11.2 Test run
Function
In the TEST RUN mode of operation you can simulate programs and
program sections to prevent errors from occurring during program run.
The TNC checks the programs for the following:
Geometrical incompatibilities
Missing data
Impossible jumps
The following TNC functions can be used in the TEST RUN mode of
operation:
Blockwise test run
Optional Block Skip
Functions for graphic simulation
www.EngineeringBooksPdf.com
11.2 Test run
Running a program test up to a certain block
If you only want to test the program up to a particular block:
8 Choose the program you want to test.
8 Press the soft key STOP AT N.
8 Enter the block number up to which the TNC should
run a program test.
8 If the block is located in a different program, enter the
PROGRAM.
8 If the block number is located within a program section
repeat, enter the REPEATS.
8 Start the test run with START.
Operating time
The TNC displays the simulation time between the program blocks
and the status display.
www.EngineeringBooksPdf.com
11.3 Program run
11.3 Program run
Application
In the PROGRAM RUN, FULL SEQUENCE mode of operation the TNC
executes a part program continuously to its end or up to a program
stop.
In the PROGRAM RUN, SINGLE BLOCK mode of operation you must
start each block separately by pressing the machine START button.
The following TNC functions can be used in a program run:
Interrupt program run
Checking and changing Q parameters
Functions for graphic simulation
Background programming
During program run it is possible to switch over to the
PROGRAMMING AND EDITING mode and enter a new program or
edit an existing one while the program being executed continues in
the background.
Operating time
The TNC displays the calculated machining time between the program
blocks and the status display. The TNC resets the counter for the
machining time when you select a new program.
www.EngineeringBooksPdf.com
11.3 Program run
Running a part program
Preparation
1 Clamp the workpiece to the machine table.
2 Set the datum.
Interrupting machining
There are several ways to interrupt a program run:
Programmed interruptions
Machine STOP button
Switching to PROGRAM RUN, SINGLE BLOCK
If the TNC registers an error during program run, it automatically
interrupts the machining process.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the following
entries:
STOP
Miscellaneous function M0, M2 or M30
Miscellaneous function M6 (determined by the machine tool builder)
www.EngineeringBooksPdf.com
11.3 Program run
www.EngineeringBooksPdf.com
11.3 Program run
Resuming program run after an interruption
After an interruption you can resume program run at the point where
the program was interrupted. M functions that are not evaluated by
the NC must first be manually activated.
www.EngineeringBooksPdf.com
11.3 Program run
www.EngineeringBooksPdf.com
11.3 Program run
Resetting the counters
To reset the counters of program section repeats after you resume
program run:
8 Use GOTO 0 to return to the beginning of the program.
If you do not wish to reset the counters:
8 Use GOTO > 0 to go to a certain block.
To display TIME.W
8 Select the operating mode PROGRAMMING AND EDITING.
8 Press the PGN NAME key.
8 Enter ”TIME”.
Resetting TIME.W
The TNC automatically overwrites TIME.W when you select a new
program in a program run mode of operation or press the RESET soft
key.
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
12
MOD Functions
www.EngineeringBooksPdf.com
12.1 MOD functions
12.1 MOD functions
8 Select the desired MOD function with the corresponding soft key.
8 Use the horizontal arrow keys to change the setting, or enter a
value.
8 Press the END key to exit the MOD function.
www.EngineeringBooksPdf.com
Position Display Types
Starting position A 2 3
Target position of the tool Z
Workpiece datum W Z
A
Scale datum M
The TNC position displays can show the following coordinates:
Function Display W 4 5
Nominal position: the instantaneous value NOML.
commanded by the TNC 1
M
Actual position: the position at which the tool is ACTL.
presently located 2
Select the desired display type with the horizontal arrow keys. It
immediately appears in the status field.
Unit of measurement
This MOD function determines whether the coordinates are displayed
in millimeters (metric system) or inches.
To select the metric system (e.g., X = 15.789 mm),
set the MOD function CHANGE MM/INCH to MM.
The value is displayed to 3 decimal places.
To select the inch system (e.g., X = 0.6216 inch)
set the MOD function CHANGE MM/INCH to INCH.
The value is displayed to 4 decimal places.
www.EngineeringBooksPdf.com
System Information
12.1 MOD functions
The NC and PLC software numbers appear on the TNC screen after
the corresponding MOD functions have been selected. The vacant
memory in bytes is displayed directly below them.
BAUD RATE
Sets the speed of data transfer.
Available baud rates:
110, 150, 300, 600, 1 200, 2 400, 4 800, 9 600, 19 200, 38 400 baud.
To change the baud rate setting:
Press the horizontal arrow keys.
RS-232-C interface
The proper setting depends on the device connected.
Use the ENT key to select the setting.
www.EngineeringBooksPdf.com
12.2 External Data Transfer
Application examples
Downloading files into the TNC
Transferring files from the TNC to external devices
Printing files
Remote operation of the TNC
The RS-232-C/V.24 interface is used for these operations.
LSV-2 protocol
The TNC supports the LSV-2 protocol. This allows the control of data
transfer or of program run, for example.
Protecting files
The functions PROTECT and UNPROTECT are available for external
data transfer (see Chapter 1).
www.EngineeringBooksPdf.com
12.3 Menu for External Data Transfer
www.EngineeringBooksPdf.com
12.4 Selecting and Transferring Files
Selecting a file
Select a file with the arrow keys.
The PAGE soft keys are for scrolling up and down in the file directory
(the same as in file management).
Transferring files
Transferring files from the TNC to an external device
The highlight is on a field stored in the TNC.
www.EngineeringBooksPdf.com
12.4 Selecting and Transferring Files
Formatting disks
If you want to save files to a disk, the disk must be formatted. You can
format a disk in the FE 401 from the TNC keyboard:
8 Press the FORM DISK soft key.
8 Enter a name for the disk.
8 Press ENT.
The TNC then formats the disk.
Deleting files
To delete a file on an external device:
8 Use the arrow keys to select the file.
8 Press the DELETE soft key.
www.EngineeringBooksPdf.com
12.5 Software for Data Transfer
www.EngineeringBooksPdf.com
12.5 Software for Data Transfer
Once you have started TNCremo, you will see a list of all of the files
that are stored in the active directory on the left side of the main
window 1 . Using the menu items <Directory>, <Change>, you can
change the active directory or select another directory on your PC. 2
If you want to control data transfer from the PC, establish the
connection with your PC in the following way:
8 Select <Connect>, <Link (LSV2)>. TNCremo now receives the file
and directory structure from the TNC and displays this at the bottom
left of the main window 2.
8 To transfer a file from the TNC to the PC, select the file in the TNC
window (highlighted with a mouse click) and activate the functions
<File> <Transfer>.
8 To transfer a file from the PC to the TNC, select the file in the PC
window (highlighted with a mouse click) and activate the functions
<File> <Transfer>.
If you want to control data transfer from the TNC, establish the
connection with your PC in the following way:
8 Select <Connect>, <File server (FE)>. TNCremo is now in server
mode. It can receive data from the TNC and send data to the TNC.
8 You can now call the file management functions on the TNC by
pressing the key PGM MGT, in order to transfer the desired files.
End TNCremo
Select the menu items <File>, <Exit>, or press the key combination
ALT+X.
www.EngineeringBooksPdf.com
12.5 Software for Data Transfer
Data transfer between the TNC and TNCremoNT
Ensure that: 1
End TNCremoNT
Select the menu items <File>, <Exit>.
www.EngineeringBooksPdf.com
12.6 Enter Axis Traverse Limits
12.6 Enter Axis Traverse Limits
Introduction
The AXIS LIMIT mod function allows you to set limits to axis traverse Z
within the machine’s actual working envelope.
Example application:
Z max
To protect an indexing fixture against tool collision.
The maximum range of traverse of the machine tool is defined by Z
min
software limit switches. This range can be additionally limited with the Y
AXIS LIMIT mod function. With this function you can enter the
X
maximum and minimum traverse positions for each axis, referenced min Ym
X ax
to the machine datum. max
Y
min
Working without additional traverse limits
To allow a machine axis to use its full range of traverse, enter the X
maximum traverse of the TNC (+/– 30 000 mm) as the AXIS LIMIT.
Move the spindle to the positive and negative end positions of the
X, Y and Z axes.
MOD functions
and enter the values that you wrote down as LIMITS in the
corresponding axes
www.EngineeringBooksPdf.com
12.6 Enter Axis Traverse Limits
The tool radius is not automatically compensated in the
axis traverse limit value.
The traverse range limits and software limit switches
become active as soon as the reference points are
traversed.
The TNC checks whether the negative limit is less than
the positive limit in each axis.
You can also transfer the reference points directly,
using actual position capture.
You can re-establish the last stored value with the
NO ENT key.
You can re-establish the axis limits stored in the
machine parameters with the TRANSFER FROM MP
soft key.
www.EngineeringBooksPdf.com
12.7 Machine-Specific User
12.7 Machine-Specific User Parameters
Parameters
Function
The machine tool builder can assign functions to up to 16 user
parameters. Refer to your machine tool manual.
www.EngineeringBooksPdf.com
12.8 Code Number
www.EngineeringBooksPdf.com
12.9 Q Parameter Status Display
Function
With the Q-PAR soft key you can check and, if necessary, change the
currently defined Q parameters while the TNC is running a program
test or part program (see ”Checking and Changing Q Parameters” on
page 196).
www.EngineeringBooksPdf.com
13
Tables and Overviews
www.EngineeringBooksPdf.com
13.1 General User Parameters
13.1 General User Parameters
www.EngineeringBooksPdf.com
13.1 General User Parameters
Eroding
Value for Q157 with TOOL CALL or EL-CALL MP2040
block 0.1 to 10
www.EngineeringBooksPdf.com
13.1 General User Parameters
Eroding
Gap-control feed rate (only with gap control MP2142
via gap signal) 1 to 99.9 [mm/min]
If the voltage at the analog input is less than the
threshold for the free-run feed rate, the TNC
positions the electrode at the feed rate entered
in this machine parameter, multiplied by a
factor from the PLC.
Example:
Use the following setting to adjust the TNC interface to an external non-
HEIDENHAIN device:
8 data bits, any BCC, transmission stop through DC3, even character
parity, character parity desired, 2 stop bits
Input value:
1+0+8+0+32+64 = 105 (input value for MP5020)
www.EngineeringBooksPdf.com
13.1 General User Parameters
External data transfer
Baud rate for RS-422 interface of the PLC MP5200
9600: 0
38400: 1
www.EngineeringBooksPdf.com
13.1 General User Parameters
www.EngineeringBooksPdf.com
13.1 General User Parameters
TNC displays, TNC editor
Display of program blocks during test run MP7273
Do not display program blocks: 0
Display program blocks: 1
www.EngineeringBooksPdf.com
13.1 General User Parameters
Override behavior
Set overrides MP7620
Feed rate override,
if rapid traverse key is pressed in program run mode
Override effective: +1
Override not effective: +0
Electronic handwheels
Set interpolation error MP7670.0
Slow handwheel interpolation error: 0...10
MP7670.1
Medium handwheel interpolation error: 0...10
MP7670.2
Fast handwheel interpolation error: 0...10
www.EngineeringBooksPdf.com
13.1 General User Parameters
Electronic handwheels
Feed rate of the direction keys on the MP7671.0
handwheel in percent compared to the Slow feed rate: 0...10
machine axis direction buttons on the MP7671.1
operating panel Medium feed rate: 0...10
MP7671.2
Fast feed rate: 0...10
www.EngineeringBooksPdf.com
13.2 Pin Layout and Connecting
13.2 Pin Layout and Connecting Cable for the Data Interfaces
www.EngineeringBooksPdf.com
13.2 Pin Layout and Connecting Cable for the Data Interfaces
RS-422/V.11 Interface
Only non-HEIDENHAIN devices are connected to the RS-422
interface.
The pin layouts on the TNC logic unit (X22) and on the
adapter block are identical.
www.EngineeringBooksPdf.com
13.3 Preparing the Devices for Data Transfer
Non-HEIDENHAIN devices
The TNC and non-HEIDENHAIN device must be adapted to each
other.
www.EngineeringBooksPdf.com
13.4 Technical Information
Background programming One part program can be edited while the TNC runs another program
TNC Specifications
Block processing time 15 ms/block (4 000 blocks/min)
www.EngineeringBooksPdf.com
13.4 Technical Information
Programmable functions
Contour elements Straight line
Chamfer
Circular path
Circle center
Circle radius
Tangentially connecting circle
Corner rounding
Straight lines and circular arcs for contour approach and departure
Touch probe function Touch probe functions for setting datums and for automatic workpiece
measurement
Electronic handwheels
HR 130 For panel mounting
HR 410 Portable version with cable transmission. Includes axis address keys,
actual position capture key, 3 keys for selecting the traversing speed,
direction keys, machine functions, rapid traverse key, safety switch,
emergency stop button.
www.EngineeringBooksPdf.com
13.5 TNC Error Messages
Error messages that are displayed in the screen center are generated
by the TNC. Error messages that appear in the upper screen window
for the operating modes are defined by the machine tool builder. Refer
to your machine tool manual.
Label number already assigned A given label number can only be entered once in a program.
Probed value inaccurate The difference between individual results from probing the workpiece
several times exceeds the maximum allowable difference set in
MP6110.
www.EngineeringBooksPdf.com
13.5 TNC Error Messages
Path offset wrongly started Use the same radius compensation before and after a RND and CHF
block.
Do not begin electrode radius compensation in a block with a circular
path.
CYCL incomplete Define the cycles with all data in the proper sequence.
Do not call the coordinate transformation cycles.
Before calling a cycle, define Cycle 12 PGM CALL.
BLK FORM definition incorrect Program the MIN and MAX points according to the instructions.
Choose a ratio of sides that is less than 64:1.
If you call another program (PGM CALL), copy the BLK FORM to the
main program.
Axis double programmed Each axis can have only one value for position coordinates.
Plane wrongly defined Do not change the electrode axis while a basic rotation is active.
Correctly define the main axes for a circular arc.
Define both main axes for CC.
Chamfer not permitted A chamfer block must be located between two straight-line blocks with
identical radius compensation.
No editing of running program A program cannot be edited while it is being transmitted or executed.
Gross positioning error The TNC monitors positions and movements. If the actual position
deviates excessively from the nominal position, this blinking error
message is displayed. To correct the error, do a ”warm start” by holding
down the END key for a few seconds.
Circle end position incorrect Enter complete information for connecting arc.
Enter end points that lie on the circular path.
Label number not found Only call label numbers that have been set.
Rounding-off undefined Enter tangentially connecting arcs and rounding arcs correctly.
Rounding radius too large Rounding arcs must fit between contour elements.
Key non-functional This message always appears when you press a key that is not needed
for the current dialog.
www.EngineeringBooksPdf.com
13.5 TNC Error Messages
TNC error messages Procedure
Program start undefined Begin the program only with a TOOL DEF block.
Do not resume an interrupted program at a block with a tangential arc
or if a previously defined pole is needed.
Angle reference missing Complete your definition of the arc and its end points.
If you enter polar coordinates, define the polar angle correctly.
www.EngineeringBooksPdf.com
www.EngineeringBooksPdf.com
Index
Symbole C E
3-D view ... 217 Cycle 1 GENERATOR ... 133 Ellipse ... 208
Cycle 2 ERO.TIME LIM. ... 145 Eroding
A Cycle 3 TOOL DEF ... 135 manually ... 21
Accessories ... 13, 237 Cycle 4 SPARK-OUT TIME ... 146 Erosion cycles
Actual position capture ... 84, 94 erosion cycles see Cycles
Additional ... 9 Cycle 14 CONTOUR Erosion table
Auxiliary axes ... 44 GEOMETRY ... 137 working with an erosion table ... 133
Cycle 16 ORBIT ... 139 working without an erosion
B Cycle 17 DISK ... 142 table ... 133
Block scan ... 224 general ... 130 Erosion tables ... 61
Blocks other cycles erosion parameters ... 62
deleting ... 55 DWELL TIME (Cycle 9) ... 171 erosion tables, working with ... 61
inserting, editing ... 56 PGM-CALL (Cycle 12) ... 171 Error messages ... 259
Bolt hole circles ... 210 programming ... 131 during programming ... 259
Test Run and Program Run ... 259
C D External data transfer
Calibration and setup ... 23 Data interface deleting a file ... 236
calibrating the probing electrode ... 25 pin layout ... 254 disk formatting ... 236
measuring the basic rotation ... 27 setting ... 232 selecting ... 233
select the touch probe function ... 24 Data transfer software ... 237 transferring files ... 235
using an electrode ... 23 Datum setting ... 22
writing probed values to tables ... 28 center as datum ... 30 F
Cavity ... 212 circle center point (bore hole) as Feed rate ... 83
Chamfer ... 96 datum ... 32 Files
Circles and circular arcs corner as datum ... 31 file directory ... 48
circle center ... 98 in any axis ... 29 file type ... 48
circular path ... 100, 101, 103, 111, 112 manual probing ... 29 FN xx: See Q parameter programming
full circle ... 101, 111 Define the blank ... 52 Fundamentals
general ... 97 Dialog ... 54 positioning ... 42
Contour approach and departure ... 88 Disk formatting ... 236 spark erosion ... 58
end point ... 89
starting position ... 88 E G
tangential approach Electrode ... 80 Graphic simulation ... 219
and departure ... 91 Electrode changing ... 77 Graphics
Conversational format ... 54 automatic ... 77 display modes ... 216
Coordinate transformation manually ... 78 magnifying details ... 218
see Cycles Electrode compensation values ... 79
Corner rounding ... 97 length ... 79 H
Cycle ... 133 radius ... 80 Helical interpolation ... 113
Cycles Electrode data Helix ... 113
coordinate transformation calling ... 76
DATUM SHIFT (Cycle 7) ... 156 determining ... 72 I
MIRROR IMAGE (Cycle 8) ... 158 entering in separate program Indexed assignment ... 198
ROTATION (Cycle 10) ... 159 blocks ... 78 Interrupting machining ... 223
SCALING FACTOR entering in tables ... 74
(Cycle 11) ... 160 entering into program block ... 73
WORKING PLANE
(Cycle 19) ... 161
www.EngineeringBooksPdf.com
Index
K M P
Keyboard ... 5 Modes of operation ... 6 Program
Moving the machine axes ... 18 editing ... 55
M in increments ... 20 open new ... 52
M functions: See Miscellaneous with the electronic handwheel ... 19 structure ... 51
functions with the machine axis direction Program call
Machine parameters buttons ... 18 program as subprogram ... 178
electronic handwheels ... 252 Program run
eroding ... 247 N executing ... 223
for external data transfer ... 248 Nesting ... 179 interrupting ... 223
machining feed rate ... 246 overview ... 222
override behavior ... 252 O resuming after an interruption ... 225
probing ... 249 Open contours: M98 ... 124 resuming with the GOTO key ... 226
TNC displays, TNC editor ... 249 returning to the
Machine-referenced coordinates: P interruption spot ... 226
M91, M92 ... 124 Parametric programming: See Q Program section repeat ... 176
Measuring the basic rotation ... 27 parameter programming Programming a workpiece change ... 57
Measuring with a probing electrode ... 33 Path contours Programming tool movements ... 54
determining corners ... 33 Cartesian coordinates Projection in 3 planes ... 217
determining position ... 33 circular arc with tangential
introduction ... 199 connection ... 103 Q
measuring angles ... 35 circular path around circle center Q parameters
measuring height ... 201 CC ... 100 checking ... 196
measuring workpiece circular path with defined outputting Q parameters and
dimensions ... 34 radius ... 101 messages ... 197
probing with the electrode ... 200 full circle ... 100, 101 preassigned ... 202
Miscellaneous functions Overview ... 93 transferring values to the PLC ... 198
entering ... 120 straight line ... 94 with special functions ... 202
for contouring behavior ... 123 polar coordinates Q-parameter programming ... 186
electrode retraction (M93) ... 125 circular arc with tangential basic arithmetic (assign, add,
machine-referenced coordinates connection ... 112 subtract, multiply, divide, square
(M91/M92) ... 124 circular path around pole CC ... 111 root) ... 189
machining small contour steps full circle ... 111 If/then decisions ... 194
(M97) ... 123 overview ... 109 trigonometric functions ... 192
open contours: M98 ... 124 straight line ... 110
for electrode and flushing ... 122 Path functions R
for program run control ... 122 fundamentals ... 86, 92 Radius compensation ... 80
overview ... 122 Pin layout for data interfaces ... 254 contouring ... 81
vacant miscellaneous functions ... 126 Plan view ... 217 outside corners, inside corners ... 82
Miscellaneous functions, entering ... 36 Polar coordinates Range of traverse ... 240
MOD Function fundamentals ... 45 Reference system ... 44
MOD functions programming ... 109 Resetting counters ... 227
changing ... 230 Positioning
exiting ... 230 in increments ... 20
overview ... 230 with manual data input (MDI) ... 20, 38
position display types ... 231 Principal axes ... 44
selecting ... 230
setting the data interface ... 232
system information ... 232
unit of measurement ... 231
II
www.EngineeringBooksPdf.com
Index
S U
Screen layout ... 4 User parameters
Setting the datum ... 47 electronic handwheels ... 252
Spark erosion ... 58 eroding ... 247
Status ... 9 for external data transfer ... 248
Status display general ... 246
additional ... 9 machining feed rate ... 246
general ... 9 override behavior ... 252
Straight line ... 94, 95, 110 probing ... 249
Subprogram ... 175 TNC displays, TNC editor ... 249
Switch-on ... 16
V
T Visual display unit ... 3
Teach-in ... 94
Test run W
executing ... 220 Workpiece positions
up to a certain block ... 221 absolute ... 46
Time capture table ... 227 incremental ... 46
TNC 426, TNC 430 ... 2
TNCremo ... 237, 238
TNCremoNT ... 237, 238
To ... 63
Tool compensation ... 79
Tool table
editing ... 74
editing functions ... 75
exiting ... 75
Traverse reference points ... 16
Trigonometric functions ... 192
Trigonometry ... 192
www.EngineeringBooksPdf.com
Overview of Miscellaneous Functions
Miscellaneous functions with predetermined effect:
M03 Free rotation of the C axis (direction of rotation set by the machine builder) page 122
M04 Free rotation of the C axis (direction of rotation set by the machine builder)
M05 Stop free rotation of the C axis
M06 Electrode change / Stop program run (dependent on machine parameter 7440) page 122
M38 Transfer coordinates from datum table 0.D into NC program page 157
M39 Transfer Q parameters from an NC program into the datum table 0.D
M90 Reserved
M91 Within the positioning block: Coordinates are referenced to machine datum page 125
M92 Within the positioning block: Coordinates are referenced to position defined page 125
by machine tool builder, such as tool change position
M93 Within the erosion block: Retract the electrode at the end of block page 125
and return to the starting point of the machining operation
M94 Reserved
M95 Reserved
M96 Reserved
www.EngineeringBooksPdf.com
M Effect Effective at block - start end Page
M98 Machine open contours completely page 124
www.EngineeringBooksPdf.com
DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 5
83301 Traunreut, Germany
{ +49 (86 69) 31-0
| +49 (86 69) 50 61
E-Mail: [email protected]
Technical support | +49 (86 69) 31-10 00
E-Mail: [email protected]
Measuring systems { +49 (86 69) 31-31 04
E-Mail: [email protected]
TNC support { +49 (86 69) 31-31 01
E-Mail: [email protected]
NC programming { +49 (86 69) 31-31 03
E-Mail: [email protected]
PLC programming { +49 (86 69) 31-31 02
E-Mail: [email protected]
Lathe controls { +49 (7 11) 95 28 03-0
E-Mail: [email protected]
www.heidenhain.de
Ve 00
www.EngineeringBooksPdf.com
291 016-24 · 4/2001 · pdf · Subject to change without notice