;
; Gerber ISO output
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 06/04/98 Written for Gerber
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
;
DESCRIPTION = "Gerber - ISO (*.iso)"
;
FILE_EXTENSION = "iso"
;
UNITS = INCH
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START      = 2
LINE_NUM_INCREMENT  = 2
LINE_NUM_MAXIMUM    = 999999
LINE_NUM_INC_ON_USE = 1
;
; 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.5]
FORMAT = [Y|#| Y|1.5]
FORMAT = [Z|#| Z|1.5]
; Home tool positions 
FORMAT = [XH|@| X|1.5]
FORMAT = [YH|@| Y|1.5]
FORMAT = [ZH|@| Z|1.5]
; Tool Number
FORMAT = [T|@||04.0]


;
; Set up program header
;
START = "%"
START = "[N] G20 G90"
START = "([FILENAME]: Press START)"
START = "/ [COMMENT]"
START = "/ [TOOLDESC]"
START = "/ Relief Limits :MinXYZ: [XMIN],[YMIN],[ZMIN]"
START = "/                MaxXYZ: [XMAX],[YMAX],[ZMAX]"
START = "[N] T[T] M06"
START = "[N] G0[XH][YH][S] M03"
;
; Program moves
;
RAPID_RATE_MOVE      = "[N] G0[X][Y][Z]"
FIRST_FEED_RATE_MOVE = "[N] G1[X][Y][Z][F]"
FEED_RATE_MOVE       = "[N][X][Y][Z]"
;
; End of file
;
END = "[N] M05"
END = "[N] M30"
END = "%"
;
; Toolchange moves (only output for 2nd and later tools )
;
TOOLCHANGE = "/ Toolpath: [FILENAME]"
TOOLCHANGE = "/ Tool:     [TOOLDESC]"
TOOLCHANGE = "/ Comment:  [COMMENT]"
TOOLCHANGE = "[N] T[T] M06"
TOOLCHANGE = "[N] G90"
