40
9.1 Principle and Overview ..... 294
Programming notes ..... 296
Calling Q-parameter functions ..... 297
9.2 Part Families—Q Parameters in Place of Numerical Values ..... 298
Function ..... 298
9.3 Describing Contours through Mathematical Operations ..... 299
Function ..... 299
Overview ..... 299
Programming fundamental operations ..... 300
9.4 Trigonometric Functions ..... 301
Definitions ..... 301
Programming trigonometric functions ..... 302
9.5 Circle Calculations ..... 303
Function ..... 303
9.6 If-Then Decisions with Q Parameters ..... 304
Function ..... 304
Unconditional jumps ..... 304
Programming If-Then decisions ..... 305
Abbreviations used: ..... 305
9.7 Checking and Changing Q Parameters ..... 306
Procedure ..... 306
9.8 Additional Functions ..... 307
Overview ..... 307
FN 14: ERROR: Displaying error messages ..... 308
FN 15: PRINT: Output of texts or Q parameter values ..... 312
FN 16: F-PRINT: Formatted output of text and Q-parameter values ..... 313
FN 18: SYS-DATUM READ: Read system data ..... 317
FN 19: PLC: Transfer values to the PLC ..... 323
FN 20: WAIT FOR: NC and PLC synchronization ..... 324
FN 25: PRESET: Setting a new datum ..... 326
9.9 Entering Formulas Directly ..... 327
Entering formulas ..... 327
Rules for formulas ..... 329
Programming example ..... 330
9 Programming: Q Parameters ..... 293