;
; Bostomatic configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; bjs 2/7/97 wRITTEN  atg
;
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; bem 27/11/00 Added toolchange support for unique
;
;
DESCRIPTION = "Bostomatic 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 = 1
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.1]
; 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 - G141 - absolute rpm
;
START = "%"
START = "G141G40G90G49R"
;START = "G01X0Y0Z100.R"
START = "T[T]M06"
START = "G48R"
START = "G01[XH][YH][S]M03R"
START = "G04X4.0"
;
; Program moves
;
RAPID_RATE_MOVE        = "G01[X][Y][Z]R"
FIRST_FEED_RATE_MOVE   = "G01[X][Y][Z][F]"
FEED_RATE_MOVE         = "[X][Y][Z]"
;
; Setup Toolchange commands - cancel tool length comp, select tool, enable tool length comp
;
; Output block number for tool change
;
TOOLCHANGE = "G49R"
; check tool for wear
TOOLCHANGE = "M2803"
TOOLCHANGE = "T[T]M06"
TOOLCHANGE = "G48R"
TOOLCHANGE = "G01[XH][YH][S]M03R"
;
; End of file
;
END = "Z100.R"
END = "G01X0Y0R"
END = "G49R"
END = "M05"
END = "M09"
END = "Z100.R"
END = "M02"
