HEIDENHAIN SW 54843x-02 User Manual

User’s Manual
MANUALplus 620 CNC PILOT 640
smart.Turn and DIN Programming
NC Software 548430-02 548431-02 688946-02 688947-02
HEIDENHAIN MANUALplus 620, CNC PILOT 620/640 1

smart.Turn and DIN PLUS programming

This manual describes functions and features provided by lathe controls as of the following NC software numbers.
Control NC software number
MANUALplus 620 (HEROS 5) 548430-02
MANUALplus 620E (HEROS 5) 548431-02
CNC PILOT 640 (HEROS 5) 688946-02
CNC PILOT 640E (HEROS 5) 688947-02
The suffix E indicates the export version of the control. The export version of the control has the following limitations:
Simultaneous linear movement in up to 4 axes
HEROS 5 identifies the new operating system of HSCI-based controls. Machine operation and cycle programming are described in the
MANUALplus 620 (ID 634864-xx) and CNC PILOT 640 (ID 730870-xx) User's Manuals. Please contact HEIDENHAIN if you require a copy of one of these manuals.
The machine manufacturer adapts the features offered by the control to the capabilities of the specific machine tool by setting machine parameters. Therefore, some of the functions described in this manual may not be among the features provided by the Control on your machine tool.
Some of the Control functions which are not available on every machine are:
Positioning of spindle (M19) and driven toolOperations with the C or Y axis
Please contact your machine manufacturer for detailed information on the features that are supported by your machine tool.
Many machine manufacturers and HEIDENHAIN offer programming courses. We recommend these courses as an effective way of improving your programming skill and sharing information and ideas with other Control users.
HEIDENHAIN also offers the DataPilot programming station for PCs, which is designed for use with the respective control. The DataPilot is excellently suited for both shop-floor programming as well as off­location program creation and production planning. It is also ideal for training purposes. The DataPilot can be run on PCs with WINDOWS operating systems.
Control Programming station NC software
MANUALplus 620 DataPilot MP620 634132-06
CNC PILOT 640 DataPilot CP640 729666-02

Intended place of operation

The MANUALplus 620, CNC PILOT 640 complies with the limits for Class A devices 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
Organization mode of operationSecond soft-key rowLICENSE INFO soft key
HEIDENHAIN MANUALplus 620, CNC PILOT 640 3

New functions of software 54843x-01 and 688946-01

On machines with a B axis it is now also possible to drill, bore, and
mill in oblique planes. In addition to this, the B axis enables you to use tools even more flexibly during turning (see "Tilted working plane" on page 562).
The control now provides numerous touch probe cycles for various
applications (see "General information on touch probe cycles (software option)" on page 428):
Calibrating a touch trigger probeMeasuring circles, circle segments, angle and position of the C
axis
Misalignment compensationSingle-point and double-point measurementsFinding a hole or studZero point setting in the Z or C axisAutomatic tool measurement
The new TURN PLUS function automatically generates NC
programs for turning and milling operations based on a fixed machining sequence (see "TURN PLUS mode of operation" on page
528).
G940 now provides a way to calculate the tool lengths in the basic
(definition) position of the B axis (see "Calculate variables automatically G940" on page 373)
For machining operations that require rechucking, you can define a
separation point on the contour description with G44 (see "Separation point G44" on page 213).
G927 enables you to convert tool lengths to the reference position
of the tool (B axis = 0) (see "Convert lengths G927" on page 373).
Recesses that were defined with G22 can now be machined with
the new Cycle 870 ICP Recessing (see ""ICP recessing" unit" on page
75).
4

New functions of software 68894x-02 and 54843x-02

