HEIDENHAIN MANUALplus 620 17
4.31 Programming with Variables ..... 355
Variable types ..... 355
Reading tool data ..... 357
Reading the current NC information ..... 358
Reading general NC information ..... 359
Reading configuration data—PARA ..... 360
Determining the index of a parameter element—PARA ..... 361
Expanded variable syntax CONST – VAR ..... 362
4.32 Conditional Block Run ..... 364
Program branching IF..THEN..ELSE..ENDIF ..... 364
WHILE..ENDWHILE program repeat ..... 365
SWITCH..CASE—program branching ..... 366
4.33 Subprograms ..... 367
Subprogram call: L"xx" V1 ..... 367
Dialogs texts in subprogram call ..... 368
Help graphics for subprogram calls ..... 368
4.34 M Commands ..... 369
M commands for program-run control ..... 369
Machine commands ..... 370
4.35 G Functions from Previous Controls ..... 371
Contour definitions in the machining section ..... 371
Simple turning cycles ..... 373
Thread cycles (4110) ..... 378
4.36 DINplus Program Example ..... 380
Example of a subprogram with contour repetitions ..... 380
4.37 Connection between Geometry and Machining Commands ..... 383
Turning ..... 383
C-axis machining—front/rear face ..... 384
C-axis machining—lateral surface ..... 384