;
; Fanuc configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; JAB 12/12/03 Modified for Onsrud AMC Inches 
;
DESCRIPTION = "Onsrud AMC (*.nc)"
;
FILE_EXTENSION = "nc"
;
UNITS = INCH
;
; 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   = 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.1]
; 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]
;
; Set up program header
;
START = "P[COMMENT]"
START = "[N]G70"
START = "[N]M6T[T]"
START = "[N]M3[S]"
START = "[N]G0[XH][YH]"
START = "[N][ZH]"
;
; 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]M5"
END = "[N]M2"
;
;Tool Change
;
TOOLCHANGE = "[N]M5"
TOOLCHANGE = "[N]M6T[T]"
TOOLCHANGE = "[N]M3[S]"
TOOLCHANGE = "[N]G0[XH][YH]"
TOOLCHANGE = "[N][ZH]"