The miscellaneous function "Shift zero point" was introduced in ICP
(see User's Manual)
In ICP contours, you can now calculate fit sizes and internal threads
using an input form (see User's Manual)
The miscellaneous function "Duplicate in linear/circular series, and
by mirroring" was introduced in ICP (see User's Manual)
The system time can now be set using an input form (see User's
Manual)
The parameters K, SD and U have been added to parting cycle G859
(see User's Manual)
The angle of approach and departure can now be defined for ICP
recess turning (see User's Manual)
With TURN PLUS you can now also create programs for machining
on the opposing spindle and for multipoint tools (see "Full-surface machining with TURN PLUS" on page 556)
It is now also possible to select a milling contour in G797 "Area
milling" (see "Area milling, face G797" on page 343)
The parameter Y was added to G720 (see "Spindle synchronization
G720" on page 378)
The parameters O and U were added to G860 (see "Recessing
G860" on page 273)
HEIDENHAIN MANUALplus 620, CNC PILOT 640 5
6

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 workpieceDanger to fixturesDanger to toolDanger to machineDanger to operator
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.
About this manual

Do you want 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.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 7
About this manual
8
Contents
„NC programming”
1
„smart.Turn units”
2
„smart.Turn units for the Yaxis”
3
„DIN programming”
4
„Touch probe cycles”
5
„DIN programming for the Y axis”
6
„TURN PLUS”
7
„B axis”
8
„Overview of units”
9
„Overview of G codes”
10

1 NC programming ..... 31

1.1 smart.Turn and DIN (ISO) programming ..... 32
Contour follow-up ..... 32
Structured NC program ..... 33
Linear and rotary axes ..... 34
Units of measure ..... 34
Elements of an NC program ..... 35
1.2 The smart.Turn editor ..... 36
Menu structure ..... 36
Parallel editing ..... 37
Screen layout ..... 37
Selecting the editor functions ..... 37
Shared menu items ..... 38
1.3 Program section code ..... 44
HEADER section ..... 45
CHUCKING EQUIPMENT section ..... 46
TURRET section ..... 46
BLANK section ..... 47
AUXIL_BLANK section ..... 47
FINISHED section ..... 47
AUXIL_CONTOUR section ..... 47
FACE, REAR sections ..... 47
LATERAL section ..... 47
FRONT_Y, REAR_Y sections ..... 47
LATERAL_Y section ..... 48
MACHINING section ..... 49
END code ..... 49
SUBPROGRAM section ..... 49
RETURN code ..... 49
CONST code ..... 50
VAR code ..... 50
1.4 Tool programming ..... 51
Setting up a tool list ..... 51
Editing tool entries ..... 52
Multipoint tools ..... 52
Replacement tools ..... 53
HEIDENHAIN MANUALplus 620, CNC PILOT 640 11

2 smart.Turn units ..... 55

2.1 smart.Turn units ..... 56
"Units" menu ..... 56
The smart.Turn unit ..... 56
2.2 Units—Roughing ..... 63
"Longitudinal roughing in ICP" unit ..... 63
"Transverse roughing in ICP" unit ..... 64
"Contour-parallel roughing in ICP" unit ..... 65
"Bidirectional roughing in ICP" unit ..... 66
"Longitudinal roughing with direct contour input" unit ..... 67
"Transverse roughing with direct contour input" unit ..... 68
2.3 Units—Recessing ..... 69
"ICP contour recessing" unit ..... 69
"ICP recess turning" unit ..... 70
"Contour recessing with direct contour input" unit ..... 71
"Recess turning with direct contour input" unit ..... 72
"Parting" unit ..... 73
"Undercutting (H, K, U)" unit ..... 74
"ICP recessing" unit ..... 75
2.4 Units—Centric drilling ..... 76
"Centric drilling" unit ..... 76
"Centric tapping" unit ..... 78
"Boring, centric countersinking" unit ..... 79
2.5 Units—Drilling in C axis ..... 80
"Single hole, face" unit ..... 80
"Linear pattern drilling, face" unit ..... 82
"Circular pattern drilling, face" unit ..... 84
"Tapping, face" unit ..... 86
"Linear tapping pattern, face" unit ..... 87
"Circular tapping pattern, face" unit ..... 88
"Single hole, lateral surface" unit ..... 89
"Linear pattern drilling, lateral surface" unit ..... 91
"Circular pattern drilling, lateral surface" unit ..... 93
"Tap hole, lateral surface" unit ..... 95
"Linear tapping pattern, lateral surface" unit ..... 96
"Circular tapping pattern, lateral surface" unit ..... 97
"ICP drilling, C axis" unit ..... 98
"ICP tapping, C axis" unit ..... 99
"ICP boring/countersinking, C axis" unit ..... 100
12
2.6 Units—Predrilling in C axis ..... 101
"Predrill, contour mill, figures on face" unit ..... 101
"Predrill, contour mill, ICP on face" unit ..... 103
"Predrill, pocket mill, figures on face" unit ..... 104
"Predrill, pocket mill, ICP on face" unit ..... 106
"Predrill, contour mill, figures on lateral surface" unit ..... 107
"Predrill, contour mill, ICP on lateral surface" unit ..... 109
"Predrill, pocket mill, figures on lateral surface" unit ..... 110
"Predrill, pocket mill, ICP on lateral surface" unit ..... 112
2.7 Units—Finishing ..... 113
"ICP contour finishing" unit ..... 113
"Longitudinal finishing with direct contour input" unit ..... 115
"Transverse finishing with direct contour input" unit ..... 116
"Relief turns (undercut) type E, F, DIN76" unit ..... 117
"Measuring cut" unit ..... 119
2.8 Units—Threads ..... 120
Overview of thread units ..... 120
Handwheel superimposition ..... 120
"Thread, direct" unit ..... 121
"ICP thread" unit ..... 122
"API thread" unit ..... 124
"Tapered thread" unit ..... 125
2.9 Units—Milling, face ..... 127
"Slot, face" unit ..... 127
"Linear slot pattern, face" unit ..... 128
"Circular slot pattern, face" unit ..... 129
"Face milling" unit ..... 130
"Thread milling" unit ..... 131
"Contour milling, figures, face" unit ..... 132
"ICP contour milling, face" unit ..... 134
"Pocket milling, figures, face" unit ..... 135
"ICP pocket milling, face" unit ..... 137
"Engraving, face" unit ..... 138
"Deburring, face" unit ..... 139
2.10 Units—Milling, lateral surface ..... 140
"Slot, lateral surface" unit ..... 140
"Linear slot pattern, lateral surface" unit ..... 141
"Circular slot pattern, lateral surface" unit ..... 142
"Helical slot milling" unit ..... 143
"Contour milling, figures, lateral surface" unit ..... 144
"ICP contour milling, lateral surface" unit ..... 146
"Pocket milling, figures, lateral surface" unit ..... 147
"ICP pocket milling, lateral surface" unit ..... 149
"Engraving, lateral surface" unit ..... 150
"Deburring, lateral surface" unit ..... 151
HEIDENHAIN MANUALplus 620, CNC PILOT 640 13
2.11 Units—Special operations ..... 152
"Program beginning (START)" unit ..... 152
"C axis ON" unit ..... 154
"C axis OFF" unit ..... 154
"Subprogram call" unit ..... 155
"Program section repeat" unit ..... 156
"Program end" unit ..... 157
14

3 smart.Turn units for the Y axis ..... 159

3.1 Units—Drilling in the Y axis ..... 160
"ICP drilling, Y axis" unit ..... 160
"ICP tapping, Y axis" unit ..... 161
"ICP boring/countersinking, Y axis" unit ..... 162
3.2 Units—Predrilling in Y axis ..... 163
"Predrill, contour mill, ICP in XY plane" unit ..... 163
"Predrill, pocket mill, ICP in XY plane" unit ..... 164
"Predrill, contour mill, ICP in YZ plane" unit ..... 165
"Predrill, pocket mill, ICP in YZ plane" unit ..... 166
3.3 Units—Milling in Y axis ..... 167
"ICP contour milling in XY plane" unit ..... 167
"ICP pocket milling in XY plane" unit ..... 168
"Single-surface milling, XY plane" unit ..... 169
"Centric polygon milling, XY plane" unit ..... 170
"Engraving in XY plane" unit ..... 171
"Deburring in XY plane" unit ..... 172
"Thread milling in XY plane" unit ..... 173
"ICP contour milling in YZ plane" unit ..... 174
"ICP pocket milling in YZ plane" unit ..... 175
"Single-surface milling, YZ plane" unit ..... 176
"Centric polygon milling, YZ plane" unit ..... 177
"Engraving in YZ plane" unit ..... 178
"Deburring in YZ plane" unit ..... 179
"Thread milling in YZ plane" unit ..... 180
HEIDENHAIN MANUALplus 620, CNC PILOT 640 15

4 DIN programming ..... 181

4.1 Programming in DIN/ISO mode ..... 182
Geometry and machining commands ..... 182
Contour programming ..... 183
NC blocks of the DIN program ..... 184
Creating, editing and deleting NC blocks ..... 185
Address parameters ..... 186
Fixed cycles ..... 187
Subprograms, expert programs ..... 188
NC program conversion ..... 188
DIN/ISO programs of predecessor controls ..... 189
"Geometry" pull-down menus ..... 191
"Machining" pull-down menus ..... 191
4.2 Definition of workpiece blank ..... 192
Chuck part bar/tube G20-Geo ..... 192
Cast part G21-Geo ..... 192
4.3 Basic contour elements ..... 193
Starting point of turning contour G0-Geo ..... 193
Machining attributes for form elements ..... 193
Line segment in a contour G1-Geo ..... 194
Circular arc of turning contour G2/G3-Geo ..... 196
Circular arc of turning contour G12/G13-Geo ..... 197
4.4 Contour form elements ..... 198
Recess (standard) G22-Geo ..... 198
Recess (general) G23-Geo ..... 200
Thread with undercut G24-Geo ..... 202
Undercut contour G25-Geo ..... 203
Thread (standard) G34-Geo ..... 207
Thread (general) G37-Geo ..... 208
Bore hole (centric) G49-Geo ..... 210
4.5 Attributes for contour description ..... 211
Feed rate reduction factor G38-Geo ..... 211
Attributes for superimposed elements G39-Geo ..... 212
Separation point G44 ..... 213
Oversize G52-Geo ..... 213
Feed per revolution G95-Geo ..... 214
Additive compensation G149-Geo ..... 214
4.6 C-axis contours—Fundamentals ..... 215
Milling contour position ..... 215
Circular pattern with circular slots ..... 218
16
4.7 Front and rear face contours ..... 221
Starting point of front/rear face contour G100-Geo ..... 221
Line segment in front/rear face contour G101-Geo ..... 222
Circular arc in front/rear face contour G102/G103-Geo ..... 223
Bore hole on front/rear face G300-Geo ..... 224
Linear slot on front/rear face G301-Geo ..... 225
Circular slot on front/rear face G302/G303-Geo ..... 225
Full circle on front/rear face G304-Geo ..... 226
Rectangle on front/rear face G305-Geo ..... 226
Eccentric polygon on front/rear face G307-Geo ..... 227
Linear pattern on front/rear face G401-Geo ..... 228
Circular pattern on front/rear face G402-Geo ..... 229
4.8 Lateral surface contours ..... 230
Starting point of lateral surface contour G110-Geo ..... 230
Line segment in a lateral surface contour G111-Geo ..... 231
Circular arc in lateral surface contour G112-/G113-Geo ..... 232
Hole on lateral surface G310-Geo ..... 233
Linear slot on lateral surface G311-Geo ..... 234
Circular slot on lateral surface G312/G313-Geo ..... 234
Full circle on lateral surface G314-Geo ..... 235
Rectangle on lateral surface G315-Geo ..... 235
Eccentric polygon on lateral surface G317-Geo ..... 236
Linear pattern on lateral surface G411-Geo ..... 237
Circular pattern on lateral surface G412-Geo ..... 238
4.9 Tool positioning ..... 239
Rapid traverse G0 ..... 239
Rapid traverse to machine coordinates G701 ..... 239
Setting the tool change position G14 ..... 240
Definition of tool-change point G140 ..... 240
4.10 Linear and circular movements ..... 241
Linear movement G1 ..... 241
Circular path G2/G3 ..... 242
Circular path G12/G13 ..... 243
4.11 Feed rate, shaft speed ..... 244
Speed limitation G26 ..... 244
Interrupted feed G64 ..... 244
Feed per tooth Gx93 ..... 245
Constant feed rate G94 (feed per minute) ..... 245
Feed per revolution Gx95 ..... 245
Constant surface speed Gx96 ..... 246
Speed Gx97 ..... 246
4.12 Tool-tip and cutter radius compensation ..... 247
G40: Switch off TRC/MCRC ..... 247
G41/G42: Switch on TRC/MCRC ..... 248
HEIDENHAIN MANUALplus 620, CNC PILOT 640 17
4.13 Zero point shifts ..... 249
Zero point shift G51 ..... 250
Additive zero point shift G56 ..... 251
Absolute zero point shift G59 ..... 252
4.14 Oversizes ..... 253
Switch off oversize G50 ..... 253
Axis-parallel oversize G57 ..... 253
Contour-parallel oversize (equidistant) G58 ..... 254
4.15 Safety clearances ..... 255
Safety clearance G47 ..... 255
Safety clearance G147 ..... 255
4.16 Tools, compensations ..... 256
Tool call T ..... 256
Correction of cut (switching the tool edge compensation) G148 ..... 257
Additive compensation G149 ..... 258
Compensation of right-hand tool tip G150
Compensation of left-hand tool tip G151 ..... 259
4.17 Contour-based turning cycles ..... 260
Working with contour-based cycles ..... 260
Longitudinal roughing G810 ..... 262
Face roughing G820 ..... 265
Contour-parallel roughing G830 ..... 268
Contour cycle, bidirectional (contour-parallel with neutral tool) G835 ..... 271
Recessing G860 ..... 273
Repeat recessing cycle G740/G741 ..... 275
Recess turning cycle G869 ..... 276
Recessing cycle G870 ..... 279
Finish contour G890 ..... 280
Measuring cut G809 ..... 283
4.18 Contour definitions in the machining section ..... 284
Cycle end / Simple contour G80 ..... 284
Linear slot on front/rear face G301 ..... 285
Circular slot on front/rear face G302/G303 ..... 285
Full circle on front/rear face G304 ..... 286
Rectangle on front/rear face G305 ..... 286
Eccentric polygon on front/rear face G307 ..... 287
Linear slot on lateral surface G311 ..... 287
Circular slot on lateral surface G312/G313 ..... 288
Full circle, lateral surface G314 ..... 288
Rectangle, lateral surface G315 ..... 289
Eccentric polygon, lateral surface G317 ..... 289
18
4.19 Thread cycles ..... 290
Overview of threading cycles ..... 290
Handwheel superimposition ..... 290
Thread cycle G31 ..... 291
Simple thread cycle G32 ..... 295
Thread single path G33 ..... 297
Metric ISO thread G35 ..... 299
Tapered API thread G352 ..... 300
Metric ISO thread G38 ..... 302
4.20 Parting cycle ..... 303
Cut-off cycle G859 ..... 303
4.21 Undercut cycles ..... 304
Undercut cycle G85 ..... 304
Undercut according to DIN 509 E with cylinder machining G851 ..... 306
Undercut according to DIN 509 F with cylinder machining G852 ..... 307
Undercut according to DIN 76 with cylinder machining G853 ..... 308
Undercut type U G856 ..... 309
Undercut type H G857 ..... 310
Undercut type K G858 ..... 311
4.22 Drilling cycles ..... 312
Overview of drilling and boring cycles and contour reference ..... 312
Drilling cycle G71 ..... 313
Boring, countersinking G72 ..... 315
Tapping G73 ..... 316
Tapping G36—Single path ..... 318
Deep-hole drilling G74 ..... 319
Linear pattern, face G743 ..... 322
Circular pattern, face G745 ..... 323
Linear pattern, lateral surface G744 ..... 324
Circular pattern, lateral surface G746 ..... 325
Thread milling, axial G799 ..... 326
4.23 C-axis commands ..... 327
Reference diameter G120 ..... 327
Zero point shift, C axis G152 ..... 327
Standardize C axis G153 ..... 328
4.24 Front/rear-face machining ..... 329
Rapid traverse on front/rear face G100 ..... 329
Linear segment on front/rear face G101 ..... 330
Circular arc on front/rear face G102/G103 ..... 331
4.25 Lateral surface machining ..... 333
Rapid traverse, lateral surface G110 ..... 333
Line segment on lateral surface G111 ..... 334
Circular arc on lateral surface G112/G113 ..... 335
HEIDENHAIN MANUALplus 620, CNC PILOT 640 19
4.26 Milling cycles ..... 336
Overview of milling cycles ..... 336
Linear slot on face G791 ..... 337
Linear slot on lateral surface G792 ..... 338
Contour and figure milling cycle, face G793 ..... 339
Contour and figure milling cycle, lateral surface G794 ..... 341
Area milling, face G797 ..... 343
Helical-slot milling G798 ..... 345
Contour milling G840 ..... 346
Pocket milling, roughing G845 ..... 356
Pocket milling, finishing G846 ..... 362
4.27 Engraving cycles ..... 364
Character set ..... 364
Engraving on front face G801 ..... 366
Engraving on lateral surface G802 ..... 367
4.28 Contour follow-up ..... 368
Saving/loading contour follow-up G702 ..... 368
Contour follow-up on/off G703 ..... 368
20
4.29 Other G codes ..... 369
Chucking equipment in simulation G65 ..... 369
Workpiece blank contour G67 (for graphics) ..... 369
Period of dwell G4 ..... 369
Precision stop G7 ..... 369
Precision stop off G8 ..... 370
Precision stop G9 ..... 370
Switch off protection zone G60 ..... 370
Actual values in variables G901 ..... 370
Zero-point shift in variables G902 ..... 370
Lag error in variables G903 ..... 370
Read interpolation information G904 ..... 371
Feed rate override 100 % G908 ..... 371
Interpreter stop G909 ..... 371
Spindle override 100 % G919 ..... 371
Deactivate zero-point shifts G920 ..... 372
Deactivate zero-point shifts, tool lengths G921 ..... 372
End position of tool G922 ..... 372
Fluctuating spindle speed G924 ..... 372
Convert lengths G927 ..... 373
Calculate variables automatically G940 ..... 373
Misalignment compensation G976 ..... 375
Activate zero-point shifts G980 ..... 375
Activate zero-point shifts, tool lengths G981 ..... 375
Activate direct program-run continuation G999 ..... 376
Converting and mirroring G30 ..... 376
Transformations of contours G99 ..... 377
Spindle synchronization G720 ..... 378
C-angle offset G905 ..... 379
Traversing to a fixed stop G916 ..... 380
Controlled parting using lag error monitoring G917 ..... 382
Force reduction G925 ..... 383
Sleeve monitoring G930 ..... 384
4.30 Data input and data output ..... 385
"WINDOW"—Output window for variables ..... 385
"WINDOW"—Output file for variables ..... 385
"INPUT"—Input of variables ..... 385
Output of # variables PRINT ..... 386
HEIDENHAIN MANUALplus 620, CNC PILOT 640 21
4.31 Programming variables ..... 387
Variable types ..... 388
Reading tool data ..... 390
Reading the current NC information ..... 392
Reading general NC information ..... 393
Reading configuration data—PARA ..... 394
Determining the index of a parameter element—PARA ..... 395
Expanded variable syntax CONST – VAR ..... 396
4.32 Conditional block run ..... 398
Program branching IF..THEN..ELSE..ENDIF ..... 398
Requesting variables and constants ..... 399
WHILE..ENDWHILE program repeat ..... 400
SWITCH..CASE—program branching ..... 401
4.33 Subroutines ..... 402
Subprogram call: L"xx" V1 ..... 402
Dialog texts in subprogram call ..... 403
Help graphics for subprogram calls ..... 404
4.34 M commands ..... 405
M commands for program-run control ..... 405
Machine commands ..... 406
4.35 G codes from previous controls ..... 407
Contour definitions in the machining section ..... 407
Simple turning cycles ..... 409
Thread cycles (4110) ..... 414
4.36 DINplus program example ..... 416
Example of a subprogram with contour repetitions ..... 416
4.37 Connection between geometry and machining commands ..... 419
Turning ..... 419
C-axis machining—front/rear face ..... 420
C-axis machining—lateral surface ..... 420
4.38 Full-surface machining ..... 421
Fundamentals of full-surface machining ..... 421
Programming of full-surface machining ..... 422
Full-surface machining with opposing spindle ..... 423
Full-surface machining with single spindle ..... 425
22

5 Touch probe cycles ..... 427

5.1 General information on touch probe cycles (software option) ..... 428
Principle of function of touch probe cycles ..... 428
Touch probe cycles for automatic operation ..... 429
5.2 Touch probe cycles for single-point measurement ..... 431
Single-point measurement for tool compensation G770 ..... 431
Single-point measurement for zero point G771 ..... 433
Zero point C axis, single-point measurement G772 ..... 435
Zero point C-axis object center G773 ..... 437
5.3 Touch probe cycles for two-point measurement ..... 439
Two-point measurement G18 transverse G775 ..... 439
Two-point measurement G18 longitudinal G776 ..... 441
Two-point measurement G17 longitudinal G777 ..... 443
Two-point measurement G19 longitudinal G778 ..... 445
5.4 Calibrating touch probes ..... 447
Calibrate touch probe standard G747 ..... 447
Calibrate touch probe via two points G748 ..... 449
5.5 Measuring with touch probe cycles ..... 451
Paraxial probing G764 ..... 451
Probing in C axis G765 ..... 452
Probing in two axes G766 ..... 453
Probing in two axes G768 ..... 454
Probing in two axes G769 ..... 455
5.6 Search cycles ..... 456
Find hole in C face G780 ..... 456
Find hole in C lateral surface G781 ..... 458
Find stud in C face G782 ..... 460
Find stud in C lateral surface G783 ..... 462
5.7 Circular measurement ..... 464
Circular measurement G785 ..... 464
Determine pitch circle G786 ..... 466
5.8 Angular measurement ..... 468
Angular measurement G787 ..... 468
Misalignment compensation after angle measurement G788 ..... 470
5.9 In-process measurement ..... 471
Measure workpieces (option) ..... 471
Switch on measurement G910 ..... 471
Measuring path monitoring G911 ..... 472
Measured value capture G912 ..... 472
End in-process measuring G913 ..... 472
Switch off measuring-path monitoring G914 ..... 472
In-process measurement example: Measuring and compensating workpieces ..... 473
In-process measurement example: Measuring and compensating workpieces (measure_pos_move.ncs) ..... 474
HEIDENHAIN MANUALplus 620, CNC PILOT 640 23

6 DIN programming for the Y axis ..... 475

6.1 Y-axis contours—Fundamentals ..... 476
Position of milling contours ..... 476
Cutting limit ..... 477
6.2 Contours in the XY plane ..... 478
Starting point of contour in XY plane G170 Geo ..... 478
Line segment in XY plane G171 Geo ..... 478
Circular arc in XY plane G172-Geo/G173-Geo ..... 479
Hole in XY plane G370-Geo ..... 480
Linear slot in XY plane, G371-Geo ..... 481
Circular slot in XY plane G372-Geo/G373-Geo ..... 482
Full circle in XY plane G374-Geo ..... 482
Rectangle in XY plane G375-Geo ..... 483
Eccentric polygon in XY plane G377-Geo ..... 483
Linear pattern in XY plane, G471-Geo ..... 484
Circular pattern in XY plane, G472 Geo ..... 485
Single surface in XY plane G376-Geo ..... 486
Centric polygon in XY plane G477-Geo ..... 486
6.3 Contours in the YZ plane ..... 487
Starting point of contour in YZ plane G180-Geo ..... 487
Line segment in YZ plane G181-Geo ..... 487
Circular arc in YZ plane G182-Geo/G183-Geo ..... 488
Hole in YZ plane G380-Geo ..... 489
Linear slot in YZ plane, G381-Geo ..... 489
Circular slot in YZ plane G382-Geo/G383-Geo ..... 490
Full circle in YZ plane G384-Geo ..... 490
Rectangle in YZ plane G385-Geo ..... 491
Eccentric polygon in YZ plane G387-Geo ..... 491
Linear pattern in YZ plane, G481-Geo ..... 492
Circular pattern in YZ plane, G482-Geo ..... 493
Single surface in YZ plane G386-Geo ..... 494
Centric polygon in YZ plane G487-Geo ..... 494
6.4 Working planes ..... 495
Y-axis machining ..... 495
G17 XY plane (front or rear face) ..... 495
G18 XZ plane (turning) ..... 495
G19 YZ plane (lateral view / lateral surface) ..... 495
Tilting the working plane G16 ..... 496
6.5 Tool positioning in the Y axis ..... 497
Rapid traverse G0 ..... 497
Approach tool change point G14 ..... 497
Rapid traverse to machine coordinates G701 ..... 498
24
6.6 Linear and circular movements in the Y axis ..... 499
Milling: Linear movement G1 ..... 499
Milling: Circular movement G2, G3—incremental center coordinates ..... 500
Milling: Circular movement G12, G13—absolute center coordinates ..... 501
6.7 Milling cycles for the Y axis ..... 502
Area milling—roughing G841 ..... 502
Area milling—finishing G842 ..... 503
Centric polygon milling—roughing G843 ..... 504
Centric polygon milling—finishing G844 ..... 505
Pocket milling—roughing G845 (Y axis) ..... 506
Pocket milling—finishing G846 (Y axis) ..... 512
Engraving in XY plane G803 ..... 514
Engraving in the YZ plane G804 ..... 515
Thread milling in XY plane G800 ..... 516
Thread milling in YZ plane G806 ..... 517
Hobbing G808 ..... 518
6.8 Example program ..... 519
Machining with the Y axis ..... 519
HEIDENHAIN MANUALplus 620, CNC PILOT 640 25

7 TURN PLUS ..... 527

7.1 TURN PLUS mode of operation ..... 528
TURN PLUS concept ..... 528
7.2 Automatic working plan generation (AWG) ..... 529
Generating a working plan ..... 530
Machining sequence—Fundamentals ..... 531
Editing and managing machining sequences ..... 533
Overview of machining sequences ..... 534
7.3 AWG control graphic ..... 544
Setting the AWG control graphic ..... 544
7.4 Machining information ..... 545
Tool selection, turret assignment ..... 545
Contour recessing, recess turning ..... 546
Drilling ..... 546
Cutting data, coolant ..... 547
Inside contours ..... 547
Shaft machining ..... 550
7.5 Example ..... 552
Creating a program ..... 552
Defining the workpiece blank ..... 552
Defining the basic contour ..... 553
Defining form elements ..... 553
Preparing the machining process, chucking ..... 554
Generating and saving a working plan ..... 555
7.6 Full-surface machining with TURN PLUS ..... 556
Rechucking the workpiece ..... 556
Defining the chucking equipment for full-surface machining ..... 557
Automatic program creation for full-surface machining ..... 558
Rechucking the workpiece in the main spindle ..... 558
Transferring the workpiece from the main spindle to the opposing spindle ..... 559
Parting and picking-off the workpiece with the opposing spindle ..... 559
26

8 B axis ..... 561

8.1 Fundamentals ..... 562
Tilted working plane ..... 562
8.2 Compensation with the B axis ..... 565
Compensation during program run ..... 565
8.3 Simulation ..... 566
Simulation of the tilted plane ..... 566
Displaying the coordinate system ..... 566
Position display with the B and Y axes ..... 567
HEIDENHAIN MANUALplus 620, CNC PILOT 640 27

9 Overview of units ..... 569

9.1 Units—"Turning" group ..... 570
"Roughing" group ..... 570
"Finishing" group ..... 570
"Recessing" group ..... 571
"Thread" group ..... 571
9.2 Units—"Drilling" group ..... 572
"Centric drilling" group ..... 572
"ICP drilling, C axis" group ..... 572
"C-axis face drilling" group ..... 572
"C-axis lateral surface drilling" group ..... 573
9.3 Units—"Predrilling in C axis" group ..... 574
"Predrilling in C-axis, face" group ..... 574
"Predrilling in C-axis, lateral surface" group ..... 574
9.4 Units—"Milling in C axis" group ..... 575
"Milling in C-axis, face" group ..... 575
"ICP milling in C axis, face" group ..... 575
"C-axis lateral surface milling" group ..... 576
"ICP milling in C axis, lateral surface" group ..... 576
9.5 Units—"Drilling, predrilling in Y axis" group ..... 577
"ICP drilling, Y axis" group ..... 577
"Predrilling in Y axis" group ..... 577
9.6 Units—"Milling in Y axis" group ..... 578
"Milling in front face" group (XY plane) ..... 578
"Milling in lateral surface" group (YZ plane) ..... 579
9.7 Units—"Special units" group ..... 580
28

10 Overview of G codes ..... 581

10.1 Section codes ..... 582
10.2 Overview of G commands in the CONTOUR section ..... 583
G commands for turning contours ..... 583
G commands for C-axis contours ..... 584
G commands for Y-axis contours ..... 584
10.3 Overview of G commands in the MACHINING section ..... 585
G commands for turning ..... 585
Cycles for turning ..... 586
C-axis machining ..... 587
Y-axis machining ..... 588
Variable programming, program branches ..... 588
Other G codes ..... 589
HEIDENHAIN MANUALplus 620, CNC PILOT 640 29
30

NC programming

HEIDENHAIN MANUALplus 620, CNC PILOT 640 31
1.1 smart.Turn and DIN (ISO) programming
The control supports the following types of NC programming:
Conventional DIN/ISO programming: You program the basic
contour with line segments, circular arcs and simple turning cycles. Use the smart.Turn editor in ISO mode.
"DIN PLUS" (ISO) programming: The geometrical description of
the workpiece and the machining process are separated. You first program the geometry of the blank and finished part. Then you machine the workpiece, using contour-related turning cycles. Use the smart.Turn editor in ISO mode.
smart.Turn programming: The geometrical description of the
workpiece and the machining process are separated. You program the geometry of the blank and finished part, and you program the machining blocks as units. Use the smart.Turn editor in unit mode.
Depending on the type and complexity of your machining task, you can use either simple DIN/ISO programming, "DIN PLUS" (ISO) programming or smart.Turn programming. All three named programming modes can be combined in one NC program.
In DIN PLUS and smart.Turn programming, contours can be described with ICP interactive graphics. ICP saves the contour descriptions as G codes in the NC program.
Parallel operation: While you are editing and testing programs, your machine can run another NC program.

Contour follow-up

1.1 smart.Turn and DIN (ISO) programming

The control uses the contour follow-up function in DIN PLUS and smart.Turn programs. The control takes the blank part as a basis and accounts for each cut and each cycle when regenerating the contour. Thus you can inspect the current contour of the workpiece during each machining stage. With the "contour follow-up" function, the control optimizes the paths for approach and departure and avoids air cuts.
Contour regeneration is only available for turning operations when a blank part has been programmed. It also works with auxiliary contours.
32 NC programming

Structured NC program

smart.Turn and DIN PLUS programs are structured in fixed sections. The following program sections are created automatically in a new NC program:
Program head: Contains information on the material of the
workpiece, the unit of measure as well as further organizational data and setup information as a comment.
Chucking equipment: Description of the workpiece clamping
situation.
Blank: The workpiece blank is stored. Programming a blank
activates the contour follow-up.
Finished part: The finished part is stored. It is advisable to describe
the complete workpiece as a finished part. The units or fixed cycles use NS and NE to indicate the workpiece section to be machined.
Machining: Use units or cycles to program the individual machining
steps. In a smart.Turn program, the START unit is located at the beginning of the machining process, and the END unit at the end.
End: Indicates the end of the NC program.
If required, for example for machining with the C axis or when programming with variables, you add further program sections.
Use ICP (Interactive Contour Programming) for describing blank and finished parts.
Example: "Structured smart.Turn program"
HEADER #UNIT METRIC #MATERIAL Steel #MACHINE Automatic lathe #DRAWING 356_787.9 #CLAMP. PRESS. 20 #COMPANY Turn & Co
TURRET T1 ID"038_111_01" T2 ID"006_151_A"
CHUCKING EQUIPMENT 1 H0 D0 Z200 B20 O-100 X120 K12 Q4
BLANK N1 G20 X120 Z120 K2
FINISHED PART N2 G0 X0 Z0 N3 G1 X20 BR3 N4 G1 Z-24 . . . MACHINING N50 UNIT ID"START" [Program beginning] N52 G26 S4000 N53 G59 Z320 N54 G14 Q0 N25 END_OF_UNIT . . . [Machining commands] . . . N9900 UNIT ID"END" [End of program] N9902 M30 N9903 END_OF_UNIT END
1.1 smart.Turn and DIN (ISO) programming
HEIDENHAIN MANUALplus 620, CNC PILOT 640 33

Linear and rotary axes

Principal axes: Coordinates of the X, Y and Z axes refer to the
workpiece datum.
C axis as reference axis:
Angle data are with given respect to the zero point of the C axis.C-axis contours and C-axis operations:
Positions on the front/rear face are entered in Cartesian
coordinates (XK, YK), or polar coordinates (X, C)
Positions on the lateral surface are entered in polar coordinates (Z,
C). Instead of C, the linear value CY is used ("unrolled" reference diameter).
The smart.Turn editor respects only address letters of
the configured axes.

Units of measure

You write NC programs in metric or inch values. The unit of measure is defined in the "Unit" box (See "HEADER section" on page 45.).
Once the unit of measure has been defined, it cannot be edited any longer.
1.1 smart.Turn and DIN (ISO) programming
34 NC programming

Elements of an NC program

An NC program consists of the following elements:
Program nameProgram section codesUnitsNC blocksCommands for program structuringComment blocks
The program name begins with "%" followed by up to 40 characters (numbers, uppercase letters or underscore; no diacritical marks) and the extension "nc" for main programs or "ncs" for subprograms. The first character must be a number or a letter.
Program section codes: When you create a new NC program, certain program section codes are already entered. You can add new codes or delete existing ones, depending on your program requirements. An NC program must contain at least the MACHINING and END section codes.
The unit begins with this keyword followed by the identification of the unit (ID"G..."). The following lines contain the G, M and T functions of this machining block. The unit ends with END_OF_UNIT followed by a check digit.
NC blocks begin with an N followed by a block number (with up to five digits). The block numbers do not affect the sequence in which the program blocks are executed. They are only intended for identifying the individual NC blocks.
The NC blocks of the HEADER and TURRET sections are not included in the block number organization of the editor.
Program branches, program repeats and subprograms can be used to structure the program (example: machining the front/back of a bar, etc.).
Input and output: With "input" you can influence the flow of the NC program. Using "output," you can communicate with the machinist. Example: The machinist is required to check measuring points and update compensation values.
Comments are enclosed in brackets "[...]." They are located at the end of an NC block or in a separate NC block. Press the key combination CTRL+K to convert an existing block into a comment (and vice versa).
You can also enclose more than one program line in square brackets to mark them as a comment. To do this, enter a comment containing the character "[" and conclude the section by entering another comment containing the character "]".
1.1 smart.Turn and DIN (ISO) programming
HEIDENHAIN MANUALplus 620, CNC PILOT 640 35
1.2 The smart.Turn editor

Menu structure

You can select the following editor modes in the smart.Turn editor:
Unit programming (standard)DIN/ISO mode (DIN PLUS and DIN 66025)
The menu structure of the smart.Turn editor is shown in the illustration at right. Many menu items are used in both modes. The menus differ in the area of geometry and part programming. In DIN/ISO mode the menu items "Geo(metry)" and "Mach(ining)" are displayed instead of the menu items "ICP" and "Units" (see illustrations at lower right). You can switch between the editor modes by soft key.
Switches between the Unit mode and DIN/ISO mode

1.2 The smart.Turn editor

For special cases you can change to the text-editor mode in order to edit character-by-character without syntax checking. The setting is made in the Configuration / Input mode menu item.
For a description of the functions, please refer to the following chapters:
Shared menu items: See "Menu structure" on page 36.ICP functions: Chapter 5 in the User's ManualUnits for turning and C-axis machining: See "smart.Turn units" on
page 55.
Units for Y-axis machining: See "smart.Turn units for the Y axis" on
page 159.
G codes for turning and C-axis machining (geometry and machining):
See "DIN programming" on page 181.
G codes for Y-axis machining (geometry and machining): See "DIN
programming for the Y axis" on page 475.
36 NC programming

Parallel editing

3
2
1
4
5
6
Up to 6 NC programs can be opened simultaneously in the smart.Turn editor. The editor shows the names of the open programs in the tab bar. If you have changed the NC program, the editor displays the name in red.
You can program in the smart.Turn editor while the machine is running a program in the automatic mode.
The smart.Turn editor saves all open programs with
every mode change.
The program running in the automatic mode cannot be
edited.

Screen layout

1 Menu bar 2 NC program bar with the name of the loaded NC programs. The
selected program is marked.
3 Program window 4 Contour display or large program window 5 Soft keys 6 Status bar

Selecting the editor functions

The functions of the smart.Turn editor are contained in the main menu and various submenus.
The submenus can be called by:
selecting the desired menu itempositioning the cursor in the respective program section
You can access the higher-level menu:
by pressing the ESC key
by using the menu item
Soft keys: Soft keys are available for fast switching to "neighboring operating modes," for changing the editing window and for activating the graphics.
1.2 The smart.Turn editor
Soft keys with active program window
Starts the current program in the simulation.
Opens the contour, in which the cursor is located, in ICP.
Activates the zoom function in the contour display.
Switches between the Unit mode and DIN/ISO mode.
Activates the contour display and starts redrawing the contour.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 37

Shared menu items

The menu items described below are used both in smart.Turn mode and in DIN/ISO mode.
"Program management" pull-down menu
The "Prog" pull-down menu (program management) contains the following functions for NC main and subprograms:
Open: Load existing programsNew: Create new programsClose: The selected program is closedClose All: All open programs are closedSave: The selected program is savedSave As: The selected program is saved under a new nameDirect opening of the last four programs
1.2 The smart.Turn editor
When an NC program is opened or when a new NC program is created, the soft-key row is switched to the sorting and organization
functions. See "Sorting, file organization" on page 43..
"Head" pull-down menu (program head)
The "Head" pull-down menu (program head) contains functions for editing the program head and the tool list.
Program head: Edit the program headGo to chucking equipment: Positions the cursor in the "chucking
equipment" section
Insert chucking equipment: Describe how the workpiece is
clamped
Go to tool list: Positions the cursor in the TURRET sectionSet up the tool list: Activates the "Set up tool list" function (see
page 51)
"ICP" pull-down menu
The "ICP" pull-down menu (Interactive Contour Programming) contains the following functions:
Contour editing: Change the current contour (cursor position)Workpiece blank: Edit the description of the workpiece blankFinished part: Edit the description of the finished partNew auxiliary blank: Create a new auxiliary workpiece blankNew aux. contour: Create a new auxiliary contourC axis ...: Create patterns and milling contours on the front face and
lateral surface
Y axis ...: Create patterns and milling contours in the XY and YZ
planes
38 NC programming
"Goto" pull-down menu
The "Goto" pull-down menu contains the following jump and search functions:
Jump targets—The editor positions the cursor to the selected jump
target:
To beginningTo tool tableTo finished partTo machiningTo end
Search functions
Find block number: You specify a certain block number. The
editor jumps to this block number if it exists.
Find unit: The editor opens the list of units available in the
program. Select the desired unit.
Find NC word: The editor opens the dialog for entering the
desired NC word. You can use the soft keys to search forward or backward.
Search for contour: The editor opens the list of contours
available in the program. Select the desired contour.
"Configuration" pull-down menu
The "Config" pull-down menu (Configuration) contains the following functions:
Input mode ...: Define the input mode
... NC editor (word-by-word): The editor works in the NC mode
(word by word)
... Text editor (character): The editor works character by
character (no syntax checking)
Settings ...
... Save: The editor memorizes the open NC programs and the
respective cursor positions.
... Load last saved setting: Restores the last saved condition of
the editor.
Technology data: Starts the technology editor
1.2 The smart.Turn editor
HEIDENHAIN MANUALplus 620, CNC PILOT 640 39
"Miscellaneous" pull-down menu
The "Misc" pull-down menu (Miscellaneous) contains the following functions:
Insert block ...
... W/o block no.: The editor inserts an empty line at the cursor
position (without block number).
... With block no.: The editor inserts an empty line at the cursor
position (with block number). Alternative: When you press the INS key, the editor inserts a block with block number.
... Comment at line end: The editor inserts a comment at the end
of the line in which the cursor is located.
Edit word: You can edit the NC word at which the cursor is located.Delete word: The editor deletes the NC parameter at the cursor
position.
Dissolve unit: Position the cursor to the first line of a unit before
selecting this menu item. The editor cancels the brackets around
1.2 The smart.Turn editor
the unit. The unit dialog can no longer be used for this machining block, but you can edit the machining block as desired.
Block numbering: The block numbering settings are the starting
block number and the block-number increment. The first NC block receives the starting block number and the block-number increment is added for each further NC block. The settings for starting block number and block number increment are tied with the NC program.
40 NC programming
"Extras" pull-down menu The "Extras" pull-down menu contains the following functions:
DIN PLUS word: The editor opens the selection list with all DIN
PLUS words in alphabetical order. Select the desired instruction for program structuring or the input/output command. The editor inserts the DIN PLUS word at the cursor position.
Comment line: The comment is inserted above the position of the
cursor.
Constant definition: The expression is inserted above the position
of the cursor. If the DIN PLUS word "CONST" is not present yet, it is also inserted.
Assignment of variables: Inserts a variable instruction.L call external (the subprogram is in a separate file): The editor
opens the file selection window for subprograms. Select the subprogram and fill out the subprogram dialog. The control searches for subprograms in the sequence: current project, standard directory and then machine manufacturer directory.
L call internal (the subprogram is contained in the main program):
The editor opens the subprogram dialog.
Block functions. This pull-down menu contains functions for
marking, copying and deleting sections.
Marking On/Off: Activates/Deactivates the marking mode during
cursor movement.
Cancel marking: After calling the menu item, no part of the
program is marked.
Cut: Deletes the marked part of the program and copies it to the
clipboard.
Copy: Copies the marked part of the program into the clipboard.Insert: Inserts the contents of the clipboard at the cursor position.
Any parts of the program that are marked are replaced by the contents of the clipboard.
1.2 The smart.Turn editor
HEIDENHAIN MANUALplus 620, CNC PILOT 640 41
"Graphics" pull-down menu
The "Graph." pull-down menu contains the following functions (see figure at right):
Graphic On: Activates the graphic window or updates the displayed
contour. As an alternative, you can use the soft key (see table at right).
Graphic Off: Closes the graphic window.Graphic for Automatic: The graphic window is activated when the
cursor is located in the contour description.
Window: Sets the graphic window. During editing, the control
displays programmed contours in up to four graphic windows. Set the desired windows.
Magnifier on: Activates the zoom function. As an alternative, you
can use the soft key (see table at right).
The graphic window:
1.2 The smart.Turn editor
Colors in contour graphics:
White: workpiece blank and auxiliary blankYellow: finished partBlue: auxiliary contoursRed: contour element at the current cursor position. The arrow
point indicates the direction of machining.
When programming fixed cycles, you can use the displayed contour
for establishing block references.
Using the zoom functions, you can magnify, reduce or shift details.
Soft keys with active program window
Activates the contour display and starts redrawing the contour.
Opens the soft-key menu for the zoom functions and displays the zoom frame.
Additions/changes to the contour will not be considered
until the GRAPHICS soft key is pressed again.
Unambiguous NC block numbers are a prerequisite for
the contour display!
42 NC programming
Sorting, file organization
When an NC program is opened or when a new NC program is created, the soft-key row is switched to the sorting and organization functions. Use the soft keys to select the order in which the programs are to be displayed, or use the functions for copying, deleting, etc.
Soft keys file manager
Deletes the selected program after confirmation prompt
Makes it possible to change the program name
Copies the selected program
Switches the write protection attribute on or off for the selected program
Activates the alphabetic keyboard
Soft keys for sorting
Displays the file attributes: size, date, time
Sorts by file name
Sorts by file size
Sorts by creation date or change date
Reverses the sorting direction
Opens the selected program
1.2 The smart.Turn editor
HEIDENHAIN MANUALplus 620, CNC PILOT 640 43
1.3 Program section code
A new NC program is already provided with section codes. You can add new codes or delete existing ones, depending on your program requirements. An NC program must contain at least the MACHINING and END section codes.
Further program section codes are available in the "Insert DIN PLUS word" selection list ("Extras > DIN PLUS word" menu item). The control enters the program section code at the correct position or at the current position.
German program section codes are used when German is set as the conversational language. All other languages use English program section codes.
Overview of program section codes

1.3 Program section code

German English
Program head
PROGRAMMKOPF HEADER Page 45
SPANNMITTEL CHUCKING EQUIPMENT
(CLAMPS)
REVOLVER TURRET Page 46
Page 46
Example: Program section codes
. . . [Sections of the contour description] BLANK N1 G20 X100 Z220 K1
Contour definition
ROHTEIL BLANK Page 47
FERTIGTEIL FINISHED Page 47
HILFSKONTUR AUXIL_CONTOUR Page 47
HILFSROHTEIL AUXIL_BLANK Page 47
C-axis contours
STIRN FACE_C Page 47
RUECKSEITE REAR_C Page 47
MANTEL LATERAL_C Page 47
Y-axis contours
STIRN_Y FACE_Y Page 47
RUECKSEITE_Y REAR_Y Page 47
MANTEL_Y LATERAL_Y Page 48
Workpiece machining
BEARBEITUNG MACHINING Page 49
ENDE END Page 49
FINISHED PART N2 G0 X60 Z0 N3 G1 Z-70 . . . FRONT Z-25 N31 G308 ID"01" P-10 N32 G402 Q5 K110 A0 Wi72 V2 XK0 YK0 N33 G300 B5 P10 W118 A0 N34 G309
FRONT Z0 N35 G308 ID"02" P-6 N36 G307 XK0 YK0 Q6 A0 K34.641 N37 G309 . . .
44 NC programming
Overview of program section codes
German English
Subprograms
UNTERPROGRAMM SUBPROGRAM Page 49
RETURN RETURN Page 49
Others
CONST CONST Page 50
VAR VAR Page 50
For more than one independent contour definition for drilling/milling, use the program section codes (FRONT, SURFACE, etc.) each time.

HEADER section

Instructions and information in the program head (HEADER):
Unit:
Select dimensional system in millimeters or inchesNo entry: The unit set in the user parameter is used.
The other fields contain organizational information and set-up
information, which do not influence the machining process.
Information contained in the program head is preceded by "#" in the NC program.
1.3 Program section code
You can only select a unit when creating a new NC program. It is not possible to post-edit this entry.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 45

CHUCKING EQUIPMENT section

In the CHUCKING EQUIPMENT program section you describe how the workpiece is clamped. This makes it possible to display the chucking equipment during simulation. In TURN PLUS the chucking equipment information is used to calculate the zero points and cutting limits during automatic program generation.
Parameters
H Chuck number D Spindle number for AWG RClamp type
0: Parameter J defines the free length 1: Parameter J defines the clamping length
Z Position of the chuck edge B Chuck jaw reference J Clamping length or free length of the workpiece (depending
1.3 Program section code
O Cutting limit for outside machining I Cutting limit for inside machining K Overlap jaw/workpiece (pay attention to sign) X Clamping diameter of workpiece blank Q Chuck form
V Shaft machining AWG
on the clamp type R)
4: Outside chucking5: Inside chucking
0: Chuck: Automatic separation points at largest and
smallest diameter
1: Shaft/chuck: Machining also starting from the chuck2: Shaft/face driver: Outside contour can be machined
completely
If you do not define the parameters Z and B, TURN PLUS will use the following process parameters during AWG (automatic working plan generation):
Front chuck edge on spindle / counterspindleJaw width on spindle / counterspindle

TURRET section

The TURRET program section defines the assignment of the tool carrier. For every assigned turret pocket, the tool ID number is entered. For multipoint tools, every cutting edge is entered in the turret list.
If you do not program the TURRET, the tools entered
in the tool list of the Machine operating mode will be used.
46 NC programming
Example: Turret table
. . . TURRET T1 ID"342-300.1" T2 ID"C44003" . . .

BLANK section

In this program section, you describe the contour of the workpiece blank.

AUXIL_BLANK section

In the AUXIL_ BLANK section, you define additional workpiece blanks, which can be activated with G702 when required.

FINISHED section

In this program section, you describe the contour of the finished part. After the FINISHED section you use additional section codes such as FACE, LATERAL, etc.

AUXIL_CONTOUR section

In this program section, you describe the auxiliary turning contours.

FACE, REAR sections

In this program section you describe the front and rear side contours to be machined with the C axis. The program section defines the position of the contour in Z direction.
Parameter
Z Position of the front/rear-face contour

LATERAL section

In this program section you describe the lateral surface contours to be machined with the C axis. The program section defines the position of the contour in X direction.
Parameter
X Reference diameter of lateral-surface contours.

FRONT_Y, REAR_Y sections

For lathes with Y axis, these program section codes define the XY plane (G17) and the position of the contour in Z direction. The spindle angle (C) defines the spindle position.
Parameter
X Area diameter (as cutting limit) Z Position of the reference plane—default: 0 C Spindle angle—default: 0
1.3 Program section code
HEIDENHAIN MANUALplus 620, CNC PILOT 640 47

LATERAL_Y section

X
H=0
B, I, K
K
I
Z
B
H=1
I
Z
B
X
Z
B
X
The section code identifies the YZ plane (G19). For machines equipped with a B axis, it defines the tilted plane.
Without tilted plane: The reference diameter defines the contour position in the X direction; the C axis angle defines the position on the workpiece.
Parameter
X Reference diameter C C axis angle—Defines the spindle position
With tilted plane (see figures): SURFACE_Y additionally performs the following transformations and rotations for the tilted plane:
Shifts the coordinate system to the position I, KRotates the coordinate system by the angle B; reference point: I, K
1.3 Program section code
H=0: Shifts the rotated coordinate system by –I. The coordinate
system is moved "back."
Parameter
X Reference diameter C C axis angle—Defines the spindle position B Plane angle: Positive Z axis I Plane reference in X direction (radius) K Plane reference in Z direction H Automatic shift of the coordinate system (default: 0)
0: The rotated coordinate system is shifted by –I1: The coordinate system is not shifted
Shifting "back" coordinate system: The control evaluates the reference diameter for the cutting limit. This value is also used as the reference value for the depth that you program for drilling operations and milling contours.
Since the reference diameter is referenced to the current zero point, it is recommended when working in a tilted plane, to shift the rotated coordinate system "back" by the distance –I. If the cutting limits are not needed, for example for drilling holes, you can disable the shift of the coordinate system (H=1) and set the reference diameter to 0.
Please note:
X is the infeed axis in a tilted coordinate system. X
coordinates are entered as diameter coordinates.
Mirroring the coordinate system has no effect on the
reference axis of the tilt angle ("B axis angle" of the tool call).
48 NC programming
Example: "SURFACE_Y"
HEADER ... CONTOUR Q1 X0 Z600 BLANK ... FINISHED PART ... SURFACE_Y X118 C0 B130 I59 K0 ... MACHINING ...

MACHINING section

In the MACHINING program section you program the machining operations. This code must be included.

END code

The END code concludes the NC program. This code must be included.

SUBPROGRAM section

If you define a subprogram within your NC program (within the same file), it is designated with SUBPROGRAM, followed by the name of the subprogram (max. 40 characters).

RETURN code

The RETURN code concludes the subprogram.
1.3 Program section code
HEIDENHAIN MANUALplus 620, CNC PILOT 640 49

CONST code

In the CONST section of the program you define constants. You use constants for the definition of a value.
You enter the value directly or you calculate it. If you use constants in the calculation you must first define them.
The length of the constant name must not exceed 20 characters. Lower case letters and numbers are allowed. Constants always begin with an underscore: See "Expanded variable syntax CONST – VAR" on page 396.
1.3 Program section code

VAR code

In the VAR program section, you assign names (descriptive text) to variables: See "Expanded variable syntax CONST – VAR" on page 396..
The length of the variable name must not exceed 20 characters. Lower case letters and numbers are allowed. Variables always begin with "#".
Example: CONST
CONST _nvr = 0 _sd=PARA("","CfgGlobalTechPara","safetyDis
tWorkpOut") _nws = _sd-_nvr . . . BLANK N 1 G20 X120 Z_nws K2 . . . MACHINING N 6 G0 X100+_sd . . .
Example: VAR
VAR #_inside_dm = #l2 #_length = #g3 . . . BLANK N 1 #_length=120 N 2 #_inside_dm=25 N 3 G20 X120 Z#_length+2 K2 I#_inside_dm . . . MACHINING . . .
50 NC programming
1.4 Tool programming
The designations of the tool pockets are fixed by the machine tool builder. Each tool holder has a unique T number.
In the T command (MACHINING section) you program the T number, and therefore the position to which the tool carrier rotates. The control retrieves the assignment of the tools to the turret position from the turret list of the TURRET section.
You can edit the tool entries individually, or you can call the tool list via the Set up the turret list menu item and then edit it.

Setting up a tool list

In the "Set up the turret list" function, the control provides the turret assignment as a tool list for editing.
You have the following options:
Editing the turret assignment: Transfer tools from the database,
delete entries or move them to other positions (for soft keys see table).
Loading the turret list of the Machine mode of operation.Deleting the current turret assignment of the NC program.
Loading the turret list of the Machine mode of operation:
Select "Head > Set up the turret list".
Switch to "Special functions."
Load the tool list of the Machine mode of operation
into the NC program.
Deleting a tool list:
Select "Head > Set up the turret list".
Switch to "Special functions."
Delete all entries of the turret list.

1.4 Tool programming

Soft keys in turret list
Delete entry
Paste entry from clipboard
Cut out entry and save it in the clipboard
Show entries in the tool database
Save the turret assignment
Close the tool list. You decide whether the changes made remain in effect
The input window of the selected tool is opened for editing
HEIDENHAIN MANUALplus 620, CNC PILOT 640 51

Editing tool entries

For each entry of the TURRET section you call the Tool dialog box, enter the identification number or use the identification number from the tool database.
New tool entry
Position the cursor and press the INS (insert) key. The editor opens the Tool dialog box.
Enter the identification number of the tool.
1.4 Tool programming
Place the cursor on the tool to be loaded.
Editing the tool data
Position the cursor on the entry to be edited and press RETURN.
Edit the Tool dialog box.
Open the tool database.
Transfer the identification number of the tool.

Multipoint tools

A multipoint tool is a tool with multiple reference points or multiple cutting edges. During T call, the T number is followed by an S to identify the cutting edge.
T number.S (S=0 to 9) S=0 identifies the main cutting edge, which does not need to be
programmed.
Examples:
T3 or T3.0: Tilted position 3; main cutting edgeT12.2: Tilted position 12; cutting edge 2
Parameters of the "Tool" dialog box
T number Position on tool carrier
ID number ID number (reference to
database)
Replacement tool Identification number of the
Replacement strategy
tool to be used when the previous tool is worn out.
0: Complete tool1: Secondary cutting edge or
any
52 NC programming

Replacement tools

During "simple" tool life monitoring the MANUALplus stops program run when a tool is worn out. However, the program run is then resumed and concluded.
If you use the tool life monitoring with replacement tools function, the control automatically inserts the "sister tool" as soon as the tool is worn out. The control does not stop the program run until the last tool of the tool sequence of exchange is worn out.
You can define replacement tools when setting up the turret. The "interchange chain" can contain more than one replacement tool. The interchange chain is a part of the NC program.
In the T commands, you program the first tool to be changed.
Defining replacement tools
Place the cursor on the previous tool and press RETURN.
Enter the identification number of the replacement tool (Tool dialog box) and define the replacement strategy.
When using multipoint tools, you define in the replacement strategy whether the complete multipoint tool or only the worn-out cutting edge of the tool is to be replaced by a replacement tool:
0: Complete tool (default): If a cutting edge of the multipoint tool is
worn out, the tool will no longer be used.
1: Secondary cutting edge or any: Only the worn-out cutting edge of
the multipoint tool is replaced by another tool or another cutting edge. Any other cutting edges of the multipoint tool that are not worn out will continue to be used.
1.4 Tool programming
HEIDENHAIN MANUALplus 620, CNC PILOT 640 53
1.4 Tool programming
54 NC programming

smart.Turn units

2.1 smart.Turn units

"Units" menu

The "Units" menu contains the unit calls grouped by the type of machining operation: Select the Units menu to call the following pull­down menus:
RoughingRecessingDrilling and predrilling (C axis and Y axis)FinishingThread

2.1 smart.Turn units

Milling (C axis and Y axis)Special operations

The smart.Turn unit

A unit describes a complete working block. This means that the unit includes the tool call, the technology data, the cycle call, the approach and departure strategies as well as global data, such as safety clearance, etc. All of these parameters are collected in one, clearly structured dialog box.
Unit forms
The unit dialog is divided into fillable forms and the forms are divided again into groups. You can navigate between the forms and groups with the smart keys.
Forms in unit dialogs
Overview Overview form with all necessary settings.
Tool Tool form with tool selection, technological settings and
Contour Description or selection of the contour to be machined
Cycle Description of the machining operation
Global View and settings of globally set values
AppDep Definition of approach and departure behavior
ToolExt Extended tool settings
56 smart.Turn units
M functions.
The Overview form
The overview form summarizes the most important settings of the unit. These parameters are repeated in the other forms.
The Tool form
You program the technological information in this form.
Tool form Tool
T Tool number (number of turret pocket). TID The identification number (tool name) is entered
automatically.
F Feed rate: Feed rate in revolutions for machining (mm/rev).
The tool is moved at the programmed value for each spindle revolution.
S (Constant) cutting speed (m/min) or constant shaft speed
(rev/min). Switchable with Type of turning GS.
Spindle
GS Type of turning
G96: Constant surface speed The rotational speed
changes with the turning diameter.
G97: Constant shaft speed. Rotational speed is
independent of the turning diameter.
MD Direction of rotation
M03: Clockwise (CW)M04: Counterclockwise (CCW)
SPI Workpiece spindle number (0 to 3). Spindle that is holding
the workpiece (only on machines with more than one spindle).
SPT Tool spindle number (0 to 3). Spindle of the driven tool.
M functions
MT M after T: M function that is executed after the tool call T. MFS M at beginning: M function that is executed at the beginning
of the machining step.
MFE M at end: M function that is executed at the end of the
machining step.
2.1 smart.Turn units
Soft keys in the tool form
Selects the tool number
Loads the feed rate, cutting speed and infeed from the technology database.
A machining operation is assigned to each unit for access to the technology database. The following description shows the assigned machining mode and the unit parameters that were changed by the technology proposal.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 57
The Contour form
In the contour form you define the contours to be machined. A difference is made between the direct contour definition (G80) and the reference to an external contour definition (FINISHED part or AUXIL_CONTOUR sections).
ICP contour definition parameters
FK Auxiliary contour: Name of the contour to be machined.
You can select an existing contour or describe a new contour
with ICP. NS Contour start block number: Beginning of contour section. NE Contour end block number: End of contour section.
NE not programmed: The contour element NS is machined
2.1 smart.Turn units
V Machine form elements (default: 0).
XA, ZA Starting point of blank (only effective if no blank was
BP Break duration: Time span for interruption of the feed. The
BF Feed duration: Time interval until the next break. The chip is
in the direction of contour definition.
NS=NE programmed: The contour element NS is
machined opposite to the direction of contour definition.
A chamfer/rounding arc is machined:
0: At start and end of the contour
1: At start of the contour
2: At end of the contour
3: No machining
4: Only chamfer/rounding is machined—not the base
element. (requirement: the contour section consists of a single element)
programmed):
XA, ZA not programmed: The workpiece blank contour is
calculated from the tool position and the ICP contour.
XA, ZA programmed: Definition of the corner point of the
workpiece blank.
chip is broken by the (intermittent) interruption of the feed.
broken by the (intermittent) interruption of the feed.
The listed soft keys are only selectable if the input cursor is in the FK field, or on NS or NE.
Soft keys in the ICP contour form
Opens the selection list of the contours defined in the program.
Shows all contours in the graphics window. Use the arrow keys for selection.
Starts the ICP editor. First, enter the desired contour name in FK.
Starts the ICP editor with the currently selected contour.
Opens the graphics window for selection of a part of a contour for NS and NE.
58 smart.Turn units
Direct contour definition parameters for turning operations
EC Type of contour
0: Normal contour1: Plunging contour
X1, Z1 Contour starting point X2, Z2 Contour end point RC Rounding: Radius of contour corner AC Start angle: Angle of the first contour element
(range: 0° < 90°)
WC End angle: Angle of the last contour element
(range: 0° < 90°)
BS –Chamfer/+radius at start:
BS>0: Radius of rounding arcBS<0: Section length of chamfer
BE –Chamfer/+radius at end:
BE>0: Radius of rounding arcBS<0: Section length of chamfer
BP Break duration: Time span for interruption of the feed. The
chip is broken by the (intermittent) interruption of the feed.
BF Feed duration: Time interval until the next break. The chip is
broken by the (intermittent) interruption of the feed.
2.1 smart.Turn units
Direct contour definition parameters for recessing operations
X1, Z1 Contour starting point X2, Z2 Contour end point RC Rounding: Radii in the recess base AC Start angle: Angle of the first contour element
(range: 0° < 90°)
WC End angle: Angle of the last contour element
BS –Chamfer/+radius at start:
BE –Chamfer/+radius at end:
HEIDENHAIN MANUALplus 620, CNC PILOT 640 59
(range: 0° < 90°)
BS>0: Radius of rounding arcBS<0: Section length of chamfer
BE>0: Radius of rounding arcBS<0: Section length of chamfer
The Global form
This form contains parameters that were defined as default values in the start unit. You can edit these parameters in the machining units.
Parameters on the Global form
G14 Tool change point
No axis
0: Simultaneously
1: First X, then Z
2: First Z, then X
3: Only X
4: Only Z
2.1 smart.Turn units
CLT Coolant
G47 Safety clearance: Indicates the distance to the current blank
SCK Safety clearance in infeed direction: Safety clearance in
SCI Safety clearance in plane: Safety clearance in the working
G60 Protection zone. During drilling and boring the protection
5: Y direction only
6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
0: Without
1: Circuit 1 on
2: Circuit 2 on
material at which the tool is not moved at rapid traverse.
infeed direction during drilling and milling operations.
plane during drilling and milling operations.
zone monitoring is
0: Active
1: Inactive
60 smart.Turn units
The AppDep form
Positions and variants of the approach and departure movements are defined in this form.
Approach: Influence the approach strategy. "Approach" parameters
APP Type of approach:
No axis (switch off the approach function)0: Simultaneous (X and Z axes approach diagonally)1: First X, then Z2: First Z, then X 3: Only X4: Only Z
XS, ZS Approach position: Position of the tool point before cycle
call
Additionally with C-axis operations:
CS Approach position: C-axis position that is approached
before cycle call with G110.
"Approach with Y axis" parameters
APP Type of approach:
No axis (switch off the approach function)0: Simultaneous (X and Z axes approach diagonally)1: First X, then Z2: First Z, then X 3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes approach
diagonally)
XS, YS, ZSApproach position: Position of the tool point before cycle
call
CS Approach position: C-axis position that is approached
before cycle call with G110.
2.1 smart.Turn units
Departure: Influence the departure strategy (also applies for Y-axis
functions).
"Departure" parameters
DEP Type of departure:
No axis (switch off the departure function)0: Simultaneous (X and Z axes depart diagonally)1: First X, then Z2: First Z, then X 3: Only X4: Only Z
XE, ZE Departure position: Position of the tool point before the
movement to the tool change point.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 61
The Tool Ext form
In this form you can program additional tool settings.
Tool Ext form Tool
T Tool number (number of turret pocket). TID The identification number (tool name) is entered
automatically.
B axis
B Angle in the B axis (machine-dependent function) CW C tilting plane angle: Position of the C axis to determine the
work position of the tool (machine-dependent function)
Miscellaneous functions
HC Shoe brake (machine-dependent function)
2.1 smart.Turn units
0: Automatic
1: Tighten
2: Don't tighten
DF Additional function: Can be evaluated by the machine
XL, ZL, YLValues can be evaluated by the machine manufacturer in a
manufacturer in a subprogram (machine-dependent
function)
subprogram (machine-dependent function)
With the Advanced T change soft key you can switch quickly and easily between the Tool and Tool Ext forms.
62 smart.Turn units
2.2 Units—Roughing

"Longitudinal roughing in ICP" unit

The unit machines the contour described in the FINISHED program section from "NS to NE". Any auxiliary contour defined in FK will be used.
Unit name: G810_ICP / Cycle: G810 (see page 262)
Contour form: see page 58 Cycle form
I, K Oversize in X, Z direction (I: diameter value) P Maximum infeed E Plunging behavior
E=0: Descending contours are not machinedE>0: Plunging feed rate for declining contour elements.
Descending contour elements are machined.
No input: The plunging feed rate is reduced during
machining of declining contour elements by up to 50 %.
Descending contour elements are machined. SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) A Approach angle (reference: Z axis)—(default: parallel
to Z axis)
W Departure angle (reference: Z axis)—(default: orthogonal
to Z axis)
Q Type of retraction at end of cycle
0: Returns to starting point, first X, then Z direction1: Positions in front of the finished contour2: Retracts to safety clearance and stops
H Contour smoothing
0: With each cut along the contour (within the infeed
range)
1: Contour smoothing with the last cut (entire contour);
retracts at 45 %
2: No smoothing; retracts at 45°
D Omit elements (see figure) O Hide undercutting:
0: Undercuts are machined1: Undercuts are not machined
Further forms: see page 56

2.2 Units—Roughing

Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
HEIDENHAIN MANUALplus 620, CNC PILOT 640 63

"Transverse roughing in ICP" unit

The unit machines the contour described in the FINISHED program section from "NS to NE". Any auxiliary contour defined in FK will be used.
Unit name: G820_ICP / Cycle: G820 (see page 265)
Contour form: see page 58 Cycle form
I, K Allowance in X and Z direction (I = diameter) P Maximum infeed E Plunging behavior
E=0: Descending contours are not machined
2.2 Units—Roughing
SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) A Departure angle (reference: Z axis)—(default: orthogonal
W Departure angle (reference: Z axis)—(default: parallel
Q Type of retraction at end of cycle
H Contour smoothing
D Hide elements; do not machine form elements (see figure) O Hide undercutting:
Further forms: see page 56
E>0: Plunging feed rate for declining contour elements.
Descending contour elements are machined.
No input: The plunging feed rate is reduced during
machining of declining contour elements by up to 50 %. Descending contour elements are machined.
to Z axis)
to Z axis)
0: Returns to starting point, first X, then Z direction
1: Positions in front of the finished contour
2: Retracts to safety clearance and stops
0: With each cut along the contour (within the infeed
range)
1: Contour smoothing with the last cut (entire contour);
retracts at 45 %
2: No smoothing; retracts at 45°
0: Undercuts are machined
1: Undercuts are not machined
Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
64 smart.Turn units

"Contour-parallel roughing in ICP" unit

The unit machines the contour described in the FINISHED program section from "NS to NE" parallel to the contour. Any auxiliary contour defined in FK will be used.
Unit name: G830_ICP / Cycle: G830 (see page 268)
Contour form J Workpiece blank oversize (radius value)—active only if no
blank has been defined.
B Contour calculation
0: Automatic1: Tool to the left (G41)2: Tool to the right (G42)
Further parameters of the contour form: see page 58.
Cycle form
P Maximum infeed I, K Oversize in X, Z direction (I: diameter value) SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) A Approach angle (reference: Z axis)—(default: parallel to Z
axis)
W Departure angle (reference: Z axis)—(default: orthogonal to
Z axis)
Q Type of retraction at end of cycle
0: Returns to starting point, first X, then Z direction1: Positions in front of the finished contour2: Retracts to safety clearance and stops
H Type of cut lines (cutting paths)
0: Constant cutting depth: Contour is shifted by a
constant infeed value (paraxial)
1: Equidistant cutting lines: Cutting lines run at a constant
distant from the contour (contour parallel). The contour is
scaled. HR Main machining direction
0: Automatic1: +Z2: +X3: –Z4: –X
D Hide elements; do not machine form elements (see figure)
Further forms: see page 56
2.2 Units—Roughing
Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
HEIDENHAIN MANUALplus 620, CNC PILOT 640 65

"Bidirectional roughing in ICP" unit

The unit machines the contour described in the FINISHED program section from "NS to NE" parallel to the contour and bidirectionally. Any auxiliary contour defined in FK will be used.
Unit name: G835_ICP / Cycle: G835 (see page 271)
Contour form
J Workpiece blank oversize (radius value)—active only if no
B Contour calculation
2.2 Units—Roughing
Further parameters of the contour form: see page 58.
Cycle form
P Maximum infeed I, K Allowance in X and Z direction (I = diameter) SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) A Approach angle (reference: Z axis)—(default: parallel to Z
W Departure angle (reference: Z axis)—(default: orthogonal to
Q Type of retraction at end of cycle
H Type of cut lines (cutting paths)
D Hide elements; do not machine form elements (see figure)
Further forms: see page 56
blank has been defined.
0: Automatic
1: Tool to the left (G41)
2: Tool to the right (G42)
axis)
Z axis)
0: Returns to starting point, first X, then Z direction
1: Positions in front of the finished contour
2: Retracts to safety clearance and stops
0: Constant cutting depth: Contour is shifted by a
constant infeed value (paraxial)
1: Equidistant cutting lines: Cutting lines run at a constant
distant from the contour (contour parallel). The contour is scaled.
Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
66 smart.Turn units

"Longitudinal roughing with direct contour input" unit

The unit machines the contour defined by the parameters. In EC you define whether you want to machine a normal or a plunging contour.
Unit name: G810_G80 / Cycle: G810 (see page 262)
Contour form
EC Type of contour
0: Normal contour1: Plunging contour
X1, Z1 Contour starting point X2, Z2 Contour end point RC Rounding: Radius of contour corner AC Start angle: Angle of the first contour element
(range: 0° < 90°)
WC End angle: Angle of the last contour element
(range: 0° < 90°)
BS –Chamfer/+radius at start:
BS>0: Radius of rounding arcBS<0: Section length of chamfer
BE –Chamfer/+radius at end
BE>0: Radius of rounding arcBS<0: Section length of chamfer
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Cycle form
P Maximum infeed I, K Oversize in X, Z direction (I: diameter value) E Plunging behavior
E>0: Plunging feed rate for declining contour elements.
Descending contour elements are machined.
No input: The plunging feed rate is reduced during
machining of declining contour elements by up to 50 %.
Descending contour elements are machined. H Contour smoothing
0: With each cut along the contour (within the infeed
range)
1: Contour smoothing with the last cut (entire contour);
retracts at 45 %
2: No smoothing; retracts at 45°
Further forms: see page 56
2.2 Units—Roughing
Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
HEIDENHAIN MANUALplus 620, CNC PILOT 640 67

"Transverse roughing with direct contour input" unit

The unit machines the contour defined by the parameters. In EC you define whether you want to machine a normal or a plunging contour.
Unit name: G820_G80 / Cycle: G820 (see page 265)
Contour form
EC Type of contour
0: Normal contour
1: Plunging contour
X1, Z1 Contour starting point X2, Z2 Contour end point
2.2 Units—Roughing
RC Rounding: Radius of contour corner AC Start angle: Angle of the first contour element
WC End angle: Angle of the last contour element
BS Chamfer/radius at start
BE Chamfer/radius at end
BP Break duration: Time span for interruption of the feed. The
BF Feed duration: Time interval until the next break. The chip
Cycle form
P Maximum infeed I, K Oversize in X, Z direction (I: diameter value) E Plunging behavior
H Contour smoothing
Further forms: see page 56
(range: 0° < AC < 90°)
(range: 0° < WC < 90°)
BS>0: Radius of rounding arc
BS<0: Section length of chamfer
BE>0: Radius of rounding arc
BS<0: Section length of chamfer
chip is broken by the (intermittent) interruption of the feed.
is broken by the (intermittent) interruption of the feed.
E>0: Plunging feed rate for declining contour elements.
Descending contour elements are machined.
No input: The plunging feed rate is reduced during
machining of declining contour elements by up to 50 %. Descending contour elements are machined.
0: With each cut along the contour (within the infeed
range)
1: Contour smoothing with the last cut (entire contour);
retracts at 45 %
2: No smoothing; retracts at 45°
Access to the technology database:
Machining operation: RoughingAffected parameters: F, S, E, P
68 smart.Turn units
2.3 Units—Recessing

"ICP contour recessing" unit

The unit machines the contour described in the FINISHED program section axially/radially from "NS to NE". Any auxiliary contour defined in FK will be used.
Unit name: G860_ICP / Cycle: G860 (see page 273)
Contour form
DQ Number of recessing cycles DX, DZ Distance to subsequent recess in X, Z direction (DX: radius
value)
Further parameters of the contour form: see page 58.
Cycle form
I, K Oversize in X, Z direction (I: diameter value) SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) ET Recessing depth by which one cut is fed. P Cutting width (recessing width): (default: 0.8 x tool width) E Finishing feed rate. Differing feed rate used only for the
finishing process.
EZ Period of dwell after recessing path (default: time for one
spindle revolution)
Q Roughing/finishing (process variants)
0 (SS): Roughing and finishing1 (SP): Only roughing2 (SL): Only finishing
H Type of retraction at end of cycle
0: Return to starting point
Axial recess: First Z, then X direction
Radial recess: First X, then Z direction
1: Positions in front of the finished contour2: Retracts to safety clearance and stops
Further forms: see page 56

2.3 Units—Recessing

Access to the technology database:
Machining operation: Contour recessingAffected parameters: F, S, E
HEIDENHAIN MANUALplus 620, CNC PILOT 640 69

"ICP recess turning" unit

The unit machines the contour described by ICP axially/radially from "NS to NE". The workpiece is machined by alternate recessing and roughing movements.
The unit machines the contour described in the FINISHED program section axially/radially from "NS to NE". Any auxiliary contour defined in FK will be used.
Unit name: G869_ICP / Cycle: G869 (see page 276)
Contour form
X1, Z1 Starting point of blank. Evaluation only if no blank has been
RI, RK Workpiece blank oversize in X and Z direction
2.3 Units—Recessing
SX, SZ Cutting limit (SX: diameter value)—(default: no cutting limit) Further parameters of the contour form: see page 58.
Cycle form
P Maximum infeed during rough turning I, K Oversize in X, Z direction (I: diameter value) RB Turning depth compensation for finishing B Offset width U Cutting direction
Q Sequence (roughing/finishing)
A Approach angle (default: opposite to recessing direction) W Departure angle (default: opposite to recessing direction) O Recessing feed rate (default: active feed rate) E Finishing feed rate (default: active feed rate) H Type of retraction at end of cycle
Further forms: see page 56
The control uses the tool definition to distinguish between radial and axial recessing.
Turning depth compensation RB: Depending on factors such as workpiece material or feed rate, the tool tip is displaced during a turning operation. You can correct the resulting infeed error with the turning depth compensation factor. The value is usually determined empirically.
defined.
0 (Bi): Bidirectional (in both directions)
1 (Uni): Unidirectional (in direction of contour)
0: Roughing and finishing
1: Only roughing
2: Only finishing
0: Return to starting point
Axial recess: First Z, then X directionRadial recess: First X, then Z direction
1: Positions in front of the finished contour
2: Retracts to safety clearance and stops
Access to the technology database:
Machining operation: Recess turningAffected parameters: F, S, O, P
70 smart.Turn units
Offset width B: After the second infeed movement, during the
transition from turning to recessing, the path to be machined is reduced by the offset width B. Each time the system switches on this side, the path is reduced by B—in addition to the previous offset. The total offset is limited to 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). If required, the control reduces the programmed offset width. After clearance roughing, the remaining material is removed with a single cut.

