;
; Hurco configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; bem 22/08/97 Written
; sew 16/04/98 changed precision f/rate
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
;
DESCRIPTION = "Hurco Toolchanger (*.tap)"
;
FILE_EXTENSION = "tap"
;
UNITS = MM
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 0
LINE_NUM_INCREMENT = 2
LINE_NUM_MAXIMUM   = 999999
;
; Set up default formating for variables
;
; Line numbering
FORMAT = [N|@|N|1.0]
; Spindle Speed
FORMAT = [S|@|S|1.0]
; Feed Rate
FORMAT = [F|#|F|1.0]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.3]
FORMAT = [Y|#|Y|1.3]
FORMAT = [Z|#|Z|1.3]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3]
FORMAT = [ZH|@|Z|1.3]
;
; Set up program header
;
START = "%"
START = "[N]G00"
START = "[N]G90"
START = "[N]G71"
START = "[N]M25"
START = "[N]T[T]M06"
START = "[N]M25"
START = "[N][XH][YH]"
START = "[N][S]M03"
START = "[N]M07"
START = "[N][ZH]"

;
; Program moves
;
RAPID_RATE_MOVE        = "[N]G00[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "[N]G01[X][Y][Z][F]"
FEED_RATE_MOVE         = "[N][X][Y][Z]"
;
; Setup Toolchange commands
;
TOOLCHANGE = "[N]M25"
TOOLCHANGE = "[N]G00"
TOOLCHANGE = "[N]M09"
TOOLCHANGE = "[N]T[T]M06"
TOOLCHANGE = "[N]M25"
TOOLCHANGE = "[N][XH][YH][ZH]"
TOOLCHANGE = "[N][S]M03"
TOOLCHANGE = "[N]M07"
;
; End of file
;
END = "[N]M25"
END = "[N]G00"
END = "[N]M09"
END = "[N]M25"
END = "[N]M05"
END = "[N]M02"
END = "E"