;
; Streamline Automation FROG Mill Inch configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; TM  12/04/97 Modified Fanuc file to suite
; SP  18/11/00 Properly Configured to suite machine as per GS example.
;              This post is for CMC3 series using inches.
; SP  22/12/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 04/07/01 Added circular arc support
; GEB 16/09/05 Added Line Numbering
; GEB 31/01/06 Customized for STREAMLINE AUTOMATION
; GEB 08/07/06 Customized for STREAMLINE AUTOMATION FROG Mill
;
DESCRIPTION = "FROG Mill MM (*.nc)"
;
FILE_EXTENSION = "nc"
;
UNITS = MM
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 1
LINE_NUM_INCREMENT = 1
LINE_NUM_MAXIMUM   = 9999999
;
; 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]
; Arc Centre Cordinates
FORMAT = [I|@|I|1.4]
FORMAT = [J|@|J|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 = "[N][32][40]STREAMLINE AUTOMATION[41]"
START = "[N][32][40]Spindle Enabled[41]"
START = "[N][32]"
START = "[N][32][40]FILE SET TO RUN IN INCHES[41]"
START = "[N][32][40]FILE:[FILENAME][41]"
START = "[N][32]"
START = "[N][32][40]MATERIAL[41]"
START = "[N][32]"
START = "[N][32][40]X-SIZE =[32][XSIZE][32]Y-SIZE =[32][YSIZE][32]Z-SIZE =[32] [ZSIZE][41]"
START = "[N][32]"
START = "[N][32][40]TOOL:[32][TOOLDESC][41]"
START = "[N][32]"
START = "[N][32]G90[32][40]Absolute Mode[41]"
START = "[N][32][S][32][40]Spindle Speed[41]"
START = "[N][32]G21[32][40]Set Units to MM[41]"
START = "[N][32]M3[32][40]Spindle On[41]"
START = "[N][32]M8[32][40]Dust Collector On[41]"
START = "[N][32]G0[32][XH][32][YH][40]Go To X/Y Home[41]"
START = "[N][32]G0[32][ZH][32][40]Go To Z Home[41]"


;
; Program moves
;
RAPID_RATE_MOVE        = "[N][32]G0[32][X][32][Y][32][Z]"
FIRST_FEED_RATE_MOVE   = "[N][32]G1[32][X][32][Y][32][Z][32][F]"
FEED_RATE_MOVE         = "[N][32][X][32][Y][32][Z][32][F]"
;
FIRST_CW_ARC_MOVE      = "[N][32]G2[32][X][32][Y][32][I][32][J][32][F]"
CW_ARC_MOVE            = "[N][32]G2[32][X][32][Y][32][I][J]"
;
FIRST_CCW_ARC_MOVE     = "[N][32]G3[32][X][32][Y][32][I][32][J][32][F]"
CCW_ARC_MOVE           = "[N][32]G3[32][X][32][Y][32][I][32][J]"

;
; End of file
;
END = "[N][32]G53Z0[32][40]Raise Head to Top[41]"
END = "[N][32]M9[32][40]Dust Collector Off[41]"
END = "[N][32]M5[32][40]Spindle Off[41]"
END = "[N][32]G0X0Y0[32][40]Go Home[41]"
END = "[N][32][40]End of File[41]"
