;
; Laser Spec Inc with Tool Changer inch configuration file 
;
; History
;
; Who When     What
; === ======== ============================================
; MD 12/19/06  Adapt for all LSI machines running Acellero
;
DESCRIPTION = "LSI800 ATC Inch (*.lsi)"
;
FILE_EXTENSION = "LSI"
;
UNITS = INCH
;
; 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]
; Tool Number
FORMAT = [T|@||1.0]
;
; Set up program header
;

START = "(LSI G-CODE FOR ACCELERO)"
START = "([TOOLPATHNAME])"
START = "(------------------------------)"
START = "(MATERIAL:)"
START = "(   X MIN:[XMIN]  Y MIN:[YMIN]   Z MIN:[ZMIN])"
START = "(   X MAX:[XMAX]  Y MAX:[YMAX]   Z MAX:[ZMAX])"
START = "(   X SIZE:[XSIZE]  Y SIZE:[YSIZE]  Z SIZE:[ZSIZE])"
START = "(   THICKNESS:[ZMATERIAL])"
START = " "
START = "G20 (INCH MODE)"
START = "G64 (CONSTANT VELOCITY MODE)"
START = "G90 (ABSOLUTE DISTANCE MODE)"
START = "G94 (INCH/MIN MODE)"
START = "(=========FIRST TOOL==========)"
START = "(   TOOL NUMBER:[T])"
START = "(   DESCRIPTION:[TOOLDESC])"
START = " "
START = "(FEED RATES IN INCHES PER MINUTE) "
START = "(   CUTTING FEED RATE:[FC])"
START = "(   PLUNGE FEED RATE :[FP])"
START = "(   RAPID FEED RATE  :[FR])"
START = "(   SPINDLE SPEED    :[S] r.p.m)"
START = "G49 (CANCEL TOOL OFFSET)"
START = "T[T]M6 (GET TOOL)"
START = "G43 (APPLY TOOL OFFSET)"
START = "M3 [S] (SPINDLE ON)"
START= "(==============================)"
;START = "G53Z0 (GOTO MACHINE Z0)"
START = "G0[ZH] (GOTO PART HOME Z)"
START = "G0[XH][YH] (GOTO PART HOME)"
START = "(#################################)"
;
; 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]"

;
;Setup Toolchange Commands
;
TOOLCHANGE = "(=========TOOL CHANGE==========)"
TOOLCHANGE = "(   TOOL NUMBER:[T])"
TOOLCHANGE = "(   DESCRIPTION:[TOOLDESC])"
TOOLCHANGE = " "
TOOLCHANGE = "(FEED RATES IN INCHES PER MINUTE) "
TOOLCHANGE = "(   CUTTING FEED RATE:[FC])"
TOOLCHANGE = "(   PLUNGE FEED RATE :[FP])"
TOOLCHANGE = "(   RAPID FEED RATE  :[FR])"
TOOLCHANGE = "(   SPINDLE SPEED    :[S] r.p.m)"
TOOLCHANGE = "G49 (CANCEL TOOL OFFSET)"
TOOLCHANGE = "M5 (SPINDLE OFF)"
TOOLCHANGE = "T[T]M6 (GET TOOL)"
TOOLCHANGE = "G43 (APPLY TOOL OFFSET)"
TOOLCHANGE = "M3 [S] (SPINDLE ON)"
TOOLCHANGE = "(==============================)"
;
; End of file
;
END = "(#################################)"
END = "G0[ZH] (GOTO SAFE Z)"
END = "M5 (SPINDLE OFF)"
END = "T0M6 (RETURN TOOL)"
END = "G0[XH][YH] (GOTO PART HOME)"
END = "G0A0 (PARK TOOL CHANGER)"
END = "G49 (CANCEL TOOL OFFSET)"
;END = "G53Z0 (GOTO MACHINE Z0)"
END = "M30 (REWIND)"


