heidenhain TNC 640 Programming Manual

5 (1)
heidenhain TNC 640 Programming Manual

TNC 640

User's Manual

HEIDENHAIN

Conversational Programming

NC Software 340590-05 340591-05 340595-05

English (en) 1/2015

Controls of the TNC

Controls of the TNC

Keys on visual display unit

Key Function

Select split screen layout

Toggle the display between machining and programming modes

Soft keys for selecting functions on screen

Shifting between soft-key rows

Alphanumeric keyboard

Key Function

File names, comments

DIN/ISO programming

Machine operating modes

Key Function

Manual operation

Electronic handwheel

Positioning with manual data input

Program run, single block

Program run, full sequence

2

Programming modes

Key Function

Programming

Test run

Program/file management,

TNC functions

Key Function

Select or delete programs and files, external data transfer

Define program call, select datum and point tables

Select MOD functions

Display help text for NC error messages, call TNCguide

Display all current error messages

Show calculator

Navigation keys

Key Function

Move highlight

Go directly to blocks, cycles and parameter functions

Potentiometer for feed rate and spindle speed

Feed rate

Spindle speed

 

 

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

Cycles, subprograms and program section repeats

Key Function

Define touch probe cycles

Define and call cycles

Enter and call labels for subprogramming and program section repeats

Enter program stop in a program

Tool functions

Key Function

Define tool data in the program

Call tool data

Programming path movements

Key Function

Approach/depart contour

FK free contour programming

Straight line

Circle center/pole for polar coordinates

Circular arc with center

Circle with radius

Circular arc with tangential connection

Chamfer/Corner rounding

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

Special functions

Key Function

Show special functions

Select the next tab in forms

Up/down one dialog box or button

Entering and editing coordinate axes and numbers

Key

Function

 

Select coordinate axes or enter

. . .

them in a program

 

Numbers

. . .

 

 

Decimal point / Reverse algebraic

 

sign

 

Polar coordinate input /

 

Incremental values

 

Q-parameter programming/

 

Q-parameter status

 

Save actual position or values from

 

calculator

NO

Skip dialog questions, delete

ENT

 

 

words

 

Confirm entry and resume dialog

 

Conclude block and exit entry

 

Clear numerical entry or TNC error

 

message

 

Abort dialog, delete program

 

section

3

Controls of the TNC

4

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

Fundamentals

About this manual

About this manual

The symbols used in this manual are described below.

This symbol indicates that important information about the function described must be considered.

This symbol indicates that there is one or more of the following risks when using the described function:

Danger to workpiece

Danger to fixtures

Danger to tool

Danger to machine

Danger to operator

This symbol indicates a possibly dangerous situation that may cause injuries if not avoided.

This symbol indicates that the described function must be adapted by the machine tool builder. The function described may therefore vary depending on the machine.

This symbol indicates that you can find detailed information about a function in another manual.

Would you like any changes, or have you found any errors?

We are continuously striving to improve our documentation for you. Please help us by sending your requests to the following e-mail address: tnc-userdoc@heidenhain.de.

6

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

TNC model, software and features

This manual describes functions and features provided by TNCs as of the following NC software numbers.

TNC model

NC software number

 

 

TNC 640

340590-05

 

 

TNC 640 E

340591-05

 

 

TNC 640 Programming Station

340595-05

The suffix E indicates the export version of the TNC. The export version of the TNC has the following limitations:

Simultaneous linear movement in up to 4 axes

The machine tool builder adapts the usable features of the TNC to his machine by setting machine parameters. Some of the functions described in this manual may therefore not be among the features provided by the TNC on your machine tool.

TNC functions that may not be available on your machine include:

Tool measurement with the TT

Please contact your machine tool builder to become familiar with the features of your machine.

Many machine manufacturers, as well as HEIDENHAIN, offer programming courses for the TNCs. We recommend these courses as an effective way of improving your programming skill and sharing information and ideas with other TNC users.

User's Manual for Cycle Programming:

All of the cycle functions (touch probe cycles and fixed cycles) are described in the Cycle Programming User’s Manual. Please contact HEIDENHAIN if you require a copy of this User's Manual. ID: 892905-xx

TNC 640 | User's Manual

7

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

Software options

The TNC 640 features various software options that can be enabled by your machine tool builder. Each option is to be enabled separately and contains the following respective functions:

