;
; G - Code for CENTRAL CNC1400D
;
; History
;
; Who When     What
; === ======== ========================================
; TM  30/03/00 Written based on std g-code
; SM  21/10/00 Modified by S Merewood - CENTRAL CNC
; SM  21/02/02 Added M51 & M50 commands
; BEM 06/08/02 Enabled FILE_EXTENSION   
;
DESCRIPTION = "Central No Arcs (mm) (*.ecs)"
;
FILE_EXTENSION = "ecs"
;
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]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3]
FORMAT = [ZH|@|Z|1.3]
;
; Set up program header
;
START = "%"
START = "[N]M3[S]"
START = "[N]G4 F6"
START = "[N]M51"
START = "[N]G00[XH][YH][ZH]"
;
; Program moves
;
RAPID_RATE_MOVE        = "[N]G00[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "[N]G01[X][Y][Z][F]"
FEED_RATE_MOVE         = "[N]G01[X][Y][Z]"
;
; End of file
;
END = "[N]M5"
END = "[N]M50"
END = "[N]M30"
END = "%"
