;
; G - Code configuration file - with Arc Support
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; BEM 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 19/06/01 Added support for circular arc output 
;              move to home pos at end instead of 0,0,ZH
; bem 07/09/01 Added G17 to define plane for circular arcs
; sgb 14/08/07 Post for Omnitech Pal
; bmd 23/08/07 Added Drill Bank Info (Commented)
; tls 27/08/07 Removed line numbers as per customer's request
; jvg 09/10/07 changed arcs from R to I and J
;
DESCRIPTION = "Omnitech Arcs TC (inch) (*.anc)"
;
FILE_EXTENSION = "anc"
;
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.5]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.5]
FORMAT = [Y|#|Y|1.5]
FORMAT = [Z|#|Z|1.5]
;
; Arc Centre Cordinates
FORMAT = [I|@|I|1.5]
FORMAT = [J|@|J|1.5]
;
; Home tool positions 
FORMAT = [XH|@|X|1.5]
FORMAT = [YH|@|Y|1.5]
FORMAT = [ZH|@|Z|1.5]
;
; Drill Bank Variables
; D is Drill Number, DB is Drill Number Binary Sum
; DBX is Drill Number Binary Sum for X axis, DBY is Drill Number Binary Sum for Y axis
; 
;FORMAT = [D|#||1.0]
;FORMAT = [DB|#||1.0]
;FORMAT = [DBX|@||1.0]
;FORMAT = [DBY|@||1.0]
;
;
; Set up program header
;
START = "([FILENAME])"
START = "([TOOLPATHNAME])"
START = "([TOOLDESC])"
START = "G20"
START = "G91G28Z0M15"
START = "G90G40G49M22"
START = "M25"
START = "#5201=0"
START = "#5202=0"
START = "M88B0"
START = "M89B0"
START = "G08P1"
START = "T[T]"
START = "M13[S]"
START = "G43H[T][ZH]M58"
START = "G0G90G54[XH][YH]"
;
; Program moves
;
FIRST_RAPID_RATE_MOVE  = "G0[X][Y][Z]M59"
RAPID_RATE_MOVE        = "G0[X][Y][Z]"
;
FIRST_FEED_RATE_MOVE   = "G1[X][Y][Z][F]"
FEED_RATE_MOVE         = "[X][Y][Z]"
;
RETRACT_MOVE           = "[X][Y][Z]"
;
;
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]"
;
;
; Toolchange commands
;
TOOLCHANGE = "G91G28Z0M15"
TOOLCHANGE = "G90G49H0M22"
TOOLCHANGE = "M25"
TOOLCHANGE = "M88B0"
TOOLCHANGE = "M89B0"
TOOLCHANGE = "T[T]"
TOOLCHANGE = "M13[S]"
TOOLCHANGE = "G0G90G54[XH][YH]"
TOOLCHANGE = "G43H[T][ZH]M58"
;
; End of file
;
END = "G0[ZH]"
END = "G0[XH][YH]"
END = "G91G28Z0M15"
END = "G90G49H0M22"
END = "M25"
END = "M88B0"
END = "M89B0"
END = "G08P0"
END = "#5201=0"
END = "#5202=0"
END = "M30"