;
; G - Code configuration file - Shop Sabre - WinCNC controller
; Post for 4860 and 7214 table size
;
; 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
; CBL 16FEB05  Added TOOLCHANGE and ARC moves
; CBL 10MAR05  Removed Toolchange info and spindle info
; JVG 14/11/05 cleaned up shop sabre post
; TLS 16/12/05 Modified start up code for 4860 table size 
; TLS 02/08/06 Added spindle call out
; JVG 23/10/06 added toolchanger for 7214 machine
; TLS 25/10/06 Removed M53 from end of code 
;
DESCRIPTION = "Shop Sabre - WinCNC TC 2 (inch) (*.tap)"
;
FILE_EXTENSION = "tap"
;
UNITS = INCH
;
; 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.4]
FORMAT = [Y|#| Y|1.4]
FORMAT = [Z|#| Z|1.4]
; Arc Centre Cordinates
FORMAT = [I|@| I|1.4]
FORMAT = [J|@| J|1.4]
; Home tool positions 
FORMAT = [XH|@| X|1.4]
FORMAT = [YH|@| Y|1.4]
FORMAT = [ZH|@| Z|1.4]
;
; Set up program header
;
START = "G90"
START = "G53"
START = "[91][TOOLDESC][93]"
START = "M5"
START = "T0[T]"
START = "M3"
START = "G0 [ZH]"
START = "G0 [XH] [YH]"
START = "[S]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "G1[X][Y][Z][F]"
FEED_RATE_MOVE         = "G1[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
;
TOOLCHANGE = "[ZH]"
TOOLCHANGE = "[91][TOOLDESC][93]"
TOOLCHANGE = "M5"
TOOLCHANGE = "T0[T]"
TOOLCHANGE = "M3"
TOOLCHANGE = "[S]"
;
; End of file
;
END = "G0 [ZH]"
END = "M5"
END = "G53 X0 Y0"

