beautypg.com

2 cr eating and w riting pr ogr a ms – HEIDENHAIN iTNC 530 (340 49x-06) ISO programming User Manual

Page 105

background image

HEIDENHAIN iTNC 530

105

3.2 Cr

eating and W

riting Pr

ogr

a

ms

Example: Display the BLK form in the NC program

The TNC automatically generates the first and last blocks of the
program.

%NEW G71 *

Program begin, name, unit of measure

N10 G30 G17 X+0 Y+0 Z-40 *

Spindle axis, MIN point coordinates

N20 G31 X+100 Y+100 Z+0 *

MAX point coordinates

N99999999 %NEW G71 *

Program end, name, unit of measure

If you do not wish to define a blank form, cancel the dialog
at Working spindle axis X/Y/Z by pressing the DEL key!

The TNC can display the graphics only if the shortest side
is at least 50 µm long and the longest side is no longer
than 99 999.999 mm.