Operating Manual
HEIDENHAIN TNC 150 B/TNC 150 Q Contouring Control
DR. JOHANNES HEIDENHAIN Precision Mechanics, Optics and Electronics . Precision Graduations P.O.Box 1260. D-8225 Traunreut . Telephone (08669) 31-O Telex: 56831 . Telegramme: DIADUR Traunreut
Issue 9185
itiation Mode of operation
Dialogue initiation with key
31 Automatic
I1
mode
s>
See sectior
Page I Manual !b mode q D Single
block MDI
q G Programming and editing
Program management
Programming for pure single axis positioning
Single axis machining 2D-straight line SD-straight line
Rounding of t corners Contour tan- gentlal approack 1
and departure
-- Circle centre or Pole
2D-circular arc
3D-helix
Programmed halt t I I Iiscontinuation ( , f program run: I 4cknowledge t 3xt. stop
CD Tool +G u definition
E P I-- Tool call-up
f Setting label
2 4 I------ Label call-up
Cycle u g g definition I---- 2 2 Cycle call-up
Clear program t I
Definition of parameter functions
V/a cant blocks, mm/inch conversion, Position: cant blocks, mm/inch conversion, Position: da ta display: Actual value/Nominal value/ ta display: Actual value/Nominal value/
Al 41
:2
d
1
37 100
103
43.2 3.1 52 (3.2.3 2 54
__- 58 63
50 55
55 57
03.2.3.6 (3.2.6.2
A3.2.2 43.2.3.3
A3.2.3.4
A3.2.3.E
:3 39 /I4 64 ‘2 106
TOOL q DEF
A 2.1 42
A 2.2 44
A 6.1 73
LBL 17 CALL
n 6.2 73
A7 81
\/I 7.3 94
iA 8.7 98
0 El DEF
Jl5 64
30 Aode (supplementary operating modes): ’
17 MOD Target distance/Lag/Position display large/ small, Baud rate, Working range, NC-softwart Number, PLC-software Number, Code No.
Entry of programs Output of via data interface programs via
data interface
1 109
2
Basic-Symbols Meaning
-3 Machine traverse “automatic”
Program test
3 Memory for machining program (store)
* The machining program consists of individual “program blocks”.
Keys for programming of contours and entry of program number
Key symbol Abbreviation for Meaning
CC q +B ---- /gel
PROGRAM Designation of a new number for program or NUMBER machining program. Selection of a program.
LINE Straight cut traverse
ROUND
CIRCLE CENTRE -- - -
CIRCLE
(simultaneously in 3 axes, 2 axes or only in 1 axis)
“Rounding off” of corners (programming of arcs with ‘tangential transitions) .Tangential contour approach (run-on) and departure (run-off)
Keys for entry values and axis selection
.Circle centrepoint for circular path .Pole for nominal value entry in polar co-ordinates
.- - - -- - ---- .Circular arc .Helix
Key symbol Abbreviation for Meaning
pJ..pJ
0 .
El Sm x Y z _-_- 0 IV
q Q cl
u DEF
0 CE
r-l END 0
Decimal keyboard for numerical values ,E-----i d-iizir --i;in!
and programming of position values
Fourth axis
G3 ~-
K2
M 3.2.3
N
PARAMETER
PARAMETER
DEFINITION
Parameter entry
Definition of parameter
M 5.1
M 5.2
CLEAR ENTRY For delection of entry values or cancellation of fault/error display
H2
G3
END BLOCK Complete block M 3.2.4
See section
Page
Ml.1 41
Ml.2 42
M 3.2.3.1 52
M 3.2.3 2 54
N 100
M 3.2.3.6 58
M 3.2.6 2 63
~-
M 3.2.3.3
M3.2.2
--. M 3.2.3.4
M 3.2.3.5
55
50
-- 55
57
See section
Page
G3 26
G3 26
26
37
52
100
65
65
27
26
If, in the selected operating mode, a button which has no function is inadvertently pressed, the error “BUTTON NON- FUNCTIONAL” is indicated. This error code can be cancelled by pressing CE
cl
3
TNC 150 Keyboard
Operating mode-keys
Key symbol Meaning
w MOD
il I El P
Manual mode of operation 1. The control operates as a conventional digital readout.
The machine can be traversed via the axis-direction buttons
2. Datum set
Traversing of machine axes via the electronic handweel
Positioning with MDI (manual data input) Single axis automatic traversing. One single block can be entered only, but not stored (single axis positioning block or tool call). The stored machining program is not influenced. Contouring operation, with canned cycles, subprograms or program part repeats is not possible in this operating mode.
Program entry and editing Programming is dialogue-guided, i.e. all necessary data for programming is asked for by the control in plain language dialogue and in the correct sequence. A machining program can comprise the following types of program blocks: Straight cut (“single axis” programming, linear interpolation (2 axes) or 3D-linear path)
.Circle centre
.Circular path
.Helix
.Tool definition
.Tool call
.Cycle definition
.Cycle call
.Label set
.Label call: subprogram or program part repeat
.Parameter programming (mathematical and logical functions)
.Programmed stop
Single block program run A press of the start-button is required to execute each individual program block.
Automatic (complete program sequence) With single press of start-button, the stored program sequence is run to a proqrammed stop or to the end.
Program test without machine movement
MODE (supplementary operating modes) .mm/inch conversion .Position data display: Actual position Distance to reference marks Lag Nominal positions Distance to nominal position
.Positron display large/small
.Baud rate
.Limiation of working range
.Vacant blocks
.NC: Software No. .PLC: Software No. .Code No. .4’h Axis on/off
Incremental dimension (chain dimensions); When off: absolute dimensions
Entry of nominal values in polar co-ordinates; when off: riaht-analed (Cartesian) co-ordinates
See section
w
P
P
M9
J
M 3.2
M 3.2.2 50
Page
36
40
03
41
104
104
99
30
49
4
Programming and editing keys
See jectior
‘age Key symbol Abbreviation for Meaning
110 3 --- External data input or output
--- Actual position value: Transfer of actual machine position data as entry value for programming (Playback of Position data or programming of tool length)
CLEAR PROGRAM
DELETE BLOCK
r Clear complete program content
B
F -r $s Delete previously entered block
12 102
M 8.7 98
bl 8.3 96
G2
G3
Block search key M 8.1
25 26
95
M 8.2
M 8.6
.- 95 98
M 8.5 97
M 8.6 98
j-i-l
CL q PGM
DEL q 0
loi ENT ENTER I
Enter into memory
GO TO BLOCK
“Page” program blockwise forwards or reverse
GO
u TO
ml
Cursor setting for program word selection
Programmed stop or discontinuation of positioning
M4 64
P2 106
P3 107
M7 81
STOP
CYCL q OEF CYCLE
I I c/l
DEFINITION 2 Definition of canned cycle
Call-up of canned cycle M 7.3
Allocation of program label for subprogram or program part repeat
m 5 Y 5 a Call-up of program label 4 (Jump to label No.)
--
M 6.1
--
M 6.2
94 CYCL q CALL CYCLE CALL
0 G
LBL q SET 73
73
LABEL SET
LABEL CALL
LBL q CALL
G2 25 NO No enter: The data (entry) requested by the ENTER dialogue is not required.
M 2.1 42 TOOL q DEF TOOL Tool definition DEFINITION z (Tool No., length, radius)
M 2.2 44 TOOL q CALL TOOL CALL
” P Call-up of required tool
(Tool No., axis, rpm)
--- .In contouring operation: The milling cutter is located to the right of the contour in the feed direction. .In single axis positioning operation: Radius compensation “plus”: the tool offset extends the traverse.
M 3.1 46
Nl 100
u R+” % E .In contouring operation:
s The milling cutter is located to the left of the
2 contour in the feed direction.
0 .In single axis positioning operation:
2 compensation “minus”: the tool offset shortens the traverse.
M 3.1 46
Nl 100
q R’
5
Contents Section Page
Brief description of TNC 150 A) 11
Typical machining tasks for TNC 150 ‘3 12
Dimensions/Co-ordinates
Cartesian co-ordinates
Workpiece datum
Absolute/Incremental dimensions
Polar co-ordinates
NC-Dimensioning of workpieces
Axis designation for NC machines
The three main axes
The fourth axis
Cl 14
c 1) 14
c 2) 15
c 3) 15
c 4) 16
c 5) 17
C 6) 18
C 6.1) 18
C 6.2) 18
Keyboards and displays of TNC 150 D) 19
Mains functions of TNC 150 El 20
Machine-specific data
Feed rate F
Auxiliary functions M
Spindle speeds S
Tool numbers T
F) 21
F 1) 21
F 2) 22
F 3) 24
F 4) 24
Dialogues of TNC 150
Dialogue initiation
Rules for responding to dialogue questions in program blocks
Entry of numerical values
G) 25
G 1) 25
G 2) 25
G 3) 26
Fault/Error prevention and diagnosis
Fault/Error indication
Cancellation of fault/error indication
Fault indication “Exchange buffer battery”
HI 27
I-I 1) 27
H 2) 27
H 3) 27
TNC 150 switch-on and reference mark routine 1) 28
Supplementary operating modes MOD 0 Selection and cancellation of supplementary operating modes
Explanation of MOD-functions
Vacant blocks
Changeover mm/inch
Position data display
Position display enlarged/small
Switchover of Baud rate
Traversing range limitation
Display of NC-software number
Display of PLC-software number
Code number
Fourth axis on/off
J) 30
J 1) 30
J 2) 31
J 2.1) 31
J 2.2) 31
J 2.3) 31
J 2.4) 32
J 2.5) 32
J 2.6) 33
J.2.7) 34
J 2.8) 34
J 2.9) 34
J 2.10 35
6
Section Page
Manual operation fi q K) 36
Manual traversing of machine axes K 1) 36
Setting datum K 2) 37
Output of spindle speeds and supplementary functions in “manual” mode _ K 3) 39
“Electronic handwheel” mode m L) 40
“Programming” mode @ q Program management pi;
u Designation of a new program
Selecting a programm
Compensation values for tool length and radius
Tool definition ‘D”E”: q TOOL
Tool call/rool change cALL q Programming for workpiece contour machining
Tool contouring offset Fi (RTII
Programming of workpiece contours (geometry)
Entry of positions in Cartesian co-ordinates
Entry of positions in polar co-ordinates q p
Complete positioning blocks
2D-linear interpolation and single axis traversing q ‘/
3D-linear interpolation
Definition of circle centre q 4”
Circular path programming $” q Helical interpolation
kounding of corners (Arcs with tangential transitions) q Curtailed positioning block ‘zD q Constant contouring speed at corners: M90
Contour approach and departure
Contour approach and departure on a straight path
Tangential contour approach and departure
Programmed stop STOP q Parameter programming
Parameter entry Q q Parameter definition & q FN 0: Assign
FN 1 : Addition
FN 2: Subtraction
FN 3: Multiplication
FN 4: Division
FN 5: Square root
FN 6: Sine
FN 7: Cosine
FN 8: Root of sum of squares
FN 9: If equal, jump
FN 10: If unequal, jump
FN 11 : I f greater than, jump
FN 12: If less, jump
W 41
M 1) 41
M 1.1) 41
M 1.2) 42
M 2) 42
M 2.1) 42
M 2.2) 44
M 3) 46
M 3.1) 46
M 3.2) 49 -
M 3.2.1) 49
M 3.2.2) 50
M 3.2.3) 52
M 3.2.3.1) 52
M 3.2.3.2) 54
M 3.2.3.3) 55
M 3.2.3.4) 55
M 3.2.3.5) 57
M 3.2.3.6) 58
M 3.2.4) 59
M 3.2.5) 60
M 3.2.6) 60
M 3.2.6.1) 60
M 3.2.6.2) 63
M 4) 64
M 5) 64
M 5.1) 65
M 5.2) 65
M 5.2.1) 66
M 5.2.2) 66
M 5.2.3) 67
M 5.2.4) 67
M 5.2.5) 67
M 5.2.6) 68
M 5.2.7) 68
M 5.2.8) 69
M 5.2.9) 69
M 5.2.10) 70
M 5.2.11) 71
M 5.2.12) 71
M 5.2.13) 71
7
Example for parameter programming
Subprograms and program part repeats
Setting label numbers .$: q Jump to a label number LeL q CALL
Schematic diagram of a subprogram
Schematic diagram of a program part repeat (Program loop)
Schematic diagram of multi-subprogram repetition
Programming of hole patterns via subprograms and program part repeats _
Canned cycles (fixed program cycles)
Selecting a certain cycle
Explanation of canned Cycles
Cycle “Pecking”
Cycle “Tapping”
Cycle “Slot milling”
Cycle “Pocket milling” (Rough cut cycle)
Cycle “Circular pocket” (Rough cut cycle)
Cycle “Dwell time”
Cycle “Datum shift”
Cycle “Mirror image”
Cycle “Co-ordinate rotation”
Cycle “Scaling”
Cycle call m
Program editing
Call-up of a program block
Program check blockwise
Deletion of blocks
Insertion of blocks into existing program
Editing within a block
Search routines for locating certain blocks
Clearing complete machining program
Program test without machine movement
Section Page
M 5.3) 72
M 6) 73
M 6.1) 73
M 6.2) 73
M 6.3) 74
M 6.4) 76
M 6.5) 77
M 6.6) 80
M 7) 81
M 7.1) 81
M 7.2) 82
M 7.2.1) 82
M 7.2.2) 83
M 7.2.3) 84
M 7.2.4) 86
M 7.2.5) 88
M 7.2.6) 88
M 7.2.7) 90
M 7.2.8) 91
M 7.2.9) 92
M 7.2.10) 93
M 7.3) 94
M 8) 95
M 8.1) 95
M 8.2) 95
M 8.3) 96
M 8.4) 96
M 8.5) 97
M 8.6) 98
M 8.7) 98
M 9) 99
Pure single axis machining (non-simultaneous)
Single axis machining via axis selection-keys
Programming with the playback-key m
N 100
N 1) 100
N 2) 102
Positioning with manual data input MDI (single block automatic) m _ 0) 103
Automatic 14 m PI 104
Starting program run
Interruption of program run
Re-entry into an interrupted program
Positioning to program without tool
Program run with simultaneous programming and editing
p 1) 105
p 2) 106
p 3) 107
p 4) 109
p 5) 109
Section Page
External data input/output B
Interface
HEIDENHAIN-magnetic tape cassette units ME 101 and ME 102
Connecting cables
Entry of Baud rate
Operating procedure for data transfer
Tape contents
External program input
Read-in of tape contents
Read-in of program offered
Read-in of selected program
External program output
Output of selected program
Output of all programs
External programming at a terminal
Q) 109
Q 1) 109
Q 2) 110
Q 3) 110
Q 4) 112
Q 5) 112
Q 5.1) 113
Q 5.2) 114
Q 5.2.1) 114
Q 5.2.2) 115
Q 5.2.3) 116
Q 5.3) 117
Q 5.3.1) 117
Q 5.3.2) 118
Q 6) 118
Programming of machine parameters RI 118
List of machine parameters R 1) 119
Entry of machine parameters using a magnetic tape cassette unit ME - R 2) 120
Manual entry of machine parameters R 3) 121
Typical operating ewors and fault/error messages 9 122
Technical specificatioris V 122
Technical specifications, General T 1) 123
Transducers T 2) 125
Dimensions u 126
Diagram for TNC 150 - operation VI 131
9
This operating manual is valid for the following controls
TNC 150-versions with interface for an external machine PLC:
Transducer inputs: sinusoidal signals Transducer inputs: square wave signals TNC 150 B TNC 150 BR
TNC 150 F (without 3D-movement) TNC 150 FR (without 3D-movement)
TNC 150-versions with PLC-board(s):
Transducer inputs: sinusoidal signals Transducer inputs: square wave signals
TNC 150 Q TNC 150 QR
TNC 150 W (without 3D-movement) TNC 150 WR (without 3D-movement)
HEIDENHAIN is constantly working on further developments of its TNC-controls. It is therefore possible that details of a certain control may differ slightly to the control version which is being described herein. Due to the operator being
“guided” by the plain language dialogue, such differences will prove insignificant.
10
A) Brief description of TNC 150
The HEIDENHAIN TNC 150 is a 4-axis contouring control. Axes X, Y and Z are primarily intended for linear traversing and the fourth axis is normally used for connection of a rotary table. With each control switch-on, the fourth axis may be made active or inactive.
The following is possible with TNC 150: .circular interpolation in 2 out of 4 axes, .linear interpolation in 3 out of 4 axes and .helical interpolation in 3 out of 4 axes.
Circular and helical interpolation is only possible with the fourth axis if it is being used as a linear axis.
Programming is dialogue-guided; i.e. after “dialogue initiation” by the operator, all necessary data required for program entry is asked for by the TNC 150 in plain language.
Dialogue texts, machining programs, entry values, fault/error indication and position data are clearly indicated on the screen of the visual display unit (VDU)
The resolution for position display is
0.001 mm or 0.005 mm or 0.0001 inch or 0.0002 inch in imperial mode, angle resolutions O.OOl” or 0.005”
The resolution is determined by the machine tool manufacturer.
Position values may be entered in steps of
0.001 mm or 0.0001 inch and 0.001’ for angles.
Program management The TNC 150 has a program management facility for 24 different programs with a total of 1200 blocks.
Program entry with linear or circular interpolation: manually through key-in
.to program sheet or workpiece drawing - also during machining (background programming)
or externally
via the V.24-compatible data transfer interface (e.g. with HEIDENHAIN magnetic tape cassette units ME lOl/ME 102 or with other commercially available peripheral units).
with pure single axis operation: manually with key-in.
.to program sheet or workpiece drawing - also during machining (background programming)
.or during conventional machining operation in the manual mode by entering actual position data from position display as
nominal values (Playback)
or externally
.via the V.24-compatible data transfer interfaces as explained above.
The HEIDENHAIN ME lOl/ME 102 magnetic tape cassette units have been especially designed for external storage of TNC-programs on magnetic tape cassettes. On the rear of these units, connections are provided for data input and output (V.24 or RS-232-C compatible) so that a TNC 150 and e.g. a printer unit, may be simultaneously connected. Programs which have been entered externally can be edited or optimised if required.
Programs which have been compiled on the TNC 145 can be used on the TNC 150. When being read into the TNC 150, such programs are automatically adapted to the TNC 150; e.g. the diagonal path cycle of the TNC 145 is transformed into 3D-Linear interpolation by the TNC 150. An existing TNC 145 program library can therefore be further utilised in the TNC 150.
11
6) Typical machining tasks for TNC 150
Single axis machining Many workpieces require only the simplest of machining operations: single axis machining, i, e. only one axis is
traversed at a time.
P-axis linear interpolation Two axes are moved simultaneously so that the tool follows
a straight path.
3-axis linear interpolation
I I
Three axes are moved simultaneously so that the tool follows a 3D-straight path.
Circular interpolation Two axes are moved simultaneously so that the tool describes a circular (arc) contour.
Helical interpolation Circular movement is performed in the working plane with simultaneous linear motion in the tool axis. Helical inter- polation is used mostly for the manufacture of large diameter internal and external threads.
12
Applying corner radii
I I
Rounding of corners is especially easy to program. The entry of the rounding-off radius is sufficient. During machining, the corner radius is inserted with a tangential transition to the
remaining contour.
Contours derived from mathematical formulae With the aid of parameter programming, contours can be machined which have been calculated using mathematical
formulae (e.g. ellipses).
Hole patterns Holes and threads can be programmed easily and fast with the aid of subprograms and canned cycles.
Repetitive contours “Datum shift” and “mirror image” cycles in conjunction with subprogramming and parameter programming simplify and shorten programming effort for repetitive contours and shapes.
Simple pockets and slots TNC 150 has pre-programmed canned cycles for rectangular pockets, circular pockets and slots.
13
C) Dimensions/Co-ordinates
C 1) Cartesian co-ordinates
One must differentiate between the “actual position” of machine and workpiece, i.e. the momentary position, and the “nominal position”, as per machining program. As an aid for locating positions within a plane or in space, so-called “co-ordinates” or a “co-ordinate system” are used.
The TNC 150 displays actual positions in right-angled co-ordinates - also referred to as “Cartesian co-ordinates”. Nominal positions for machining can be programmed either in “Cartesian co-ordinates” or in “Polar co-ordinates” (refer to section M.3.2).
t Z-Axis
Zero-point
X-Axis
-X
110 -- & (25;35)
30--
20.-
10.-
Zero-point
.
.I *+x 30 20 10 10 20 30
lo--
A right-angled co-ordinate system is formed by three co-ordinate axes X, Y and Z which are perpendicular to each other. The two axes X and Y con- stitute the XY-plane. All three axes have a common point of intersection the so- called zero-point (or “origin”).
Every position or every point of the XY- plane is determined by two co-ordi- nates, i, e. by its X-value and Y-value. The illustrated point “P” has the co-
ordinates X = 25 mm and Y = 35 mm. In the same manner, a point in space is
determined by its three co-ordinates X, Y and Z.
C 2) Workpiece datum
To determine positions in a machining program, the co-ordinate system is established such, that program preparation is easy and convenient, E.g. the co-ordinate axes can coincide with the workpiece edges (the workpiece is clamped to the machine table so that its co-ordinate axes are parallel to the machine axes). The co-ordinate zero-point is the reference point (or datum)
for all absolute dimensions of the machining program. This point is designated by the symbol
C 3) Absolute/Incremental dimensions
Workpiece dimensions are either absolute or incremental.
Absolute dimensioning Incremental dimensioning
Absolute datum
Workpiece
LAbsolute datum
Workpiece
The lower left-hand corner of the workpiece is the “absolute datum” for dimensioning. The machine is to be traversed to the entered dimension. It traverses to the entered nominal position value.
Dimensioning commences from the lower left-hand corner
of the workpiece as a chain of values. The machine is to be traversed by the entered nominal
position value starting from the actual position previously reached.
Programming in absolute dimensions offers the advantage of making geometric amendments of single positions without
affecting other positions, Re-entry into an interrupted program after power failure or any other defect is also more simple with absolute programming. Furthermore, a suitable location of the zero-point may dispense with negative values.
On the other hand, incremental programming may reduce calculation work
15
C 4) Polar co-ordinates
TNC 150 also offers the possibility of entering nominal position values by in using polar co-ordinates.
With polar co-ordinates, points in one plane are referenced to a polar co-ordinate datum - the “pole” - and are defined by the radius from the pole to the required position and the angle of direction (polar angle).
Directional angle
a) Radius and directional angle programmed in absolute dimensions
Example:
C
E A
F
Polar co-ordinates of points A, B.. ., F: PR and PA absolute
A (30/j; @‘A) B (30A; 25OA) c (30A; go’/!,) D (30A; 135’A) E (30~; 180’~) F (30A; 270’~)
b) Radius programmed in absolute dimensions and directional angle programmed in incremental dimensions
Example:
The first point A must be defined in absolute: A (3OA; OA”)
Polar co-ordinates of points B, C, ., F; PR absolute, PA incremental:
E A B (30A; 25’1) C (304 65’1) D (30A; 45’1)
E (30A; 45Ol) F (30A; gO=‘l)
16
c) Radius and directional angle programmed in incremental dimensions
Example:
Fb The first point A must be defined in absolute: A (3OA; O”A) -
Polar co-ordinates of points B, C, D PR and PA incremental:
B (101; 307) c (101; 307) D (101; 307)
Definition of planes and O”-axes
+z 98
*PA
1800
-I-‘>-
00
+Y
A 2700
+x 98
+PA
1 00
(I>
l z
270°
In the X/Y-plane the O”-axis In the Y/Z-plane the O”-axis In the Z/X-plane the O”-axis
lies on X + lies on Y + lies on Z+
The positive direction of the angle “PA” corresponds to an anti-clockwise (ccw) direction (rotation to the left)
C 5) NC-Dimensioning of workpieces
With machines fitted with TNC-Controls, geometric and technical data necessary for workpiece machining can be entered via the keyboards. In order to make shop-floor programming economical and less time-consuming, it is advisable to use either drawings which have been dimensioned for direct TN% - entry or pre-prepared program lists.
17
C 6) Axis designation for NC machines The allocation of co-ordinate planes to the traversing direction of numerical controlled machines are explained in the appropriate NC-standards of ISO.
C 6.1) The three main axes The three main axes are defined by NC-standards. Traversing directions can be determined by the “right hand rule”. In addition, the traversing direction of the tool-axis towards the workpiece corresponds to the negative traversing direction.
Example: Universal milling machine
+ Z direction middle finger
+ Y direction
+ X direction thumb
“Right hand rule”: Coordinates are correlated to the fingers.
When programming only tool movement is considered (relative movement of tool) i.e. whilst programming the
operator always assumes that the tool is moving.
Tool movement + X
*
- Table movement + X’
C 6.2) The fourth axis
With the universal milling machine as illustrated above, the milling tool should, for example, traverse in a positive direction. However, due to the table moving in this axis and not the tool, the table must move in the left-hand direction. The relative movement of the tool is therefore in the right- hand direction, i.e. in the positive X direction. In this case, the traversing direction of the table is designated X’.
I The machine tool manufacturer decides whether the fourth axis is to be used for a rotary table or as an additional linear axis and also which designation this axis will receive on the display screen:
l X
Rotary axis The rotary axis is designated with the letters A, B or C; the correlation to the main axes and the rotating direction is shown In the above illustratron.
18
Linear axis If the fourth axis is to be used as a linear axis, the designation of this axis is U, V or W. The correlation to the main axes is shown above.
D) Keyboards and displays of TNC 150
Brightness
“Program ~ management”-key
Programming and editing keys
Buffer battery - compartment
Visual display screen
Contrast
Keys for axis selection, entry values and parameter programming
Operating mode keys
\ \
Feed rate Spindle override override
19
E) Main functions of TNC 150
The TNC 150 controls the automatic machining of a workpiece in accordance with a program which is entered into and stored within the TNC 150. The program contains all the required data for tools, spindle speeds, axis movements and switching procedures (coolant on/off, rotating direction’or spindle stop etc.). Up to 24 machining programs can be stored simultaneously
MaLchlning programs comprises individual “blocks”. For execution of a stored program, the operating mode “automatic” ( ( @ -key - a q 3 -key) or “program run single block’
e ch block is started individually) - may be selected.
For machining operations with single axis positioning only, entry and execution can be made block by block: operating mode
“single block positioning with MDI” ( q -key).
Machine set-up operation can be carried out with the electronic handwheel ( q -key).
Datum-set and reference mark approach are performed in the “manual” mode ( q fi -key). This mode is otherwise only for
conventional digital readout operation.
From the range of tools entered with the tool definition blocks (
before commencement of machining ( q -key).
q -key), the required tool is selected with a tool call block
The “program entry” mode is initiated with the m -key (the respective lamp is then on).
For programming of the tool path, only the workpiece contour and drawing dimensions have to be entered: length and radius
of the tool are automatically taken into account by the TNC 150. In order to describe the contour, the type of path (linear y
or arc j pi q q
) and nominal target position is entered. Only the r! -key has to be pressed for automatic insertion of
tangential transrtion radii or automatic rounding of corners. Nominal position programming is not only in right-angled (Cartesian) co-ordinates - as with most controls -, but also in polar co-ordinates in either absolute or incremental dimensions as well as in mm or in inch.
For pure single axis machining, programming can also be carried out via the axis-keys m, m, q and m as with HEIDENHAIN-controls TNC 131/135 i.e. greater simplicity.
Furthermore, with single axis positioning, transfer of actual position data (display values) as nominal values is also possible (Playback). The tool path feed rate is programmed in mm/min. or 0.1 inch/min. or in O/min. (with rotary tables). A substantial reduction of programming is made possible by canned machining cycles:
.Pecking (Deep hole drilling)
.Tapping .Slot milling .Pocket milling .Circular pocket milling The TNC 150 also offers cycles for: .Datum shift .Mirror image .Co-ordinate system rotation and .Scaling
Required values are entered with the cycle definition ( H -key) and the cycle is retrieved with the w-key.
An important aid for programming is offered by the TNC 150 through subprograms and program part repeats:
Program sections can be “labelled” via the eET q LBL -key and then be retrieved as often as required via the .$:L -key. q Themand q -keys permit input of parameters in place of co-ordinate or feed rate values. This parameter programming
feature enables contours to be increased or decreased in size or the machining of special contours calculated via mathema-
tical formulae. A stored machining program may be checked by using the “program test” mode 1 which is performed without machine
movement. q
Program editing i.e. corrections or optimisation of programs by amending block-words, complete blocks or insertion or
deletion of blocks IS performed with the q ,m,m ./c.B-keys. __
Program entry and output via an external data medium is initiated with the u-key.
achining program and order to prevent loss ,of this of power occurs when the RS must be re-entered (see
20
.I inch/min .) and in O/min. with rotary
F) Machine-specific data
F 1) Feed rate F
The required contouring speed (tool path feed rate) is programmed in mm/min. (or 0 tables. For maximum feed (rapid traverse).
the value 15999 for mm-programming and 6299 for inch-programming
is to be entered in accordance with the input range.
Max. feed rates and traverses of individual machine axes are determined by the machine tool manufacturer and specified in the machine tool operating manual.
21
F 2) Auxiliary functions M
M-functions are programmed for control of miscellaneous machine functions (e.g. “spindle switch-on” etc.). M-function entry is requested by the dialogue.
Special M-functions which affect program run
M 00 Interrupts program run after completion of the appropriate block and provides the command “spindle HALT” and “coolant OFF”.
M 02
M 03
M 04
M 05
M 06
M 08
Interrupts program run after completion of the appropriate block and selects block 1; furthermore, “spindle HALT” and “coolant OFF” are also commanded. Depending on the entered machine parameters, the status display is cancelled from the VDU-screen.
“Spindle clockwise” - at beginning of block.
“Spindle counter-clockwise” - at beginning of block.
“Spindle HALT” - at end of block.
“Tool change” - further functions as per M 00.
“Coolant ON” - at beginning of block.
M 09 “Coolant OFF” - at end of block.
M 13 “Spindle clockwise” and “coolant ON”.
M 14 “Spindle counter-clockwise” and “coolant ON”.
M 30 Functions as per M 02.
M 90 Constant contouring speed at corners. The function of M 90 depends on the machine parameters entered with the initial commissioning procedure. Detailed information may be obtained from the machine tool
manufacturer (see section M 3.2.5)
M 91 If M 91 is programmed within a positioning block, the programmed nominal position value is not referenced to the
original workpiece datum (see section K 2). but to the transducer reference point.
M 92 If M 92 is programmed within a positioning block, the programmed nominal position value is not referenced to the
original workpiece datum (see section K 2). but to a position which has been defined by the machine tool manu- facturer via a machine parameter (e.g. a tool change position).
Tool compensation is ineffective with this block.
M 94 If M 94 is programmed within a position block, for axis IV (with rotary axis application), the position display is auto-
matically reduced to the corresponding position value below 360° before commencement of positioning.
M 95
Change of approach behaviour at beginning of contour (see section M 3.2.6.1) M 96
M 97 Correction of tool path intersection for external corners (see section M 3.1)
M 98 Contour offset completed (see section 3.2.6.1)
M 99 Same functions as “CYCL CALL” (see section M 7.3)
Unassigned M-functions are utilized by the machine tool manufacturer. These are explained in the machine operating manual.
22
The following M-functions are programmable:
r; Vl-function Output at block M-Functions which
3ffect program run Ire indicated)
beginning
Moo
VI 01
MO2
MO3 X MO4 X
MO6 MO6
M 07 X MO6 X
MO6 M 10
M 11 X
M 12
M 13 X M.14 X M 15 X M 16 X M 17 X M 18 X
M 19
M 20 X M 21 X M 22 X M 23 X M 24 X M 25 X M 26 X M 27 X M 28 X M 29 X
M30
M 31 X
M 32 M 33 M 34 M 35
md
X
r r
I
I
I
I
I
I
I
I
I
I
I I I I I I
I I I
I
&Function Output at block
v136 VI 37 v138 VI 39 VI 40 VI 41 VI 42 w 43 VI 44 VI 45 W 46 w 47 VI 48 VI 49 M 50 M 51
M 52 M 53 M 54
M 55 M 56 M 57 M 58 M 59
M 60
beginning
X X X X X X X X X X X X X X X X
X X X X X
M 61 X M 62 X
M 63 M 64 M 65 M 66 M 67 M 68 M 69 M 70
md
M-Function Output at block 1
M 71 M 72 M 73 M 74 M 75 M76 M 77 M 78 M 79 M 80 M 81 M 82 M 83 M 84 M 85 M 86 M 87 M 88 M 89 l&w rim%. wsa M 93 1IA.h
&l&i% &:-as
beginning
X X X X X X X X X X X X X X X X X X X X X X X X
md
23
F 3) Spindle speeds S
Tool spindle speeds are programmed with a tool call (see section M 2.2). The following spindle speeds may be programmed:
wm
0 0,112 0,125
0.14 0.16 0,18 0,2 0,224 0.25 0.28
0,315 0,355 0.4 0.45 0.5 0.56
0.63 0.71 0.8 0.9
n
rpm wm
1 IO 1.12 11.2 1.25 12.5
1.4 14 1.6 16 1.8 18 2 20 2.24 22.4 2.5 25 2.8 28
3,15 31.5 3,55 35.5 4 40 4.5 45 5 50 5.6 56
6.3 63 7.1 71 8 80 9 90
wm
100 112 125
140 160 180 200 224 250 280
315 355 400 450 500 560
630 710 800 900
wm
1000 1120 1250
1400 1600 1800 2000 2240 2500 2800
3150 3550 4000 4500 5000 5600
6300 7100
8000 9000
When entering the machine data, the machine tool manufacturer lays down a series of “permissible” spindle speeds. If an rpm is programmed which is outside of this range, the error WRONG RPM is indicated during program run.
Spindle speeds are output either
.BCD-coded or .analogue.
With analogue output of the spindle speed, the programmed spindle speeds do not have to correspond to the values in the table. Any required speed may be entered, provided that the max. spindle speed is not exceeded and the lowest spindle speed is not below the min. speed.
Moreover, with analogue output of the spindle speed, the programmed spindle speed is superimposed by the %-factor which is set on the “spindle override” potentiometer.
As of software version 0.. .09.
The max. entry value with analogue output of the spindle speed has been increased to 30000 rpm.
F 4) Tool numbers T
The tool number is programmed via the tool call (see section M 2.2).
Tool numbers 0.. ,254 are available for programming.
When using an automatic tool changer, only tool numbers 0. 99 may be programmed as the control output is unable to provide three-digit numbers.
24
G) Dialogues of TNC 150
Operation and programming of the HEIDENHAIN TNC 150-Control is characterised by the plain language dialogue. After the operator has initiated a dialogue, the control takes over the full guidance with respect to program entry by means of direct questions in plain language.
G 1) Dialogue initiation
Keys for dialogue initiation are explained on fold-out page 2.
G 2) Rules for responding to dialogue questions in program blocks
Initiate dialogue: press appropriate key.
c
First dialogue question is displayed:
Respond to dialogue question and press ENT [ol
1
Second dialogue question is displayed:
Respond to dialogue question and press m
Last dialogue question is displayed:
Respond to dialogue question and press !@
Programming of block is complete.
Certain dialogue questions can be responded to - without entry of a numerical value - by pressing the
When executing the program, the data last programmed is valid. These types of dialogue questions are especially dealt with in the individual sections of this manual.
With positioning blocks and tool calls, block entry can be terminated in advance by pressing ‘:D 0
With program execution, the last values programmed are also valid (see also section M 3.2.4)
25
G 3) Entry of numerical values
Dialogue demands numerical value
r ----------_ I I
Enter value:
I The entry of leading zeros before, and of trailing zeros
I after the decimal point is not required.
Press q -key if required.
I
i
L - Is the entered numerical value correct?
YES
Press @ or q axis-key for next co-ordinate.
Entry step of dimensions and co-ordinates:
.Lengths down to 0.001 mm or 0.0001 inch
.Angles down to 0.001”
Entry range: .for lengths IL 30000.000 mm or 1181.1024 inches .for polar co-ordinate angles f 14400°
.for fourth axis as rotary axis f 30000.000”
26
H) Fault/Error prevention and diagnosis
H 1) Fault/error indication
The TNC 150 possesses a” extensive monitoring system for entry and operating errors and for diagnosis of technical defects within the control/machine-system.
The following is under supewision: .Programming and operating ermrs
e.g. error indication
KEY NON-FUNCTIONAL CIRCLE END POS. INCORRECT
ENTRY VALUE INCORRECT
.Intemal control electronics e.g. fault indication
TN&OPERATING TEMP. EXCEEDED
EXCHANGE BUFFER BAlTERY
TNC-ELECTRONICS DEFECTIVE
.Transducers and certain machine functions e.g. fault indication X-MEASURING SYSTEM DEFECTWE
GROSS POSITIONING ERROR
RELAY EXT DC VOLTAGE MISSING
The control differentiates between minor and major faults. Major faults are indicated by a flashing signal (e.g. malfunction- ing of measuring systems. drives and control electronics). This simultaneously activates an automatic machine switch-off via the EMERGENCY STOP contact of the control.
H 2) Cancellation of fault/error indication
.minor faults/errors e.g. KEY NON-FUNCTIONAL These errors can be cancelled by pressing CE .major faults/errors 0
e.g. GROSS POSITIONING ERROR These faults/errors (indicated by a flashing signal) can only be cancelled by switching off the mains power.
H 3) Fault indication “Exchange buffer battery”
I f the dialogue display indicates EXCHANGE BUFFER BATTERY, new batteries must be inserted (“empty” batteries retain the program content for at least 1 week). The buffer battery compartment is located beneath the screw-cover in the lower left-hand comer of the operating panel (see section D 1). When exchanging the batteries. special care should be taken that the polarity is correct (plus~pole of battery outwards).
The batteries to be used have IEC-designation “LR U and must be of the leak-proof type. We &specially recommend the use of Varta batteries type “4006”.
With discharged (or missing) buffer batteries. the program memory is supplied by the mains power supply. Continuation of operation is therefore possible - however. the memory content will become erased in the event of a mains power failure. It must be remembered that the TNC must be switched on during a battery change: If a mains power failure nccws during a battery change (discharged or missing batteries), a new entry of the machine parameters and the machining program is necessary (see section R)!
27
I) TNC 150 switch-on and reference mark routine
The transducers of all machine axes possess reference marks. These marks, when passed over, produce a reference mark
signal, which is then processed into a square-wave pulse within the control. The pulse determines a definite correlation bet- ween positions of the particular machine axis and the position value. The position of the reference mark on the machine axis is referred to as the “reference point”. The reference points must be traversed over after every interruption of power (due to the TNC 150 being equipped with software-limit switches) otherwise all possibilities of further operation are inhibited! Moreover, by traversing over all reference marks, the workpiece datum which was last set before interruption of power, is reproduced (see section K 2).
+Z
t I I 1
Workpiece datum
I
REF-Value
44.985
20 30 110
Workpiece I
I 1
I Machrne table i I
Reference point
When setting a datum, certain numerical values are allocated to the reference points, the so-called “REF-values”. These values are automatically stored within the control so that if, after interruption of power, the last datum which was pre- viously set can be easily reproduced by traversing over the axis-reference marks.
28
TNC 150 switch-on and reference mark routine is performed as follows:
Switch on supply voltages.
1
Dialogue display: POWER INTERRUPTED.
Press CE : Fault display is cancelled. 0
i
Dialogue display: RELAY EXT. DC VOLTAGE MISSING switch on DC voltage
Dialogue display: RELAY EXT. DCVOLTAGE MISSING.
The EMERGENCY STOP cut-out” has been checked. This has led to power switch off
Switch on DC voltage again!
I
t
Dialogue display:
PASS OVER X/Y/~/IV-REFERENCE MARK
Control is automatically set to 0 -operating mode. fi
Position displays are blocked and show ‘REF.values’
which were last set.
r e YEj over reference pomts posslble?
t In MOD-mode:
t
Key-in code value 84159
press@(seesectionJ 29i
Pass over reference points one after the other:“’ Position displays commence counting.
Dialogue display: CAUTION: SOFTWARE LIMITS INACTIVE
PASS OVER Xi-f/Z/IV-REFERENCE MARK
Pass over reference points in any desired sequence via external direction buttons (the advanced limit switches
are inactive) Position displays commence counting:
the dialogue display of the appropriate axis is erased when the external direction button is released.
I I
I I
t t
I Dialogue display: MANUAL OPERATION
Now the desired operating mode may be selected. I
I) The EMERGENCY STOP-check is carried out with control switch-on. The EMERGENCY STOP-circuit is extremely important for operational safety of both machine and control.
21 The speed. axis sequence and traversing direction for automatic traversing over the reference points have already been programmed with
the machine parameters (see section R). Before every reference mark routine. check that no obstructions e.g. jigs. are present. 31 Automatic traversing over the reference points is activated via the external start-button. For reasons of safety. each axis must be indivi-
dually started. The position displays only commence counting when the reference points have been passed over: the dialogue display
of each axis is then erased. 29
J) Supplementary operating modes MOD q The following supplementary operating modes may be selected via the
.Vacant blocks
.Changeover mm/inch
.Fouth axis on/off
.Position data display: Actual position “Distance to go” to reference points Trailing error (lag) Nominal position “Distance to go” to nominal position
.Position display enlarged/small
.Baud rate
.Traversing range limits .NC-Software number .PLC-Software number .Code number
q MOD -h:
I f program run has been started in q 3 mode, only the following supplementary modes may be selected:
.Position display enlarged/small
.Vacant blocks
I f the error POWER INTERRUPTED is displayed on the screen, only the following supplementary modes can be selected: .Code number .Fourth axis on/off .NC-software number .PLC-software number
After cancellation of the error POWER IW’IER#WWI’E~ the mode “Fourth axis on/off” can no longer be selected.
J 1) Selection and cancellation of supplementary operating modes
n MOD may be selected in any other existing operating mode:
Select desired MOD-function with 17, q -keysor 4
repetitive pressing of MOD q
Cancellation of MOD-routine is by pressing q .
@!b I f a numerical value was amended prior to cancellation, this value must be stored by pressing q
30
J 2) Explanation of MOD-functions
J 2.1) Vacant blocks
The MOD-function VACANT BLOCKS indicates the “umber of program blocks which are still available in the memory
Example of display:
VACANT BLOCKS = 1179
J 2.2) Changeover mm/inch
The control can operate in either metric or imperial mode. Changeover of position displays from “mm to inch’ is as follows:
After selection of MOD function: Dialogue question: CHANGE MM/INCH
I Press q Control changes from mm-to INCH operation or vice-versa. I
J 2.3) Position data display
TNC 150 can be switched over for display of the following position data:
Display type
Actual position
Distance to go to reference points
Trailing error (lag)
Nominal position
Distance to go I
VDU screen abbreviation
ACTL.
REF
Remarks
Display of actual momentary position
Display of remaining distance to reference points (marks) of
transducer
LAG Display of deviations between nominal and actual positions:
Nominal value-actual value
NOML. Display of momentary nominal position calculated by the
control
DIST. Display of “distances to go” to nominal target position (differences between programmed nominal position and
momentary actual position)
After selection of MOD-function: Dialogue display: POS. DATA DISPLAY LARGE/SMALL
Display is switched over from small to enlarged characters or vice-versa.
I 31
J 2.4) Position display enlarged/small
In operating modes program run-single block and automatic program run, the position data on the TNC 150 screen can be switched over from small screen characters to enlarged screen characters.
Small display: Four program blocks and position (in small characters).
Enlarged display:
The current program block and position (in large characters).
After selection of MOD-function: Dialogue display: POSITION DATA DISPLAY LARGE/SMALL
f
With repetitive pressing of @ required display type is selected. 0
J 2.5) Switchover of Baud rate
With TNC 150 the transfer rate of the data intetface V.24 (R-232-C) is automatically set to 2400 Baud for connection to a
HEIDENHAIN magnetic tape cassette unit ME lOl/ME 102. If a peripheral unit with another Baud rate is to be connected to the TNC 150 (without interconnection of an ME-unit). the corresponding Baud rate must be entered.
After selection of MOD-function: Dialogue display: BAUD BATE
1
If necessary, enter new Baud rate (110. 150. 300. 600.1200 or 2400
Baud) and enter into memory with q
The Baud rate is also entered into the memory by advancing the MOD-functions via the q q or B-keys.
32
J 2.6) Traversing range limitation
The traversing ranges can be predetermined by the software safety limits, e.g. in order to prevent a collision. This limitation is determined in every axis one after the other in the + and - direction and with reference to the reference points. To determine the limit locations. the display must be switched over to VEF”
r
-30 -20 -10 10 20 30 I.0 so 60 70 a0 -x*
I
YCX
I Workpiece I
I
I Machine table c--c I
1 I I Transducer I !I
I I
I I
i Reference point
-x Ref I +X Ref *
-80 -70 -50 -3 -LO -30 -20 -10 10 20 30
Limit X+ = -10.000 Limit X- = -70.000
Select M mode. I
Select MOD-function POSITION DATA Switch position readout to “REP
1
Select MOD-function LIMIT for required axis and direction.
i
Traverse to limit positions via external direction buttons or electronic handwheel
I
t
Program displayed values:
@j ~$jjand@.
etc
I f operation is without traversing range limitations, it is recommended that + 30000 mm and - 30000 mm be entered for the appropriate axis.
33
J 2.7) Display of NC-software number
The appropriate NC-Software number can be displayed by means of this MOD-function
Example of display:
NC: SOFIWARE NUMBER 221804 04
J 2.8) Display of PLC-software number
The appropriate PLC-software number can be displayed by means of this MOD-function
Example of display:
PC: SOFI-WARE NUMBER 221510 01
J 2.9) Code number
Certain operating modes can be selected by using code numbers via this MOD-function. By entering the code number 84 159, machine axes can be~traversed via the external direction buttons without prior traversing war reference marks (see section I):
Switch on control -]
Dialogue display: PASS OVER REFERENCE MARK
Press MOD cl
Select MOD-function CODE NUMBER with single press of q : Enter code number 84 159
The axes can be traversed via the external direction buttons; positions displays commence counting upon crossing
of reference marks.
34
J 2.10) Fourth axis on/off
It is only possible to activate or inactivate the fourth axis (i.e. for optional rotary table operation) immediately after control switch-on. However. before cancellation of the error display POWER INTERRUPTED.
Switch on control
Dialogue display: POWER INTERRUPTED
1
Press MOD and then + 0 0
Dialogue display: POWER INTERRUPTED
AXIS 4 ON/OFF
I
Press q The control activates or inactivates the fourth axis
depending on the previous condition
Please note: This MOD-function can no longer be selected after cancellatipn of the POWER INTERRUPTED display.
35
K) Manual operation q VDU-display:
Selected mode
Line for entry dialogue and fault/error message
Position values
Feed rate for external direction
buttons, Auxiliary function (M03, M04, M05)
K 1) Manual traversing of machine axes
When switching on the control, the “manual” mode is automatically selected. The machine can be traversed via the axis direction buttons on the machine control panel. The traversing speed can be set either
a) via the override potentiometer of the control or
b) via an external potentiometer
depending on how the TNC 150 has been adapted to the machine.
The machine axes can be traversed in two ways:
.key-in operation
The desired axis direction button is pressed and the selected machine axis will traverse. It is stopped when the button is no longer being pressed.
.continuous operation If, after pressing the axis direction button, the external start-button is pressed, the machine axis will continue to traverse even when the buttons are no longer being pressed. Stopping is activated by pressing the external stop-button.
36
K 2) Setting datum In order to machine a workpiece, the display values must correspond to the workpiece positions, When setting a datum, the
three position displays are pre-set to defined values (i.e. numerical values are set into the displays as starting values whereby the machine axes already have a certain position). If, for instance, the workpiece dimensions of the sketch below are referenced to the lower left-hand corner, this corner can be declared as the “workpiece datum” and the value 0 is allocated for the X and Y-axes.
For this, either
a) the workpiece datum can be approached (e.g. with an optical edge finder) and the X and Y-displays be set to 0.
b) the known position A is approached (e.g. with a centring device for the bore) and the X-display set to 50 and the Y- display set to 40
or
c) the workpiece datum is determined by “touching” the workpiece with the tool (or a mechanical edge finder) which has a diameter of 10 mm, the left-hand workpiece edge is approached first and when touched, the X-display is set to
-5. Similarly, the lower workpiece edge is approached and touched and the Y-display is set to -5.
The presetting of both axes corresponds to case b) (instead of 50 and 40, the value -5 is to be entered).
Datum
A
1 f. -+I+- s
Workpiece t
50 +X e
Tool
37
In this example, the Z-axis corresponded to the tool axis, Determination of the workpiece datum for the Z-axis is per- formed in various ways depending on the type of tool being used.
workpiece surface e.g.Z=OorZ=+50
a) Tools in chuck (with or without length stop) In order to determine the workpiece datum for the tool axis, the first tool must be inserted (Tool 1 = zero-tool, see also section M 2.1 “Tool definition”). If, for example, the workpiece surface is to be referenced as 0, the tool tip must touch the workpiece surface and the Z-axis then set to 0 for this position (as per a) for axes X and Y). I f the workpiece surface is to have a value other than 0, then the tool axis must be pre-set to this value e.g. + 50. The compensation values for remaining tools are referenced
to tool 1 (zero-tool).
I
b) Pre-set tools
Position of workpiece surface e.g.Z=OorZ=+50
With pre-set tools, the tool length is already known. The workpiece surface is touched with any available tool. In order
to set the workpiece surface to 0, the tool axis must be pre- set to the length + L 1 of the appropriate tool. I f the workpiece surface has a different value to 0, the tool axis must then be set to the datum value as follows:
(Datum value 2) = (tool length L 1) + (surface position)
Example: Tool length L = 100 mm; workpiece surface position + 50 mm
1 (Datum value Z) = 100 mm + 50 mm = 150 mm
Presetting of position displays is performed as follows:
, TNC in “manual” mode fi q
Switch position data display to “Actual position value” (see section J 2.2).
+ I
Press appropriate axis key l$ , q , q or [ivl
I
I Key-in desired value
Press q The entered value appears in
the position displav
& I f position data display is switched to “Distance to go to REF-points” (see section J 2.2) the datum cannot be set.
K 3) Output of spindle speeds and auxiliary functions in “manual” mode
With TNC 150. output of spindle speeds and auxiliary functions is also possible in the 0 ?! operating mode.
Spindle speeds:
Auxilian/ functions:
Dialogue question: SPINDLE SPEED RPM? Key-in requirtid spindle speed.
Press external @-button,
Dialogue question: AUXILIARY FUNCTION M? Key-in required auxiliary function.
-button.
39
L) “Electronic handwheel” mode w
The control can be equipped with an electronic handwheel for easy set-up operation
The handwheel is active when the 0 @ -mode is on.
VDU-display:
Switch-over between axes is performed by pressing the appropriate TNC-axis key X The traversing speed is determined by a subdividing factor. The required subdividing factor is keyed-in and transferred by pressing q Available entry values: 1.. .lO.
5 0.625 mm 6 0.313 mm
7 0.156 mm 8 0.078 mm
Selected mode The subdivision factor determines the amount of traverse per handwheel
rotation 2 = current subdivision factor 6 = newly entered subdivision factor Position values
Feed rate for external direction buttons, Auxiliary function (M03, M04, M05)
, Y. Z or IV.
9 0.039 mm 10 0.020 mm
Fb Depending on the rapid traversing speed of the machine, the subdividing factor is inhibited for high speeds.
!!b The external axis direction buttons also remain active in this mode!
40
M) “Programming” mode M
VDU-display:
Selected mode Entry dialogue. Fault/Error dixlay Previous program block (darker) Curreut program block and (Editing line - only in ‘programming” mode)
Next pmgiam block (darker) Subsequent program block (darker) Status displays:
Position values
Feed rate. Auxiliary function (M03. M04/M05)
M 1) Program arganisation
TNC 150 organise a library of 24 different programs with a total of up to 1200 blocks
@ A machining program may contain up to 999 program blocks.
M 1.1) Designation of a new program
A program can only be entered after it has been allocated with a program number. The program number may have up to 8 digits.
Programm designation is performed in the 9 -mode.
m
q Dialogue initiation: press
Dialogue question RSSpOilSS
PROGRAM SELECTION
PROGRAM NUMBER= Key-in program number: press q
- MM = ENT/INCH = NO ENT If machining program entry is in mm: press w
If machining program is entered in INCH; press I,“,“,1 sl
As an example. the TNC 150.screen would display the following blocks after entry of the program number 100 052 31:
0 BEGIN PGM 100 052 31 MM
1 END PGMlOOO5231 MM
If blocks are now entered, these will be inserted between the BEGIN-block and the END-block.
0 BEGIN PGM 100 052 31 MM
1 L x + 20,000 Y + 35,000
RO FlOO M
2 ENDPGM 100052 31 MM
For entry of a second program. the The display shows:
m-key must be re-pressed
PROGRAM SELECTION
PROGRAM NUMBER =
100 052 31
The VDU-&?en display indicates that a program with the designation number 100 052 31 is already stored. 41
M 1.2) Selecting a program
Dialogue initiation: Press P,“R” q Dialogue question I Response
PROGRAM ADDRESS PROGRAM NUMBER -
Either enter program number or select program number displayed on the VDU-screen via
m,mandFi m
Press ENT Ic>J
The beginning of the selected program is displayed
M 2) Compensation values for tool length and radius
M 2.1) Tool definition Ib”,“:l
The TNC 150 allows for tool compensation. Therefore. the entry of a machining program can be made directly from the drawing dimensions of the workpiece contour. For tool compensation, the length and the radius of the tool must be defined. This data is entered with the TOOL DEFINITION.
Tool definition entry may take place at any location within the machining program. A conventient search routine facility enables a certain tool definition to be easily called up for inspection or amendment (see section M 8.6).
Dialogue initiation: Press ‘D”,9;’ n
Dialogue question Response
TOOL NUMBER? I
Key-in tool number; press q TOOL LENGTH L?
TOOL RADIUS R?
Enter numerical value or parameter (see section M 5) for length compensation; press q Enter numerical value or parameter (see section M 5); press q
Dialogue question: TOOL NUMBER?
Possible entry values: .for machines without automatic tool change: 1 - 254 .for machines with automatic tool change: I- 99
!!b
No tool may be allocated with the number 0 (this tool number has already been allocated internally for “no tool”
i.e. for length L = 0 and radius R = 0).
Dialogue question: TOOL LENGTH L?
Entry range: + 30000.000 mm
42
The compensation value for the tool length L can be determined in various ways:
a) Tools in chuck without length stop Firstly, the datum of the tool axis must be defined (see section K 2). The surface of the workpiece is touched with the tip of the first tool and the position display of the appropriate axis (e. g. Z-axis) is pre-set. The first tool is defined as the “zero- tool”, i.e. tool length L = 0 is entered into the tool definition for the first tool:
Tool length L = 0 i’ \ I
t
A Length of
.r s v
E -- s.+ A
“zero-tool”
Difference in length of 2”d tool
t /i 4 e.g. + 40.000 mm
Workpiece
For all subsequent tools (also with a re-insertion of tool 1) the difference in length, with respect to the first tool, must be entered. If the workpiece surface has been declared with the position Z = 0, the length compensation can be determined after insertion of the new tool by touching the workpiece surface. The compensation value is indicated in the position display of the
Z-axis and can be transferred as an entry value by means of the q +#- -key (including sign). This value is entered in the tool
definition for the appropriate tool: Y e. g. Tool length L = 40.000
If the workpiece surface does not correspond to 0, the tool length must be determined after datum set as follows: Touch workpiece surface and note down the value in the position display of the tool-axis (with sign). Now determine the compensation value L according to the following formula:
(Compensation value L) = (Actual position value 2) - (Position surface)
Example: Position value of Z-axis = + 42, position of surface = + 50 ’ Compensation value L = (+ 42) - (+ 50) = - 8. This value must be entered into the appropriate tool definition:
Tool length L = - 8.
len!
b) Tool in chuck with length stop The compensation value for the tool length is defined as in a). A compensation value which has been defined,‘does not change after removal or insertion of the tool. I-~
c) Pre-set tools With pre-set tools, the tool length is determined on a tool setting device, i.e. all tool lengths are already known and do not have to be determined at the machine. The length definition corresponds to the tool lengths which have to be determined on
the tool-presetter
Dialogue question: TOOL RADIUS R?
Entry range: + 30000.000 mm
The tool radius is always entered as a positive value. Negative values for tool radius compensation can only be applied in one
special case (see section N 2, Playback programming). When using drilling tools, the tool radius can be programmed with 0.
The tool definition allocates one program block.
TOOL DEF 28 L+ 100,000
R+ 20,000
43
M 2.2) Tool call/Tool change q With a tool change. the data for the new tool is called up with the •! ceiL -key.
Dialogue initiation: @-key
Dialogue question ReSpOllSe
TOOL NUMBER? Key-in tool number; press ENT a
WORKING SPINDLE AXIS WY/Z? Press axis-key El, m or 0: do not press @-key.
SPINDLE SPEEDS RPM? Key-in spindle speed; press m
Block entry may be terminated in advance by pressing the
If dialogue questions are responded to with q ,
PI q -key.
d a t a entry is omitted and the next dialogue question appears.
In this case. the data entered with the previous tool call block remains valid.
Dialogue question: TOOL NUMBER?
Possible entry values: .for machines without automatic tool changer: 0 - 254
.for machines with automatic tool changer: o- 99 (the control only provides tool numbers 0 - 99 in coded form).
Dialogue quest,on:
WORKlNG SPINDLE AXIS X/V/Z?
Possible entry data: X. Y. Z or if required. U. V. W by press IV El
Definition of axis to which the spindle-axis is parallel. The tool length compensation is effective in this axis: the radius corn pensation is effective in the other two axes (if reqd.).
F!!b Programming of the fourth axis within a tool call is only possible if the fourth axis is linear,
Dialogue question: SPINDLE SPEED S RPM?
Programmable spindle speeds are given in the table of S-functions (section No. F 3).
Entry is with a maximum of 4 digits in rev./min. If necessary, the control rounds-off the value to the next standard value. If.
however the entered spindle speed is outside of the permissible speed range (defined by machine parameters). the error
WRONG RPM is displayed.
The tool call only allocates one program block:
TOOLCALL Z S 1000,000
Tool call with tool number 0 If. in a machining program traverses are to be made without tool compensation, the tool call is to be programmed with the
tool number 0. A tool with number 0 is already pre-programmed as “no tool”, i.e. length L = 0 and radius R = 0.
TOOLCALLO Z SO.000
If the tool call is initiated in the q B or q the active tool compensations are disregarded and the machine traverses
to the nominal positions without compensation.
44
Please note: Depending on the machine parameters which have been entered, the dialogue question
NEXT TOOL NUMBER?
can appear after the dialogue questton
TOOL NUMBER? The output of the next tool number is only required if the machine is equipped with an automatic tool changer which
searches for the next tooi whilst operation is being carried out with the current tool. More detailed information can be obtained from your machine tool manufacturer.
A STOP is to be programmed before every tool change. The STOP can be neglected only when the tool call is required for an rpm-change.
Programming sequence for a tool change
Selection of tool compensation and definition of tool change position via subprogram
r--~----- Define tool 1 if required
1
Programmed STOP *
c
Machining program. comprising Positioning blocks, Cycle Definition.~
Cycle Calls. S&programs. Program part r&peats (with tool) 1
Call-up of subprogram for
r---- - -- 1
r 7 Define tool 2 if required
i
r 1
+
1
*The stop can be programmed:
.via the 0 STOP -key (see section M 4). or
.via auxiliary function M 00 or M 06 (see section F 2)
Programmed stop *
etc.
M 3) Programming for workpiece contour machining
M 3.1) Tool contouring offset m pi
With TNC 150, the actual workpiece contour may be programmed. Tool length and radius is automatically compensated for by the control. Since the data entered for the tool length is sufficient, the radius compensation must also define whether the tool is located to the right or left of the contour in the traversing direction:
q R+” -key: In the traversing direction, the centre of the milling cutter travels on the right-hand side of the contour.
IR_L1- : key In the traversing direction, the centre of the milling cutter travels on the left-hand side of the contour.
!!!b The double function of both keys is explained in section N
Milling an external contour
cutter path (centre of milling cutter)
Milling an internal contour
cutter path (centre of milling cutter)
cutter path (centre of milling cutter)
cutter path (centre of milling cutter)
46
Automatic calculation of contour path intersection for internal corners
programmed contour
intersection S
The TNC 150 automatically determines the point of intersection S for the cutter path which is parallel to the workpiece contour and also guides the cutter in its correct path. The control prevents the tool from forming a recess at point P 2 which could
damage the workpiece.
Automatic insertion of transitional arcs on external corners
The control automatically provides a transitional arc at external corner P 2. In most cases, the cutter rolls at a constant speed around the corner, I f the programmed feed rate is too high for the transitional arc, the cutter speed around corner P2 is auto- matically reduced to the value which is permanently programmed within the TNC.
Q!!s A constant contouring speed can be impelled by programming the auxiliary function M 90, (see section F 2)
47
Correction of tool path intersection for external corners: M 97
If no transitional radius is to be inserted on an external corner, the M 97 function is to be programmed into the appropriate block.
Examples:
cutter path
L
program-G@
milled contour
Without M 97: The transitional radius would damage the workpiece.
cutter path intersection S
programmed contour
milled contour
With M 97: No transitional radius is inserted; the control determines the tool path intersecting point S thus preventing
damage to the workpiece.
Special case:
4 intersection S
The control cannot determine the tool path intersection with M 97.
programmed contour
Remedy: A block is inserted:
L tx+o,OOO t.Y+o,OOO RL FlOO M97 .
The control determines the pornt of intersection S and the contour can be milled.
48
M 3.2) Programming of workpiece contour (Geometry)
In the X, Y and Z axes, TNC 150 can control the machining of contours which comprise straight sections (Linear inter-
polation: simultaneous traversing in two or three axes or traversing in one axis only = single axis traversing) and/or circular arcs (simultaneous traversing in two axes).
Straight sections are determined by their end positions ( D !/ -key).
Circular arcs can be determined either by the circle centre ( L1
4” -key) and starting and end positions ( il $” -key) or - when
the circular arc describes a tangential transition into the final contour - by the radius only (rounding-off key ;hk ). n
Helices can be programmed with circular interpolation ( 4” and $” -keys) in polar co-ordinates and an additional linear u[II
movement in the axis which is perpendicular.
TNC 150 also provides for tangential approach into, and departure from a contour by following a circular path. The “fourth axis” can perform a linear interpolation routine with any one of the main axes X, Y or Z. By using the fourth axis as a rotary axis in linear interpolation with one of the main axes, a helix can be manufactured. If the fourth axis is being used for rotary motion (on a rotary table), nominal positions are entered in degrees (“) and feed rate in degrees/min. (O/min.).
Radius compensation is not considered in the fourth axis. Contour points (i.e. nominal positions) may be entered in “absolute” or “incremental” (chain) dimensions or in Cartesian or
polar co-ordinates.
With incremental programming the q 1 -key must be pressed (the indicator lamp is then on). By re-pressing this key
(indicator lamp off) the control is returned to the absolute programming mode.
The q -key may either be pressed prior to dialogue initiation or afterwards, but before activation of the m or B-key
(see section M 3.2.4).
Entry step for dimensions and co-ordinates:
.Lengths down to 0.001 mm or 0.0001 inch
.Angles in degrees down to 0.001”
.Entry range:
.Lengths: + 30000.000 mm or 1181.1024 inches
.Polar co-ordinate angles: absolute + 360°, incremental -+ 5400’
.Fourth axis rotarv: + 30000.000°
M 3.2.1) Entry of positions in Cartesian co-ordinates
@ The m-key must not be pressed.
’ I f the m, q or q - key is pressed, the following dialogue question is displayed:
COORDINATES 7
ResDonse:
For positioning or machining in one axis only (single axis traversing, programmed via y -key)
111
u .press I if reqd.
.press axis-key and enter numerical value,
.press @ or m (see section M 3.2.4)
Entry of 2 co-ordinates
.press Emi 1 If reqd.
.press first axis key and enter numerical value then
.press second axis key and enter numerical value
.press m or q (see section M 3.2.4).
The entry of 3 co-ordinates is performed similarly (3D-traverse programmed with
.press I if reqd. a
.press first axis key and enter numerical value
.press second axis key and enter numerical value
.press third axis key and enter numerical value
.press m or q (see section M 3.2.4).
)
49
M 3.2.2) Entry of positions in polar co-ordinates 17
P
Nominal position values can also be programmed in polar co-ordinates (see section C 4). First of all, the pole (co-ordinate
origin) must be defined. It can be defined in two ways: .either the last nominal position value can be used as the pole .or the pole is defined by means of Cartesian co-ordinates.
Examples: The utilization of the last nominal position as a pole-value is mainly used for the programming of linear paths
P3 Nominal posrtron
PI Nomlnal posltion
As an example, the series of straight lines as shown PO, PI, Pp. P3 may be programmed by merely entering the radii and angles of direction.
!!A!!? With incremental programming, the polar co-ordinate angle is referenced to the direction last programmed.
A contour comprising straight sections and an arc
p2 Nomw
,A ar-’
PI Nominal posltlon
Circle centre
7 P5 Nominal position
and pole Nomlnal posItIon
P4
PR4,5=30 mm PA4,5=90°A
Nominal position
and pole
PRM,4=35 mm PAr\n,4=o”A
Press 8” for programming of pole. I?
The dialogue question COORDtNATES?
is answered as follows:
.Press n
I for entry of Cartesian co-ordinates of pole if reqd.
.Press axis key and enter numerical value
.Press axis key and enter numerical value
.Press m or q -key;
.If the previous nominal position value is to be declared as a the pole, press /El q - pressed after entry of the first co-ordinate, the second co-ordinate for the previous nominal position
n
!!!i The programming of the fourth axis in a CC-block is only possible if the fourth axis is linear.
50
The pole definition allocates one program block: either Cc X+ 10,000 Y ;f 20,000 with polar co-ordinate programming or CC when using the previous nominal position as the pole.
!!!i
When determining a pole, the “Cartesian datum” is retained so that after entry of polar co-ordinate blocks, pro- gramming of Cartesian co-ordinates may be resumed.
!!!s
When programming a positioning block in polar co-ordinates, the q P -key must be pressed before initiating the
dialogue with y or $” (The indicator lamp is then on)! q u Dialogue initiation: press Iyl
Dialogue question: POLAR COOftDtNATES-RADIUS PR?
Response:
.press Ll
I if reqd.
.enter radius value “PR”
.press @ 0
Next dialogue question: POLAR COORDtNATES-ANGLE PA?
Response:
.press I I f reqd. u
.enter polar angle “PA” in degrees
.press q or q (see section M 3.2.4)
Dialogue initiation with $” : .u
Dialogue question: POLAR COOFtDlNA~S-ANGLE PA7
Response as per linear interpolation.
When performing circular interpolation with polar co-ordinates, the radius of the circle end point need not be pro- grammed. The control determines the radius automatically by using the circle starting point and centre position.
51
M 3.2.3) Complete positioniry blocks
M 3.2.3.1) 2D-linear irrterpolation and single axis traversing q
Dialogue initiation: press either y or 0 0.
P with polar co-ordinates and then y q Dialogue questions Ft~SplSf2
COORDINATES? or POLAR COORDINATES-RADIUS PR? Enter co-ordinates as per section M 3.2.1 or M 3.2.2;
and POLAR COORDINATES-ANGLE PA? press q TOOL RADIUS COMP.: RLIRRI Enter radius compensation if reqd. (see section M 3.1);
NO COMP.? .press pj .@
.press pz+J
FEED RATE? F =
AUXILIARY FUNCTION M?
Enter feed rate (see section F 1);
press •j
Enter auxiliary function (see section F 2):
press q
QJ! I f dialogue questions are responded to by pressing lENTI data entry is omitted -the next dialogue question is dis- played.
q I f several M-functions are required in one block and have not been accomodated into previous blocks. these may be prop grammed as single positioning blocks containing only an M-function. The number of blocks corresponds to~the required
number of M-functions (press INo / -key for all preceding dialogue questions). m
If no M-function is required within a block, press in response to dialogue question for M-function.
Linear interpolation allocates one program block:
LX + 20,500 I Y + 49,800
RL FlOO M
or
LP PR + 80,000 PA + 45,000
RR F 1100 M
Examples:
2D-Linear interpolation in Cartesian co-ordinates
The tool is in the Position PI.
It is to travel to the target position P2 (co-ordinates Y2 = 38 and Z2 = 42) in a straight path.
Program blocks:
1 L Y + 15.000 z +. 15.000 RO F 100M
2 L Y + 38.000 Z + 42.000 RO F 100M
2D-Linear interpolation in polar co-ordinates
The machine is stationaw at point PI. The nominal position P2 is defined by
the radius PI?2 = 52 mm and the polar angle PA2 = 634 The machine will
traverse in a straight path from point PI to point P2.
Program blocks:
1 cc x + 10.000 Y + 10.000 2 LP PR + 36.000 PA + 28.000
RO F 100 M 3 LP PR + 42.000 PA + 63.000
RO F 100 M
+Y
+z P2(38:42)
2D-Linear interpolation with the fourth axis
The fourth axis may be used in linear interpolation with any one of the mains axes q PI, pi.
Dialogue initiation: / (polar co-ordinate entry is not possible) El
When responding to dialogue questions, the following should be noted:
.When using the fourth axis as a rotary table axis:
Nominal position value entry in (“) and Feed rate entry in (“/min.).
.Radius compensation is only considered when the fourth axis is linear,
Pb
If the function M 94 is programmed within a positioning block for the fourth axis (fourth axis operation rotan/). the
position display for the fourth axis is automatically reduced to a corresponding angle value below 3600.
Linear interpolation with the fourth axis allocates one program block:
L Z + 50,000 C + 720.000
RO F20 M
Pb
The feed rate is given mainly in mm/min. When milling in connection with a rotary table. the feed rate must be converted to ‘/min (refer to “Programming examples TNC 150” which is available upon request).
M 3.2.3.2) 3D-Linear interpolation
TNC 150 enables simultaneous positioning in three axes with complete tool radius and length compensation
Example:
The tool is located in position PI. The nominal position P2 has the co-
ordinates X2, Y2. 22. The control calculates the compensated co-
ordinates X3. Y3. 23 and traverses to point P3 in a 3D-path.
Dialogue initiation: press /kl
Z Y
@
~:i
P1(x1.Y1,z1)
P2:(X2,Y2.Z2)
=&3,Z3,
X
Dialogue question
COORDINATES? Enter first second and third co-ordinate of nominal position in Cartesian (see
section M 3.2.1) and press m.
TOOL RADIUS COMP.: RLIRRI Enter radius compensation if reqd. (see section M 3.1);
NO COMP.?
FEED RATE? F = Enter feed rate (see section F 1):
AUXILIARY FUNCTION M? Enter auxiliary function (see section F 2);
press q
I f dialogue questions are answered with data entry is omitted the next dialogue question is displayed.
Insertion of radii and compensating arcs
Radii and compensating arcs are in- serted such. that the projection of the cutter path is perpendicular to the tool axis in 2D.
y Projected cutter path In X-Y plane.
3D-Linear interpolation allocates one program block:
L X + 63,000 Y + 49.000 2 + 39,000 RL F 100 M
54
M 3.2.3.3) Definition of circle centre + q The m-key is used for determining the circle centre point. The procedure corresponds to the pole routine for polar co-
ordinates.
Dialogue initiation: press $ ITI
Dialogue question R~pOllSL?
COORDINATES? Either enter co-ordinates of circle centre (see section M 3.21) and press q or
press l,“Orl q . I f the previous nominal value is to be used as circle centre.
Pi!+ Ifm 0rB IS pressed for the first co-ordinate. the previous nominal position value is re-used for the second co-
ordinate.
The circle centre definition allocates one program block:
CC X + 15,000 Y + 23,000
I f the previous nominal position value is used as the circle centre, the following block is displayed:
cc
P!J Programming of the fourth axis within a CC-block is only possible if the fourth axis is linear.
M 3.2.3.4) Circular path programming q P!b
Define circle centre (see section M 3.2.3.3)
Dialogue initiation: either % Pin- or p wth polar co-ordinates and then T%cl
Dialogue question Response
COORDINATES?
&AR COORDINATES ANGLE PA?
ROTATION CLOCKWISE: DR-?
TOOL RADIUS COMP.: RLIRRI
NO COMP.?
FEED RATE? F =
AUXILIARY FUNCTION1 M?
Enter co-ordinates (see section M 3.2.’ or M 3.2.2):
press q
By pressing q -key. enter
.rotation CW (clockwise): DR- (negative direction of rotation) 01
.rotation CCW (anti-clockwise): DR+: (positive direction of rotation)
.press q Enter tool radius compensation (see section M 3.1):
Enter feed rate (see section F 1):
press m.
Enter auxiliary function (see section F 2):
press q . -
I f dialogue questions are answered with M d a t a entry is omitted; the next dialogue question is displayed
c x + 20,000 Y + 50,000
Circular interpolation allocates one program block: DR- RRFSO M
:P PA + 180,000 DR+RL F40 M
Programminpof the fourth axis within a circular interpolation-block is only possible if the fourth axis is linear.
55
Examples:
Circular path programming in Cartesian co-ordinates
Point Pl is defined in a positioning block. Then the circle centre CC (see section M 3.2.3.3) and the end position of the arc Pq are to be pro- grammed.
Program blocks:
1 L x+1 0.000 Y+10.000 RO FIOO M
2 L x+35.000 Y+30.000 RO FIOO M
3 cc X+60.000 Y+30.000 4c X+60.000 y+5.000
DR-RO F 100 M
First, the centre point = Pole is entered in Cartesian co-ordinates (see section M 3.2.3.3). The points PI and P2 are then programmed with radius PR (25) and angles PA 1 (loo)
and PA 2 (1607.
Point P2 may also be programmed incrementally:
PA2 = + 150° (incremental).
Program blocks:
1 L x+1 00.000 Y+10.000
RO FIOO M 2 cc x+45.000 Y+30.000 3 LP PR+25.000 PA+ 10.000
RO FIOO M 4 CP PR+25.000 PA+ 160.000
DR-RO F 100 M
Y
Circle C
Rotation clockwise:
DR-
Circular path programming in polar co-ordinates
I
Circle C Rotation ?r-clockwise
L PO (looil )
I I 4 .X
!i!b A corrected contour cannot be commenced within a circular path
M 3.2.3.5) Helical interpolation
Helical interpolation is mainly used for the manufacture of large diameter internal and external screw threads.
With this type of interpolation. circular motion is performed in the working plane (e.g. X-Y plane) while simultaneous linear motion of the tool axis takes place.
The helix is programmed in polar co-ordinates using the PI j -key and entering the total angle of revolution and an
additional up or downfeed co-ordinate.
Please note: The circle centre should be already established!
Example:
cc x + 0,000 Y + 0,000 LP PR + 50,000 PA + 0,000
RR F120 M CP IPA 720,000 I2 - 60,000
DR-RF M
Dialogue initiation: Press P and then 17 1
Dialogue question
POLAR COORDINATES ANGLE PA?
COORDINATES?
ROTATION CLOCKWISE: DR-?
TOOL RADIUS COMP.: RLfRRf
NO COMP.?
FEED RATE? F =
AUXILIARY FUNCTION M?
r
Total rotational angle PA = 720°
Downfeed Z=-60mm
I
11
Enter polar co-ordinate angle. With entry values exceeding 3604 the polar co- ordinate angle must be entered incrementally, Press axis key for linear motion axis
Enter co-ordinates for linear motion
(in incremental or absolute dimensions)
By pressing /- -key, enter q rotation cw /clockwise): DR- /negative direction of rotation) or rotation ccw (anti-clockwise): DR+ (positive direction of rotation)
press @
Enter tool radius compensation:
press @or a
,PreSS m
Enter feed rate of path,
press @
Enter auxiliary function if reqd.
press q
I f dialogue questions are answered with l,“,“rl data entry is omitted: the next dialogue question is displayed El
Helical interpolation allocates one program block
230 CP IPA + 720,000 I2 - 60,000 DR- RCI F 100 M
F!!i Programming of the fourth within a helical interpolation block is only possible if the fourth axis is linear.
M 3.2.3.6) Rounding of corners (Arcs with tangential transitions) q Another way of programming a circular path is by insertion of tangential arcs with radius R into corners or into a path of
contours. The insertion of “rounding off” radii is possible on all corners which are formed from straight/straight, straight/arc or arc/arc contours.
Intersection
I +I=- - 5,476; - 7,083)
P3 (655) D
X
Example: plane X, Y
The corner which is formed by line PI, P2 and arc P2, P3 is to be “rounded off” with a radius R having tangential transitions.
Programming sequence: .the contour PI P2 (with tool offset RR or RL) .the rounding off block with rounding off radius R .the contour P2 P3 (with tool offset RR or RL)
!!4 The control only requires the rounding off-radius (all further data is calculated by the TNC 150 itself)
Dialogue initiation: press
Dialogue question Response
ROUNDING OFF RADIZES’RP -’ G+‘: Enter numerical value or parameter (see section M 5);
press q .A rounding off block must be preceded or followed by a positioning block which contains both co- ordinates of the interpolation plane.
Dialogue question:
ROUNDING OFF RADIUS &? ‘”
Entry range: 0 - 19999.999 mm
“Rounding off” allocates one program block:
R,,JD R ,f,of,f, ‘. ;,:.a -r%.
Program for previous example: 1 TOOL DEF 1 L+ 100.000
R+ 10.000 2 TOOL CALL 1 Z
s 1000 3L x+1 0.000 Y+20.000
RL FIOO M 4 cc X-5.476 Y-5.000 5 L x+30.000 y+55.000
RL FIOO M 6 RND R+lO.OOO 7c X+65.000 Y+5.000
DR- RL FIOO M
58
M 32.4) Curtailed positioning block q Within certain program sequences. it is often the case that the tool compensation (RR/RL/RO), feed rate and auxiliary function (M) remain unchanged for a series of blocks. With TNC 150. such data does not have to be reentered for every individual block. This means that the block is ended immediately after entry of the nominal position co-ordinates. During program run. the tool radius compensation, feed rate and auxiliary function correspond to the data last entered.
Dialogue initiation: press % or j nn
1
I
J
Enter Cartesian or polar co-ordinates for dialogue question:
COORDINATES?
POLAR COORDINATES-RADIUS PR?
POLAR COORDINATES-ANGLE PA?
<->--/ Dialo~~~~yv,ted, Block is entered Into memory.
c NO
next dialogue question is displayed.
Press 0 : PI
NO
Press : next dialogue question is displayed.
t
END With the q - key, the block can be ended after every entry
Pb The first block of a machining program must contain the required tipe of radius compensation and the feed rate otherwise the following error is displayed: UNDEFINED PROGRAM START
M 3.2.5) Constant contouring speed at corners: M 90
The TNC 150 control checks whether the program contour can be traversed at the programmed feed rate. If there is a danger that the contour cannot be maintained (with external corners and small radii), the feed rate is automatically reduced. With internal corners, axis-standstill will always take place.
“If feed rate reduction is undesirable, a constant contouring speed can be impelled by programming the auxiliary function M 90. This can however, lead to small contour blemishes on external and internal corners.
This M-function is only effective for operation with trailing axes and depends on the stored machine parameters. Please check with your machine tool manufacturer if your control operates in this mode.
M 3.2.6) Approach to - and departure from a contour
M 3.2.6.1) Contour approach and departure on a straight path
Approach to - and departure from a contour can take place in two ways:
Case 1: The starting position PO is approached without radius compensation (RO). The following positioning block to point PI is programmed with radius offset RR or RL. When approaching the contour the control automatically calculates the auxiliary point P2 away from PI. Point P2 is calculated
by constructing a perpendicular at the beginning of the contour. The distance between P2 and PI corresponds to the radius programmed in the tool definition.
et-
-t X
starting position PO: without compensation starting .X
posrtion PO: without compensatron
When leaving the contour by approaching the end position P5 without compensation (RO), the control automatically
calculates the end point P4 of the contour by constructing a perpendicular to the final point of the contour P3.
End position P5: without compensation’
60
When approaching a contour, e.g. from a tool
change position Pg. a collision with the workpiece must be prevented. This is also applicable to contour programming with contour offset.
An auxiliary point PA which lies on the extension of the line PI P2 must therefore be programmed.
The distance of point PA to the workpiece must be the tool radius R plus a certain safety clearance of
e.g. 5 mm. The auxiliary point PA is approached with contour offset.
When leaving a contour, a collision with the work-
piece must also be prevented. If. after reaching point PI, the tool change position PO is to be approached, a collision would certainly take place.
Therefore, an auxiliary point PE must also be pro- grammed at a safe distance from the workpiece. This point, however, is approached without contour offset. This also applies ior the return traverse to the tool change position PO.
Case 2:
The machining program commences with the positioning block to point P2 - with offset RR or RL; the control already considers point PO as being an auxiliary point for PI and positions to point P2 as if it was a point within the contour;
i.e. .if the approach angle to the contour is less than 180’. the bisection of the angle is approached,
.if the approach angle to the contour is greater than 180”. a transitional arc is inserted.
@ It is not possible to make a corrected program start within a circular interpolation block.
Approach an& > 180”
The program block for leaving the contour also contains radius offset RR or RL. Contour correction is terminated in this case with
.the auxiliaty function M 98 or
.a successive empty block or
.a TOOL CALL.
The control calculates the xxiliay end point P4 by constructing a perpendicular to the final point of the contour P3. The distance between points P3 and P4 corresponds to the tool radius.
Departure angle < 180’ \
End position P3: compensated with RR
Departure angle > 1800
\ I End position P3: compensated with RR
If the approach angle is less than 180°, the workpiece will not be completely machined (see above sketch!)
Change of approach behaviour at beginning of contour: M 95, M 96 Instead of the normal approach behaviour. contour approach can be altered by the auxiliary functions M 95 or M 96 as follows:
If normal approach corresponds to the first case, the second case can be impelled by programming M 96.
I f normal approach corresponds to the second case. the first case can be impelled by programming M 95.
/ 62
M 3.2.6.2) Tangential contour approach and departure
The yk -key selves in programming the smooth tangential approach to a contour and rounding of comers (see sections q M 3.2.3.5).
An arc or a straiaht line can be approached bv means of a smooth tangential arc to a desired point of contact and at a determined co&ring speed:
Approaching contour Learing contour
Workpiece contour --t
Firstly, the starting point PO is entered in a previous block with tool offset RO. The next positioning block for the
contact point PI - must contain a contour offset-RR or RL - (due to the transition between RO to RR or RL. the control automatically recognizes that a contour is to have a smooth approach). Lastly, a rounding off-block is to be pro-
grammed with the
The departure from the contour is programmed similarly: I f the contour offset changes from RR or RL to RO the control automatically recognizes that the tool must leave the contour on the programmed auxiliary arc.
Program for the previous example:
Procedure Program block display
Tool definition
and tool call
Starting point is positioned
1 TOOL DEF 1 L + 100.000 R+ 10.000
2 TOOL CALL 1 Z s 1000
3 L X 100.000 Y + 60.000 RO F 9999 M 03
Contact point and contouring speed are specified
Rounding off-radius for smooth contour approach
Circle centre for workpiece contour
4L X 65.000 Y + 40.000
RR F50 M
5 RND RIO
6 CC X 40.000 Y15.000
7 C X 65.000 Y 40.000
D=-*-Tming of workpiece contour
lyyllyllI g off-radius for leaving contour
Return to starting point
DR+ RR F 50 M
8 RND RI5
9 L x 100.000 Y 60.000 RO F50 M 05
A rounding off-block must be preceded or followed by a positioning block which contains both co- ordinates of the interpolation plane.
63
M 4) Programmed stop H
Dialogue initiation: press /q
Dialogue question Response
AUXILIARY FUNCTION M? Enter required M-function: press ENT Is
b if no M-function is required.
A programmed stop alkxates one program block:
STOP M
A programmed STOP via the srowkey does not activate a “spindle stop” and “coolant off” as per auxiliary function MOD. cl
M 5) Parameter programming
With TNC 150, parameters (Q 0 to Q 99) may be programmed instead of co-ordinate and feed rate values. These parameters are then assigned via Q DEF to certain values or functions (mathematical or logical relationships).
The following entry values ct~n be replaced by parameters:
1) with positioning blocks X-value, Y-value, Z-value, F-value, IV-value, PR-value, PA-value
2) with CC-blocks X-value, Y-value, Z-value, IV-value
3) with TOOL-DEF-blocks Tool raidus R, Tool length L (with a tool call. the current parameter value is effective)
4) with RND-blocks Rounding off radius R
5) with canned cycles Set-up clearance, Pecking depth, Total depth, Dwell time, Length and width of slots and rectangular pockets, Radius of circular pockets: Feed rates, Co-ordinate system rotation
Programs which contain parameter programming have slow machining speeds in most cases. Especially with the machining of contours which are described by means of mathematical formulae, the TNC-calculation time for co-ordinates has a great effect. Contours derived irom mathematical formulae are usually approximated by the use of polygons. This can also reduce the machining speed-especially with internal contours.
Parameters are entered with ,the 0
Q -key in conjunction with a number 0 - 99
The assignment of a certain value or function is performed with the q -key.
Parameter programming caters for:
.parametric programs
.contours described by mathematical formulae and
.jump to label after parameter comparison.
64
M 5.1) Parameter entry m
I f the TNC 150 dialogue requires the entry of co-ordinates or feed rate values. parameters may be entered instead if numerical values.
Dialogue demands entry of numerical value.
Press Q El
and enter required parameter No. (0 99)
press q if required and
enter into memory with q
1
Parameter is programmed.
The display shows the following block:
L x01 YQ2 Explanation: Co-ordinates X and Y have been programmed with parameters Q 1 RR F 100 M and Q 2: the numerical values are defined separately by the parameter deflnltlon
“QDEF.
M 5.2) Parameter Definition q The Parameter definition is used for assigning the parameters Q 0 to Q 99 with numerical values or functional relationships.
A parameter definition may be located anywhere within the machining program: it must, however, always be located before parameter call-up.
The parameter definition is selected via OEF El The required parameter function can be selected by -paging* through the
function library with the m and m-keys (repetitive pressing).
Programmable functions:
IFN = Abbreviation for “function”)
FN 0: ASSIGN FN 1: ADDITION FN 2: SUBTRACTION FN 3: MULTIPLICATION FN 4: DlVlSlON FN 5: SQUARE IROOT FN 6: SINE FN 7: COSINE FN 8: ROOT SUM OF SQUARES FN 9: IF EQUAL JUMP FN 10: IF UNEQUIAL, JUMP FNll:~ IF GREATIER THAN, JUMP FN 12: IF LESS THAN, JUMP
65
M 5.21) FN 0: Assign
The parameter assign function is used for assigning either a numerical value or another parameter to a certain parameter,
Dialogue initiation: press
Dialogue question Response
FNO: ASSIGN 1 Enter function by pressing a
PARAMETER NUMBER FOR RESULT? Key-in parameter number: 0 - 99:
press m
FlRSTVALUE/PARAMETER? Enter numerical value or parameter;
press m
The display shows e.g. the following block:
FN 0: 0 12 = + 20.000 Explanation: Avalue of 20.000 has been assigned to parameter Q 12
The “=I sign signifies an assignment!
M 5.22) FN 1: Addition With parameter addition, the sum of two numerical values or parameters is assigned to a certain parameter.
Dialogue initiation: press
Dialogue question Response
FN 1: ADDITION Enter function by pressing @
PARAMETER NUMBER FOR RESULT? Key-in parameter number: 0 - 99:
press q FIRST VALUE/PARAMETER? Key-in first value or parameter:
press q SECOND VALUElPAFWvlEl-ER? Key-in second value or parameter;
press q The display shows e.g. the following block:
FN 1: Q 1 = + 20.000 Exp/anation:The sum of 20.000 + parameter Q 2 is assigned to parameter Q 1 + +Q2 The numerical value for Q 2 is located in another parameter definition.
66
M 52.3) FN 2: Subtractim
With parameter subtraction, the difference between two numerical values or two parameters is assigned to a certain para-
meter.
Dialogue initiation: press DEF and then IT q until the function
FN 2: SUBTRACTION is displayed.
Programming is similar to the parameter addition routine (see section M 5.2.2)
The display shows e.g. the following block: FN2:Q5=Q3 Explanation:The difference between parameter Q 3 - 20.000 is assigned to
-+20.000 parameter Q 5. The numerical value for Q 3 can be found in another parameter definition.
M 5.2.4) FN 3: Multiplicartion
With parameter multiplica,tion. the product of two numerical values or parameters is a assigned to a certain parameter.
Dialogue initiation: press
FN 3: MULTIPLICATION is display.
Programming is similar to the parameter addition routine (see section M 5.2.2).
The display shows e.g. the following block:
FN3:Q21=Q2 Exp/anation:The product of Q 2 and 5.000 is assigned to parameter Q 21.
* + 5.000 The numerical value for Q 2 can be found in another parameter definition.
M 5.2.5) FN 4: Division
With parameter division. the quotient of two numerical values or parameters is assigned to a certain parameter.
Dialogue initiation: press DEF and then i q 0 until the function
FN 4: DlVlSlON is displayed.
Programming is similar tci the parameter addition routine (see section M 5.2.2).
The display shows a. g. tl-la following block:
FN 4: Q 63 = + 30.000 ‘DIV +Q25
Explanation: The result of the division calculation 30.000 : Q 25 is~ assigned to the parameter Q 63. The numerical value for Q 25 can be found in another parameter definition.
67
M 5.2.6) FN 5: Square root
With the square root function. the square root of a numerical value or a parameter is assigned to a certain parameter.
Dialogue initiation: press until the function
FN 5: SQUARE ROOT is displayed.
Programming is similar to the parameter assignment routine (see section M 5.2.1).
The display shows e.g. the following block:
FN5:Q6=SQRT+20.000 fxp/anation:The square root of 20.000 is assigned to parameter Q 6
or
FN5:Q6=SClRT+Q74
or the square root of parameter Q 74 is assigned to parameter Q 6. The numerical value for Q 74 can be found in another parameter definition
SQRT is an abbreviation for “square root”
M 5.2.7) FN 6: Sine
With the sine function, the sine of an angle (programmed in degrees) is assigned to a certain parameter.
Dialogue initiation: press @id and then + or t until the function cl Cl
FN 6: SINE is displayed.
Programming is similar to the parameter assignment routine (see section M 5.2.1).
The display shows e.g. the following block:
FN 6: Q 10 = SIN + 90.0010 Explanation: The sine of 90’ is assigned to parameter Q IO
FN6:O69=SIN+Q86
68
the sine of parameter Q 86 is assigned to parameter Q 69. The numerical value for 0 86 can be found in another parameter definition.
M 5.2.8) FN 7: Cosine With the cosine function, the cosine of an angle (programmed in degrees) is assigned to a certain parameter.
Dialogue initiation: press [ZJ and then q until the function
FN 7: COSINE is displayed.
Programtiing is similar to the parameter assignment routine (see section M 5.2.1).
The display shows e.g. th#s following block:
FN7:QlZ=COS+45.000
Or
FN7:Q99=COS+Qlll
fxp/anafion:The cosine of 45” is assigned to parameter Q 12
Or
the cosine of Q 11 is assigned to parameter Q 99. The numerical value for Q 11 can be found in another parameter definition.
M 5.2.9) FN 8: Root of sm of squares
With the function “root of sum of squares* the square root of the sum of two squares is assigned to a certain parameter.
Dialogue initiation: press DEF and then [T q until the function
FN 8: ROOT SUM OF SQUARES is displayed.
Programming is similar to the parameter addition routine (see section M 5.2.2).
The display shows e.g. the following block:
FN 8: Q 20 = + 30.000 LEN +Q45
Exp/anation: Parameter Q 20 is assigned to the following formula:
Q 20 = d302 + Q 452’
The numerical value for Q 45 can be found in another parameter definition.
& LEN is the abbreviation for *length*.
69
M 5.2.10) FN 9: If equal, jump
This function activates a jump to a program mark when the parameter is equal to a certain numerical value.
Dialogue initiation: press DEF and then El 0, t until the function
FN 9: IF EQUAL JUMP is displayed.
Dialogue question
FN 9: IF EQUAL, JUMP
FIRST VALUE?
RS3pClllSe
Enter function by pressing m
Key-in first numerical value or parameter:
press q SECOND VALUE? Key-in second numerical value or parameter:
press •j
LABEL NUMBER? Key-in label number:
press m
The display shows e.g. the following block:
FN9:IF+Q2 Exphnation: I f parameter Q 2 is equal to the numerical value 20.000. a jump takes EQU + 20.000 GOT0 LBL 30 place to LBL 30.
‘?!!b “EQU” is an abbrevizltion for “equal”.
M 5.2.11) FN IO: If unequal, jump
This function activates a jump to a program mark when the parameter is unequal to a certain numerical value.
Dialogue initiation: press DEB and then t until the function PI q - FN 10: IF UNEQUAL, JUMP is displayed.
Programming is similar to th$ function FN 9 (see section M 5.2.10)
The display shows a. g. the following block:
FNlO:IF+Q3 NE + 10.000 GOT0 LBL 2
Explanation: I f parameter Q 3 is different to 10.000 a jump takes place to LBL 2.
“NE” is an abbreviation for “not equal”
70
M 5.2.12) FN 11: If greater than, jump
This function activates a jump to a program mark when the parameter exceeds a certain numerical value.
FN 11: IF GREATER THAN, JUMP is displayed.
Programming is similar to function FN 9 (see section M 5.2.10).
The display shows e.g. the following block:
FNll:IF+Q3 Explanation: If parameter Q 3 is greater than 30.000, a jump takes place to LBL 5
GT + 30.000 GOT0 LBL 5 during program run.
“GT” Abbreviation for “greater than”
M 5.2.13) FN 12: If less than, jump
This function activates a jump to a label number when the parameter is less than a certain numerical value.
Dialogue initiation: press DEF and then t 17 0 The function
FN 12: IF LESS THAN, JUMP is displayed.
Programming is similar to function FN 9 (see section M 5.2.10).
The display shows a. g. the following block:
FN12:IF+Q6 Exphnation: If parameter Q 6 is smaller than Q 5. a jump takes place to LBL 3
LTQ5 GOT0 LBL 3 during program run.
“LT” Abbreviation for “less than”
71
M 5.3) Example of parameter programming
Ellipse
Traverse to tool-change position
Tool definition 1. coarse-fine mill (4 flutes) 0 20 mm programmed stop
and tool call 1
Positioning blocks to startin{ position
Parameter definition Q20 = angular pitch Q21 = initial angle Q22 = Y-semi-axis 023 = Y-semi-axis
The co-ordinates of the ellip:se are calculated with the following formulae: Y = 024 = Q22 x sin Q21
X = Q25 = Q23 x cm 021
024 and Q25 are used as co-ordinates for linear
interpolation
New angle Q21 = previous angle 021
+ angular step 020
If the angle Q21 i smaller than 360.1’ jump to LBL I!
The ellipse is completely machined. a departure
is made from the contour
Traverse to tool-change position
Program block display
1 TOOL CALL0 Z S 0.000
2L 2+20,000 ROF15999 M
3L x+70.000 Y+70,000 RO F15999 M
4 TOOLCALLI L+ 0.000 R+10,ooo
5 STOP M
6 TOOL CALL 1 Z S 250.000
7L 2-15.000
A F M
8L Y+ 0.000 R F M
9 FN 0: Q20 = + 2.000 10 FN 0: 021 = + 0,000 11 FN 0: 022 = + 30,000 12 FN 0: Q23 = + 50,000
13LBLl
14 FN 6: 024 = SIN + 021 15 FN 7: 025 = COS + Q21 16FN3:024=+Q24*tQ22
17FN3:Q25=+Q25*+023 18L X+Q25 YtQ24
FiRF200 M
19FNl:Q21 =tQ21*+20
20 FN 12: IF + 021 LT t 360.100 GOT0 LBL 1
21 L Y t 70,000 R F200 M 98
22TOQLCALL0 Z S 0.000 23 L z + 20,000
RO F15999 M 24 L z t 70,000 Y + 70,000
R F M 05 25 STOP M
Further examples of paramel:er programming can be found in the “Programming Examplesw manual which is available upon request.
72
M 6) Subprograms and plrogram part repeats
Program labels for marking subprograms or program part repeats can be set at any desired location within the program These label numbers serve as so-called “jump addresses’?
A jump command to a label number always ensures the finding of the correct location within the program even after program
editing (insertion and deletion of blocks). Numbers 1 to 254 can be used for allocating labels. The label number “0” is always used as a mark for *end of subprogram-.
If a subprogram i:s to be machined at different locations, there are two possibilities for programming: compile the whole subprogram in incremental dimensions (with incremental nominal position values)
or .compile the subprogram in absolute dimensions (with absolute nominal position values) and define locations with datum shift routirle (see section M 7.2.7).
M 6.1) Setting label rumblers q Dialogue initiation: press /El
Dialogue question
LABEL NUMBER?
Response
Enter required number: press q Dialogue question: LABEL NUMBER?
Possible entry values: 0 - 254
The allocation of a label number requires one program block.
LBL 10
M 6.2) Jump to a label number q Dialogue initiation: press
lgg
Dialogue question
LABEL NUMBER?
REPEATREP?
Response
Enter label number to be called-up; press @
or q . Press I,“,“,1 if the label is a marker for a subprogram
enter number of repetitions if the label signifies a program part repeat:
press q
Dialogue question: REPEAT REP?
Possible entry values: 1 - 65 534
A jump to a program label allocates one program block.
with call-up of a subprogram:
or
CALL LBL 12 REP
with a program part repeat: CALL LBL 18 REP lo/l0
73
M 6.3) Schematic diagram of a subprogram
The beginning of the subprogram is labelled (e.g. LBL 3).
The end of the subprogram is labelled LBL 0.
By making a subprogram call-up. the subprogram can be retrieved at any location within the main program sequence (a jump is made to the desired program label). After the subprogram has been executed, the main program sequence is lesulrled.
n
!I!!!? After call-up. a subprogram can only be executed once.
Explanation of program procedure:
+
1
LBL3
/
/
LBL 0
CALL LBL 3 REP CALL LBL 3 REP CALL LBL 3 REP ‘3 CALL LBL 3 REP
t-- L--.
LBL 3
CALLLBL3REP bl’lLLBL3REP L
t
1. The main program sequence is worked through until the subprogram is called up.
2. Now a jump takes place to the label number of the call-up.
3. The subprogram is worked through until the end (LBL 0).
4. Return jump to the block immediately after the call-up.
5. The main program is coni:inued.
74
Nesting of subprograms Subprograms (sub-routines) can be nested up to 8 times, i.e. various subprograms can be interconnected with other subprograms via jump commands. Subprograms may also contain program part repeats. If the subprogram is nested more
than 8 times, the error “EXCESSIVE SUBPROGRAMMING” is indicated.
Schematic diagram of subprogram “nesting”:
A subprogram may not be contained within a subprogram.
M 6.4) Schematic diagram d a program part repeat (Program loop)
The beginning of the program part which is to be repeated is labelled (e.g. LBL 5).
With a program part repeat, the number of repetitions is entered after the label
number. A maximum of 65535 repeats may be entered.
Explatiation of program p~rocedure:
Main program
LBL 5
?zz?z
;+Yfy:s :ALL LBL5 REP212
Vlain program
1. The main program is executed until call-up of the program part repeat. In the example, two repetitions have been programmed: CALL LBL 5 REP 2/2: the last figure (after the dash) indicates a count-down of the repetitions still to be executed.
2. Now a jump takes place to the label which has been called
3. The part-program is now repeated. If a *label 0” is included within the part-program, this is ignored by the control
4. New jump to label
5. After completion of the~seszond repetition. the disljlay shows: CALL LBL 5 REP 2/O
When all repetitions are completed. main program run is continued
76
A program part :repeat may also be programmed within a subprogram.
Program label for subprogram.
Program label for program part repeat.
Program part repeat.
Program label for -subprcNgram-end”
Call-up of subprogram.
Main program I
LBL 12
LBL 13
/ //I// ,Program-part to
CALL LBL 13
REP 515
Main program
LBLO
Main program
===-I
> Subprogram
M 6.5) Schematic diagram of a multi-subprogram repetition
I f a subprogram is to be r’apeated several times, programming should be performed in accordance with the following diagram:
Program label for subprogram
Program label for “subprogram-end’
Program label for program part repeat.
Call-up of subprogram.
Program part repeat for 2x repetition of subprogram call-up.
Main program
Main program
LBL9
CALL LBL 9 REP 2/2
Main program
P!b I f two repeats are programmed, the subprogram is executed three times.
Explanation of program procedure
CALL LBL 8 REP
/
/
/
LBL8
iiF222z
LBL 0
CALL LBL8 REF
LBL 8
r?izzltp LBL 0 LBLO
--I L LBL9
ALL LBL 8 REP
:ALL LBL9 iEP22
----i
LBL 8
LBL9
CALL LBL 8 RE
CALL LBL9 REP 2/Z
/
/
/
1
:P
(
CALL LEL 8 REP
LBL 8
CALL LBL 8 REP
LBL 8 I a LBL 0 I
-1
LBL 8 zzi ---I
etc.
LBL9
CALL LBL 8 REP 1
78
I. The main program is executed until call-up of the subprogram.
2. Return jump to label number which has been called.
3. Execution of subprogram.
4. Return jump to the block immediately after the call-up.
5. Return jump to label for program part repeat.
6. The subprogram call-up is located within the program part repeat.
7. Return jump to label number which has been called.
8. Execution of subprogram.
9. -Return jump to the block immediately after the call-up.
IO. This program procedure is repeated until all program part repeats, i.e. all subprogram call-ups have been executed
M 6.6) Programming of hole patterns via subprograms and program part repeats
Time consuming programming of hole patterns is made more simple by using subprograms and program part repeats.
The following example explains the method of programming.
Programming procedure: P ‘rogram block display
Select tool compensation
and traverse to tool-change position
Tool definition and
Tool call
Definition of hole pattern
Traverse to first hole of first row
Peck-drilling of first hole
Programming of first row in incremental dimensions with program part repeat and labelling of this program section as a subprogram
1 TOOL CALL 0 Z s 0,000
2L z +20,000 RO F9999 MO5
3L x -20,000 Y -20,000
RO F9999 M 4 TOOL DEF 1 L...
R...
5 STOP M
6 TOOL CALL 1 Z s
7 CYCL DEF 1.0 PECKING 8 CYCL DEF 1.1 SET-UP -2,000 9 CYCL DEF 1.2 DEPTH -25,000 0 CYCL DEF 1.3 PECKG -3,000 1 CYCL DEF 1.4 DWELL 0
2 CYCL DEF 1.5 F 200
3L x +10,000 Y +10,000
RO F9999 MO3 4L z +2,000
RO F9999 M
5 CYCL CALL M
6 LBL 1 7L I x + 10,000
RO F9999 M
8 CYCL CALL 9 LBL CALL 1 REP 515 10 LBL 0
80
Programming procedu~re: PKl ‘gram block display
Traverse to second hole row (the Y-co-ordinate is programmed incrementally) and peck-drill first hole off row
Peck-drilling of second row and subsequent rows and first hole of final row (if more than three rows are to be drilled, the number of repeats *REP” is to
be changed).
Peck-drilling of final row 24 LBL CALL 1 REP
Traverse to tool-change iposition
21
22
L x +10.000 I Y +15.000
RO F9999 M CYCL CALL
M
23 LBL CALL 1 REP l/l
25 26
27
TOOL CALL 0 z s 0,000
L z +20.000
RO F9999 MO5 L x -20,000 Y -20.000
RO F9999 M
M 7) Canned cycles
For general purpose operation, TNC 150 possesses canned cycles for re-occuring machining operations. Moreover. for simplification of programming, a number of co-ordinate transformation routines are offered by the TNC 150 (datum shift,
mirror image, co-ordinate system rotation, scaling). A dwell time can also be entered in form of a cycle.
Range of cycles: Cycle 1 = Pecking
Cycle 2 = Tapping
Cycle 3 = Slot millin(J
Cycle 4 = Pocket milling
Cycle 5 = Circular pocket
Cycle 9 = Dwell time Cycle 7 = Datum shi~ft
Cycle 8 = Mirror image
Cycle 10 = Co-ordinate Cycle 11 = Scaling
The following cyc:les are executed at the point of definition: 9 = Dwell time, 7 = Datum shift, 8 = Mirror image, 10 = Co-ordinate and 11 = Scaling.
It is therefore unr~ecessary to retrieve the cycle via the m-key. All other cycles require a cycle call.
M 7.1) Selecting a certain cycle
(“Paging” of cycle library)
The cycle is called-up by means of q and b into the memory and defined as per the dialogue.
(repetitive pressing if reqd.). By pressing @ the cycle is transferred
M 7.2) Explanation of canned cycles
M 7.2.1) Cycle: “Pecking”
Provisions for execution of cycle:
.A previous tool call (determination of drilling axis and spindle speed). .The direction of spindle rotation must already have been determined with a previous program block (M 03 or M 04) .The starting position (set-up clearance) must have been approached in a previous block.
Example:
Set-up clearance = -2.
(When the machine is traversed -2 in incremental mode. the tip of the tool
must make contact with the workpiece sutface at absolute value = 0)
Total hole depth = - 30
Pecking depth = - 12
1 St Procedure: Drilling to depth - 12 and retraction of Z-axis to the + Z-position in rapid traverse. (This is necessary for breaking the swarf)
2”’ Procedure: Rapid traverse to position - 11.4” and further peck-drill operation at programmed feed rate to position - 24. Now retrxtion of Z-axis to + 2-position in rapid traverse.
3”’ Procedure: Rapid traverse to position - 23.4’ and further peck-drill operation at programmed feed rate to position - 30. Upon reaching the total hole depth, the dwell time commences (the drill cuts-free) and then the axis retracts to the starring position + 2 in rapid traverse.
+ The advanced stop distance before reaching the pecking depth is automatically calculated by the control. .With a total hole depth of 30 mm the advanced stop distance is 0.6 mm. .With a total hole depth exceedinn 30 mm the advanced stop distance is calculated according to the following
foimula: Total hole (depth
50 .The advanced stop distance never exceeds 7 mm.
Dialogue initiation: press @] and q Dialogue question
CYCL DEF 1 PECKING
SET-UP CLEARANCE?
TOTAL HOLE DEPTH?
ReSpOnSe
Press @ 0
Enter set-up clearance with sign**; Press @ This position must already have
been approached with a previous block. n
Enter hole dipth with sign**; Press m
PECKING DEPTH? ) Enter pecking-depth with sign**; Press m
DWELL TIME IN SEC%? Enter dwell time for cutting drill free; Press m
FEEDRATE?F=... 1 Enter feed rate: Press q **The sat-up clearance. the i:otal hole depth and the pecking depth must all have the same arithmetical sign.
Dialogue question:
DWELL TIME IN SECS.?
Possible entry values: 0 19999.999 s
The “pecking” cycle allocate:; six program blocks. When “paging” the program. the following blocks are displayed:
CYCL DEF 1 .O PECKING CYCL DEF 1.1 SET-UP - 2.IDOO CYCL DEF 1.2 DEPTH - 100.000 CYCL DEF 1.3 PECKG - 20,000~ CYCL DEF 1.4 DWELL - 0,000 CYCL DEF 1.5 F 80 82
Setwp clearance
Total hole depth Pecking depth
Dwell time Feed rata
M 7.2.2) Cycle: “Tapping”
Provisions for execution of cycle: .For tapping, a chuck with length compensation facility is to be used. The length compensation chuck must allow for the tolerances between the feed rate and the spindle speed as well as the spindle slow-down after reaching the final position. .Previous tool call (definition of working spindle axis and spindle speed). .The spindle rotating direction must have been determined with a previous block (M 03 for right-hand thread/M 04 for left
hand thread). .The starting position (set-up clearance) must have been approached with a previous block.
Calculation of feed rate for cycle definition “tapping”:
Feed rate [mm/min.] = spindle speed [rpm] x thread pitch [mm]
Example:
SetRIp clearance = - 2
Total hole depth = - 30
The thread is cut in one single operation. After the total depth has been reached, the rotating direction of the tool spindle is automatically switched over to the opposite direction after a delay which has been programmed via the machine parameters. Now the programmed dw?ll time takes effect. Finally, the tapping tool is retracted to the position of the set-up clearance.
!!$
If the ‘Tapping cycle- is called, the programmed feed rate can only be altered within a limited range with the override potentiometer. The range limits are determined by the machine manufacturer by entering certain machine parameters. This limited function of the override potentiometer is necessary for reasons of safety.
Dialogue initiation: press, until the cycle “tapping” is displayed.
Dialogue question
CYCL DEF 2 TAPPING
SET-UP CLEARANCE?
Response
Press q Enter set-up clearance with sign*; press q This position must already have been approached in a previous block
TOTAL HOLE DEPTH? Enter hole depth with sign*: press m
DWELL TIME IN SECS.? Program amount of dwell time required between rotation changeover and
retraction of tapping tool; press q ’ FEED RATE? F = . Enter feed rate; press q
*The set-up clearance Elnd the hole depth must have the same arithmetical sign and be programmed incrementally,
The Yapping” cycle allocates five program blocks. When “paging” the program. the following blocks are displayed:
CYCL DEF 2.0 TAPPIING
CYCL DEF 2.1 SET-UP - 2,000 Setwlp clearance
CYCL DEF 2.2 DEPTIH - 30,000 Total hole depth
CYCL DEF 2.3 DWELL 0,000 Dwell time
CYCL DEF 2.4 F160 Feed rate
a3
M 72.3) Cycle: “Slot milling”
Provisions for execution of cycle: .The slot must be larger than the diameter of the milling cutter. .Previous tool call (definition of working spindle axis and spindle speed). .The spindle rotating direction must have been determined with a previous block (M 03 or M 04).
.The starting position (startin! point of elongated slot and set-up clearance1 must have already been defined with previous blocks.
Operating procedure:
Stari-Position
1. Rough cut: The milling cutter penetrates the workpiece at the programmed feed rate until the first pecking depth is reached. Now the first rough cut is made into the material.
The next pecking depth is milled out at the other end of the slot etc.
2. Finishing cut: The cutter now makes a finishing cut to the side limits of the slot and finally traverses the intended contour in down-Curt” milling.
3. Return to starting positior: The milling cutter returns to the set-up clearance position in rapid traverse. If the number of pecks is an odd number, the starting position is reached with an additional traverse along the slot.
The stariing point of the slot can be established by means of two methods:
1. With an axis-parallel positioning block (dialogue initiation: key pi 17 or q )
with radius comperwtion Fi+ or R- by approaching the slot in longitudinal direction.
2. With a linear interclolation block (dialogue initiation: key q ) by approaching the slot perpendicular to linear
direction with radius compensation RR or RL and by de-activating radius compensation with auxiliary function M 98.
*The terms -up-cut- and ~dc~wn~cut” milling refer to right-hand rotation of the tool.
84
Dialogue initiation: press until the cycle “slot milling” is displayed
Dialogue question
CYCL DEF 3 SLOT MILLING
SET-UP CLEARANCE?
kSpO”Se
Press q Enter set-up clearance with sign*: press q This position must already have been approach& in a previous block
MILLING DEPTH? Enter milling depth with sign*; press m
PECKlNG DEPTH?
FEED RATE FOR PECKlNG
FIRST SIDE LENGTH?
Enter pecking depth with sign*: press q Enter feed rate for pecking into workpiece: press q The numerical value for the longitudinal direction of the slot is programmed with the correct sign. (It must be determined in which direction the slot lies with respect
to the starting position.)
SECOND SIDE LENGTHI? I The wdth of the slot is always programmed with a positive sign.
FEEDRATE?F=... Enter feed rate for milling of slot.
*The set-up clearance, milling depth and pecking depth must have the same arithmetical sign and be entered in incremental
dimensions.
The “slot milling” cycle allocates seven program blocks. When -paging” the program. the following blocks are displayed:
CYCL DEF 3.0 SLOTMILLING
CYCL DEF 3.1 SET-UP - 2,000 Set-up clearance
CYCL DEF 3.2 DEPTH - 40,000 Milling depth
CYCL DEF 3.3 PECKIING-20,000 Pecking depth
F80 Feed rate for pecking
CYCL DEF 3.4 X + 80,000 Length of slot
CYCL DEF 3.5 Y + 2Cl.000 Width of slot
CYCL DEF 3.6 FlOO Feed rate
85
M 7.2.4) Cycle: “Pocket milling” (Rough cut cycle)
Provisions for execution of cycle: .Previous tool call (definition of working spindle axis and spindle speed). .The spindle rotating direction must have been determined with a previous block.
.The starting position (centre of pocket and set-up clearance) must already have been defined with previous blocks.
Operating procedure:
First sfde length = X
x+-
After penetration into the workpiece, the milling cutter follows a path as shown above (either down-cut or up-cut milling) which is parallel to the edge limits of the pocket and which is traversed to a max. of K” x R (R = cutter radius) to the edge
limits. I f the pocket is unable to be milled in one plunge (due to the cutting force being too great), a pecking depth has to be pro- grammed
The milling procedure is repeated until the final pocket depth is reached.
!!!b “Pocket milling” is a rough cut-cycle. If a finishing cut is required, this has to be programmed separately
* The factor K is determined with a machine parameter by the machine tool manufacturer and can lie between 0.001 and 1.414
86
Dialogue initiation: press and q - + until the cycle “pocket milling” is displayed.
Dialogue question R~SpOllS~
CYCL DEF 4 POCKET MILLING 1 Press a
SET-UP CLEARANCE Enter set-up clearance with sign*: press By.
This position must already have been approached in a previous block
MILLING DEtiH? Enter milling depth with sign”: press a.
PECKlNG DEPTH? Enter pecking depth with sign*; press q FEED RATE FOR PECKWJG Enter feed rate for pecking into workpiece: press •!
FIRST SIDE LENGTH? Enter first side length with positive sign*; press a
Enter second side length with positive sign*; press m SECOND SIDE LENGTHI?
FEEDRATE?F=... Enter feed rate for milling of slot; press /@
ROTATION CLOCKWlSlE: DR-? Use sign change-key for: clockwise rotation DR- (up-cut milling): or anti-clockwise rotation DR+ (down-cut milling):
press H.
*The set-up clearance, milling depth and pecking depth must have the same arithmetical sign and be entered in incremental dimensions.
The *pocket milling- cycle allocates seven program blocks. When “paging” the program, the following blocks are displayed:
CYCL DEF 4.0 POCKETMILLING
CYCL DEF 4.1 SET-UP - 2,000
CYCL DEF 4.2 DEPTH - 30,000
CYCL DEF 4.3 PECKlNG - 10,000
F80
CYCL DEF 4.4 X + 8Cl.000
CYCL DEF 4.5 Y + 40,000
CYCL DEF 4.6 FlOO DR+
Set-up clearance Milling depth Pecking depth Feed rate for pecking First side length
Second side length Feed rate / Rotating direction
87
M 7.2.5) Qcle: “Circular pocket” (Rough cut cycle)
Provisions for execution of cycle: .Previous tool call (definition of working spindle axis and spindle speed). .The spindle rotating direction must have been determined with a previous block (M 03 or M 04). .The starting position (centre of circular pocket and set-up clearance) must have already been defined with previous blocks
Operating procedure:
Start Position 1
After penetration into the workpiece, the milling cutter follows a path in a spiral direction towards the outer limit of the circular pocket, as shown above (either down-cut or up-cut milling). The pitch of the milling cutter is K” x R (R = cutter radius) If the pocket is unable to be milled in one plunge (due to the cutting force being too great), a pecking depth has to be pro- grammed.
The milling procedure is repeated until the final pocket depth is reached.
!!!b The cycle “circular pocket” is a rough-cut cycle. If a finish cut is required, this is to be programmed separately.
* The factor K is determined by the machine tool manufacturer with a machine parameter and can lie between 0.001 and 1.414.
88
Dialogue initiation: press and 0 t until the cycle “circular pocket” is displayed.
Dialogue question ReSpOnSe
CYCL DEF 5 CIRCULAR POCKET Press q SET-UP CLEARANCE? Enter set-up clearance with sign*: press q
This position must already have been approached in a previous block.
MILLING DEPTH? Enter milling depth with sign*; press @
PECKlNG DEPTH? Enter pecking depth with sign*; press q FEED RATE FOR PECKING Enter feed rate for pecking into workpiece: press @
CIRCLE RADIUS? Enter radius of circular pocket: press a.
FEEDRATE?F=... Enter feed rate for milling of slot.
ROTATION CLOCKWISE: DR-? Use sign change-key for: clockwise rotation DR- (up-cut milling): or anti-clockwise rotation DR+ (downxu? milling);
press 63 n
*The setwp clearance, milling depth and pecking depth must have the same arithlmetical sign and be entered in incremental dimensions.
Dialogue question: CIRCULAR POCKET?
Possible entry values: 0 - 19 999.999
The -circular pocket” cycle allocates six program blocks. When “paging” the progiiam. the following blocks are displayed:
CYCL DEF 5.0 CIRCULAR POCKET
CYCL DEF 5.1 SET-UP - 2,000 Setwp clearance
CYCL DEF 5.2 DEPTH - 60,000 Milling depth
CYCL DEF 5.3 PECKING - 20,000 Pecking depth
F80 Feed rate for pecking
CYCL DEF 5.4 RADlUS120.000 Radius
CYCL DEF 5.5 F 100 DR- Feed rate / Rotating direction
M 7.2.6) Cycle: “Dwell time” By means of the “dwell time- cycle, a definite standstill time during the program sequence is determined (e.g. for chip
breaking). Entry step: 0.001 s: Entry range 0 19 999.99 s
Pb A cycle call is unneces+3ry
Dialogue initiation: press CYCL and q q ’ unt!l the -dwell time* cycle is displayed.
Dialogue question Response
CYCL DEF 9 DWELL TIME Press q DWELLTIME IN SECS. Enter required dwell time.
The -dwell time” cycle allocates two program blocks. When “paging” the program, the following blocks are displayed:
CYCL DEF ,9.0 DWELL TIME CYCL DEF 9.1 DWELL10.000 Dwell time
89
M 7.2.7) Cycle: “Datum shit”
This cycle enables the shiftirig (displacement) of the workpiece datum in all,four axes in either absolute or incremental dimensions. The program kction which is programmed after the cycle, is referenced to the’new datum. The work- piece datum which has been previously set with the preset facility is retained
A cycle call is unnecessary
Example: Datum shift in the X-Y-plane
r
First datum Second datum
Workpiede datum
Entry values:
First datum shift: x 40.000 Y 25.000 z 0.000
Second datum shift: IX 25.000 I Y 0.000 I z 0.000
Cancellation of the datum shift (i.e. positions are again referenced to the original workpiece datum which was preset) is performed by entering a datum shift with the co-ordinates X 0.000, Y 0.000 and 2 0.000.
Dialogue initiation: press and 0 + until the cycle “datum shift” is displayed.
Dialogue question Response
CYCL DEF 7 DATUM SHlnr 1 Press a
DATUM SHIFT? Enter datum shift in absolute or incremental dimensions
.Press a if required.
.Press first axis key and enter numerical value.
.Press second axis key and enter numerical value,
.Press third axis key and enter numerical value,
.Press fourth axis key and enter numerical value.
Press @or q (see section G 2)
The “datum shift” cycle allocates four program blocks. When “paging” the program, the following blocks are displayed:
CYCL DEF 7.0 DATUMSHIFT CYCL DEF 7.1 X+ 20,000 CYCL DEF 7.2 Y + 40,000 CYCL DEF 7.3 2 + 10,000
CYCL DEF 7.4 C+90,000
Datum shift X-Axis Datum shift Y-Axis
Datum shift Z-Axis
Datum shift C-Axis
90
M 72.8) Cycle: “Mirror image”
This cycle enables the machining of a contour in mirror image, in the working plane. The program section which falls within this cycle is produced in a mirror (reflected) image. Simultaneous mirror image in two axes is also possible.
Programmed co-ordinates of one axis or of two axes are multiplied by “-I*!
F!!J
.The tool axis (working spindle axis) cannot be mirror imaged (error indication: MIRROR IMAGE ON TOOL aXIS)
.A cycle call is unnecessary
Example: Mi& image in the X-axis
The points PO to P4 are the position values of a programmed contour. I f
mirror image is to take place in the X- axis, the arithmetical signs of all X-co- ordinates are inverted so that a reflected image of the points PO’ to P4’ is produced.
Dialogue initiation: press
Dialogue question Response
CYCL DEF 8 MIRROR IMAGE
MIRROR IMAGE AXIS?
Press q Enter mirror image axis: .Press first axis key .Press second axis kev
Cancellation of mirror image Mirror image is cancellecl by .programming the *mirror image” cycle and responding to all dialogue questions by pressing I,“,91
or by q
.programming of auxiliary function M 02 or M 03 (only possible if machine parameter 173 was set by the machine tool
manufacturer). The “mirror image- cycle allocates two program blocks. When “paging- the program, the following blocks are displayed:
CYCL DEF 8.0 MIRRORIMAGE CYCL DEF 8.1 XY Axis for mirror image
91
M 7.2.9) Cycle: “Co-ordinate! rotation”
This cycle enables the rotation of a contour in the working plane and through a specific angle. The programm section which
has been programmed within the cycle is rotated.
Y
contour 2 contour 1
-*
x
Centre of rotation Rotation angle “ROT
1 Example:
Contour 1 is programmed Contour 2 is produced via the wCo-ordinate rotation” cycle.
Dialogue initiation: Press
Dialogue question
CYCL DEF 10 ROTATION
Response
ROTATION ANGLE? Enter rotation angle and press q Entry range: 00 360°
Cancellation of “co-ordinate rotation”
Cancellation in periormed as follows:
.Programming of rotation angle 0” or
.Programming of auxiliary function M 02 or M 30 (only possilbe if machine parameter 173 has been set by the machine tool manufacturer).
The *co-ordinate rotation” cycle allocates two program blocks. When “paging” the program. the following blocks are displayed:
CYCL DEF 10.0 ROTATION CYCL DEF 10.1 ROT + 20,000
92
M 7.2.10) Cycle: “Scaling”
This cycle enables a contour to be geometrically increased or decreased in sized. The scaling factor is used for multipliying the co-ordinates either in the working plane or in the three main axes - depending on the parameters entered.
The control can therefore take shrinkage dimensions into account and in the case of similar shapes on one workpiece, the
shape need only be programmed once.
Example:
Contour 1 is programmed Contour 2 is produced with the
-scaling” cycle.
Dialogue intitiation: Press until the “scaling” cycle is displayed.
CYCL DEF 11 SCALING
FACTOR Enter required factor and press q Entry range: 0.000000 -99.999999
Entry step: 0.000001
Cancellation of the “scaling” cycle
Cancellation is performed as follows:
.Programming of a scaling factor -1”
or .Programming of auxiliary function M 02 or M 30 (only possible if machine parameter 173 has been set by the machine tool manufacturer).
The -scaling” cycle allocates two program blocks. When -paging” the program. the following blocks are displayed:
CYCL DEF 11.0 SCALING CYCL DEF 11.1 SCL 0.980000
93
M 7.3) cycle cell @
There are two possibilities for cycle call:
1. Programming of a “CYCL CALL’Wock
Dialogue initiation: press
Dialogue question Response
AUXILIARY FUNCTION WI’? Enter M-function if reqd.: press q ;:ess gJ I f no auxiliary function is required.
The cycle call allocates one program block:
CYCL CALL MO3
2. Programming of auxiliary function M 99: see section F 2
Example: L x + 70.000 Y + 45.000
RO F 9999 M 99
A cycle call is not required for the fixed machining cycles: 7 = Datum shift 8 = Mirror image 9 = Dwell time
10 = Co-ordinate system~rotation 11 = Scaling
All other fixed machining cycles require a cycle call.
Only the last defined cycle within the program sequence can be retrieved with the q -key or auxiliary function M 99. Cycles which requre no cycle call are ignored.
94
M 8) Program editing
M 8.1) Call-up of a program block
Select q , !@ or (-31
.Press “,“, 0
.Key-in desired block No. and press q
M 8.2) Program check blockwise
Select q q or m
Press and enter block No. from which program-inspection is to commence:
press q
Check program either forwards or reverse
by pressing the “paging keys” q orm
95
M 8.3) Deletion of blocks
Press %> 0
i
1
Select block or last block of program part which is to be deleted.
Erase block(s) with q -key.
In order to delete blocks for tool and cycle definition, the q -key has to be pressed as many times. as individual blocks are
required for the complete definition.
Block numbers for successive blocks are automatically amended
M 8.4) Insertion of blocks into existing program
With TNC 150. new progran~ blocks can be inserted into an existing program at any random location -only the block which
immediately follows the location of insertion is to be selected and the newt block may be entered. The numbers of the successive blocks are automatically shifted. If the storage capacity of the memory is exceeded, the dialogue display will show PROGRAM MEMORY EXCEEDED.
96
L Select block after which new block is to be inserted by
pAsing q or q or’0
Enter new program blocks.
M 8.5) Editing within a block
Call block to be edited with
Set cursor to block-word which is to be amended
with q or q *
Enter new block-word and press m
NO YES
t
Press * repeatedly until cursor 17 vanishes to the left. The old
information remains.
Press q or Arepeatedly until
cursor vanishes to the right. The new information is entered into
the program.
If during the programming of a block the III * -key is pressed, the word last entered is erased. With this, entry errors
can be amended immediately. A block with an entry error therefore, does not have to be completely entered first and then edited afterwards.
*The setting of the cursor is initiated with the q + -key!
97
M 8.6) Search routines for locating certain blocks
Press 3 EY
ressed, only those program blocks which also
contain the particular search address are displayed, and if necessary. amended.
*The setting of the cursor must be initiated with the q -key.
M 8.7) Clearing complete malchining program
Press m and then L~L
The complete program list with cursor is displayed.
By pressing the q and(O(- ENT keys only one program is cleared. If several programs or the complete program memory is to
be cleared, the keys have to be pressed the corresponding number of times.
98
M 9) Program test without machine movement
A stored program may be checked without machine movement. The control will display all recognizable errors in plain language dialogue.
Dialogue question: Dialogue question: TO BLOCK NUMBER = TO BLOCK NUMBER =
enter required block number
1 and;re+j /
Program te?S is automatically interrupted with a programmed stop, an empty block or fault/error display
Program test can be terminated at any desired location by pressing the internal Eq-key.
99
N) Single axis positioning (non-simultaneous)
m N 1) Programming single axis positioning blocks via keyboard pi r E
Single axis positioning routines may be programmed as a specral case wrthrr
section M 3.2 (dialogue initiation with n y )
1 the linear interpolation mode - as described in
TNC 150 also enables another method of entering single axis programs by immediately initiating the dialogue on pressing the
axis key q , q , i or q 1 V This method of entry is used on the TNC 131/135 and 145 controls.
A distinct difference between contour programming (dialogue initiation with % or CII $ ) and single axis programming as
described in this section (dialogue initiation via axis keys) is constituted by the tool radius compensation.
I RF must be pressed if the traversing distance is to be extended due to tool radius compensation.
u RI must be pressed if the traversing distance is to be shortened due to tool radius compensation
r Traversing direction +
Tzversing direction -
0 p1*
1 The adjacent sketch indicates how the compensation R+ and Fi- is implemented for positive and negative directions.
The designations q , q are due to the double function of these keys!
Example of tool radius compensation on Example of tool radius compensation on
an external contour. an internal contour.
I I
R+ . . . Traversing distance is greater than dimension on drawing.
R- . . . Traversing distance is smaller than dimension on drawing.
I I
1
All other programming is as per the procedure initiated with m.
100
Dialogue initiation with axis key pi m Ei or q Dialogue question Response
POSlllON VALUE? 1 .Press m if required
.Enter nierical value or parameter (see section M 5)
.Press Gil
TOOL RADIUS COMP. W/R-I NO COMP.?
Enter tool radius compensation if required:
FEED RATE? F 1 Enter feed rate: press m
AUXILIARY FUNCTION M? Enter auxiliary function: press q .
P!b Block entry can be terminated by pressing FE! q jsee section M 3~2~4)~
If dialogue questions are responded to with I,“,“,1 El
no data entry takes place; the next dialogue question is displayed.
A dialogue question relating to tool radius compensation is also displayed for the axis which has been allocated to the
tool spindle with tool call. Calculation of the radius compensation value does not take place in this axis. no matter whether R+. R- or RO has been entered.
The positioning block allocates one program block:
X + 46,000 R+F60 MO3
&
In a machining program, single axis positioning blocks which have been initiated via axis keys may not be
mixed with bloc:ks which have~been initiated with m, m or q Example of incorrect programming:
L x + 50.000 Y + 20.000 RR F 100 M
x + 50.000 R- F 100 M
L X +180.000 Y + 35.000 RR F 100 M
Exception:
Only with contouring blocks without tool radius compensation and positioning blocks for the tool axis is it possible to
insert single axis positioning blocks (dialogue initiation q pi, p] 1 into a contour.
Positioning blocks with IV -key 0
The fourth axis can contre3l either a rotary table or a linear axis This axis is programmed with the El IV -key.
When responding to dialogue questions, the following should be noted: .When using the fourth axis for a rotary table: Entry of nominal position value in (O) and feed rate in (“/min.).
.Tool radius compensatiorl is not calculated in the fourth axis.
&
If the function M !34 is programmed within a positioning block for the fourth axis (rotary axis). the display is automa
tically reduced to a value below 360”
The positioning block for IV requres one program block. 0
c + 90,000 ROF20 M
101
N 2) Programming with playback-key M
The machine is traversed manually and the actual position data is programmed as a nominal position value. This method of
programming is advisable only for single axis operation. The programming of complex contours using playback is not possible!
Press appropriate axis-key (unless already selected) and transfer actual position value as an entry value
via IS-1
Press /@.
I Press “/jD q
I
Enter tool radius camp., feed rate and auxiliary
function and press
terminate block with IEzD]
+
t
Traverse machine in absolute dimensions again.
t
Traverse machine in absolute dimensions again.
press axis key and transfer actual position value
1 asentryval;via m. 1
Press m
I Press ‘iD q
I
Programming of tool radius compensation With playback programming, the machine is traversed manually (handwheel, axis-key) to the actual position which is to be stored. This actual value already contains the length and radius compensation for the tool being used. In the tool definition for this tool No. 1, the values Ll = 0 and RI = 0 are to be entered and the actual radius RI of the tool being
used is to be noted. Programming of positioning blocks in playback takes place with entry of the appropriate tool radius compensation:
R+, R-, RO.
In the event of a tool break and insertion of a new tool the radius R2 of which differs to the radius RI, only the difference between the two radii has to be entered:
Radius compensation = R2 - RI
This radius compensation value may be positive or negative and is to be entered into the tool radius definition for RI including the calculated arithmetical sign. The tool length compensation should also be entered.
102
0) Positioning with mawal data input (MDI) (single block automatic) q In this mode. the entered blocks are executed immediately after entry: the blocks are not stored
VDU-display:
Every block is executed ilnmediately after entry:
selected mode
Entry dialogue, Fault/Error
Programming block
Position values
Feed rate, Auxiliary functic
(MO6 M04. M05)
L Press @ pos,t,on,ng wth MDI- q ,, ”
c r
me
1”
sage
L
[
Enter data and press q Dialogue display: BLOCK COMPLETE
I
rr1
The programmed feed rate can be altered either a) via the override potentiometer of the control or b) via an external potentiometer
depending on how the control has been adapted to the machine by the machine tooi manufacturer.
&
If a block has been programmed incrementally, the block can be started as often as is required by pressing the
external s~arn -button. 0 A tool call can only be effective when:
.the tool has been previously definied, i. a. the compensation values (length and radius) have already been entered into the program mp!mory.
.in the
Interruption of a program block is performed as explained in section 0 2) for automatic program run with the external
button ax internal q -key.
103
P) Automatic program run E p]
In the operating modes “single block program run” @ and “automatic program run” 17 II 3 stored programs are executed.
VDU-display (large display):
Selected mode
Current program block
Position values
Status displays: Resulting datum shifts and mirror images
Scaling factor Circle centre CC (Absoli
Tool number, Tool axis,
Spindle RPM, Feed rate,
Ge
Al
I I function (M03, M04. M05)
Status displays: Co-ordinate system rotation
I Status displays: Positioning in progress
uxiliarv
Status display for datum shift and mirror image The status display for datum shift (see section M 7.2.7) and mirror image (see section M 7.2.8) indicates the number of datum shifts and mirror image which have been called-up:
Display in normal characters. No mirror image Display inverted with orange background: mirror image
104
P 1) Starting program run
Caution: Before machining of workpiece
.traverse over reference marks (REF-points) .traverse to workpiece datum and preset
.traverse to starting position.
Press @ q Press 3 q
Press START-button: First block is executed.
t
Press START-button: Second block is executed.
I
I
I
etc.
I t
1 Select new program or first block of program.
Press START-button: The program blocks are
automatically executed in full sequence until a programmed
STOP or program-end.
The programmed feed rate can be altered either a) via the overnde potentiometer of the control or b) via an external potentiometer
depending on how the control has been adapted to the machine by the machine tool manufacturer.
I f in the operating modes “single block” @ or “Automatic” the Q -key is pressed after interruption of program q q run, and a parameter number is keyed-in and entered with
roi ENT the value of the parameter is displayed (parameter
programming, see section M 5.2)
Paging of the parameter list is performed with the n m-keys. 4
105
P 2) Interruption of program run
Conkol is in @ or 3 -mode when starting. q EI
NO
to be fully executed?
YES
1 1
Press external STOP -button; Cl
Machine stops and the indicator “positioning in progress” flashes.
I
I f the q - mode was selected,
switch-over to 9 *. q After execution of the pre-calculated
contour, the program is ended.
“Positioning In progress” indicator press external START-button:
* With a subprogram call-up and program part repeat program run is only terminated after complete execution of the program part which has been called-up or repeated.
106
P 3) Re-entry into an interrupted program
I f automatic program run is interrupted and the operating mode switched to “manual” - e.g. with a tool break or to take a
measurement of the work - the control retains the following data:
.the last tool called
.the number of executed mirror images and datum shifts
.the absolute values of the datum shifts in three axes
.the last circle centre CC in absolute dimensions
.the last defined machining cycle .the current stage with program part repeats
.the return address with subprograms
Interruption of automatic program run and re-entry into interrupted program: +Y
-------- 7
1 /
// . Automatic program run is to be interrupted here, e.g. for tool change.
-t w
+x
-key of TNC (see section P 2).
c If tool data (length and radius) remains unchanged.
Read-off position values of X, Y and Z-axes and note down! Note down current block number!
c 1noperatingmodem.m q or @ first traverse tool axis Z and,
if necessary, X-and Y-axes to tool-change position and switch off main splndle and coolant.
t
Insert new tool.
NO Must tool data YES
If the tool data IS to be amended: Address appropriate tool 1 t first traverse the X- and Y-axis and finally
the Z-axls to the previous departure position.
-mode
main spindle and coolant
again. Traverse to contour with new tool and touch workpiece.
Program run is continued with complete tool compensation.
107
Pb The following points must be remembered when interrupting program run:
a) If an interruption takes place within a subprogram or program part repeat. and a block is then addressed with the
key, the countdown for the program part repeats is reset and the return jump address for the subprogram is erased. If the
countdown or the return jump address is to be retained, program blocks may only be selected with the q and q -keys.
b) If. after termination of program run. the program is “payed” with the q and 0 t keys and a restart does not take place at the block which was Interrupted. the foliowIng error is dlsplayed:
SELECTED BLOCK NOT ADDRESSED
Program run can be continued:
.by addressing the block which was interrupted with the q q -keys.
.by addressing any desired block with address for a subprogram is erased.
q ; however. the countdown for program part repeats is reset or the return jump
6) If. after interruption of program run. a block is inserted or erased, the last cycle definition and the corresponding display on the VDU~scrccn is erased. With a new program run-start, the desired cycle definition must be executed before the next cycle call, otherwise the following error is displayed:
CYCL INCOMPLETE
Cycle definition selection must take place with @, however. the countdown for program part repeats and the return jump address for a subprogram is erased.
d) If. .with an amended incremental block or
.with linear block with one co-ordinate or
.within a cycle
program run is interrupted alld restarted. the following error is displayed:
PROGRAM START UNDEFINED
The program must be amended accordingly or the previous block is to be addressed via
down for program point repeats and the return jump address for a subprogram is erased.
q - with this however, the count-
e) If. when returning to the contour, the tool is not located in the position which was reached when leaving - the TNC con-
siders the actual position value for program run re-stat? as amended. When returning to the contour, proceed as explained in section M 3.2.6.1 (case 2).
108
P 4) Positioning to program without tool
For checking a program without tool, all tool call blocks within the program are to be amended to number 0 (= no tool). It is advantageous to note down the tool number of each tool call (or note down the number of one tool call and then change the other tool calls by means of the search routine facility).
When running the program with the machine, the position displays always show the absolute values of the programmed
positions (drawing dimensions) without tool radius compensation.
After this check, all tool call blocks are to be reverted to the appropriate tool numbers!
P 5) Program run with simultaneous programming and editing
The 150 permits the execution of a machining program with simultaneous programming amd editing of a new program.
A program is called up and started in the “program run” mode. The operating mode is then edited over to “programming” and the P,“,” -key is pressed. q A new program number or a stored program - which is not being machined - can now be called up.
The VDU-display indicates which program has been started and which block is currently being executed.
Display of program to be edited
Display of running program:
Program number and current block number
Position values
Status displays
ll) External data input and output q
a 1) Interface
The TNC 150 is equipped with a standard interface connection according to
CCITl-recommendation V.24 or EIA-standard RS-232-C
This data input/output interface permits connection of the HEIDENHAIN-magnetic tape cassette units ME 101 (portable unit) or ME 102 (pendant type).
However, other programming or peripheral units (e.g. tape punching/reading unit, telex, printer) which have V.24-com- patibility may be also connected to the TNC 150.
!!b Peripheral units with a 20 mA-inter-face may not be connected!
109
Q 2) HEIDENHAIN-magnetic tape cassette units ME 101 and ME 102
HEIDENHAIN supplies special magnetic tape cassette units for external program storage.
ME 101 - portable unit for alternate use on several machines. ME 102 - pendant type housing for direct installation into machine control panel.
ME 101 and ME 102 are both fitted with 2 data input and output connectors:
In addition to the TNC 150, a commercially available peripheral unit can be connected to the V.24 (RS-232-C-output of the ME-unit (connector PRT).
The data transfer rate between control and ME is fixed at 2400 Baud. The transfer rate between the ME and a peripheral unit can be adapted by means of a stepping switch (110,150, 300, 600, 1200, 2400 Baud). Exact details of ME operation are given in the ME 101 and ME 102 operating manuals.
ME 101 ME 102
0 3) Connecting cables
HEIDENHAIN supplies the following connecting cables:
a) Cable adapter for extension of V.24-connection of TNC - to - machine housing in which the TNC is installed
b) Data transfer cable for connection to ME 101.
TNC 150
CHASSIS GND
TXD 12
RXD 1&
RTS 5
CTS 13
DSR 6
SIGNAL GND -‘I 1
DTR 11
Cable adaptor Data transfer cable ME 101 to machine Id. No. 22442201 (portable) Id. No. 214 001 01 (length 3 m) (length 1 m)
- -Y,
Machine pendant
110
c) Connecting cable for direct connection of ME 102 (pendant type) to TNC 150.
TNC 150 Connecting cable Id. No. 224412.. (length 1 m.. 10 m)
ME 102 (pendant type)
+ -
CHASSIS GND
d) Connecting cable for extension of the V.24 connection of the ME 102 to the housing in which the control and the ME 102 are installed (machine control panel).
ME 102 Connector PRT
Connecting cable Id. No. 217 707 01 (length 1 m)
Connection of peripheral unit
The following connector layout has proved favourable for the connection of a commercially available peripheral unit (e. g. printer with tape reader and puncher).
V.24 Connector Peripheral unit
CHASSIS GND 1 0 0 TXD RXD : :zB--z ; RTS
CTS
z- 0 4
0 5 DSR 6 - 0 6
SIGNAL GND 0
i0 0 0 7 8 90 0 9
10 0 0 10
11 0 0 11
12 0 0 12 13 0 0 13
14 0 0 14
15 0 0 15 16 0 o 16
17 0 0 17
18 0 o 18 19 0 0 19
DTR 20 o-t- o 20 21 0 0 21
22 0 0 22 23 0 o 23 24 0 0 24
25 0 0 25
Designation of signals:
g ;y;;l’,“;;
FITS Request To Send
CTS Clear To Send
DSR Data Set Ready
DTR Data Terminal Ready
The peripheral unit must be
set to “Even parity”
111
D 4) Entry of Baud rate
The transfer rate for the V.>!4-interface of the TNC 150 is automatically set to 2400 Baud (adapted to the HElDENHAlN Magnetic Tape Cassette Units ME lOl/ME 102).
I f the TNC 150 is to be connected to a peripheral unit with another Baud rate (without intermediate connection of the ME), the Baud rate may be altered via the MOD-function (see section J 2.4).
The following transfer rates are possible: 110. 150. 300. 600.1200 or 2400 Baud.
Control switch-off with discharged or missing buffer batteries automatically erases the programmed Baud rate. A
control restart then automatically sets the value to 2400 Baud.
II 5) Operating procedure for data transfer
Data output on printer. tape puncher or magnetic tape cassette units ME lOl/ME 102.
The TNC 150 program organisation facility enables up to 24 different programs to be stored on one side of an M lOl/ME 102 - cassette. As required, programs can be called up directly and transferred into the TNC 150.
Q& I f a program which Iexceeds the magnetic tape capacity is being read-in or read-out, the dialogue message EXCHANGE CASSlElTE - ME START appears. After changing the cassette and restarting of ME, the remaining
program blocks are read-in or read-out.
I f the E3 -key is pressed irl the “programming’-mode, the following modes are displayed for selection on the VDIJ El
The required operating mode can be selected via the Fi. n-keys. Data transfer is started by pressing the @-key.
By pressing the B-key. the operating mode for external data input/output can be cancelled.
Data transmission which hazs been already started can be interrupted by pressing q and the
After interruption of data transmission, the following error is displayed:
q w-key on the ME-unit.
ME: PROGRAM INCOMPILETE After clearing the error display with CE. the operating mode menu for data transmission is displayed. cl
When using an older TNC 150 version or a TNC 145 - program (without a number):
Enter new PGM-NR (only with first and last block) and select -editing” Finally, Yiead-in tape contents” as explained in section Q 5.2.1).
112
Q 56) Tape contents
The TAPE CONTENTS mode indicates which programs are stored on a cassette
Insert cassette into ME an press + g and [7 q . I t
C Select %> on TNC 0
1
L Now press @ : the VDU displays
EXTERNAL DATA INPUT and the magnetic tape cassette is started.
i
L All numbers which are stored in the cassette are displayed in the VDU. However, the programs have not been transferred to the TNC 150.
I rr Press pi71 : the TAPE CONTENTS mode is cancelled. 0
113
Q 5.2) External program input
Programs can be transferreo from the ME to the TNC in different ways:
READ-IN TAPE CONTENTS
READ-IN PROGFiAM OFFERED
all programs which are stored on the magnetic tape are transferred into the TNC.
the programs which are stored on the magnetic tape are offered for transfer one after the other.
READ-IN SELECTED PROGRAM a certain program number is entered; the corresponding program is seached for in the ME and finally transferred into the TNC.
If a program number which is already stored in the TNC is entered for transfer from the ME to the TNC. the following dialogue is displayed:
PROGRAM NUMBER ALLIDCATED
ERASE = ENTIOVERREAD - NOENT
Should the program in the l-NC be erased?: press
Should the selected program not be transferred form the ME into the TNC?: press
0 5.2.1) Read-in of tape contents
With the READ-IN TAPE CONTENTS mode, all programs which are stored on the magnetic tape are transferred into the TNC 150.
I Insert cassette containing required programs into the ME
Press/caandmonME. I
L Select @ on theTNC. 0
I t L Press EX q and select READ-IN TAPE CONTENTS
via mar a-key.
I
c
Press @ the VDU-display shows 0
EXTERNAL DATA INPUT
and the magnetic tape is started.
c
c
All programs on the tape are transferred into the TNC-memory The last program is automatically displayed.
114
Cl 52.2) Read-in of program offered
In the READ-IN PROGRAMM OFFERED mode certain programs can be called-up from the magnetic tape.
Insert cassette containing required programs into the M‘E
Pressicgland~onME.
1
Select $’ onTNC. Cl
I
Press EX [31 and select READ-IN PROGRAM OFFERED
viaaorm-key.
1
P%Ss q , the VDU-display shows
EXTERNAL DATA INPUT
and the magnetic tape is started
If the offered program is to be transferred into the TNC-memory
Press H
If the offered program is not to be transferred into the TNC-memov
Press q
L The control indicates all programswhich are stbred on the magnetic tape
one after the other. By pressing q or q NO the operator can decide whether
each program is to be transferred into the TNC or not.
115
0 5.2.3) Read-in of selecte~d program
With the READ-IN SELECTED PROGRAM mode. a certain program on the magnetic tape can be transferred into the TNC.
L Insert cassette containing the required program into the TNC
Press~aand~ontheME.
Select m on the TNC
Press EX K3
and select READ-IN SELECTED PROGRAM
viathemorm-key.
L
1
Press EN1 q the VDU-displays shows
PROGRAM NUMBER =
1
Enter required Program number and pressB
I The required program is searched for on the magnetic tape and then transferred to the TNC-memory I
116
Q 5.3) External pmgram autput
Programs can be transferred from the TNC to the ME in two different ways:
BEAD-OUT SELECTED PROGRAM the programs stored in the TNC can be individually selected and output.
.READ-OUT ALL PROGRAMS all programs stored in the TNC are output.
Cl 5.3.1) Output of selected program
In the READ-OUT SELECTED PROGRAM mode. the programs stored in the TNC can be individually selected and output,
L Insert emply cassette (with write release plug) into ME and
press q and Her ME.
I
t
Select 9 on the TNC. 0
Press q and select R~EAD-OUT SELECTED PROGRAM
via them or m-key.
1
Press ENT : the VDU-display shows ia
EXTERNAL DTA OUTPUT After a short formand winding cycle of the tape, the VDU-display
indicates all stored program numbers. The dialogue line displays:
OUTPUT=ENT/END=NOENT
A program number can be selected withpi nand the
The operating mode is cancelled by pressingm
117
Q 5.3.2) Output of all programs
In the operating mode READ-OUT ALL PROGRAMS all programs stored in the TNC are transferred to the ME.
L Insert empty cassette (with write release plug) into ME
and press@andm on ME.
L-
L
and select READ-OUT ALL PROGRAMS
viaDora-key.
I
Press m, the VDU:display shows
EXTERNAL DATA OUTPUT and data transfer begins.
Q 6) External programming ;at a terminal
Whilst developing the TNC ‘150. a great deal of emphasis was made on operator convenience. For this reason. programming
format purposely deviates from programming standards which were originally devised for program input via punched tape (e.g. G-functions do not have to be programmed). However, programs can be prepared externally e.g. on a terminal with tape puncher.
The following points must be observed:
a) A program must be commenced with the signals CR (carriage return) and LF (line feed). Both signs must be located before the first block, otherwise this will be ignored with program entry
b) Each program block must be completed with CR. or LF or FF,
c) ETX (Control C) is to be entered after the last program block (or a random ASCII-character. depending on the machine
parameter entered).
d) The number of spaces between the signs is optional,
e) In order to recognize dat,wransfer errors. the TNC 150 checks for “even parity” The external programming unit must there~
fore be set to “even parity-.
Further information concerning the V.24 interface and external programming are given in the following manuals:
“Information on V.24 Data Transfer Connection”
R) Programming of machine parameters
Machine parameters are determined by the machine tool manufacturer and entered into the control during the initial setting- up procedure via an external data medium (ME/cassette containing machine parameters) or via key-in. After interruption of power with empty or missing batteries, the control asks for the machine parameters which have to be reentered either
manually or by using the HEIDENHAIN magnetic tape cassette unit as per the checklist below on page 119.
118
R 1) List of machine parameters
Code number Entry value (to be filled in by
machine tool manufacturer)
MP 00
MP 01
MP 02
MP 09
MP 10
MP 11
MP 12
MP 13
MP 14
MP 15
MP 16
MP 17
MP 18
MP 19
MP 20
MP 21
MP 22
MP 23
MP 24
MP 25
MP 26
MP 27
MP 28
MP 29
MP 30
MP 31
MP 32
MP 33
I MP 34
MP 35
I MP 46
MP 47 I
Code number Entry value (to be filled in by machine tool manufacturer)
AP 144
AP 145
AP 146
AP 147
AP 148
g--
i&-j--- AP 160
AP 161
AP 162
AP 163
AP 164
AP 165
AP 166
AP 167
AP 168
AP 169
JIP 170
dP 171
LAP 172
LAP 173
wlP 180 I vlP 181
VIP 182
MP 198
MP 199
MP 200
MP 201
MP 202
MP 203
R 2) Entry of machine parameters using a magnetic tape cassette unit ME
L Switch on power. Dialogue display: OPERATION PARAMETERS ERASED
120
L press CE 0
Dialogue display: EXCHANGE BUFFER BATTERY MACHINE PARAMETER MP OXX? MP 0:
r I Insert new battery press CE
0 Dialogue display: MACHINE PARAMETER PROGRAMMING
MACHINE PARAMETER MP OXX? MP 0:
.Connect magnetic tape unit ME (connection TNC)
.Insert cassette and rewind to tape start.
Select ME-modes q and q
Press TNC-key u.
Dialogue display: MACHINE PARAMETER PROGRAMMING EXTERNAL DATA INPUT MP 0:
Dialogue display: POWER INTERRUPTED
Dialogue display: PROGRAM MEMORY ERASED
Dialogue display: RELAY EXT. DC VOLTAGE MISSING
r 1
Switch on external DC voltage and traverse over reference marks. The control is now operational.
R 3) Manual entry of machine parameters
r I
I Switch on power. Dialogue display: OPERATION PARAMETERS ERASED
I
press CE 0 Dialogue display: EXCHANGE BUFFER BAlTERY
MACHINE PARAMETER MP OXX? MP 0:
Insert new battery: press CE Cl Dialogue display: MACHINE PARAMETER PROGRAMMING
MACHINE PARAMETER MP OXX? MP 0:
c
Enter machine parameters as per checklist.
Press j@ after every parameter.
I
t
: :
,-
Machine parameter entry completed. Dialogue display: POWER INTERRUF’TED
press CE 0 Dialogue display: PROGRAM MEMORY ERASED
press CE 0 Dialogue display: RELAY EXT. DC VOLTAGE MISSING
I Switch on external DC voltage and traverse over reference marks.
The control is now operational.
121
S) Typical operating errors and fault/error messages.
The TNC 150 indicates programming and operating errors in plain language dialogue. In most cases, the cause of error can be found by means of these messages. However. we would like to give some hints concerning a few typical errors.
Error I Cause of errcr and remedy
Control voltage cannot be switched on .Emergency stop buttons was pressed:
Release button .One axis is located on emergency stop limit switch: Back-off axis
VDU-screen is dark Potentiometer for brightress is turned down: Set potentiometer to required brightness
VDU-screen only shows a portion of the data
Program run cannot be started
Dialogue display: BUlTON NON-FUNCTIONAL
Dialogue display: PROGRAM START UNDEFINDED
Dialogue display: SPINDLE?
Potentiometer for contrast is turned down. Set pqtentiometer to required contrast
Feed rate override is set to 0: Turn override to required setting
.The pressing of the key last pressed is not permitted.
Same key pressed severeal times
Tool radius compensation or feed rate was noL defined in the first block of machining program.
Call-up of a cycle without MO3 or MO4
T) Technical specifications
Control versions
TNC 150 with intelface for external. machine PLC
Transducer inputs: sinusoidal signals TNC 150 6 TNC 150 F (without 3D-movement)
Transducer inputs: square wave signals TNC 150 BR TNC 150 FR (without 3D-movement)
TNC 150 with PLC-board@)
Transducer inputs: sinusoiidal signals TNC 150 Q TNC 150 W (without 3D-movement)
Transducer inputs: square wave signals TNC 150 QR TNC 150 WR (without 3D-movement)
122
T 1) Technical specifications, General
Control type
Operator-prompting and displays
Shop-floor-programmable contouring control for 4 axes Linear interpolation in 3 out of 4 axes. Circular interpolation in 2 out of 4 axes, Helical interpolation in 3 out of 4 axes. mm/inch instant conversion for entry values and displays Entry step up to 0.001 mm or 0.0001 inch or 0.001” Display step 0.005 mm or 0.0002 inch or optionally 0.001 mm or 0.0001 inch
Visual display screen (9 inch or 12 inch) with max. 18 x 32 alphanumeric characters: Plain language dialogue and fault/error indication (in various languages); Display of current program block including previous block and two successive blocks
Program memory
Operating modes
Programmable functions
Actual position/Nominal position/Target distance/Trailing error (lag) display and status display for all important program data
Buffered semiconductor store for 24 programs with a total of 1200 program blocks
Manual operation: the control operates as a digital readout Automatic positioning with MDI: positioning block is keyed-in without entry
into memory and immediately positioned Automatic program run in single blocks: block-by-block positioning with indivi-
dual press of button Automatic: after press of button, complete run of program sequence until “programmed STOP” or program end Programming: a) with linear or circular interpolation:
Manually to program sheet or workpiece drawing or externally via the V.241 CRS-232-C data transfer connection (e.g. via Magnetic Tape Cassette Unit ME lOl/ME 102 from HEIDENHAIN, or other compatible peripheral unit)
b) with single axis operation: additionally by entering actual position data (actual values) from position display (playback) during conventional manual machining
Supplementary operating modes mm/inch, Actual position/Nominal position/Target distance/Trailing error (lag) - display, Baud rate, Working range, Vacant blocks, NC-Software number, PLC-Software number, Code number, Fourth axis on/off
Nominal position values - (absolute or incremental dimensions) entry in Cartesian co-ordinates or in polar co-ordinates Tool length and radius compensation Rounding of corners Tangential approach and departure of contours Spindle speeds
Feed rate Rapid traverse Subprograms, Program part repeats Canned cycles for: Pecking, Tapping, Slot milling, Rectangular pocket milling, Circular pocket, Dwell time, Mirror image, Datum shift, Co-ordinate rotation, Scaling Auxiliary functions M Program stop
Parameter programming
Program editing
Monitoring system
Program run continuation after interruption
Mathematical functions (=, +, -, x, : , sine, cosine, p, m
Parameter comparisons (=. =, >, <)
Through editing of block-word information, inserting of program blocks, deletion of
program blocks; Search routines or finding blocks with common criteria
The control monitors the functioning of important electronic subassemblies includ-
ing positioning system, transducers and important machine functions. If a fault is discovered via this monitoring system, it is indicated in plain language on the visual display screen (VDU) and the machine emergency stop is activated.
The control simplifies continuation of program run by storing all important program data
123
Reference mark evaluation
Max. traversing distance
After a power failure, automatic re-generation of datum value by traversing over transducer reference marks
+/- 30000.000 mm or 1181.1024 inches
Max. traversing speed
Feed rate and spindle override
15999 mm/min. or 629.9 inches/min.
Two potentiometers on TNC 150-control panel
Transducers
Limit switches
HEIDENHAIN incremental linear transducers or rotary encoders Grating pitch 0.02 mm or 0.01 mm
Software-controlled limit switches for axis movements
(X+, Y-. Y+. Y-. Z+, Z- and IV+, IV-)
Control inputs (TNC 150 B/150 0 with
standard PLC-program)
Transducers X, Y. Z, IV 1 electronic handwheel Start, Stop, Rapid traverse Feedback signal: “Auxiliary function completed” Feed rate release
Manual activation (opens positioning loop) Feedback signal; emergency stop-supervision Reference end position X, Y, Z, IV Reference pulse suppressor X, Y, Z, IV Direction buttons X, Y, Z, IV External feed rate potentiometer
Control outputs (TNC 150 B/TNC 150 0 with standard PLC-program)
1 analogue output each for X, Y, Z, IV, S Axis release, X, Y. Z, IV Control in operation M-strobe signal S-strobe signal
T-strobe signal 8 outputs for M-, S-and T-functions coded “Coolant off” “Coolant on” “Spindle counter-clockwise” “Spindle halt” “Spindle clockwise” Spindle lock on
Integrated PLC
Control version TNC 150 0
Control in automatic operating mode Emergency stop
1000 user-markers (without power failure protection) 1000 user-markers (with power failure protection) 1024 fixed allocated markers 63 (+63) inputs (24 V =, ca. 10 mA) 31 (+31) outputs (24 V =, ca. 1.2 A) 16 counters 32 timers
Mains power supply
Power consumption
Ambient temperature
Weight
External power supply for PLC: 24 V = + 10 %/- 15 % max. 40 A (depending on outputs connected)
Selectable 100/120/140/200/220/240 V + 10 %/- 15 %, 48 62 Hz
ca. 60 W (9” VDU) or (12” VDU)
Operation 0 + 45O C (+ 32 + 1130 F)
Storage - 30 + 78 C (- 22 + 1580 F)
Control: 11.5 kg
9” Visual display unit: 6.8 kg 12” Visual display unit: 10 kg PLC-power board: 1.2 kg (TNC 150 0)
124
T 2) Transducers
The TNC 150-control regulates the actual position with a step of 0.001 mm. It subdivides the grating pitch of the linear trans- ducers 20x or 10x. Incremental linear transducers with 20um or IOpm grating pitch (constant) are to be used such as:
.LS 107 (measuring lengths 240 mm up to 3040 mm)
.LS 703 (measuring lengths 170 mm up to 3040 mm)
.LS 903 (measuring lengths 70 mm up to 1240 mm)
.LID 300, LID 310 (measuring lengths 50 mm up to 3000 mm).
For angular measurement the incremental rotary encoders ROD 250 and ROD 700 with 18000 or 36000 lines are available
If the accuracy requirements are justified, indirect measurement may be performed with a rotary encoder ROD 450 which is connected to the machine leadscrew. The required number of lines is calculated with the following formula:
Lines/revolution = 50 x leadscrew pitch (in mm).
Since the cable length between the linear transducer and the TNC 150 must not exceed 20 m, a special version TNC 150 R has been developed for larger cable lengths between transducer and control. This control version has inputs for transducers with square wave signals and can therefore only be installed in conjunction with an external pulse shaping electronics unit EXE. The output signal of the EXE is evaluated by 2x or 4x within the control.
The max. cable length between transducer and EXE is 20 m. The max. cable length between EXE and TNC is 50 m. The total cable length is therefore 70 m.
For direct length measurement the transducer type LB 326 (Measuring length approx. 30 m, grating pitch 0.1 mm) can be used together with an EXE 829 (3-axis input and 25x interpolation).
125
U) Dimensions mm
TNC 150 B/F TNC 150 BR/FR TNC 150 Q/W TNC 150 QR/VVR
259+0,5 x 268t0.5 Frontplattenausschn,it de’couyx de lo plaque frontale face plate opmng
Ansicht A we A view A
259+0,5 x. X8+0,5 Frontplattenousschntti dkoupe de la plaque frontok face plate open,ng
Ac2”:: A view A
L
126
PC-Power board PL 100 B PL 110 B
i
3
lL.5j p 360+1
+i+ +
0 80+0.2 _ 210+0,2 3LOtO.2
0 363+1
391+1
u
t
2
I I . 0 E : F
127
Visual display unit BE 111 (9”)
281
269 to.2
I
216
251 +1
_ 92:5 12 5
II -
Ansicht A we A view A
259 to.5 x m+o,s Frontplattenausschnltt
- d&oupe de /a plaque frontale/ face pbte opening II
I 2L3 ,I,
I co. 0.8177 Lang longueur em 0,8m opprox. 0,s m
1
Visual display unit BE 211 (12”)
Amicht A “Lx A ve.v A
--
Operating panel
Brightness
-Program _ management”-key
Programming and editing keys -
Buffer battery compartment
Visual display screen
I
Kevs for contour programming
Feed rate Spindle override override
Keys for axis selection, entry value.s and
parameter programming
- Operating mode keys
131
v) Diagram for TNC 150qeration
Switch on matns supply (sect. I) -1
Switch on control voltage (sect. I)
Traverse over reference marks. Old datum is reproduced/software
limit switches are preset. (sect. I)
I Set new datum if reqd. (sect. K 2) I
A or electronic handwheel?
._---- --
W&piece machining f
Ez [I _---- -----
program entry ar machine:
q -mode
Playback with actual with key-In ar the machine (sect. M)
r
HEIDENHAIN DR. JOHANNES HEIDENHAIN GmbH Postfach. D-8225 Tr~lrnr~lld.~‘,IT)PEELql3?-~ Telex 56 831 Telefax (0 86 69) 59 75
223 217 26 5 S/85 H Prlnted tn West Germany Subject IO techcal modhcarions