beautypg.com

6 cr eating and w riting pr ogr ams – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 101

background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

75

4.6 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

N999999 %NEW G71 *

Program end, name, unit of measure

The TNC can display the graphic only if the ratio of the
shortest to the longest side of the blank form is less than
1 : 64.