;
; Galle configuration file Metric version
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
;
DESCRIPTION = "Primacon (*.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
;
; Spindle Speed
FORMAT = [S|@|S|1,3]
; Feed Rate
FORMAT = [F|#||1.0]
; 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
;
START = "[N] BEGIN PGM 1248 MM"
START = "[N] TOOL CALL 1 Z [S]"
START = "[N] L M6"
START = "[N] L [ZH] F9999 M03"
START = "[N] L [XH] [YH] [ZH] F9999 M112 T0.005"
START = "[N] L [XH] [YH] [ZH] M7"
;
; Program moves
;
RAPID_FEED_RATE = 9999
FEED_RATE_MOVE  = "[N] L[X][Y][Z] F[F] M"
;
; End of file
;
END = "[N] L M113"
END = "[N] L M9"
END = "[N] L M5"
END = "[N] END PGM 1248 MM"