"Contour recessing with direct contour input" unit

The unit machines the contour defined by the parameters axially/ radially.
Unit name: G860_G80 / Cycle: G860 (see page 273) Contour form:
RI, RK Workpiece blank oversize in X and Z direction Further parameters of the contour form: see page 58.
Cycle form
Q Roughing/finishing (process variants)
0: Roughing and finishing1: Only roughing2: Only finishing
I, K Oversize in X, Z direction (I: diameter value) P Cutting width (recessing width): (default: 0.8 x tool width) E Finishing feed rate: Differing feed rate used only for the
finishing process
EZ Period of dwell after recessing path (default: time for one
spindle revolution) DQ Number of recessing cycles DX, DZ Distance to subsequent recess in X, Z direction
Further forms: see page 56
2.3 Units—Recessing
The control uses the tool definition to distinguish between radial and axial recessing.
Access to the technology database:
Machining operation: Contour recessingAffected parameters: F, S, E
HEIDENHAIN MANUALplus 620, CNC PILOT 640 71

"Recess turning with direct contour input" unit

The unit machines the contour defined by the parameters axially/ radially. The workpiece is machined by alternate recessing and roughing movements. The machining process requires a minimum of retraction and infeed movements.
Unit name: G869_G80 / Cycle: G869 (see page 276) Contour form:
RI, RK Workpiece blank oversize in X and Z direction Further parameters of the contour form: see page 58.
Cycle form
P Maximum infeed during rough turning I, K Oversize in X, Z direction (I: diameter value)
2.3 Units—Recessing
RB Turning depth compensation for finishing B Offset width U Cutting direction
0 (Bi): Bidirectional (in both directions)1 (Uni): Unidirectional (in direction of contour)
Q Sequence (roughing/finishing)
0: Roughing and finishing1: Only roughing2: Only finishing
Further forms: see page 56
The control uses the tool definition to distinguish between radial and axial recessing.
Turning depth compensation RB: Depending on factors such as workpiece material or feed rate, the tool tip is displaced during a turning operation. You can correct the resulting infeed error with the turning depth compensation factor. The value is usually determined empirically.
Offset width B: After the second infeed movement, during the transition from turning to recessing, the path to be machined is reduced by the offset width B. Each time the system switches on this side, the path is reduced by B—in addition to the previous offset. The total offset is limited to 80 % of the effective cutting width (effective cutting width = cutting width –2*cutting radius). If required, the control reduces the programmed offset width. After clearance roughing, the remaining material is removed with a single cut.
Access to the technology database:
Machining operation: Recess turningAffected parameters: F, S, O, P
72 smart.Turn units