Hardware, options

1st additional axis for 4 axes plus spindle

2nd additional axis for 5 axes plus spindle

Software option 1 (option number 08)

Rotary table machining

Programming of cylindrical contours as if in two axes

 

Feed rate in distance per minute

 

 

 

Coordinate transformation

Working plane, tilting the ...

 

 

 

Interpolation

Circle in 3 axes with tilted working plane (spacial arc)

Software option 2 (option number 09)

 

 

 

3-D machining

Motion control with minimum jerk

 

3-D tool compensation through surface normal vectors

 

Using the electronic handwheel to change the angle of the swivel head

 

 

during program run without affecting the position of the tool point.

 

 

(TCPM = Tool Center Point Management)

 

Keeping the tool normal to the contour

 

Tool radius compensation perpendicular to traversing and tool direction

 

 

 

Interpolation

Linear in 5 axes (subject to export permit)

HEIDENHAIN DNC (option number 18)

Communication with external PC applications over COM component

Display step (Option number 23)

Input resolution and display

Linear axes to 0.01 µm

step

Rotary axes to 0.00001°

 

Dynamic Collision Monitoring (DCM) software option (option number 40)

Collision monitoring in all

The machine manufacturer defines objects to be monitored

machine operating modes

Three warning levels in manual operation

 

 

Program interrupt during automatic operation

 

Includes monitoring of 5-axis movements

Software option for additional conversational languages (option number 41)

Additional conversational

Slovenian

languages

Norwegian

 

 

Slovak

 

Latvian

 

Korean

 

Estonian

 

Turkish

 

Romanian

8

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

Software option for additional conversational languages (option number 41)

Lithuanian

DXF Converter software option (option number 42)

Extracting contour programs and machining positions from DXF data. Extracting contour sections from plainlanguage programs.

Supported DXF format: AC1009 (AutoCAD R12)

For contours and point patterns

Simple and convenient specification of reference points

Select graphical features of contour sections from conversational programs

Adaptive Feed Control (AFC) software option (option number 45)

Function for adaptive feedrate control for optimizing the machining conditions during series production

Recording the actual spindle power by means of a teach-in cut

Defining the limits of automatic feed rate control

Fully automatic feed control during program run

KinematicsOpt software option (option number 48)

Touch-probe cycles for automatic testing and optimization of the machine kinematics

Backup/restore active kinematics

Test active kinematics

Optimize active kinematics

Mill-Turning software option (option number 50)

Functions for milling/turning

Switching between Milling/Turning mode of operation

mode

Constant cutting speed

 

 

Tool-tip radius compensation

 

Turning cycles

Extended Tool Managment software option (option number 93)

Extended tool management, python-based

Remote Desktop Manager software option (option number 133)

Remote operation of external computer units (e.g. Windows PC) via the TNC user interface

Windows on a separate computer unit

Incorporated in the TNC interface

TNC 640 | User's Manual

9

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

Cross Talk Compensation (CTC) software option (option number 141)

Compensation of axis

Determination of dynamically caused position deviation through axis

couplings

 

acceleration

 

Compensation of the TCP

Position Adaptive Control (PAC) software option (option number 142)

Changing control parameters

Changing of the control parameters depending on the position of the

 

axes in the working space

Changing of the control parameters depending on the speed or

 

acceleration of an axis

Load Adaptive Control (LAC) software option (option number 143)

Dynamic changing of control

Automatic determination of workpiece weight and frictional forces

parameters

Continuous adaptation of the parameters of the adaptive precontrolling

 

 

 

to the actual weight of the workpiece during machining

Active Chatter Control (ACC) software option (option number 145)

Fully automatic function for chatter control during machining

10

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

Feature Content Level (upgrade functions)

Along with software options, significant further improvements of the TNC software are managed via the Feature Content Level upgrade functions. Functions subject to the FCL are not available simply by updating the software on your TNC.

All upgrade functions are available to you without surcharge when you receive a new machine.

Upgrade functions are identified in the manual with FCL n, where n indicates the sequential number of the feature content level.

You can purchase a code number in order to permanently enable the FCL functions. For more information, contact your machine tool builder or HEIDENHAIN.

Intended place of operation

The TNC complies with the limits for a Class A device in accordance with the specifications in EN 55022, and is intended for use primarily in industrially-zoned areas.

