;
; Fanuc configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; TM  01/08/99 Edited adding Toolchange options
; SGB 09/12/06 Edited for Shoda NCW 516  
;
DESCRIPTION = "Shoda NCW 516 (*.tap)"
;
FILE_EXTENSION = "tap"
;
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   = 99999
;
; 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 = "%"
START = "O0"
START = "G17G0G40G80G90"
START = "([FILENAME] : [TOOLDESC])"
START = "T2"
START = "M3[S]"
START = "G0G90G54[XH][YH]"
START = "G0[ZH]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "G1[X][Y][Z][F]"
FEED_RATE_MOVE         = "[X][Y][Z]"
;
; Setup Toolchange commands
;
TOOLCHANGE = "G28G91Z0"
TOOLCHANGE = "G49M05"
TOOLCHANGE = "T21"
TOOLCHANGE = "M06T10[T]"
TOOLCHANGE = "([FILENAME] : [TOOLDESC])"
TOOLCHANGE = "T01"
TOOLCHANGE = "[S]M03"
TOOLCHANGE = "G43[ZH]H1[T]"
TOOLCHANGE = "G90G54"
TOOLCHANGE = "G0[Z]"
;
;
; End of file
;
END = "G0[ZH]"
END = "M5"
END = "G0G91G28X0.Z0."
END = "M30"
END = "%"