"Parting" unit

The unit parts the workpiece. If programmed, a chamfer or rounding arc is machined on the outside diameter. At the end of cycle, the tool returns to the starting point. You can define a feed rate reduction, which becomes effective as soon as the position I is reached.
Unit name: G859_CUT_OFF / Cycle: G859 (see page 303)
Cycle form
X1, Z1 Starting point of contour in X, Z (X: diameter value) B Chamfer/rounding
B>0: Radius of rounding
B<0: Section length of chamfer
XE Inside diameter (pipe) I Diameter for feed-rate reduction. Limit diameter over
which traverse is at reduced feed rate. E Reduced feed rate D Maximum speed K Retraction distance after parting: Lift off the tool laterally
from the workpiece surface before retraction SD Speed limitation from diameter I up U Starting with this diameter the part catcher is activated
(machine-dependent function) Further forms: see page 56
The limit to the maximum speed "D" is only effective in the cycle. After the cycle ends, the speed limit before the cycle becomes effective.
2.3 Units—Recessing
Access to the technology database:
Machining operation: Contour recessingAffected parameters: F, S, E
HEIDENHAIN MANUALplus 620, CNC PILOT 640 73

"Undercutting (H, K, U)" unit

Depending on KG, the unit machines one of the following undercuts:
Form U: The unit machines an undercut and finishes the adjoining
plane surface. Either a chamfer or a rounding arc can be machined.
Form H: The end point of the undercut is determined from the
plunging angle.
Form K. Only one linear cut at an angle of 45° is performed. The
resulting contour geometry therefore depends on the tool that is used.
First, you select the Type of undercut KG, and then you
enter the values for the selected type of undercut.
2.3 Units—Recessing
Unit name: G85x_H_K_U / Cycle: G85 (see page 304)
Contour form
KG Type of undercut
X1, Z1 Contour corner point (X: diameter value)
Undercut type U
X2 End point, face (diameter value) I Undercut diameter K Undercut length B Chamfer/rounding
Undercut type H
K Undercut length R Radius in the undercut corner W Plunging angle
Undercut type K
I Undercut depth (radius) Further forms: see page 56
The control changes parameters with the same address
letters for the other undercuts as well. Do not change these values.
Form U: Cycle G856 (see page 309)Form H: Cycle G857 (see page 310)Form K: Cycle G858 (see page 311)
B>0: Radius of roundingB<0: Section length of chamfer
Access to the technology database:
Machining operation: FinishingAffected parameters: F, S
74 smart.Turn units

