;
; G - Code configuration file - with Arc Support
;
;
;
; When Using this post XY Zero MUST be the UPPER LEFT corner!
;
;
;
;
;; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
;   Add -1.0 to Y axis to mirror it
;   Changed G2's to 3's and 3's to 2's
;   Add -1.0 to Z axis to mirror it
;   Add XMAX, YMAX, ZMATERIAL to first line
;
;
DESCRIPTION = "Morbideli (mm) (*.XXL) BY=450 -DC"
;
FILE_EXTENSION = "XXL"
;
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 = 1
;LINE_NUM_MAXIMUM   = 25000
;
; 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.3]
FORMAT = [Y|#|Y=|1.3|-1]
FORMAT = [Z|#|Z=|1.3|-1]
; Arc Centre Cordinates
FORMAT = [IA|@|I=|1.3]
FORMAT = [JA|@|J=|1.3|-1]
; Home tool positions 
FORMAT = [XH|@|X=|1.3]
FORMAT = [YH|@|Y=|1.3|-1]
FORMAT = [ZH|@|Z=|1.3|-1]
;
; Set up program header
;
START = "H DX=[XSIZE] DY=[YSIZE] DZ=[ZMATERIAL] -AB C=0 T=0 R=1 *MM /[34]DEF[34] BX=0 BY=350 BZ=0"
START = "C=0"
START = "G0 X=0 Y=0 [ZH] [S] T=[T]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0 [X] [Y] [Z]"
;
FIRST_FEED_RATE_MOVE   = "G1 [X] [Y] [Z]"
FEED_RATE_MOVE         = "G1 [X] [Y] [Z]"
;
FIRST_CW_ARC_MOVE      = "G2 [X] [Y] [IA] [JA] r=[Radius]"
CW_ARC_MOVE            = "G2 [X] [Y] [IA] [JA] r=[Radius]"
;
FIRST_CCW_ARC_MOVE     = "G3 [X] [Y] [IA] [JA] r=[Radius]"
CCW_ARC_MOVE           = "G3 [X] [Y] [IA] [JA] r=[Radius]"
;
; Toolchange
;
TOOLCHANGE = "C=0"
TOOLCHANGE = "G0 X0 Y0 [ZH] [S] T=[T]"
;
;
; End of file
;
END = "C=0"


