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

Page 21

Advertising
background image

HEIDENHAIN TNC 320

21

8.1 Principle and Overview ..... 222

Programming notes ..... 224

Calling Q-parameter functions ..... 225

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

Function ..... 226

8.3 Describing Contours through Mathematical Operations ..... 227

Application ..... 227

Overview ..... 227

Programming fundamental operations ..... 228

8.4 Trigonometric Functions ..... 229

Definitions ..... 229

Programming trigonometric functions ..... 230

8.5 Circle Calculations ..... 231

Application ..... 231

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

Application ..... 232

Unconditional jumps ..... 232

Programming If-Then decisions ..... 232

Abbreviations used: ..... 233

8.7 Checking and Changing Q Parameters ..... 234

Procedure ..... 234

8.8 Additional Functions ..... 235

Overview ..... 235

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

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

FN 18: SYS-DATUM READ: Read system data ..... 245

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

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

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

FN37:EXPORT ..... 257

8.9 Accessing Tables with SQL Commands ..... 258

Introduction ..... 258

A Transaction ..... 259

Programming SQL commands ..... 261

Overview of the soft keys ..... 261

SQL BIND ..... 262

SQL SELECT ..... 263

SQL FETCH ..... 266

SQL UPDATE ..... 267

SQL INSERT ..... 267

SQL COMMIT ..... 268

SQL ROLLBACK ..... 268

8 Programming: Q Parameters ..... 221

Advertising