; ; 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 ; DESCRIPTION = "01_Chevalier(*.fan)" ; FILE_EXTENSION = "fan" ; 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.1] ; Tool moves in x,y and z FORMAT = [X|#|X|1.3] FORMAT = [Y|#|Y|1.3] FORMAT = [Z|#|Z|1.3] ; 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] ; ; Set up program header ; START = "%" START = "O0000([FILENAME])" ;;START = ":1248" START = "G17G40G49G80G90" START = "T[T]M6" START = "M0" START = "G90G54" START = "G43H[T][ZH]" START = "M8" START = "[S]M3" START = "G0[XH][YH][S]M3" ; ; Program moves ; FIRST_RAPID_RATE_MOVE = "G0[X][Y][Z][S]" FIRST_FEED_RATE_MOVE = "G1[X][Y][Z][F]" FEED_RATE_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 moves (only output for 2nd and later tools) ; TOOLCHANGE = "G91G28Z0" TOOLCHANGE = "G49H0" TOOLCHANGE = "T[T]M6" TOOLCHANGE = "M0" TOOLCHANGE = "G90G54" TOOLCHANGE = "G43H[T][ZH]" TOOLCHANGE = "[S]M3" ; ; End of file ; END = "M9" END = "G28G91Z0" END = "G49H0" END = "G28X0Y0" END = "M30" END = "%"