
Contents
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
49
10 Programming Q Parameters........................................................................................................ 375
10.1
Principle and overview of functions................................................................................................ 376
Programming notes..............................................................................................................................378
Calling Q parameter functions............................................................................................................. 379
10.2
Part families—Q parameters in place of numerical values............................................................ 380
Application............................................................................................................................................ 380
10.3
Describing contours with mathematical functions........................................................................ 381
Application............................................................................................................................................ 381
Overview.............................................................................................................................................. 381
Programming fundamental operations.................................................................................................382
10.4
Angle functions.................................................................................................................................. 384
Definitions............................................................................................................................................ 384
Programming trigonometric functions................................................................................................. 384
10.5
Calculation of circles..........................................................................................................................385
Application............................................................................................................................................ 385
10.6
If-then decisions with Q parameters............................................................................................... 386
Application............................................................................................................................................ 386
Unconditional jumps.............................................................................................................................386
Abbreviations used:..............................................................................................................................386
Programming if-then decisions............................................................................................................ 387
10.7
Checking and changing Q parameters............................................................................................ 388
Procedure............................................................................................................................................. 388
10.8
Additional functions...........................................................................................................................390
Overview.............................................................................................................................................. 390
FN 14: ERROR: Displaying error messages........................................................................................ 391
FN16: F-PRINT – Formatted output of texts and Q parameter values................................................. 395
FN 18: SYSREAD – Reading system data........................................................................................... 402
FN 19: PLC – Transfer values to the PLC............................................................................................ 432
FN 20: WAIT FOR – NC and PLC synchronization.............................................................................. 433
FN 29: PLC – Transfer values to the PLC............................................................................................434
FN 37: EXPORT................................................................................................................................... 435
FN 38: SEND – Send information from NC program...........................................................................435
10.9
Accessing tables with SQL commands........................................................................................... 436
Introduction.......................................................................................................................................... 436
Overview of functions..........................................................................................................................437
Programming SQL commands.............................................................................................................438
Application example............................................................................................................................. 439
SQL BIND.............................................................................................................................................440
Summary of Contents for TNC 640
Page 4: ......
Page 5: ...Fundamentals ...
Page 36: ...Contents 36 HEIDENHAIN TNC 640 Conversational Programming User s Manual 10 2017 ...
Page 67: ...1 First Steps with the TNC 640 ...
Page 90: ......
Page 91: ...2 Introduction ...
Page 130: ......
Page 131: ...3 Operating the Touchscreen ...
Page 144: ......
Page 145: ...4 Fundamentals File Management ...
Page 206: ......
Page 207: ...5 Programming Aids ...
Page 236: ......
Page 237: ...6 Tools ...
Page 281: ...7 Programming Contours ...
Page 333: ...8 Data Transfer from CAD Files ...
Page 355: ...9 Subprograms and Program Section Repeats ...
Page 374: ......
Page 375: ...10 Programming Q Parameters ...
Page 478: ......
Page 479: ...11 Miscellaneous Functions ...
Page 501: ...12 Special Functions ...
Page 584: ......
Page 585: ...13 Multiple Axis Machining ...
Page 650: ......
Page 651: ...14 Pallet Management ...
Page 664: ......
Page 665: ...15 Batch Process Manager ...
Page 673: ...16 Turning ...
Page 713: ...17 Manual Operation and Setup ...
Page 797: ...18 Positioning with Manual Data Input ...
Page 803: ...19 Test Run and Program Run ...
Page 843: ...20 MOD Functions ...
Page 881: ...21 Tables and Overviews ...