beautypg.com

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

Page 110

background image

110

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