;
; 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 19/11/07 Edited for OSAI UNITeam Machine
;
DESCRIPTION = "OSAI_Uni TEAM (mm) (*.anc)"
;
FILE_EXTENSION = "anc"
;
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|@|S|1.0]
; Feed Rate
FORMAT = [F|#|F|1.0]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.6]
FORMAT = [Y|#|Y|1.6]
FORMAT = [Z|#|Z|1.0]
; Arc Center
FORMAT = [R|@|R|1.6]
; Home tool positions 
FORMAT = [XH|@|X|1.6]
FORMAT = [YH|@|Y|1.6]
FORMAT = [ZH|@|Z|1.0]
;
; Set up program header
;
START = "!L=[XSIZE]"
START = "!H=[YSIZE]"
START = "!S=[ZMATERIAL]"
START = "(CLS,INI)"
START = "G0G79Z0"
START = "M6T[T]"
START = "h[T]"
START = "(TCP,1)"
START = "M3[S]"
START = "G16 XY"
START = "G0[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]"
;
; Arc Section
;
CW_ARC_MOVE            = "G2[X][Y]R[Radius]"
;
CCW_ARC_MOVE           = "G3[X][Y]R[Radius]"
;
; End of file
;
;END = "G0[ZH]"
;END = "G0[XH][YH]"
END = "G0G79Z0"
