Contents
9 Programming Q parameters......................................................................................................267
9.1 Principle and overview of functions............................................................................................... 268
Q parameter types......................................................................................................................................................269
Programming notes................................................................................................................................................... 271
Calling Q parameter functions.................................................................................................................................272
9.2 Part families—Q parameters in place of numerical values.............................................................. 273
Application....................................................................................................................................................................273
9.3 Describing contours with mathematical functions.......................................................................... 274
Application....................................................................................................................................................................274
Overview....................................................................................................................................................................... 274
Programming fundamental operations................................................................................................................. 275
9.4 Trigonometric functions................................................................................................................. 277
Definitions.....................................................................................................................................................................277
Programming trigonometric functions.................................................................................................................. 277
9.5 Circle calculations..........................................................................................................................279
Application....................................................................................................................................................................279
9.6 If-then decisions with Q parameters...............................................................................................280
Application....................................................................................................................................................................280
Abbreviations used.....................................................................................................................................................280
Jump conditions.........................................................................................................................................................281
Programming if-then decisions...............................................................................................................................282
9.7 Entering formulas directly.............................................................................................................. 283
Entering formulas.......................................................................................................................................................283
Rules for formulas......................................................................................................................................................283
Overview....................................................................................................................................................................... 285
Example: Trigonometric function............................................................................................................................287
9.8 Checking and changing Q parameters............................................................................................288
Procedure..................................................................................................................................................................... 288
9.9 Additional functions....................................................................................................................... 290
Overview....................................................................................................................................................................... 290
FN 14: ERROR – Displaying error messages.......................................................................................................291
FN 16: F-PRINT – Formatted output of text and Q parameter values............................................................297
FN 18: SYSREAD – Reading system data............................................................................................................ 306
FN 19: PLC – Transferring values to the PLC..................................................................................................... 307
FN 20: WAIT FOR – NC and PLC synchronization............................................................................................. 307
FN 29: PLC – Transferring values to the PLC..................................................................................................... 308
FN 37: EXPORT...........................................................................................................................................................308
FN 38: SEND – Send information from the NC program.................................................................................. 309
18
HEIDENHAIN | TNC620 | Klartext Programming User's Manual | 01/2022