HEIDENHAIN TNC 640 User Manual

0 (0)
HEIDENHAIN TNC 640 User Manual

TNC 640

User's Manual

HEIDENHAIN

Conversational Programming

NC Software 340590-04 340591-04 340595-04

English (en) 3/2014

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

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

 

 

2

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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 | 3/2014

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 | 3/2014

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 light 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 | 3/2014

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-04

 

 

TNC 640 E

340591-04

 

 

TNC 640 Programming Station

340595-04

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 | 3/2014

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:

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 down 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

8

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

TNC model, software and features

DXF Converter software option (option number 42)

Extracting contour

Supported DXF format: AC1009 (AutoCAD R12)

programs and machining

For contours and point patterns

positions from DXF data.

Simple and convenient specification of reference points

Extracting contour sections

from plain-language

Select graphical features of contour sections from conversational

programs.

 

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

Synchronizing Functions software option (option number 135)

Real Time Coupling (RTC)

Coupling of axes

TNC 640 | User's Manual

9

HEIDENHAIN Conversational Programming | 3/2014

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

Changing of the control parameters depending on the position of the

parameters

 

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 | 3/2014

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 | 3/2014

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 DXF files or plain-language contours", page 249).

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 366).

The machine manufacturer can now define any areas on the machine for collision monitoring ("Dynamic Collision Monitoring (software option)", page 377).

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

The Adaptive Feed Control (AFC) function has been integrated ("Adaptive Feed Control Software Option (AFC)", page 383)

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 498).

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

New Active Chatter Control (ACC) software option ("Active Chatter Control (ACC; software option)", page 396).

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

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

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

12

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

TNC model, software and features

New 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 166).

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

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

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 76).

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

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 536)

TNC 640 | User's Manual

13

HEIDENHAIN Conversational Programming | 3/2014

Fundamentals

TNC model, software and features

New functions 34059x-04

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

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

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

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

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

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 388).

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

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

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

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

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 BEZUG 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 | 3/2014

TNC model, software and features

Changed functions 34059x-04

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

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

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

The distance-to-go display can now also be displayed in the input system ("Position Display Types", page 598).

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 | 3/2014

Fundamentals

TNC model, software and features

16

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

Contents

 

1

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

49

2

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

69

3

Programming: Fundamentals, file management.........................................................................

89

4

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

133

5

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

161

6

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

197

7

Programming: Data transfer from DXF files or plain-language contours...............................

249

8

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

267

9

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

283

10

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

353

11

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

373

12

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

417

13

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

461

14

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

467

15

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

493

16

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

555

17

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

561

18

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

589

19

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

619

TNC 640 | User's Manual

17

HEIDENHAIN Conversational Programming | 3/2014

Contents

18

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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

49

1.1

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

50

1.2

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

50

 

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

50

1.3

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

51

 

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

51

 

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

51

 

Creating a new program/file management.............................................................................................

52

 

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

53

 

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

54

 

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

55

 

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

58

1.4

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

60

 

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

60

 

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

60

 

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

61

 

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

61

 

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

62

1.5

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

63

 

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

63

 

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

63

 

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

64

 

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

65

1.6

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

66

 

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

66

 

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

66

 

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

67

1.7

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

68

 

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

68

 

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

68

 

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

68

TNC 640 | User's Manual

19

HEIDENHAIN Conversational Programming | 3/2014

Contents

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

69

2.1

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

70

 

Programming: HEIDENHAIN conversational and ISO formats...............................................................

70

 

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

70

2.2

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

71

 

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

71

 

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

71

 

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

72

2.3

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

73

 

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

73

 

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

73

 

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

73

 

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

74

 

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

74

2.4

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

75

 

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

75

 

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

76

2.5

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

83

 

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

84

2.6

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

85

2.7

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

86

 

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

86

 

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

87

20

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

3 Programming: Fundamentals, file management.........................................................................

89

3.1

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

90

 

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

90

 

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

90

 

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

91

 

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

91

 

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

92

 

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

93

 

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

94

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

95

 

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

95

 

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

96

 

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

98

 

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

99

 

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

101

 

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

102

 

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

105

3.3

File manager: Fundamentals..............................................................................................................

107

 

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

107

 

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

109

 

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

109

TNC 640 | User's Manual

21

HEIDENHAIN Conversational Programming | 3/2014

Contents

3.4 Working with the file manager.........................................................................................................

110

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

110

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

110

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

111

Calling the file manager........................................................................................................................

112

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

113

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

114

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

114

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

114

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

115

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

116

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

116

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

117

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

118

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

118

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

119

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

120

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

120

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

121

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

122

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

127

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

129

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

130

22

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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

133

4.1

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

134

 

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

134

 

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

134

 

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

134

 

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

134

 

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

135

4.2

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

136

 

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

136

 

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

136

4.3

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

137

 

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

137

 

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

137

 

Inserting a structuring block in the (left) program window...................................................................

137

 

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

137

4.4

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

138

 

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

138

4.5

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

141

 

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

141

4.6

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

144

 

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

144

 

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

144

 

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