"ICP recessing" unit

G870 generates a recess defined by G22-Geo. The control uses the tool definition to distinguish between external and internal machining, or between radial and axial recesses.
Unit name: G870_ICP / Cycle: G870 (see page 279)
Contour form
I Oversize in X and Z direction EZ Period of dwell after recessing path (default: time for one
spindle revolution) Further parameters of the contour form: see page 58.
Further forms: see page 56
2.3 Units—Recessing
Access to the technology database:
Machining operation: RecessingAffected parameters: F, S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 75
2.4 Units—Centric drilling

"Centric drilling" unit

The unit uses stationary tools to drill axial holes in several passes. Suitable tools can be positioned up to +/– 2 mm outside the turning center.
Unit name: G74_ZENTR / Cycle: G74 (see page 319)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) NS Starting block no. of contour X Start point drill (starting point of hole; diameter value)—
(range: –2 mm < X < 2 mm; default: 0) E Delay (dwell time at end of hole) (default: 0) D Retraction at

2.4 Units—Centric drilling

0: Rapid traverse
1: Feed rate
V Feed rate reduction
0: Without reduction
1: At end of the hole
2: At start of the hole
3: At start and end of the hole
AB Spot drilling / through drilling length (distance for feed rate
reduction) P Hole depth IB Hole depth reduction value: Value by which the feed depth
JB Minimum hole depth: If you have entered a hole depth
B Retraction distance: Value by which the tool is retracted
RI Internal safety clearance: Distance for reapproach inside
decreases after every advance.
reduction value, the hole depth is reduced only to the value
entered in JB.
after reaching the respective hole depth.
the hole (default: safety clearance SCK).
"Global" form
G14 Tool change point
No axis
0: Simultaneously
1: First X, then Z
2: First Z, then X
3: Only X
4: Only Z
5: Y direction only
6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
76 smart.Turn units
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
G60 Protection zone. During drilling and boring the protection
zone monitoring is
0: Active1: Inactive
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Further forms: see page 56
If X is not programmed or XS is in the range of –2 mm < XS < 2 mm, then the control drills at XS.
2.4 Units—Centric drilling
HEIDENHAIN MANUALplus 620, CNC PILOT 640 77

