beautypg.com

2 cr eating and wr iting pr ogr a ms – HEIDENHAIN iTNC 530 (60642x-03) ISO programming User Manual

Page 102

background image

102

Programming: Fundamentals, file management

3.2 Cr

eating and wr

iting 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.