;
; 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
; jvg 12/10/05 adjusted for Wisnner machine
;
DESCRIPTION = "Wissner (*.nc)"
;
FILE_EXTENSION = "nc"
;
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.1]
FORMAT = [Y|#| Y|1.1]
FORMAT = [Z|#| Z|1.1]
; Arc Centre Cordinates
FORMAT = [I|@| I|1.1]
FORMAT = [J|@| J|1.1]
; Home tool positions 
FORMAT = [XH|@| X|1.1]
FORMAT = [YH|@| Y|1.1]
FORMAT = [ZH|@| Z|1.1]
;
FORMAT = [T|#||02.0]
;
; Set up program header
;
START = "[N] G17 E01"
START = "[N] M06 T[T] H[T] D[T]"
START = "[N] G00 [XH][YH]"
START = "[N] G00 [ZH]"
START = "[N] M11"
START = "[N] [S] M03 M08"
;
; Program moves
;
RAPID_RATE_MOVE        = "[N] G00 [X][Y][Z]"
;
FIRST_FEED_RATE_MOVE   = "[N] G01 [X][Y][Z] [F]"
FEED_RATE_MOVE         = "[N] [X][Y][Z]"
;
FIRST_CW_ARC_MOVE      = "[N] G02[X][Y][I][J] [F]"
CW_ARC_MOVE            = "[N] G02[X][Y][I][J]"
;
FIRST_CCW_ARC_MOVE     = "[N] G03[X][Y][I][J] [F]"
CCW_ARC_MOVE           = "[N] G03[X][Y][I][J]"
;
; Setup Toolchange commands
;
TOOLCHANGE = "[N] G00 [ZH]"
TOOLCHANGE = "[N] M06 T[T] H[T] D[T]"
TOOLCHANGE = "[N] G00 [XH][YH]"
TOOLCHANGE = "[N] G00 [ZH]"
TOOLCHANGE = "[N] M11"
TOOLCHANGE = "[N] [S] M03 M08"
;
; End of file
;
END = "[N] GO0 [ZH]"
END = "[N] M9"
END = "[N] M5"
END = "[N] M12"
END = "[N] M25"
END = "[N] M30"