"Centric tapping" unit

The unit cuts axial threads using stationary tools. Unit name: G73_CENTR / Cycle: G73 (see page 316)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) NS Starting block no. of contour X Start point drill (starting point of hole; diameter value)—
(range: –2 mm < X < 2 mm; default: 0) F1 Thread pitch B Run-in length L Retraction length when using floating tap holders (default:
0)
SR Retraction speed (default: Shaft speed for tapping)
Further forms: see page 56
2.4 Units—Centric drilling
Retraction length L: Use this parameter for floating tap holders. The
cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the "retraction length." The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from the taps.
Access to the technology database:
Machining operation: TappingAffected parameter: S
78 smart.Turn units

"Boring, centric countersinking" unit

The unit uses stationary tools to drill axial holes in several passes. Unit name: G72_CENTR / Cycle: G72 (see page 315)
Cycle form
NS Starting block no. of contour E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse1: Feed rate
RB Return plane
"Global" form
G14 Tool change point
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
G60 Protection zone. During drilling and boring the protection
zone monitoring is
0: Active1: Inactive
Further forms: see page 56
2.4 Units—Centric drilling
HEIDENHAIN MANUALplus 620, CNC PILOT 640 79
2.5 Units—Drilling in C axis

"Single hole, face" unit

This unit machines a hole on the face of the workpiece. Unit name: G74_Bohr_Stirn_C / Cycle: G74 (see page 319)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) CS Spindle angle E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse
1: Feed rate
V Feed rate reduction

