beautypg.com

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

Page 43

background image

HEIDENHAIN iTNC 530

43

9.1 Principle and overview ..... 274

Programming notes ..... 276
Calling Q-parameter functions ..... 277

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

Function ..... 278

9.3 Describing contours through mathematical operations ..... 279

Function ..... 279
Overview ..... 279
Programming fundamental operations ..... 280

9.4 Trigonometric functions ..... 281

Definitions ..... 281
Programming trigonometric functions ..... 282

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

Function ..... 283
Unconditional jumps ..... 283
Programming if-then decisions ..... 284

9.6 Checking and changing Q parameters ..... 285

Procedure ..... 285

9.7 Additional functions ..... 286

Overview ..... 286
D14: ERROR: Displaying error messages ..... 287
D15 PRINT: Output of texts or Q parameter values ..... 291
D19 PLC: Transfer values to the PLC ..... 292

9.8 Entering formulas directly ..... 293

Entering formulas ..... 293
Rules for formulas ..... 295
Programming example ..... 296

9.9 String parameters ..... 297

String processing functions ..... 297
Assigning string parameters ..... 298
Chain-linking string parameters ..... 299
Converting a numerical value to a string parameter ..... 300
Copying a substring from a string parameter ..... 301
Copying system data to a string parameter ..... 302
Converting a string parameter to a numerical value ..... 304
Checking a string parameter ..... 305
Finding the length of a string parameter ..... 306
Comparing alphabetic priority ..... 307

9 Programming: Q parameters ..... 273