beautypg.com

10 programming: q parameters, Programming: q parameters – HEIDENHAIN TNC 320 (340 551-02) User Manual

Page 21

background image

HEIDENHAIN TNC 320

21

10.1 Principle and Overview ..... 334

Programming notes ..... 335

Calling Q parameter functions ..... 335

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

Example NC blocks ..... 336

Example ..... 336

10.3 Describing Contours through Mathematical Operations ..... 337

Function ..... 337

Overview ..... 337

Programming fundamental operations ..... 338

10.4 Trigonometric Functions ..... 339

Definitions ..... 339

Programming trigonometric functions ..... 340

10.5 Calculating Circles ..... 341

Function ..... 341

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

Function ..... 342

Unconditional jumps ..... 342

Programming If-Then decisions ..... 342

Abbreviations used: ..... 343

10.7 Checking and Changing Q Parameters ..... 344

Procedure ..... 344

10.8 Additional Functions ..... 345

Overview ..... 345

FN14: ERROR: Displaying error messages ..... 346

FN16: F-PRINT: Formatted output of texts or Q parameter values ..... 348

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

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

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

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

FN37:EXPORT ..... 364

10.9 Accessing Tables with SQL Commands ..... 365

Introduction ..... 365

A Transaction ..... 366

Programming SQL commands ..... 368

Overview of the soft keys ..... 368

SQL BIND ..... 369

SQL SELECT ..... 370

SQL FETCH ..... 373

SQL UPDATE ..... 374

SQL INSERT ..... 374

SQL COMMIT ..... 375

SQL ROLLBACK ..... 375

10 Programming: Q Parameters ..... 333