2.5 Units—Drilling in C axis

AB Spot drilling / through drilling length – distance for feed rate
P Hole depth IB Hole depth reduction value: Value by which the feed depth
JB Minimum hole depth: If you have entered a hole depth
B Retraction distance: Value by which the tool is retracted
RI Internal safety clearance: Distance for reapproach inside
0: Without reduction
1: At end of the hole
2: At start of the hole
3: At start and end of the hole
reduction
decreases after every advance.
reduction value, the hole depth is reduced only to the value
entered in JB.
after reaching the respective hole depth.
the hole (default: safety clearance SCK).
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
"Global" form
G14 Tool change point
No axis
0: Simultaneously
1: First X, then Z
2: First Z, then X
3: Only X
4: Only Z
5: Y direction only
6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
80 smart.Turn units
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
G60 Protection zone. During drilling and boring the protection
zone monitoring is
0: Active1: Inactive
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Further forms: see page 56
2.5 Units—Drilling in C axis
HEIDENHAIN MANUALplus 620, CNC PILOT 640 81

"Linear pattern drilling, face" unit

The unit machines a linear drilling pattern in which the individual features are arranged at a regular spacing on the face.
Unit name: G74_Lin_Stirn_C / Cycle: G74 (see page 319)
Pattern form
Q Number of holes X1, C1 Polar starting point XK, YK Cartesian starting point I, J End point (XK, YK) Ii, Ji: Distance (XKi, YKi) R Distance to first/last hole Ri Incremental distance A Pattern angle (reference is XK axis)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole)
2.5 Units—Drilling in C axis
E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse
1: Feed rate
V Feed rate reduction
0: Without reduction
1: At end of the hole
2: At start of the hole
3: At start and end of the hole
AB Spot drilling / through drilling length (distance for feed rate
reduction) P Hole depth IB Hole depth reduction value: Value by which the feed depth
decreases after every advance. JB Minimum hole depth: If you have entered a hole depth
B Retraction distance: Value by which the tool is retracted
RI Internal safety clearance: Distance for reapproach inside
RB Return plane (default: return to the starting position or to
reduction value, the hole depth is reduced only to the value
entered in JB.
after reaching the respective hole depth.
the hole (default: safety clearance SCK).
the safety clearance)
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
82 smart.Turn units
"Global" form
G14 Tool change point
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
G60 Protection zone. During drilling and boring the protection
zone monitoring is
0: Active1: Inactive
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Further forms: see page 56
2.5 Units—Drilling in C axis
HEIDENHAIN MANUALplus 620, CNC PILOT 640 83

"Circular pattern drilling, face" unit

This unit machines a circular drilling pattern on the face of the workpiece.
Unit name: G74_Cir_Stirn_C / Cycle: G74 (see page 319)
Pattern form
Q Number of holes XM, CM Polar center point XK, YK Cartesian center point A Starting angle Wi Angle increment K Pattern diameter W End angle VD Rotation direction (default: 0)
VD=0, without W: Figures are arranged on a full circleVD=0, with W: Figures are arranged on the longer
2.5 Units—Drilling in C axis
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) E Delay (dwell time at end of hole) (default: 0) D Retraction at
V Feed rate reduction
AB Spot drilling / through drilling length (distance for feed rate
P First hole depth IB Hole depth reduction value: Value by which the feed depth
JB Minimum hole depth: If you have entered a hole depth
B Retraction distance: Value by which the tool is retracted
circular arc
VD=0, with Wi: The algebraic sign of Wi defines the
direction (Wi<0: clockwise)
VD=1, with W: ClockwiseVD=1, with Wi: Clockwise (algebraic sign of Wi has no
effect)
VD=2, with W: CounterclockwiseVD=2, with Wi: Counterclockwise (algebraic sign of Wi
has no effect)
0: Rapid traverse1: Feed rate
0: Without reduction1: At end of the hole2: At start of the hole3: At start and end of the hole
reduction)
decreases after every advance.
reduction value, the hole depth is reduced only to the value entered in JB.
after reaching the respective hole depth.
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
84 smart.Turn units
RI Internal safety clearance: Distance for reapproach inside
the hole (default: safety clearance SCK).
RB Return plane (default: return to the starting position or to
the safety clearance)
Further forms: see page 56
"Global" form
G14 Tool change point
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
G60 Protection zone. During drilling and boring the protection
zone monitoring is
0: Active1: Inactive
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Further forms: see page 56
2.5 Units—Drilling in C axis
HEIDENHAIN MANUALplus 620, CNC PILOT 640 85

