;
; Gerber GSP output for use by ArtCAM Gerber Spooler
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 06/04/98 Written for Gerber
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
;
DESCRIPTION = "Gerber with OLD ATC (*.ger)"
;
FILE_EXTENSION = "ger"
;
; All output units in inches
;
UNITS = INCH
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
;RAPID_FEED_RATE = 600
;
; Set up default formating for variables
;
; Spindle Speed
FORMAT = [S|@||1.0]
; Feed Rate
FORMAT = [F|@||1.0]
; Tool moves in x,y and z
FORMAT = [X|@||1.5]
FORMAT = [Y|@||1.5]
FORMAT = [Z|@||1.5|-1.0]
; Home tool positions 
FORMAT = [XH|@||1.5]
FORMAT = [YH|@||1.5]
FORMAT = [ZH|@||1.5]
; Tool Number
FORMAT = [T|@||1.0]


;
; Set up program header
;
;START = "#T[TOOLDESC]"
; initialize selected axis (all axis)
START = "#R4000"
; Tool select - pen
START = "#R4100"
; Set Tool up position z= 0.25
START = "#R49000061A8"
START = "#MJob Start. Load Matl"
START = "#L[XMIN] [YMIN] [ZMIN] [XMAX] [YMAX][ZMAX]"
; Tool select - cut
START = "#R4101"
; initialize selected axis (z axis)
START = "#R4001"
; Tool description and spindle speed
;START = "#M[T]:[TOOLDESC] <[S] R.P.M>"
START = "#T[T]|[S]|[TOOLDESC]"
; Set Tool Down Position
START = "#R4A00000001"
START = "#F[FC]"
START = "#P[FP]" 

;START = "#C[FILENAME]: Press START"
;START = "#N[T]"
;START = "#S[S]"
;START = "#P[FP]"
; Output raw gerber commands
;
; Program moves
;
; Rapid rate
;FIRST_RAPID_RATE_MOVE = "#F[F][13][10]#A[X] [Y] [Z]"
;RAPID_RATE_MOVE       = "#A[X] [Y] [Z]"

RAPID_RATE_MOVE  = "#A[X] [Y] [Z]"
FEED_RATE_MOVE   = "#B[X] [Y] [Z]"
PLUNGE_RATE_MOVE = "#C[X] [Y] [Z]"
RETRACT_MOVE     = "#D[X] [Y] [Z]"

;
; Feed Rate
;
;FIRST_FEED_RATE_MOVE = "#F[F][13][10]#B[X] [Y] [Z]"
;FEED_RATE_MOVE       = "#B[X] [Y] [Z]"
;
; End of file
;
; 
; Toolchange moves (only output for 2nd and later tools )
;
;TOOLCHANGE = "#M[T]:[TOOLDESC] <[S] R.P.M>"
;TOOLCHANGE = "#F[FC]"
;TOOLCHANGE = "#P[FP]" 
TOOLCHANGE = "#T[T]|[S]|[TOOLDESC]"