beautypg.com

9 programming: q parameters – HEIDENHAIN iTNC 530 (60642x-03) ISO programming User Manual

Page 34

background image

34

9.1 Principle and overview ..... 278

Programming notes ..... 280

Calling Q-parameter functions ..... 281

9.2 Part families—Q parameters in place of numerical values ..... 282

Function ..... 282

9.3 Describing contours through mathematical operations ..... 283

Function ..... 283

Overview ..... 283

Programming fundamental operations ..... 284

9.4 Trigonometric functions ..... 285

Definitions ..... 285

Programming trigonometric functions ..... 286

9.5 If-then decisions with Q parameters ..... 287

Function ..... 287

Unconditional jumps ..... 287

Programming if-then decisions ..... 288

9.6 Checking and changing Q parameters ..... 289

Procedure ..... 289

9.7 Additional functions ..... 290

Overview ..... 290

D14: ERROR: Displaying error messages ..... 291

D15 PRINT: Output of texts or Q parameter values ..... 295

D19 PLC: Transfer values to the PLC ..... 296

9.8 Entering formulas directly ..... 297

Entering formulas ..... 297

Rules for formulas ..... 299

Programming example ..... 300

9.9 String parameters ..... 301

String processing functions ..... 301

Assigning string parameters ..... 302

Chain-linking string parameters ..... 303

Converting a numerical value to a string parameter ..... 304

Copying a substring from a string parameter ..... 305

Copying system data to a string parameter ..... 306

Converting a string parameter to a numerical value ..... 308

Checking a string parameter ..... 309

Finding the length of a string parameter ..... 310

Comparing alphabetic priority ..... 311

9 Programming: Q parameters ..... 277