"Tapping, face" unit

This unit machines a single tap hole on the face of the workpiece. Unit name: G73_Gew_Stirn_C / Cycle: G73 (see page 316)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) CS Spindle angle F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
(default: 0) SR Retraction speed (default: Shaft speed for tapping) Further forms: see page 56
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the
2.5 Units—Drilling in C axis
programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
Access to the technology database:
Machining operation: TappingAffected parameter: S
86 smart.Turn units

"Linear tapping pattern, face" unit

The unit machines a linear tapping pattern in which the individual features are arranged at a regular spacing on the face.
Unit name: G73_Lin_Stirn_C / Cycle: G73 (see page 316)
Pattern form
Q Number of holes X1, C1 Polar starting point XK, YK Cartesian starting point I, J End point (XK, YK) Ii, Ji: Distance (XKi, YKi) R Distance to first/last hole Ri Incremental distance A Pattern angle (reference is XK axis)
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
(default: 0) SR Retraction speed (default: Shaft speed for tapping) RB Return plane (default: return to the starting position or to
the safety clearance)
Further forms: see page 56
2.5 Units—Drilling in C axis
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
Access to the technology database:
Machining operation: TappingAffected parameter: S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 87

"Circular tapping pattern, face" unit

This unit machines a circular tapping pattern on the face of the workpiece.
Unit name: G73_Cir_Stirn_C / Cycle: G73 (see page 316)
Pattern form
Q Number of holes XM, CM Polar center point XK, YK Cartesian center point A Starting angle Wi Angle increment K Pattern diameter W End angle VD Rotation direction (default: 0)
VD=0, without W: Figures are arranged on a full circleVD=0, with W: Figures are arranged on the longer
2.5 Units—Drilling in C axis
Cycle form
Z1 Start point drill (starting point of hole) Z2 End point drill (end point of hole) F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
SR Retraction speed (default: Shaft speed for tapping) RB Return plane (default: return to the starting position or to
Further forms: see page 56
circular arc
VD=0, with Wi: The algebraic sign of Wi defines the
direction (Wi<0: clockwise)
VD=1, with W: ClockwiseVD=1, with Wi: Clockwise (algebraic sign of Wi has no
effect)
VD=2, with W: CounterclockwiseVD=2, with Wi: Counterclockwise (algebraic sign of Wi
has no effect)
(default: 0)
the safety clearance)
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
Access to the technology database:
Machining operation: TappingAffected parameter: S
88 smart.Turn units

"Single hole, lateral surface" unit

This unit machines a hole on the lateral surface of the workpiece. Unit name: G74_Bohr_Mant_C / Cycle: G74 (see page 319)
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) CS Spindle angle E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse
1: Feed rate
V Feed rate reduction
0: Without reduction
1: At end of the hole
2: At start of the hole
3: At start and end of the hole
AB Spot drilling / through drilling length (distance for feed rate
reduction) P Hole depth IB Hole depth reduction value: Value by which the feed depth
decreases after every advance. JB Minimum hole depth: If you have entered a hole depth
reduction value, the hole depth is reduced only to the value
entered in JB. B Retraction distance: Value by which the tool is retracted
after reaching the respective hole depth. RI Internal safety clearance: Distance for reapproach inside
the hole (default: safety clearance SCK).
2.5 Units—Drilling in C axis
"Global" form
G14 Tool change point
No axis
0: Simultaneously
1: First X, then Z
2: First Z, then X
3: Only X
4: Only Z
5: Y direction only
6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without
1: Circuit 1 on
2: Circuit 2 on
HEIDENHAIN MANUALplus 620, CNC PILOT 640 89
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
SCK Safety clearance in infeed direction: Safety clearance in
BP Break duration: Time span for interruption of the feed for
BF Feed duration: Time interval until the next break. The
Further forms: see page 56
infeed direction during drilling and milling operations.
chip breaking.
interruption of the feed rate breaks the chip.
2.5 Units—Drilling in C axis
90 smart.Turn units

"Linear pattern drilling, lateral surface" unit

The unit machines a linear drilling pattern in which the individual features are arranged at a regular spacing on the lateral surface.
Unit name: G74_Lin_Mant_C / Cycle: G74 (see page 319)
Pattern form
Q Number of holes Z1, C1 Starting point of pattern Wi Angle increment W End angle Z2 End point of pattern
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse
1: Feed rate
V Feed rate reduction
0: Without reduction
1: At end of the hole
2: At start of the hole
3: At start and end of the hole
AB Spot drilling / through drilling length (distance for feed rate
reduction) P Hole depth IB Hole depth reduction value: Value by which the feed depth
decreases after every advance. JB Minimum hole depth: If you have entered a hole depth
reduction value, the hole depth is reduced only to the value
entered in JB. B Retraction distance: Value by which the tool is retracted
after reaching the respective hole depth. RI Internal safety clearance: Distance for reapproach inside
the hole (default: safety clearance SCK). RB Return plane (default: return to the starting position or to
the safety clearance)
2.5 Units—Drilling in C axis
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 91
"Global" form
G14 Tool change point
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
2.5 Units—Drilling in C axis
BP Break duration: Time span for interruption of the feed for
BF Feed duration: Time interval until the next break. The
Further forms: see page 56
infeed direction during drilling and milling operations.
chip breaking.
interruption of the feed rate breaks the chip.
92 smart.Turn units

"Circular pattern drilling, lateral surface" unit

This unit machines a circular hole pattern on the lateral surface of the workpiece.
Unit name: G74_Cir_Mant_C / Cycle: G74 (see page 319)
Pattern form
Q Number of holes ZM, CM Center point of pattern A Starting angle Wi Angle increment K Pattern diameter W End angle VD Rotation direction (default: 0)
VD=0, without W: Figures are arranged on a full circleVD=0, with W: Figures are arranged on the longer
circular arc
VD=0, with Wi: The algebraic sign of Wi defines the
direction (Wi<0: clockwise)
VD=1, with W: ClockwiseVD=1, with Wi: Clockwise (algebraic sign of Wi has no
effect)
VD=2, with W: CounterclockwiseVD=2, with Wi: Counterclockwise (algebraic sign of Wi
has no effect)
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) E Delay (dwell time at end of hole) (default: 0) D Retraction at:
0: Rapid traverse1: Feed rate
V Feed rate reduction:
0: Without reduction1: At end of the hole2: At start of the hole3: At start and end of the hole
AB Spot drilling / through drilling length (distance for feed rate
reduction) P Hole depth IB Hole depth reduction value: Value by which the feed depth
decreases after every advance. JB Minimum hole depth: If you have entered a hole depth
reduction value, the hole depth is reduced only to the
value entered in JB. B Retraction distance: Value by which the tool is retracted
after reaching the respective hole depth.
2.5 Units—Drilling in C axis
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 93
RI Internal safety clearance: Distance for reapproach inside
RB Return plane (default: return to the starting position or to
"Global" form
G14 Tool change point
CLT Coolant
2.5 Units—Drilling in C axis
SCK Safety clearance in infeed direction: Safety clearance in
BP Break duration: Time span for interruption of the feed for
BF Feed duration: Time interval until the next break. The
Further forms: see page 56
the hole (default: safety clearance SCK).
the safety clearance)
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
0: Without1: Circuit 1 on2: Circuit 2 on
infeed direction during drilling and milling operations.
chip breaking.
interruption of the feed rate breaks the chip.
94 smart.Turn units

"Tap hole, lateral surface" unit

This unit machines a tap hole on the lateral surface of the workpiece. Unit name: G73_Gew_Mant_C / Cycle: G73 (see page 316)
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) CS Spindle angle F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
(default: 0) SR Retraction speed (default: Shaft speed for tapping) Further forms: see page 56
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
2.5 Units—Drilling in C axis
Access to the technology database:
Machining operation: TappingAffected parameter: S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 95

"Linear tapping pattern, lateral surface" unit

The unit machines a linear tapping pattern in which the individual features are arranged at a regular spacing on the lateral surface.
Unit name: G73_Lin_Mant_C / Cycle: G73 (see page 316)
Pattern form
Q Number of holes Z1, C1 Starting point of pattern Wi Angle increment W End angle Z2 End point of pattern
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
2.5 Units—Drilling in C axis
SR Retraction speed (default: Shaft speed for tapping) RB Return plane Further forms: see page 56
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
(default: 0)
Access to the technology database:
Machining operation: TappingAffected parameter: S
96 smart.Turn units

"Circular tapping pattern, lateral surface" unit

This unit machines a circular tapping pattern on the lateral surface of the workpiece.
Unit name: G73_Cir_Mant_C / Cycle: G73 (see page 316)
Pattern form
Q Number of holes ZM, CM Center point of pattern A Starting angle Wi Angle increment K Pattern diameter W End angle VD Rotation direction (default: 0)
VD=0, without W: Figures are arranged on a full circleVD=0, with W: Figures are arranged on the longer
circular arc
VD=0, with Wi: The algebraic sign of Wi defines the
direction (Wi<0: clockwise)
VD=1, with W: ClockwiseVD=1, with Wi: Clockwise (algebraic sign of Wi has no
effect)
VD=2, with W: CounterclockwiseVD=2, with Wi: Counterclockwise (algebraic sign of Wi
has no effect)
Cycle form
X1 Start point drill (starting point of hole; diameter value) X2 End point drill (end point of hole; diameter value) F1 Thread pitch B Run-in length L Retraction length when using floating tap holders
(default: 0) SR Retraction speed (default: Shaft speed for tapping) RB Return plane
Further forms: see page 56
2.5 Units—Drilling in C axis
Access to the technology database:
Machining operation: TappingAffected parameter: S
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
HEIDENHAIN MANUALplus 620, CNC PILOT 640 97

"ICP drilling, C axis" unit

The unit machines a single hole or a hole pattern on the face or lateral surface. Using ICP, you define the holes as well as further details.
Unit name: G74_ICP_C / Cycle: G74 (see page 319)
Pattern form
FK Finished part contour NS Starting block no. of contour
Cycle form
E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse1: Feed rate
V Feed rate reduction
0: Without reduction
2.5 Units—Drilling in C axis
AB Spot drilling / through drilling length (distance for feed rate
P Hole depth IB Hole depth reduction value: Value by which the feed depth
JB Minimum hole depth: If you have entered a hole depth
B Retraction distance: Value by which the tool is retracted
RI Internal safety clearance: Distance for reapproach inside
RB Return plane (default: return to the starting position or to
1: At end of the hole2: At start of the hole3: At start and end of the hole
reduction)
decreases after every advance.
reduction value, the hole depth is reduced only to the value entered in JB.
after reaching the respective hole depth.
the hole (default: safety clearance SCK).
the safety clearance)
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
98 smart.Turn units
"Global" form
G14 Tool change point
No axis0: Simultaneously1: First X, then Z2: First Z, then X3: Only X4: Only Z5: Y direction only6: Simultaneous with Y (X, Y and Z axes move on a
diagonal path)
CLT Coolant
0: Without1: Circuit 1 on2: Circuit 2 on
SCK Safety clearance in infeed direction: Safety clearance in
infeed direction during drilling and milling operations.
BP Break duration: Time span for interruption of the feed for
chip breaking.
BF Feed duration: Time interval until the next break. The
interruption of the feed rate breaks the chip.
Further forms: see page 56
2.5 Units—Drilling in C axis

"ICP tapping, C axis" unit

The unit machines a single tap hole or a tapping pattern on the face or lateral surface. Using ICP, you define the tap holes as well as further details.
Unit name: G73_ICP_C / Cycle: G73 (see page 316)
Pattern form
FK see page 58 NS Starting block no. of contour
Cycle form
F1 Thread pitch B Run-in length L Retraction length when using floating tap holders (default:
0) SR Retraction speed (default: Shaft speed for tapping) RB Return plane Further forms: see page 56
Use the retraction length for floating tap holders. The cycle calculates a new nominal pitch on the basis of the thread depth, the programmed pitch, and the retraction length. The nominal pitch is somewhat smaller than the pitch of the tap. During tapping, the tap is pulled away from the chuck by the retraction length. With this method you can achieve higher service life from taps.
Access to the technology database:
Machining operation: TappingAffected parameter: S
HEIDENHAIN MANUALplus 620, CNC PILOT 640 99

"ICP boring/countersinking, C axis" unit

The unit machines a single hole or a hole pattern on the face or lateral surface. Using ICP, you define the hole positions as well as further details for boring or countersinking.
Unit name: G72_ICP_C / Cycle: G72 (see page 315)
Pattern form
FK see page 58 NS Starting block no. of contour
Cycle form
E Delay (dwell time at end of hole) (default: 0) D Retraction at
0: Rapid traverse1: Feed rate
RB Return plane (default: return to the starting position or to
the safety clearance)
Further forms: see page 56
2.5 Units—Drilling in C axis
Access to the technology database:
Machining operation: DrillingAffected parameters: F, S
100 smart.Turn units
Loading...