Legal information

This product uses open source software. Further information is available on the control under

Programming and Editing operating mode

MOD function

LICENSE INFO soft key

TNC 640 | User's Manual

11

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

New functions

New functions 34059x-02

DXF files can be opened directly on the TNC in order to extract contours and point patterns ("Programming: Data Transfer from CAD Files", page 257).

The active tool-axis direction can now be activated in manual mode and during handwheel superimposition as a virtual tool axis ("Superimposing handwheel positioning during program run: M118 ", page 380).

The machine manufacturer can now define any areas on the machine for collision monitoring ("Dynamic Collision Monitoring (Option #40)", page 393).

Writing and reading data in freely definable tables ("Freely definable tables", page 427).

The Adaptive Feed Control (AFC) function has been integrated ("Adaptive feed control AFC (Option #45)", page 400)

New touch probe cycle 484 for calibrating the wireless TT 449 tool touch probe (see User's Manual for Cycles).

The new HR 520 and HR 550 FS handwheels are supported ("Traverse with electronic handwheels", page 520).

New machining cycle 225 ENGRAVING (see User’s Manual for

Cycle Programming)

New Active Chatter Control (ACC) software option ("Active Chatter

Control ACC (Option #145)", page 412).

New manual probing cycle "Center line as datum" ("Setting a center line as datum ", page 567).

New function for rounding corners ("Rounding corners: M197", page 387).

External access to the TNC can now be blocked with a MOD function ("External access", page 615).

12

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

Changed functions 34059x-02

The maximum number of characters for the NAME and DOC fields in the tool table has been increased from 16 to 32 ("Enter tool data into the table", page 174).

The columns AFC and ACC were added to the tool table ("Enter tool data into the table", page 174).

Operation and positioning behavior of the manual probing cycles has been improved ("Using 3-D touch probes ", page 545).

Predefined values can now be entered into a cycle parameter with the PREDEF function in cycles (see User’s Manual for Cycle Programming).

The status display has been expanded with the AFC tab ("Additional status displays", page 79).

The FUNCTION TURNDATA SPIN rotational function has been expanded with an input option for maximum speed ("Program spindle speed", page 492).

A new optimization algorithm is now used with the KinematicsOpt cycles (see User’s Manual for Cycle Programming).

With Cycle 257, circular stud milling, a parameter is now available with which you can determine the approach position on the stud (see User's Manual for Cycle Programming)

With Cycle 256, rectangular stud, a parameter is now available with which you can determine the approach position on the stud (see User's Manual for Cycle Programming).

With the "Basic Rotation" probing cycle, workpiece misalignment can now be compensated for via a table rotation ("Compensation of workpiece misalignment by rotating the table", page 560)

TNC 640 | User's Manual

13

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

New functions 34059x-04

New special operating mode ("Retraction after a power interruption", page 603).

New graphic simulation ("Graphics ", page 584).

New MOD function "tool usage file" within the machine settings group ("Tool usage file", page 618).

New MOD function "set system time" within the systems settings group ("Set the system time", page 620).

New MOD group "graphic settings" ("Graphic settings", page 614).

With the new syntax for the adaptive feed control (AFC) you can start or end a teach-in step ("Recording a teach-in cut", page 404).

With the new cutting data calculator you can calculate the spindle speed and the feed rate ("Cutting data calculator", page 149).

In the TURNDATA function, you can now define the effect of the tool compensation ("Tool compensation in the program", page 498).

Now you can activate and deactivate the active chatter compensation (ACC) by soft key ("Activating/deactivating ACC", page 413).

New if/then decisions were introduced in the jump commands ("Programming if-then decisions", page 308).

The character set of the fixed cycle 225 Engraving was expanded by more characters and the diameter sign (see User's Manual for Cycle Programming).

New fixed cycle 275 Trochoidal Milling (see User’s Manual for Cycle

Programming)

New fixed cycle 233 ENGRAVING (see User’s Manual for Cycle

Programming)

In the drilling cycles 200, 203 and 205 the parameter Q395 DEPTH

REFERENCE was introduced in order to evaluate the T ANGLE (see

User's Manual for Cycle Programming).

The probing cycle 4 MEASURING IN 3-D was introduced (see

User's Manual for Cycle Programming).

14

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

Changed functions 34059x-04

The turning tool table was expanded by the column NAME ("Tool data", page 499).

Now up to 4 functions are allowed in an NC block ("Fundamentals", page 368).

New soft keys for value transfer have been introduced in the pocket calculator ("Operation", page 146).

The distance-to-go display can now also be displayed in the input system ("Select the position display", page 621).

Cycle 241 SINGLE-LIP DEEP HOLE DRILLING was expanded by several input parameters (see User's Manual for Cycle Programming).

Cycle 404 was expanded by the parameter Q305 NUMBER IN

TABLE (see User's Manual for Cycle Programming).

In the thread milling cycles 26x an approaching feed rate was introduced (see User's Manual for Cycle Programming).

In Cycle 205 Universal Pecking you can now use parameter Q208 to define a feed rate for retraction (see User's Manual for Cycle Programming).

TNC 640 | User's Manual

15

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

New functions 34059x-05

The tool management was expanded by the column PITCH ("Enter tool data into the table", page 174).

The turning tool table was expanded by the columns YL and DYL ("Tool data", page 499).

In the tool management, several lines can now be added at the end of the table ("Tool management (Option #93)", page 192).

Any turning tool table can be selected for the program test ("Test

Run", page 596).

Programs with .HU and .HC endings can be selected and processed in all operating modes.

The functions and have been added ("Calling any program as a subprogram").

New FEED DWELL function for programming repeating dwell times ("Dwell time FUNCTION FEED DWELL").

The FN 18 functions have been expanded ("FN 18: SYSREAD:

Reading system data", page 320).

The DCM function can be activated and deactivated from the NC program ("Activating and deactivating collision monitoring", page 398).

USB data carriers can be locked with the SELinux security software ("SELinux security software", page 92).

The posAfterContPocket machine parameter has been added that influences positioning after an SL cycle ("Machine-specific user parameters", page 646).

Protective zones can be defined in the MOD menu ("Entering traverse limits", page 617).

Write protection is possible for single lines in the preset table ("Saving the datums in the preset table", page 537).

New manual probing function for aligning a plane ("Measuring 3-D basic rotation", page 561).

New function for aligning the machining plane without rotary axes ("Tilt the working plane without rotary axes", page 458).

CAD files can be opened without Option #42 ("CAD Viewer", page 259).

New software option #131 Spindle Sychronism ("Software options", page 8).

16

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

TNC model, software and features

Modified functions 34059x-05

FZ and FU feed rate input possible in the Tool Call block ("Call tool data", page 186).

With tool selection, the control also displays columns XL and ZL from the turning tool table in the pop-up window ("Tool call", page 497).

The input range of the DOC column in the pocket table has been expanded to 32 characters ("Pocket table for tool changer").

Commands FN 15, FN 31, FN 32, FT and FMAXT from predecessor controls no longer generate ERROR blocks during import. When simulating or running an NC program with these commands, the control interrupts the NC program with an error message that helps you to find an alternative implementation.

Miscellaneous functions M104, M105, M112, M114, M124, M134, M142, M150, M200 - M204 from predecessor controls no longer generate ERROR blocks during import. When simulating or running an NC program with these miscellaneous functions, the control interrupts the NC program with an error message that helps you to find an alternative implementation ("Comparison: Miscellaneous functions").

The maximum file size of files output with FN 16: F-PRINT has been increased from 4kB to 20kB.

The Preset.PR preset table is write-protected in Programming operating mode ("Saving the datums in the preset table").

The input range of the Q parameter list for defining the QPARA tab on the status display consists of 132 input positions ("Displaying Q parameters (QPARA tab)", page 84).

Manual calibration of the touch probe with less pre-positionings ("Calibrating a 3-D touch trigger probe ").

The position display takes into account the DL oversizes programmed in the Tool Call block, selectable as an oversize of the workpiece or tool ("Delta values for lengths and radii", page 173).

In single blocks, the control executes each point singly with point pattern cycles and CYCL CALL PAT ("Program run", page 598).

Rebooting the control is no longer possible with the END key, but with the soft key ("Switch-off", page 518).

The control displays the contouring feed rate in manual mode ("Spindle speed S, feed rate F and miscellaneous function M", page 530).

Deactivate tilting in manual mode is only possible via the 3D-ROT menu ("To activate manual tilting:", page 574).

The machine parameter maxLineGeoSearch has been increased to a maximum of 100000 ("Machine-specific user parameters", page 646).

The names of the software options #8, #9 and #21 have been changed ("Software options", page 8).

TNC 640 | User's Manual

17

HEIDENHAIN Conversational Programming | 1/2015

Fundamentals

TNC model, software and features

New and modified cycle functions 34059x-05

New cycle 880 (Option #50), see "ZAHNRAD ABWÄLZFRÄSEN (Zyklus 880, DIN/ISO: G880)"

New cycle 292 (Option #96), see "INTERPOLATIONSDREHEN KONTURSCHLICHTEN (Zyklus 292, DIN/ISO: G292, Softwareoption 96)"

New cycle 291 COUPLG.TURNG.INTERP. (Option #96), see "INTERPOLATIONSDREHEN KOPPLUNG (Zyklus 291, DIN/ISO: G291, Softwareoption 96)"

New cycle 239 for LAC (Load Adapt. Control) load-dependent adaptation of control parameters (Option #143), see "BELADUNG ERMITTELN (Zyklus 239 DIN/ISO: G239, Software-Option 143)" Cycle 270 CONTOUR TRAIN DATA has been added (Option #19), see "KONTURZUG-DATEN (Zyklus 270, DIN/ISO: G270, SoftwareOption 19)"

Cycle 39 has been added (Option #1), see "ZYLINDER-MANTEL (Zyklus 39, DIN/ISO: G139, Software-Option 1)"

The character set of machining cycle 225 has been expanded with the CE character, ß, the @ character and system time, see "ENGRAVING (Cycle 225, DIN/ISO: G225)"

Cycles 252-254 have been expanded with the optional parameter Q439

Cycle 22 has been expanded with the optional parameters Q401, Q404, see "ROUGHING (Cycle 22, DIN/ISO: G122, software option 19)"

Cycle 484 has been expanded with the optional parameter Q536, see "Calibrate the wireless TT 449 (Cycle 484, DIN/ISO: G484, software option 17 Touch Probe Functions software option 17)" Cycles 841 SIMPLE REC. TURNG., RADIAL DIR., 842 , 851 , 852 have been expanded with plunge feed rate Q488

Eccentric turning with cycle 800 is possible with Option #50, see "ADAPT ROTARY COORDINATE SYSTEM(Cycle 800, DIN/ISO: G800)"

18

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

Contents

 

1

First Steps with the TNC 640.......................................................................................................

51

2

Introduction.....................................................................................................................................

71

3

Programming: Fundamentals, File Management........................................................................

95

4

Programming: Programming aids..............................................................................................

141

5

Programming: Tools.....................................................................................................................

169

6

Programming: Programming contours......................................................................................

205

7

Programming: Data Transfer from CAD Files............................................................................

257

8

Programming: Subprograms and program section repeats....................................................

279

9

Programming: Q Parameters.......................................................................................................

297

10

Programming: Miscellaneous functions.....................................................................................

367

11

Programming: Special functions.................................................................................................

389

12

Programming: Multiple Axis Machining....................................................................................

435

13

Programming: Pallet editor.........................................................................................................

481

14

Programming: Turning Operations.............................................................................................

487

15

Manual operation and setup.......................................................................................................

515

16

Positioning with Manual Data Input..........................................................................................

577

17

Test run and program run...........................................................................................................

583

18

MOD functions..............................................................................................................................

611

19

Tables and overviews...................................................................................................................

645

TNC 640 | User's Manual

19

HEIDENHAIN Conversational Programming | 1/2015

Contents

20

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

1 First Steps with the TNC 640.......................................................................................................

51

1.1

Overview................................................................................................................................................

52

1.2

Machine switch-on................................................................................................................................

52

 

Acknowledging the power interruption and moving to the reference points..........................................

52

1.3

Programming the first part..................................................................................................................

53

 

Selecting the correct operating mode....................................................................................................

53

 

The most important TNC keys................................................................................................................

53

 

Opening a new program/file management.............................................................................................

54

 

Defining a workpiece blank....................................................................................................................

55

 

Program layout........................................................................................................................................

56

 

Programming a simple contour...............................................................................................................

57

 

Creating a cycle program........................................................................................................................

60

1.4

Graphically testing the first part.........................................................................................................

62

 

Selecting the correct operating mode....................................................................................................

62

 

Selecting the tool table for the test run.................................................................................................

62

 

Choosing the program you want to test................................................................................................

63

 

Selecting the screen layout and the view..............................................................................................

63

 

Starting the test run................................................................................................................................

64

1.5

Setting up tools....................................................................................................................................

65

 

Selecting the correct operating mode....................................................................................................

65

 

Preparing and measuring tools...............................................................................................................

65

 

The tool table TOOL.T............................................................................................................................

66

 

The pocket table TOOL_P.TCH................................................................................................................

67

1.6

Workpiece setup....................................................................................................................................

68

 

Selecting the correct operating mode....................................................................................................

68

 

Clamping the workpiece.........................................................................................................................

68

 

Datum setting with 3-D touch probe......................................................................................................

69

1.7

Running the first program...................................................................................................................

70

 

Selecting the correct operating mode....................................................................................................

70

 

Choosing the program you want to run.................................................................................................

70

 

Start the program....................................................................................................................................

70

TNC 640 | User's Manual

21

HEIDENHAIN Conversational Programming | 1/2015

Contents

2 Introduction.....................................................................................................................................

71

2.1

The TNC 640..........................................................................................................................................

72

 

Programming: In HEIDENHAIN conversational and DIN/ISO..................................................................

72

 

Compatibility............................................................................................................................................

72

2.2

Visual display unit and operating panel............................................................................................

73

 

Display screen.........................................................................................................................................

73

 

Setting the screen layout........................................................................................................................

73

 

Control Panel...........................................................................................................................................

74

2.3

Modes of Operation..............................................................................................................................

75

 

Manual Operation and El. Handwheel....................................................................................................

75

 

Positioning with Manual Data Input........................................................................................................

75

 

Programming...........................................................................................................................................

76

 

Test Run..................................................................................................................................................

76

 

Program Run, Full Sequence and Program Run, Single Block................................................................

77

2.4

Status displays......................................................................................................................................

78

 

General status display.............................................................................................................................

78

 

Additional status displays........................................................................................................................

79

2.5

Window Manager..................................................................................................................................

86

 

Task bar...................................................................................................................................................

87

2.6

Remote Desktop Manager (Option #133)...........................................................................................

88

 

Introduction.............................................................................................................................................

88

 

Configuring connections – Windows Terminal Service..........................................................................

88

 

Configuring the connection – VNC.........................................................................................................

90

 

Starting and stopping the connection.....................................................................................................

91

2.7

SELinux security software....................................................................................................................

92

2.8

Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels......................................

93

 

3-D touch probes....................................................................................................................................

93

 

HR electronic handwheels......................................................................................................................

94

22

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

3 Programming: Fundamentals, File Management........................................................................

95

3.1

Fundamentals........................................................................................................................................

96

 

Position encoders and reference marks.................................................................................................

96

 

Reference system...................................................................................................................................

96

 

Reference system on milling machines..................................................................................................

97

 

Designation of the axes on milling machines.........................................................................................

97

 

Polar coordinates.....................................................................................................................................

98

 

Absolute and incremental workpiece positions......................................................................................

99

 

Selecting the datum..............................................................................................................................

100

3.2 Opening programs and entering.......................................................................................................

101

 

Organization of an NC program in HEIDENHAIN Conversational format..............................................

101

 

Define the blank: BLK FORM...............................................................................................................

102

 

Opening a new part program...............................................................................................................

104

 

Programming tool movements in conversational.................................................................................

106

 

Actual position capture..........................................................................................................................

108

 

Editing a program..................................................................................................................................

109

 

The TNC search function......................................................................................................................

112

3.3

File Management: Fundamentals......................................................................................................

114

 

Files.......................................................................................................................................................

114

 

Displaying externally generated files on the TNC.................................................................................

116

 

Data Backup..........................................................................................................................................

116

TNC 640 | User's Manual

23

HEIDENHAIN Conversational Programming | 1/2015

Contents

3.4 Working with the File Manager.........................................................................................................

117

Directories.............................................................................................................................................

117

Paths......................................................................................................................................................

117

Overview: Functions of the file manager.............................................................................................

118

Calling the File Manager.......................................................................................................................

119

Selecting drives, directories and files...................................................................................................

120

Creating a new directory......................................................................................................................

121

Creating a new file................................................................................................................................

121

Copying a single file..............................................................................................................................

121

Copying files into another directory......................................................................................................

122

Copying a table.....................................................................................................................................

123

Copying a directory...............................................................................................................................

123

Choosing one of the last files selected................................................................................................

124

Deleting a file........................................................................................................................................

125

Deleting a directory...............................................................................................................................

125

Tagging files..........................................................................................................................................

126

Renaming a file.....................................................................................................................................

127

Sorting files...........................................................................................................................................

127

Additional functions...............................................................................................................................

128

Additional tools for management of external file types........................................................................

129

Data transfer to/from an external data medium...................................................................................

136

The TNC in a network..........................................................................................................................

138

USB devices on the TNC......................................................................................................................

139

24

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

4 Programming: Programming aids..............................................................................................

141

4.1

Adding comments...............................................................................................................................

142

 

Application.............................................................................................................................................

142

 

Entering comments during programming.............................................................................................

142

 

Inserting comments after program entry.............................................................................................

142

 

Entering a comment in a separate block..............................................................................................

142

 

Functions for editing of the comment..................................................................................................

143

4.2

Display of NC Programs.....................................................................................................................

144

 

Syntax highlighting................................................................................................................................

144

 

Scrollbar.................................................................................................................................................

144

4.3

Structuring programs..........................................................................................................................

145

 

Definition and applications....................................................................................................................

145

 

Displaying the program structure window / Changing the active window............................................

145

 

Inserting a structuring block in the program window...........................................................................

145

 

Selecting blocks in the program structure window..............................................................................

145

4.4

Calculator.............................................................................................................................................

146

 

Operation...............................................................................................................................................

146

4.5

Cutting data calculator.......................................................................................................................

149

 

Application.............................................................................................................................................

149

4.6

Programming graphics.......................................................................................................................

152

 

Generate/do not generate graphics during programming.....................................................................

152

 

Generating a graphic for an existing program......................................................................................

153

 

Block number display ON/OFF..............................................................................................................

154

 

Erasing the graphic...............................................................................................................................

154

 

Showing grid lines.................................................................................................................................

154

 

Magnification or reduction of details....................................................................................................

155

TNC 640 | User's Manual

25

HEIDENHAIN Conversational Programming | 1/2015

Contents

4.7 Error messages....................................................................................................................................

156

Display of errors....................................................................................................................................

156

Open the error window........................................................................................................................

156

Closing the error window.....................................................................................................................

156

Detailed error messages.......................................................................................................................

157

INTERNAL INFO soft key......................................................................................................................

157

Clearing errors.......................................................................................................................................

158

Error log.................................................................................................................................................

158

Keystroke log.........................................................................................................................................

159

Informational texts................................................................................................................................

160

Saving service files...............................................................................................................................

161

Calling the TNCguide help system.......................................................................................................

161

4.8 TNCguide context-sensitive help system.........................................................................................

162

Application.............................................................................................................................................

162

Working with the TNCguide.................................................................................................................

163

Downloading current help files.............................................................................................................

167

26

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

5 Programming: Tools.....................................................................................................................

169

5.1

Entering tool-related data..................................................................................................................

170

 

Feed rate F............................................................................................................................................

170

 

Spindle speed S....................................................................................................................................

171

5.2

Tool data...............................................................................................................................................

172

 

Requirements for tool compensation...................................................................................................

172

 

Tool number, tool name........................................................................................................................

172

 

Tool length L.........................................................................................................................................

172

 

Tool radius R.........................................................................................................................................

172

 

Delta values for lengths and radii.........................................................................................................

173

 

Entering tool data into the program.....................................................................................................

173

 

Enter tool data into the table...............................................................................................................

174

 

Importing tool tables.............................................................................................................................

182

 

Pocket table for tool changer................................................................................................................

183

 

Call tool data.........................................................................................................................................

186

 

Tool change...........................................................................................................................................

188

 

Tool usage test......................................................................................................................................

190

 

Tool management (Option #93)............................................................................................................

192

5.3

Tool compensation..............................................................................................................................

200

 

Introduction...........................................................................................................................................

200

 

Tool length compensation.....................................................................................................................

200

 

Tool radius compensation.....................................................................................................................

201

TNC 640 | User's Manual

27

HEIDENHAIN Conversational Programming | 1/2015

Contents

6 Programming: Programming contours......................................................................................

205

6.1

Tool movements..................................................................................................................................

206

 

Path functions.......................................................................................................................................

206

 

FK free contour programming..............................................................................................................

206

 

Miscellaneous functions M...................................................................................................................

206

 

Subprograms and program section repeats.........................................................................................

207

 

Programming with Q parameters.........................................................................................................

207

6.2 Fundamentals of Path Functions.......................................................................................................

208

 

Programming tool movements for workpiece machining.....................................................................

208

6.3 Approaching and departing a contour.............................................................................................

212

 

Starting point and end point.................................................................................................................

212

 

Overview: Types of paths for contour approach and departure............................................................

214

 

Important positions for approach and departure...................................................................................

215

 

Approaching on a straight line with tangential connection: APPR LT...................................................

217

 

Approaching on a straight line perpendicular to the first contour point: APPR LN...............................

217

 

Approaching on a circular path with tangential connection: APPR CT..................................................

218

 

Approaching on a circular path with tangential connection from a straight line to the contour:

 

 

APPR LCT..............................................................................................................................................

219

 

Departing in a straight line with tangential connection: DEP LT..........................................................

219

 

Departing in a straight line perpendicular to the last contour point: DEP LN.......................................

220

 

Departing on a circular path with tangential connection: DEP CT........................................................

221

 

Departing on a circular arc tangentially connecting the contour and a straight line: DEP LCT..............

221

6.4

Path contours - Cartesian coordinates.............................................................................................

222

 

Overview of path functions..................................................................................................................

222

 

Straight line L........................................................................................................................................

223

 

Inserting a chamfer between two straight lines...................................................................................

224

 

Corner rounding RND...........................................................................................................................

225

 

Circle center CC....................................................................................................................................

226

 

Circular path C around circle center CC...............................................................................................

227

 

CircleCR with defined radius................................................................................................................

228

 

Circle CT with tangential connection....................................................................................................

230

 

Example: Linear movements and chamfers with Cartesian coordinates..............................................

231

 

Example: Circular movements with Cartesian coordinates..................................................................

232

 

Example: Full circle with Cartesian coordinates...................................................................................

233

28

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

6.5 Path contours – Polar coordinates....................................................................................................

234

Overview...............................................................................................................................................

234

Zero point for polar coordinates: pole CC............................................................................................

235

Straight line LP......................................................................................................................................

235

Circular path CP around pole CC..........................................................................................................

236

Circle CTP with tangential connection..................................................................................................

236

Helix.......................................................................................................................................................

237

Example: Linear movement with polar coordinates.............................................................................

239

Example: Helix......................................................................................................................................

240

6.6 Path contours – FK free contour programming...............................................................................

241

Fundamentals........................................................................................................................................

241

FK programming graphics.....................................................................................................................

243

Initiating the FK dialog..........................................................................................................................

244

Pole for FK programming......................................................................................................................

244

Free straight line programming.............................................................................................................

245

Free circular path programming............................................................................................................

246

Input options.........................................................................................................................................

247

Auxiliary points......................................................................................................................................

250

Relative data..........................................................................................................................................

251

Example: FK programming 1................................................................................................................

253

Example: FK programming 2................................................................................................................

254

Example: FK programming 3................................................................................................................

255

TNC 640 | User's Manual

29

HEIDENHAIN Conversational Programming | 1/2015

Contents

7 Programming: Data Transfer from CAD Files............................................................................

257

7.1

CAD viewer and DXF converter screen layout.................................................................................

258

 

CAD viewer and DXF converter screen layout.....................................................................................

258

7.2

CAD Viewer..........................................................................................................................................

259

 

Application.............................................................................................................................................

259

7.3

DXF converter (Option #42)...............................................................................................................

260

 

Application.............................................................................................................................................

260

 

Working with the DXF converter..........................................................................................................

261

 

Opening a DXF file...............................................................................................................................

262

 

Basic settings........................................................................................................................................

263

 

Setting layers.........................................................................................................................................

265

 

Defining the datum...............................................................................................................................

266

 

Selecting and saving a contour.............................................................................................................

268

 

Selecting and saving machining positions............................................................................................

272

30

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

Loading...
+ 677 hidden pages