beautypg.com

12 pr ogr amming examples – HEIDENHAIN TNC 320 (340 55x-04) ISO programming User Manual

Page 258

background image

258

Programming: Q Parameters

8.12 Pr

ogr

amming Examples

N390 G11 R+Q6 H+Q5 FQ12 *

Move to the end angle in space

N400 G01 G40 Z+Q23 F1000 *

Retract in the tool axis

N410 G00 G40 X+Q26 *

Pre-position for next arc

N420 D01 Q28 P01 +Q28 P02 +Q18 *

Update rotational position in the plane

N430 D00 Q24 P01 +Q4 *

Reset solid angle

N440 G73 G90 H+Q28 *

Activate new rotational position

N450 D12 P01 +Q28 P02 +Q9 P03 1 *

Unfinished? If not finished, return to label 1

N460 D09 P01 +Q28 P02 +Q9 P03 1 *

N470 G73 G90 H+0 *

Reset the rotation

N480 G54 X+0 Y+0 Z+0 *

Reset the datum shift

N490 G98 L0 *

End of subprogram

N99999999 %SPHERE G71 *