;
; G - Code configuration file - with Arc Support
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; BEM 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 19/06/01 Added support for circular arc output 
;              move to home pos at end instead of 0,0,ZH
; bem 07/09/01 Added G17 to define plane for circular arcs
;
DESCRIPTION = "ProtoTrak (inch) (*.CAM)"
;
FILE_EXTENSION = "CAM"
;
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 = 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.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]
;
; Set up program header
;
START = "% :1"
START = "[N] G90 G80"
START = "[N] T[T] M6"
START = "[N] M03 [S]"
START = "[N] G90 X0 Y0"
START = "[N] [ZH]"
START = "[N] M8"
;
; Program moves
;
RAPID_RATE_MOVE        = "[N] G0 [X] [Y] [Z]"
;
FIRST_FEED_RATE_MOVE   = "[N] G1 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[N] G1 [X] [Y] [Z]"
;
; Toolchange
;
TOOLCHANGE = "[N] T[T] M6"
TOOLCHANGE = "[N] M3 [S]"
TOOLCHANGE = "[N] G90 X0 Y0"
TOOLCHANGE = "[N] [ZH]"
TOOLCHANGE = "[N] M8"
;
;
; End of file
;
END = "[N] M6"
END = "[N] M30"
END = "%"

