HEIDENHAIN SW 548328-05 DIN Programming User Manual
Page 24
24
4.31 Programming variables ..... 389
Variable types ..... 390
Reading tool data ..... 392
Reading the current NC information ..... 394
Reading general NC information ..... 395
Reading configuration data—PARA ..... 396
Determining the index of a parameter element—PARA ..... 397
Expanded variable syntax CONST – VAR ..... 398
4.32 Conditional block run ..... 400
Program branching IF..THEN..ELSE..ENDIF ..... 400
Requesting variables and constants ..... 401
WHILE..ENDWHILE program repeat ..... 402
SWITCH..CASE—program branching ..... 403
Subprogram call: L"xx" V1 ..... 404
Dialog texts in subprogram call ..... 405
Help graphics for subprogram calls ..... 406
M commands for program-run control ..... 407
Machine commands ..... 408
4.35 G functions from previous controls ..... 409
Contour definitions in the machining section ..... 409
Simple turning cycles ..... 411
Thread cycles (4110) ..... 416
4.36 DINplus program example ..... 418
Example of a subprogram with contour repetitions ..... 418
4.37 Connection between geometry and machining commands ..... 421
Turning ..... 421
C-axis machining—front/rear face ..... 422
C-axis machining—lateral surface ..... 422
4.38 Full-surface machining ..... 423
Fundamentals of full-surface machining ..... 423
Programming of full-surface machining ..... 424
Full-surface machining with opposing spindle ..... 425
Full-surface machining with single spindle ..... 427