HEIDENHAIN TNC 640 (34059x-01) User Manual

Page 21

Advertising
background image

HEIDENHAIN TNC 640

21

8.1 Principle and Overview ..... 248

Programming notes ..... 249

Calling Q-parameter functions ..... 250

8.2 Part Families—Q Parameters in Place of Numerical Values ..... 251

Application ..... 251

8.3 Describing Contours through Mathematical Operations ..... 252

Application ..... 252

Overview ..... 252

Programming fundamental operations ..... 253

8.4 Trigonometric Functions ..... 254

Definitions ..... 254

Programming trigonometric functions ..... 255

8.5 Circle Calculations ..... 256

Application ..... 256

8.6 If-Then Decisions with Q Parameters ..... 257

Application ..... 257

Unconditional jumps ..... 257

Programming If-Then decisions ..... 257

Abbreviations used: ..... 258

8.7 Checking and Changing Q Parameters ..... 259

Procedure ..... 259

8.8 Additional Functions ..... 261

Overview ..... 261

FN 14: ERROR: Displaying error messages ..... 262

FN 16: F-PRINT: Formatted output of text and Q-parameter values ..... 267

FN 18: SYS-DATUM READ ..... 271

FN 19: PLC: Transfer values to the PLC ..... 280

FN 20: WAIT FOR: NC and PLC synchronization ..... 280

FN 29: PLC: Transfer values to the PLC ..... 282

FN37: EXPORT ..... 283

8.9 Accessing Tables with SQL Commands ..... 284

Introduction ..... 284

A Transaction ..... 285

Programming SQL commands ..... 287

Overview of the soft keys ..... 287

SQL BIND ..... 288

SQL SELECT ..... 289

SQL FETCH ..... 292

SQL UPDATE ..... 293

SQL INSERT ..... 293

SQL COMMIT ..... 294

SQL ROLLBACK ..... 294

8 Programming: Q Parameters ..... 247

Advertising