Contents
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
47
10 Programming Q Parameters........................................................................................................365
10.1 Principle and overview of functions................................................................................................ 366
Programming notes..............................................................................................................................368
Calling Q parameter functions............................................................................................................. 369
10.2 Part families—Q parameters in place of numerical values............................................................ 370
Application............................................................................................................................................370
10.3 Describing contours with mathematical functions........................................................................ 371
Application............................................................................................................................................371
Overview.............................................................................................................................................. 371
Programming fundamental operations.................................................................................................372
10.4 Angle functions.................................................................................................................................. 374
Definitions............................................................................................................................................ 374
Programming trigonometric functions................................................................................................. 374
10.5 Calculation of circles..........................................................................................................................375
Application............................................................................................................................................375
10.6 If-then decisions with Q parameters............................................................................................... 376
Application............................................................................................................................................376
Unconditional jumps.............................................................................................................................376
Abbreviations used:..............................................................................................................................376
Programming if-then decisions............................................................................................................ 377
10.7 Checking and changing Q parameters............................................................................................ 378
Procedure............................................................................................................................................. 378
10.8 Additional functions...........................................................................................................................380
Overview.............................................................................................................................................. 380
FN 14: ERROR: Displaying error messages........................................................................................ 381
FN16: F-PRINT – Formatted output of texts and Q parameter values................................................. 385
FN 18: SYSREAD – Reading system data........................................................................................... 392
FN 19: PLC – Transfer values to the PLC............................................................................................421
FN 20: WAIT FOR – NC and PLC synchronization.............................................................................. 422
FN 29: PLC – Transfer values to the PLC............................................................................................423
FN 37: EXPORT................................................................................................................................... 424
FN 38: SEND – Send information from NC program...........................................................................424
10.9 Accessing tables with SQL commands........................................................................................... 425
Introduction.......................................................................................................................................... 425
Overview of functions..........................................................................................................................426
Programming SQL commands.............................................................................................................427
Application example............................................................................................................................. 428
SQL BIND.............................................................................................................................................429