beautypg.com

10 programming: q parameters, Programming: q parameters – HEIDENHAIN iTNC 530 (340 420) User Manual

Page 24

background image

XX

10.1 Principle and Overview ..... 376

Programming notes ..... 376

Calling Q parameter functions ..... 377

10.2 Part Families—Q Parameters in Place of Numerical Values ..... 378

Example NC blocks ..... 378

Example ..... 378

10.3 Describing Contours through Mathematical Operations ..... 379

Function ..... 379

Overview ..... 379

Programming fundamental operations ..... 380

10.4 Trigonometric Functions ..... 381

Definitions ..... 381

Programming trigonometric functions ..... 382

10.5 Calculating Circles ..... 383

Function ..... 383

10.6 If-Then Decisions with Q Parameters ..... 384

Function ..... 384

Unconditional jumps ..... 384

Programming If-Then decisions ..... 384

Abbreviations used: ..... 385

10.7 Checking and Changing Q Parameters ..... 386

Procedure ..... 386

10.8 Additional Functions ..... 387

Overview ..... 387

FN14: ERROR: Displaying error messages ..... 388

FN15: PRINT: Output of texts or Q parameter values ..... 390

FN16: F-PRINT: Formatted output of texts or Q parameter values ..... 391

FN18: SYS-DATUM READ Read system data ..... 393

FN19: PLC: Transferring values to the PLC ..... 399

FN20: WAIT FOR: NC and PLC synchronization ..... 399

FN25: PRESET: Setting a new datum ..... 401

FN26: TABOPEN: Opening a Freely Definable Table ..... 402

FN27: TABWRITE: writing to a freely definable table ..... 402

FN28: TABREAD: Reading a Freely Definable Table ..... 403

10.9 Entering Formulas Directly ..... 404

Entering formulas ..... 404

Rules for formulas ..... 406

Programming example ..... 407

10 Programming: Q Parameters ..... 375