2 cr eating and w riting pr ogr a ms – HEIDENHAIN TNC 640 (34059x-01) User Manual

Page 87

Advertising
background image

HEIDENHAIN TNC 640

87

3.2 Cr

eating and W

riting Pr

ogr

a

ms

Example: Display the BLK form in the NC program

The TNC generates the block numbers as well as the BEGIN and END
blocks automatically.

0 BEGIN PGM NEW MM

Program begin, name, unit of measure

1 BLK FORM 0.1 Z X+0 Y+0 Z-40

Spindle axis, MIN point coordinates

2 BLK FORM 0.2 X+100 Y+100 Z+0

MAX point coordinates

3 END PGM NEW MM

Program end, name, unit of measure

If you do not wish to define a blank form, cancel the dialog
at Working plane in graphic: XY 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.

Advertising