beautypg.com

4 cr eating and w riting pr ogr ams – HEIDENHAIN iTNC 530 (340 49x-03) ISO programming User Manual

Page 130

background image

130

4 Fundamentals of NC, File Management, Programming Aids, Pallet Management

4.4 Cr

eating and W

riting Pr

ogr

ams

Example: Display the blank 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 G90 X+100 Y+100 Z+0 *

MAX point coordinates

N9999999 %NEW G71 *

Program end, name, unit of measure

If you do not wish to define a blank form, cancel the dialog
at Spindle axis Z — XY plane 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.