beautypg.com

10 programming: q parameters, Programming: q parameters – HEIDENHAIN TNC 620 (340 56x-01) User Manual

Page 23

background image

HEIDENHAIN TNC 620

23

10.1 Principle and Overview ..... 386

Programming notes ..... 387

Calling Q-parameter functions ..... 387

10.2 Part Families—Q Parameters in Place of Numerical Values ..... 388

Example NC blocks ..... 388

Example ..... 388

10.3 Describing Contours through Mathematical Operations ..... 389

Function ..... 389

Overview ..... 389

Programming fundamental operations ..... 390

10.4 Trigonometric Functions ..... 391

Definitions ..... 391

Programming trigonometric functions ..... 392

10.5 Calculating Circles ..... 393

Function ..... 393

10.6 If-Then Decisions with Q Parameters ..... 394

Function ..... 394

Unconditional jumps ..... 394

Programming If-Then decisions ..... 394

Abbreviations used: ..... 395

10.7 Checking and Changing Q Parameters ..... 396

Procedure ..... 396

10.8 Additional Functions ..... 397

Overview ..... 397

FN14: ERROR: Displaying error messages ..... 398

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

FN18: SYS-DATUM READ Read system data ..... 407

FN19: PLC: Transferring values to the PLC ..... 415

FN20: WAIT FOR: NC and PLC synchronization ..... 416

FN29: PLC: Transferring values to the PLC ..... 418

FN37:EXPORT ..... 418

10.9 Accessing Tables with SQL Commands ..... 419

Introduction ..... 419

A Transaction ..... 420

Programming SQL commands ..... 422

Overview of the soft keys ..... 422

SQL BIND ..... 423

SQL SELECT ..... 424

SQL FETCH ..... 427

SQL UPDATE ..... 428

SQL INSERT ..... 428

SQL COMMIT ..... 429

SQL ROLLBACK ..... 429

10 Programming: Q Parameters ..... 385