HEIDENHAIN TNC 122 User Manual

User's Manual
TNC 122
December 1994
Display
X
Y
Z
LBL
PGM
MOD
SPEC
STOP
FCT
7 8 9
X
Y
4 5 6
NO
Z
1 2 3
ENT
ENT
CL
0
DEL
TOOL
+
F
R
/–
DEF
HEIDENHAIN
Position displays
for the
coordinate axes
Operating modes, Programming
X
Y
Z
LBL
PGM
MOD
SPEC
STOP
FCT
7 8 9
X
Y
4 5 6
NO
Z
1 2 3
ENT
ENT
CL
0
DEL
TOOL
+
F
R
/–
DEF
HEIDENHAIN
User parameters
MANUAL
OPERATION
X
Y
Z
POSITIONING
WITH MDI
MOD
Program
management
LBL
PGM
Program run indicator
DEL
Block number
7
X
Input line
Y
NO
Z
ENT
8 9
4 5 6
1 2
Labels for subprograms and program section repeats
Delete block; abort function
3
PROGRAM RUN
SINGLE BLOCK
PROGRAM RUN
FULL SEQUENCE
Input in all modes of operation
X
Y
Z
LBL
PGM
MOD
SPEC
STOP
FCT
7 8 9
X
Y
4 5 6
NO
Z
1 2 3
ENT
ENT
CL
0
DEL
TOOL
+
F
R
/–
DEF
HEIDENHAIN
Incremental dimensions
Actual position capture
Clear entry
STOP
PROGRAMMING
& EDITING
Coordinate axes
X
Y
NO
Z
SPEC
F
FCT
Stop
7 8 9
4 5 6
1 2
Feed rate
Special functions
Numerical input
3
Reset entry
Change sign
Tool length and radius
CL
TOOL
0
+
R
/
Tool radius
compensation
ENT
Confirm entry
Decimal point
Change program block
Program block selection
The TNC Guideline
From the workpiece drawing to program-controlled machining
Step Task TNC mode Starting
of operation on page
Preparation
1 Select tools —— ——
2 Set workpiece datum
for coordinate system —— ——
3 Determine spindle speeds
and feed rates —— ——
4 Switch on TNC and machine —— 15
5 Cross over reference marks 15
6 Clamp workpiece —— ——
7 Set datum/
set position displays 21
Entering and testing part programs
8 Enter part program or
download over external data interface from 31
9 Test run: Run program block
by block without tool 51
10 If necessary:
Optimize the part program from 31
Machining the workpiece
12 Insert tool and
run part program 51
TNC Accessory
Floppy disk unit
With the HEIDENHAIN FE 401 B floppy disk unit you can store programs from the TNC on diskette.
It is also a means of transferring programs created on a personal computer to the TNC.
The FE 401 B Floppy Disk Unit

Contents

