beautypg.com

HEIDENHAIN TNC 640 (34059x-04) User Manual

Page 30

background image

Contents

30

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

9

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

9.1

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

Programming notes...............................................................................................................................285
Calling Q parameter functions.............................................................................................................. 286

9.2

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

Application............................................................................................................................................. 287

9.3

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

Application............................................................................................................................................. 288
Overview............................................................................................................................................... 288
Programming fundamental operations..................................................................................................289

9.4

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

Definitions............................................................................................................................................. 290
Programming trigonometric functions.................................................................................................. 290

9.5

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

Application............................................................................................................................................. 291

9.6

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

Application............................................................................................................................................. 292
Unconditional jumps..............................................................................................................................292
Programming if-then decisions............................................................................................................. 292
Abbreviations used:...............................................................................................................................293

9.7

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

Procedure.............................................................................................................................................. 294

9.8

Additional functions............................................................................................................................296

Overview............................................................................................................................................... 296
FN 14: ERROR: Displaying error messages......................................................................................... 297
FN 16: F-PRINT: Output of formatted texts and Q parameter values....................................................301
FN 18: SYS-DATUM READ: Reading system data................................................................................305
FN 19: PLC: Transfer values to PLC..................................................................................................... 314
FN 20: WAIT FOR: NC and PLC synchronization................................................................................. 314
FN 29: PLC: Transfer values to the PLC...............................................................................................316
FN 37: EXPORT.....................................................................................................................................316