beautypg.com

HEIDENHAIN SW 54843x-03 DIN Programming User Manual

Page 24

background image

24

4.31 Programming variables ..... 405

Variable types ..... 406

Reading tool data ..... 408

Reading diagnostic bits ..... 411

Reading the current NC information ..... 412

Reading general NC information ..... 414

Reading configuration data—PARA ..... 416

Determining the index of a parameter element—PARA ..... 417

Expanded variable syntax CONST – VAR ..... 418

4.32 Conditional block run ..... 420

Program branching IF..THEN..ELSE..ENDIF ..... 420

Requesting variables and constants ..... 421

WHILE..ENDWHILE program repeat ..... 422

SWITCH..CASE—program branching ..... 423

Skip level ..... 424

4.33 Subprograms ..... 425

Subprogram call: L"xx" V1 ..... 425

Dialog texts in subprogram call ..... 426

Help graphics for subprogram calls ..... 427

4.34 M commands ..... 428

M commands for program-run control ..... 428

Machine commands ..... 429

4.35 G codes from previous controls ..... 430

Contour definitions in the machining section ..... 430

Simple turning cycles ..... 432

Thread cycles (4110) ..... 437

4.36 DINplus program example ..... 439

Example of a subprogram with contour repetitions ..... 439

4.37 Connection between geometry and machining commands ..... 442

Turning Operations ..... 442

C-axis machining—front/rear face ..... 443

C-axis machining—lateral surface ..... 443

4.38 Full-surface machining ..... 444

Fundamentals of full-surface machining ..... 444

Programming of full-surface machining ..... 445

Full-surface machining with opposing spindle ..... 446

Full-surface machining with single spindle ..... 448

This manual is related to the following products: