;
; Centroid configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; bmd 20/11/07 Modified for Centriod machine - SDSU
;
;
DESCRIPTION = "Centroid Inch Arcs (*.cnc)"
;
UNITS = INCH
;
FILE_EXTENSION = "cnc"
;
; 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.0]
; 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]
; Arc Centre Cordinates
FORMAT = [I|@| I|1.4]
FORMAT = [J|@| J|1.4]
;
; Set up program header
;
START = "[59] CNC code generated by ArtCAM"
START = "[59] Program:  [FILENAME]"
START = "M25 G49"
START = "G17 G40"
START = "G20"
START = "G80"
START = "G90"
START = "G98"
START = "G49 H0 M25"
START = "T1 [S] M6"
START = "M3"
START = "G4 P3.00"
START = "G43 D1"
START = "G0[XH][YH][ZH] H1"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "G1[X][Y][Z][F]"
FEED_RATE_MOVE         = "[X][Y][Z]"
;
; Arc Support
;
FIRST_CW_ARC_MOVE      = "G2[X][Y][I][J][F]"
CW_ARC_MOVE            = "[X][Y][I][J]"
;
FIRST_CCW_ARC_MOVE     = "G3[X][Y][I][J][F]"
CCW_ARC_MOVE           = "[X][Y][I][J]"
;
; End of file
;
END = "G49 H0 M25"
END = "G40"
END = "M5"
END = "M9"
END = "G80"
End = "[59] End of Program"
;