beautypg.com

1 1 pr ogr amming examples – HEIDENHAIN iTNC 530 (340 49x-06) ISO programming User Manual

Page 308

background image

308

Programming: Q Parameters

9.1

1

Pr

ogr

amming Examples

N400 G11 R+Q6 H+Q5 FQ12 *

Move to the end angle in space

N410 G01 G40 Z+Q23 F1000 *

Retract in the tool axis

N420 G00 G40 X+Q26 *

Pre-position for next arc

N430 Q28 = Q28 + Q18 *

Update rotational position in the plane

N440 Q24 = +Q4 *

Reset solid angle

N450 G73 G90 H+Q28 *

Activate new rotational position

N460 D12 P01 +Q28 P02 +Q9 P03 1 *

Unfinished? If not finished, return to label 1

N470 D09 P01 +Q28 P02 +Q9 P03 1 *

N480 G73 G90 H+0 *

Reset the rotation

N490 G54 X+0 Y+0 Z+0 *

Reset the datum shift

N500 G98 L0 *

End of subprogram

N99999999 %SPHERE G71 *