145

 

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

145

 

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

145

 

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

146

TNC 640 | User's Manual

23

HEIDENHAIN Conversational Programming | 3/2014

Contents

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

147

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

147

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

147

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

147

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

148

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

148

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

149

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

149

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

150

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

151

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

151

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

152

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

153

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

153

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

154

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

158

24

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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

161

5.1

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

162

 

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

162

 

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

163

5.2

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

164

 

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

164

 

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

164

 

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

164

 

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

164

 

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

165

 

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

165

 

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

166

 

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

175

 

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

176

 

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

179

 

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

181

 

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

184

 

Tool management (software option).....................................................................................................

186

5.3

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

193

 

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

193

 

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

193

 

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

194

TNC 640 | User's Manual

25

HEIDENHAIN Conversational Programming | 3/2014

Contents

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

197

6.1

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

198

 

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

198

 

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

198

 

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

198

 

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

199

 

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

199

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

200

 

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

200

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

204

 

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

204

 

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

205

 

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

207

 

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

207

 

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

208

 

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

 

 

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

209

 

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

210

 

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

210

 

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

211

 

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

211

6.4

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

212

 

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

212

 

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

213

 

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

214

 

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

215

 

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

216

 

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

217

 

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

218

 

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

220

 

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

221

 

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

222

 

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

223

26

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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

224

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

224

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

225

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

225

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

226

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

226

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

227

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

229

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

230

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

231

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

231

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

233

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

235

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

235

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

236

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

237

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

238

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

241

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

242

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

244

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

245

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

246

TNC 640 | User's Manual

27

HEIDENHAIN Conversational Programming | 3/2014

Contents

7 Programming: Data transfer from DXF files or plain-language contours...............................

249

7.1 Processing DXF Files (Software Option)..........................................................................................

250

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

250

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

251

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

251

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

252

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

254

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

255

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

257

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

261

28

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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

267

8.1

Labeling Subprograms and Program Section Repeats...................................................................

268

 

Label......................................................................................................................................................

268

8.2

Subprograms.......................................................................................................................................

269

 

Operating sequence..............................................................................................................................

269

 

Programming notes...............................................................................................................................

269

 

Programming a subprogram.................................................................................................................

269

 

Calling a subprogram............................................................................................................................

270

8.3

Program-section repeats....................................................................................................................

271

 

Label LBL..............................................................................................................................................

271

 

Operating sequence..............................................................................................................................

271

 

Programming notes...............................................................................................................................

271

 

Programming a program section repeat...............................................................................................

271

 

Calling a program section repeat..........................................................................................................

272

8.4

Any desired program as subprogram...............................................................................................

273

 

Operating sequence..............................................................................................................................

273

 

Programming notes...............................................................................................................................

273

 

Calling any program as a subprogram..................................................................................................

274

8.5

Nesting.................................................................................................................................................

275

 

Types of nesting....................................................................................................................................

275

 

Nesting depth........................................................................................................................................

275

 

Subprogram within a subprogram........................................................................................................

276

 

Repeating program section repeats......................................................................................................

277

 

Repeating a subprogram.......................................................................................................................

278

8.6

Programming examples.....................................................................................................................

279

 

Example: Milling a contour in several infeeds......................................................................................

279

 

Example: Groups of holes....................................................................................................................

280

 

Example: Group of holes with several tools.........................................................................................

281

TNC 640 | User's Manual

29

HEIDENHAIN Conversational Programming | 3/2014

Contents

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

283

9.1

Principle and overview of functions.................................................................................................

284

 

Programming notes...............................................................................................................................

285

 

Calling Q parameter functions..............................................................................................................

286

9.2

Part families—Q parameters in place of numerical values.............................................................

287

 

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

287

9.3

Describing contours with mathematical functions.........................................................................

288

 

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

288

 

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

288

 

Programming fundamental operations..................................................................................................

289

9.4

Angle functions (trigonometry).........................................................................................................

290

 

Definitions.............................................................................................................................................

290

 

Programming trigonometric functions..................................................................................................

290

9.5

Calculation of circles...........................................................................................................................

291

 

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

291

9.6

If-then decisions with Q parameters................................................................................................

292

 

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

292

 

Unconditional jumps..............................................................................................................................

292

 

Programming if-then decisions.............................................................................................................

292

 

Abbreviations used:...............................................................................................................................

293

9.7

Checking and changing Q parameters.............................................................................................

294

 

Procedure..............................................................................................................................................

294

9.8

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

296

 

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

296

 

FN 14: ERROR: Displaying error messages.........................................................................................

297

 

FN 16: F-PRINT: Output of formatted texts and Q parameter values....................................................

301

 

FN 18: SYS-DATUM READ: Reading system data................................................................................

305

 

FN 19: PLC: Transfer values to PLC.....................................................................................................

314

 

FN 20: WAIT FOR: NC and PLC synchronization.................................................................................

314

 

FN 29: PLC: Transfer values to the PLC...............................................................................................

316

 

FN 37: EXPORT.....................................................................................................................................

316

30

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

Loading...
+ 649 hidden pages