;
; Tornado G - Code configuration file
; with Arc and Manual Tool Change Support
;
; History
;
; Who When     What
; === ======== ========================================
; TM  21/06/02 Written
; TM  8/8/02   Modified to include cutting feed in header
; TMaher 09/08/02 Added Material Thickness & Manual Tool Change 
; TMaher 20/08/02 Changed Order of Startup, G21 First
; TM  29/08/03 Added XH and YH before ZH move
;
DESCRIPTION = "Tornado V2 (*.cnc)"
;
FILE_EXTENSION = "cnc"
;
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|0.0166]
FORMAT = [FC|#|F|1.1|0.0166]
;
; 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 = "(Program Name-[FILENAME])"
START = "G21"
START = "G90 Z[ZMATERIAL]"
START = "G17"
START = "G40"
START = "G80"
START = "M60( Insert [TOOLDESC])"
START = "M00"
START = "M61 T1[T]"
START = "M03 [S]"
START = "G00 [XH] [YH]"
START = "G00 [ZH]"
START = "[FC]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G00 [X] [Y] [Z]"
;
FIRST_FEED_RATE_MOVE   = "G01 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "G01 [X] [Y] [Z]"
;
FIRST_CW_ARC_MOVE      = "G02 [X] [Y] [I] [J] [F]"
CW_ARC_MOVE            = "G02 [X] [Y] [I] [J]"
;
FIRST_CCW_ARC_MOVE     = "G03 [X] [Y] [I] [J] [F]"
CCW_ARC_MOVE           = "G03 [X] [Y] [I] [J]"
;
TOOLCHANGE = "M60( Insert [TOOLDESC])"
TOOLCHANGE = "M00" 
TOOLCHANGE = "M61 T1[T]"
TOOLCHANGE = "[S] M03"
;
; End of file
;
END = "G00 [ZH]"
END = "M02"
