beautypg.com

10 programming: q-parameters, Programming: q parameters – HEIDENHAIN TNC 320 (340 55x-03) User Manual

Page 23

background image

HEIDENHAIN TNC 320

23

10.1 Principle and Overview ..... 378

Programming notes ..... 379

Calling Q parameter functions ..... 379

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

Example NC blocks ..... 380

Example ..... 380

10.3 Describing Contours through Mathematical Operations ..... 381

Function ..... 381

Overview ..... 381

Programming fundamental operations ..... 382

10.4 Trigonometric Functions ..... 383

Definitions ..... 383

Programming trigonometric functions ..... 384

10.5 Calculating Circles ..... 385

Function ..... 385

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

Function ..... 386

Unconditional jumps ..... 386

Programming If-Then decisions ..... 386

Abbreviations used: ..... 387

10.7 Checking and Changing Q Parameters ..... 388

Procedure ..... 388

10.8 Additional Functions ..... 389

Overview ..... 389

FN14: ERROR: Displaying error messages ..... 390

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

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

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

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

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

FN37:EXPORT ..... 410

10.9 Accessing Tables with SQL Commands ..... 411

Introduction ..... 411

A Transaction ..... 412

Programming SQL commands ..... 414

Overview of the soft keys ..... 414

SQL BIND ..... 415

SQL SELECT ..... 416

SQL FETCH ..... 419

SQL UPDATE ..... 420

SQL INSERT ..... 420

SQL COMMIT ..... 421

SQL ROLLBACK ..... 421

10 Programming: Q-Parameters ..... 377