Scope of this Manual ......................................................................................... 7
TNC 122 ............................................................................................................. 7
How to Use This Manual .................................................................................... 8
Dialog Flowcharts ............................................................................................... 8
Special Notes in This Manual ............................................................................. 9
1 Fundamentals of Positioning ................................................... 11
Reference system and coordinate axes ........................................................... 11
Datums and positions ...................................................................................... 12
Machine axis movements and position feedback ............................................ 14
2 Working with the TNC 122 – First Steps .................................15
Before you begin .............................................................................................. 15
Switch on the TNC ........................................................................................... 15
Operating modes ............................................................................................. 16
Error messages ................................................................................................ 16
Selecting the position display mode ................................................................. 17
3 Manual Operation and Setup ................................................... 19
Moving the machine axes with the axis direction buttons ............................... 19
Entering tool length and radius ......................................................................... 20
Setting the datum ............................................................................................ 21
4 Positioning with Manual Data Input (MDI) ............................. 23
Before you machine the part ............................................................................ 23
Taking the tool radius into account ................................................................... 23
Entering the miscellaneous function M ............................................................ 24
Entering and changing the feed rate F ............................................................. 24
Entering and moving to positions ..................................................................... 25
Hole patterns ................................................................................................... 27
Input for a bolt hole circle ................................................................................. 27
Input for linear hole patterns ............................................................................ 27
Drilling the hole pattern .................................................................................... 27
5 Programming ............................................................................. 31
Entering the program number .......................................................................... 32
Deleting programs ............................................................................................ 32
Selecting program blocks ................................................................................. 33
Changing program blocks ................................................................................. 33
Deleting program blocks .................................................................................. 34
Feed rate F and miscellaneous function M ...................................................... 35
Entering a program interruption ....................................................................... 36
Entering workpiece positions ........................................................................... 37
Actual-position capture: Teach-In programming ............................................... 38
Hole patterns in programs ................................................................................ 39
Bolt hole circle .................................................................................................. 39
Linear hole patterns ......................................................................................... 41
Subprograms and Program Section Repeats ................................................... 43
Subprograms .................................................................................................... 44
Program section repeats .................................................................................. 46
Contents
6 Transferring Programs over the Data Interface ...................... 49
Transferring a program to the TNC ................................................................... 49
Transferring programs out of the TNC ............................................................. 50
7 Executing Programs ..................................................................51
Interrupting program run .................................................................................. 52
Single block ...................................................................................................... 52
Automatic ......................................................................................................... 52
8 User Parameters ........................................................................ 53
9 Tables and Overviews ............................................................... 55
Miscellaneous functions (M functions) ............................................................ 55
Pin layout and connecting cable for the data interface ..................................... 57
TNC Messages ................................................................................................. 58
Specifications ................................................................................................... 60
Accessory ........................................................................................................ 60
Subject Index .............................................................................61
Scope of this Manual
This manual describes the operation of the TNC 122 from the software version
The three x's represent any numbers.
For detailed technical information, refer to the Technical Manual for the TNC 122.
TNC 122
TNC-Familie
What is NC? NC stands for Numerical Control, that is, control of a machine tool
by means of numbers. Modern controls such as the TNC have a built-in computer for this purpose and are therefore called CNC (Computerized Numerical Control).
From the very beginning, the TNCs from HEIDENHAIN were devel­oped specifically for shop-floor programming by the machinist. This is why they are called TNC, for Touch Numerical Controls.”
The TNC 122 is a straight cut control for milling, drilling, and boring
machines with up to three axes.
Progr. 246 xxx 01.
Differences from the TNC 121
The TNC 122 features the following improvements over the TNC 121:
Larger program memory
Tool compensation
Programmable feed rate
RS-232-C/V.24 data interface
Programming
Workpiece machining is defined in a part program. It contains a complete list of instructions for machining a part, for example the target position coordinates or the feed rate
TNC 122 7
How to Use This Manual
As a TNC beginner, you can use the operating instructions as a step-by-step workbook. This part begins with a short introduction to some important basics concepts, and provides an overview of the available features. Then each feature is explained in detail, using a practical example that you can immediately try out on the machine so you can't get lost in the theory. As a beginner you should work through all the examples presented.
The examples are intentionally brief; it generally won't take you longer than 10 minutes to enter the example data.
As a TNC expert, you can use this manual as a comprehensive review and reference guide. The clear layout and the subject index make it easy to find the desired topics.
Dialog Flowcharts
Dialog flowcharts are used for each example in this manual. They are laid out as follows:
The operating mode is indicated above the first dialog flowchart.
This area shows the keys keys
keys to press.
keys keys
This area explains the function of the key or the work step. If necessary, supplementary information will also be included.
Prompt
This area shows the keys keys
keys to press.
keys keys
A prompt appears with some actions (not always) above the input keypad.
Abbreviated flowcharts
Abbreviated flowcharts supplement the examples and explanations. An arrow (
This area explains the function of the key or the work step. If necessary, supplementary information will also be included.
If there is an arrow at the end of the flowchart, this means that it continues on the next page.
) indicates a new input or a work step.
8 TNC 122
Special Notes in This Manual
Especially important information is shown as a separate note in a gray box. Pay special attention to these notes. Ignoring them would prevent effective use of the control, or even result in damage to the tool or workpiece.
Symbols in the gray boxes
The symbols in the left of the gray boxes indicate the nature of the provided information.
General information
for example on the machine tool.function
Information for the machine tool builder for example that he must implement a certain function
Essential information
for example that a certain tool is needed for the described function
TNC 122 9
NOTES
10 TNC 122
1 Fundamentals of Positioning
1 Fundamentals of Positioning
Reference system and coordinate axes
Reference system
In order to define positions on a surface one needs a reference system. For example, positions on the earth's surface can be defined “absolutely” by their geographic coordinates of longitude and latitude. The term “coordinate” comes from the Latin word for “that which is arranged.” The network of horizontal and vertical lines on the globe constitute an absolute reference system in con­trast to the “relative” definition of a position that is referenced to some other known location.
The illustration at right shows the 0° longitude at the Greenwich observatory and the 0° latitude at the equator.
90°90°
Greenwich
60°
30°
0°
30°
60°
Cartesian coordinate system
On a milling or boring machine, workpieces are normally machined according to a workpiece-based Cartesian coordinate system (a rectangular coordinate system named after the French mathemati­cian and philosopher Renatus Cartesius, who lived from 1596 to
1650). The Cartesian coordinate system is based on three coordi­nate axes designated X, Y and Z which are parallel to the machine guideways.
The figure at right illustrates the right-hand rule for remembering the three axis directions: the middle finger is pointing in the posi­tive direction of the tool axis from the workpiece toward the tool (the Z axis), the thumb is pointing in the positive X direction, and the index finger in the positive Y direction. X, Y and Z are the main axes of the Cartesian coordinate system.
Fig. 1.1: The geographic coordinate system
Fig. 1.2: Designations and directions of the
is an absolute reference system
+Y
+Y
axes on a milling machine
+Z
+X
+Z
+X
TNC 122 11
1 Fundamentals of Positioning
Y
X
Z
Datums and positions
Setting the datum
The workpiece drawing identifies a certain point on the workpiece (usually a corner) as the absolute datum and perhaps one or more other points as relative datums. The datum setting procedure establishes these points as the origin of the absolute or relative co­ordinate systems: The workpiece, which is aligned with the ma­chine axes, is moved to a certain position relative to the tool and the display is set either to zero or to another appropriate value (e.g., to compensate the tool radius).
Example: Coordinates of hole :
1
X = 10 mm Y = 5 mm Z = 0 mm (hole depth: Z = – 5 mm)
The datum of the Cartesian coordinate system is located 10 mm from hole on the X axis and 5 mm from it in the Y axis (in negative direction).
Fig. 1.3: The workpiece datum represents the
origin of the Cartesian coordinate system
Z
1
Y
X
1
5
10
Fig. 1.4: Hole defines the coordinate system
12 TNC 122
1 Fundamentals of Positioning
Y
X
Z
1
20
10
Z=15mm
X=20mm
Y=10mm
15
IZ=–15mm
Y
X
Z
2
10
5
5
15
20
10
10
I
X=10mm
I
Y=10mm
3
0
0
Datums and positions
Absolute workpiece positions
Each position on the workpiece is uniquely identified by its abso­lute coordinates.
Example: Absolute coordinates of the position :
X= 20 mm Y= 10 mm Z= 15 mm
If you are drilling or milling a workpiece according to a workpiece drawing with absolute coordinates, you are moving the tool to the value of the coordinates.
1
Incremental workpiece positions
A position can also be referenced to the preceding nominal po­sition. In this case the relative datum is always the last pro­grammed position. Such coordinates are referred to as incre- mental coordinates (increment = increase). They are also called incremental or chain dimensions (since the positions are defined as a chain of dimensions). Incremental coordinates are designated with the prefix I.
Example: Incremental coordinates of position referenced to
position
2
Absolute coordinates of position : X= 10 mm
Y= 5 mm Z= 20 mm
Incremental coordinates of position :
IX= 10 mm IY= 10 mm IZ=–15 mm
If you are drilling or milling a workpiece according to a drawing with incremental coordinates, you are moving the tool by the value of the coordinates.
Fig. 1.5: Position definition through absolute
coordinates
3
2
3
Fig. 1.6: Position definition through incremen-
tal coordinates
TNC 122 13
1 Fundamentals of Positioning
Machine axis movements and position feedback
Programming tool movements
During workpiece machining, an axis position is changed either by moving the tool or by moving the machine table on which the workpiece is fixed.
When entering tool movements in a part program you always program as if the tool is moving and the work­piece is stationary.
+Y
+Z
+X
Position feedback
The position feedback encoders convert the movement of the ma­chine axes into electrical signals. The control evaluates these sig­nals and constantly calculates the actual position of the machine axes.
If there is an interruption in power, the calculated position will no longer correspond to the actual position. When power is restored, the TNC can re-establish this relationship with the aid of the encod­ers' reference marks.
Reference marks
The scales of the position encoders have one or more reference marks. When a reference mark is passed over, it generates a sig­nal which identifies that position as the reference point (scale ref­erence point = machine reference point). With the aid of this refer­ence mark the TNC can re-establish the assignment of displayed values to machine axis positions.
Fig. 1.7: On this machine the tool moves in
the Y and Z axes; the workpiece moves in the X axis.
Z
Y
X
Fig. 1.8: Linear position encoder, here for the
X axis
If the position encoders feature distance-coded reference marks, each axis need only move a maximum of 20 mm (0.8 in.) for linear encoders, and 20° for angle encoders.
Fig. 1.9: Linear scales: above with distance-
coded reference marks, below with one reference mark
14 TNC 122
2 Working with the TNC 122 – First Steps
2 Working with the TNC 122 – First Steps
Before you begin
You must cross over the reference marks after every switch-on. From the positions of the reference marks, the TNC automatically re-establishes the relationship between axis slide positions and display values that you last defined by setting the datum.
When you set a new datum point, the control automatically stores the new relationship between axis positions and display values.
Switch on the TNC
0
MEMORY TEST
Please wait...
POWER INTERRUPTED
CL
NO CONTROL VOLTG
I
REF TRAV ENT/NOE
ENT
REF MARK XYZ
Press and hold:
1
Switch on the TNC and the machine tool.
The TNC automatically checks its internal memory.
Clear the TNC message indicating that the power was interrupted.
Switch on the control voltage. The TNC automatically checks the function of the EMERGENCY STOP button.
Select reference mark evaluation.
X
Y
Cross the reference marks in any direction:
Press and hold
axis disappears from the screen. Sequence in this example: X axis, Y axis, Z axis
the machine axis direction button until the moving
Z
The TNC 122 is now ready for operation in the MANUAL OPERATION mode.
If you do not wish to cross over the reference marks:
Answer the REF TRAV ENT/NOE dialog prompt with NO ENT
(this feature must be implemented by the machine tool builder).
TNC 122 15
2 Working with the TNC 122 First Steps
Operating modes
Selecting an operating mode makes a specific group of functions available.
Usable functions Operating mode Key
Moving the machine axes; MANUAL Setting the datum OPERATION
Entering positioning blocks POSITIONING and executing them block WITH MANUAL by block; DATA INPUT Changing feed rate and miscellaneous functions; Entering tool data
Storing working steps for PROGRAMMING small-lot production by AND EDITING
Keyboard entry
Teach-In
Transferring programs through the data interface
Running programs SINGLE BLOCK blockwise
Running programs AUTOMATIC continuously
You can switch to another operating mode at any time by press­ing key for the desired mode.
Error messages
If an error occurs while you are operating the TNC, a message will appear in plain language. You will find an overview of error mes­sage in Chapter 9.
To clear an error message:
Press the CL key.
Blinking error messages
W A R N I N G !
A blinking error messages means that the operational reliability of the TNC has been impaired.
If the TNC shows a blinking error message:
Write down the message.
Switch off the TNC and the machine tool.
Try to correct the error with the power off.
If the error cannot be corrected or if a blinking error message
persists, call your service representative.
16 TNC 122
2 Working with the TNC 122 – First Steps
Selecting the position display mode
The TNC can show different types of position values for a tool position.
Fig 2.1 shows the following positions
Starting position of the tool
Target position of the tool
Workpiece datum
Scale reference point
A
Z
W
M
The TNC position display can be set to show the following types of information:
Actual position
2
The position at which the tool is presently located as refer­enced to the workpiece datum.
Servo lag The difference between nominal and actual positions
Actual position referenced to the scale reference point
3
1
2
4
To change position display modes:
Set another position display mode in the user parameter
MP 7322 (see Chapter 8).
2
3
A
W
M
Fig 2.1: Tool and workpiece positions
4
1
Z
TNC 122 17
2 Working with the TNC 122 – First Steps
NOTES
18 TNC 122
3 Manual Operation and Setup
3 Manual Operation and Setup
The TNC 122 provides two methods for manually moving the ma­chine axes:
Axis direction buttons
Positioning with Manual Data Input (see Chapter 4)
Changing the feed rate F
Some machines are equipped with a potentiometer to enable you to vary the feed rate.
Moving the machine axes with the axis direction buttons
In the MANUAL OPERATION mode you can move a machine axis by pressing the appropriate axis direction button on the machine control panel. As soon as you release the button the axis stops.
Continuing machine axis movement
With the user parameter MP7680 (see Chapter 8) you can set the TNC for continuing machine axis movement. The machine then continues to move the axis after you have released the axis direc­tion button. To stop the machine axis you must press a button again (see example 2 below).
Example:Moving the machine axis with the machine axis direction
button in the Z+ direction (retracting the tool)
Example 1: Moving the machine axis
Mode of operation: MANUAL OPERATION
Press and hold:
Example 2: Moving the machine axis (continuing movement)
Mode of operation: MANUAL OPERATION
Together:
Z
I
Z
Press the direction button, e.g. Z, and hold it as long as you wish the machine axis to move.
To start the axis, press an axis direction button, such as Z, and the NC start button at the same time.
Z
Y
X
0
TNC 122 19
Stop the axis with the NC stop button.
Loading...
+ 44 hidden pages