;
; CAM Tech CMC3 LASER inch configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; TM  12/04/97 Modified Fanuc file to suite
; SP  18/11/00 Properly Configured to suite machine as per GS example.
;              This post is for CMC3 series using inches.
; SP  22/12/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 04/07/01 Added circular arc support
; GEB 28/11/03 Laser vector cutting support created
; GEB 01/04/04 MM support added
; GEB 21/06/04 Units control added, comments added, G9S value increased
;
DESCRIPTION = "CAMTech_LASERCMC3 MM (*.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     = 1
LINE_NUM_INCREMENT = 5
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 = "[91]CAM TECH CMC3 LASER FILE [93]"
START = "[91]FILE SET TO RUN IN MM[93]"
START = "[91]FILE:[PATHNAME][93]"
START = "[32]"
START = "[91]MATERIAL[93]"
START = "[32]"
START = "[91]X-SIZE =[32][XSIZE][32]Y-SIZE =[32][YSIZE][32]Z-SIZE =[32] [ZSIZE][93]"
START = "[32]"
;
START = "G90[32][91]ABSOLUTE MODE[93]"
START = "G22[32] [91]SET TOMM[93]"
START = "G9S50[32][91]SMOOTHING FACTOR[93]"
START = "L251[32][91]LASER ENABLED[93]"
START = "G0[ZH]"
START = "G0[XH][YH]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G0[X][Y][Z]"
FIRST_FEED_RATE_MOVE   = "G1[X][Y][Z][F]"
FEED_RATE_MOVE         = "[X][Y][Z][F]"
;
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]"

;
; End of file
;
END = "G0[ZH]"
END = "L250[32][91]LASER DISABLED[93]"
END = "G0[XH][YH]"
END = "G23[32][91]RETURN TO UNITS[93]"
END = "[91]END OF FILE[93]"

