;
; Heidenhain configuration file Inch version
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; KWO 10/02/03 INCH,added N's
;
;
DESCRIPTION = "Heidenhain_430_(inch) (*.hnc)"
;
FILE_EXTENSION = "hnc"
;
UNITS = INCH
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 1
LINE_NUM_INCREMENT = 1
LINE_NUM_MAXIMUM   = 999999
LINE_NUM_INC_ON_USE = 1
;
; Set up default formating for variables
;
; Line Number
FORMAT = [N|@|N|1.0]
;
; Spindle Speed
FORMAT = [S|@|S|1.0]
; Feed Rate
FORMAT = [F|#|F|1.0|10.0]
; Tool moves in x,y and z
FORMAT = [X|#|X|+1.4]
FORMAT = [Y|#|Y|+1.4]
FORMAT = [Z|#|Z|+1.4]
; Home tool positions 
FORMAT = [XH|@|X|+1.4]
FORMAT = [YH|@|Y|+1.4]
FORMAT = [ZH|@|Z|+1.4]
; Block size format
FORMAT = [XMIN|#|X|+1.4]
FORMAT = [YMIN|#|Y|+1.4]
FORMAT = [ZMIN|#|Z|+1.4]
FORMAT = [XMAX|#|X|+1.4]
FORMAT = [YMAX|#|Y|+1.4]
FORMAT = [ZMAX|#|Z|+1.4]
;
; Set up program header
;

START = "%300 G70"
START = "[N] G00 G40 G90"
START = "[N] G17 T[T]"
START = "[N] [S] M03"
START = "[N] G00 [XH] [YH] M25"
START = "[N] [ZH]"
;
; Program moves
;
RAPID_FEED_RATE = 9999
FIRST_FEED_RATE_MOVE  = "[N] G01 [X] [Y] [Z] [F]"
FEED_RATE_MOVE  = "[N] [X] [Y] [Z]"
;
; Setup Toolchange commands
;
TOOLCHANGE = "[N] G00 [ZH]"
TOOLCHANGE = "[N] T[T]"
TOOLCHANGE = "[N] [S]"
TOOLCHANGE = "[N] G00 [XH][YH]"
TOOLCHANGE = "[N] [ZH]"
;
;
;
END = "[N] G00 [ZH]"
END = "[N] [XH] [YH]"
END = "[N] M09"
END = "N999999 %300 G70"
