;
; Fanuc configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; tm  19/03/03 Modified for Auto vacuum drop at Toolchange
; tm  20/03/03 Added circular arc support
;
DESCRIPTION = "FlexiCAM ACS (*.din)"
;
FILE_EXTENSION = "din"
;
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 = 10
LINE_NUM_MAXIMUM   = 999999
;
; Set up default formating for variables
;
; Line numbering
FORMAT = [N|@|N|1.0]
; Spindle Speed
FORMAT = [S|@|E|1.0]
; Feed Rate
FORMAT = [F|#|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|1]
; Arc Centre Cordinates
FORMAT = [I|@|I|1.3]
FORMAT = [J|@|J|1.3]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3]
FORMAT = [ZH|@|Z|1.3|1]
;
; Set up program header
;
START = "M110"
START = "G17" 
START = "G90" 
START = "G71"
START = "G40"
START = "M123"
START = "M6 T[T]"
START = "M100"
START = "M122" 
START = "G0 [ZH]"
START = "G0 [XH] [YH]"
START = "M100"
START = "M3 [S]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0 [X] [Y] [Z]"
FIRST_FEED_RATE_MOVE   = "G1 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[X] [Y] [Z]"
;
TOOLCHANGE = "M123"
TOOLCHANGE = "M6 T[T]"
TOOLCHANGE = "M3 [S]"
TOOLCHANGE = "M122"
;
;
FIRST_CW_ARC_MOVE      = "G2 [X] [Y] [I] [J][F]"
CW_ARC_MOVE            = "G2 [X] [Y] [I] [J]"
;
FIRST_CCW_ARC_MOVE     = "G3 [X] [Y] [I] [J] [F]"
CCW_ARC_MOVE           = "G3 [X] [Y] [I] [J]"
;
; End of file
;
END = "G0 [ZH]"
END = "G0 [XH] [YH]"
END = "M123"
END = "M101"
END = "M111"
END = "M5"
END = "M30"
END = "M2"


