;
; Warthog G - Code configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; JAB 16/10/00 Edited for Warthog
; SP  07/11/00 Added DESCRIPTION and FILE_EXTENSION fields
; bmd 28/02/05 Added arc support as per sample code provided by LA Glentek
; AF  09/08/05 Added ATC support 
;
DESCRIPTION = "Warthog-ATC (inch) (*.tap)"
;
FILE_EXTENSION = "tap"
;
UNITS = INCH
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 0
LINE_NUM_INCREMENT = 10
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.4]
FORMAT = [Y|#|Y|1.4]
FORMAT = [Z|#|Z|1.4]
; Arc Centre Cordinates
FORMAT = [I|@|I|1.4]
FORMAT = [J|@|J|1.4]
; Home tool positions 
FORMAT = [XH|@|X|1.4]
FORMAT = [YH|@|Y|1.4]
FORMAT = [ZH|@|Z|1.4]
;  Tool Number
Format = [T|@||1.0]
;
; Set up program header
;
START = "G00 F400"
START = "G90"
START = "G53"
START = "M5"
START = "T[T]"
START = "M3"
START = "[S]"
START = "G00 [ZH]"
START = "G00 [XH] [YH]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G00 [X] [Y] [Z] F400"
FIRST_FEED_RATE_MOVE   = "G01 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[X] [Y] [Z]"
;
FIRST_CW_ARC_MOVE      = "G02 [X] [Y] [I] [J] [F]"
CW_ARC_MOVE            = "G02 [X] [Y] [I] [J]"
;
FIRST_CCW_ARC_MOVE     = "G03 [X] [Y] [I] [J] [F]"
CCW_ARC_MOVE           = "G03 [X] [Y] [I] [J]"
;
;
;Setup Toolchange Commands
TOOLCHANGE = "M5"
TOOLCHANGE = "T[T]"
TOOLCHANGE = "M3"
TOOLCHANGE = "[S]"
TOOLCHANGE = "G0[X][Y][Z]"
;
;End of file
;
END = "G53"
END = "M5"
END = "TU"
END = "G00 X0.0000 Y0.0000"
;
;