Programming: q parameters – HEIDENHAIN TNC 320 (340 55x-05) User Manual

Page 23

Advertising
background image

HEIDENHAIN TNC 320

23

8.1 Principle and Overview ..... 228

Programming notes ..... 229

Calling Q-parameter functions ..... 230

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

Function ..... 231

8.3 Describing Contours through Mathematical Operations ..... 232

Function ..... 232

Overview ..... 232

Programming fundamental operations ..... 233

8.4 Trigonometric Functions ..... 234

Definitions ..... 234

Programming trigonometric functions ..... 235

8.5 Circle Calculations ..... 236

Function ..... 236

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

Function ..... 237

Unconditional jumps ..... 237

Programming If-Then decisions ..... 237

Abbreviations used: ..... 238

8.7 Checking and Changing Q Parameters ..... 239

Procedure ..... 239

8.8 Additional Functions ..... 240

Overview ..... 240

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

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

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

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

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

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

FN37: EXPORT ..... 262

8.9 Accessing Tables with SQL Commands ..... 263

Introduction ..... 263

A Transaction ..... 264

Programming SQL commands ..... 266

Overview of the soft keys ..... 266

SQL BIND ..... 267

SQL SELECT ..... 268

SQL FETCH ..... 271

SQL UPDATE ..... 272

SQL INSERT ..... 272

SQL COMMIT ..... 273

SQL ROLLBACK ..... 273

8 Programming: Q Parameters ..... 227

Advertising