;
; Buscellato Configuration file
;
; History
;
; Who When     What
; === ======== =============================================
; JF  29/08/03 First attempt at configuring busellato router
; JF  15/09/03 Edited first move in header
; jrs/krs(VIZION) March 19 2008 - ***Setup for MD Construction - Busellato Jet200*** 
;                       - Changed Units to Inch
;				- Changed Z Values to negative
;				- Changed START = "SPEC{"  to	START = "SPEC{"
;					    START = "::0"		START = "::0"
;					    START = "::1"		START = "::0"
;				- Changed START = "OPTI{"  to	START = "OPTI{"
;					    START = "::1"		START = "::0"
;				- Changed both tool changes to output necessary order.
;				  Both tool changes were ("W#89{ ::WTs WS=[T] #1=[XH] #2=[YH] #3=[ZH] #8015=0 #8101=0 #8096=0 #40=0 #8135=0 #8136=0 #44=0 #201=1 #203=1 #205=[T] }W")
;				  Now tool changes are ("W#89{ ::WTs WS=[T] #8015=0 #1=[XH] #2=[YH] #3=[ZH] #8101=0 #8096=0 #201=1 #205=[T] #40=0 #8136=0 #8135=0 #9521=0 }W")
;				- Changed First Tool Change to ("W#89{ ::WTs WS=[T]  #8015=0 #1=0 #2=0 #3=[ZMATERIAL] #8101=0 #8096=0 #201=1 #205=[T] #40=0 #8136=0 #8135=0 #9521=0 }W")	
;				- Changed header to include (TPA\ALBATROS\EDICAD\01.00:45:r0w0)				 
;				- Changed 	START = "OFFS{"		to	START = "OFFS{"
;						START = "#0=0|0"			START = "#0=0.0|0"
;						START = "#1=0|0"			START = "#1=0.0|0"
;						START = "#2=0|0"			START = "#2=0.0|0"
;						START = "#3=0.0|0"		START = "#3=0|0"
;						START = "#4=0.0|0"		START = "#4=0|0"
;						START = "#5=0.0|0"		START = "#5=0|0"
;						START = "#6=0.0|0"		START = "#6=0|0"
;						START = "#7=0.0|0"		START = "#7=0|0"
;				- Changed feed_rate_move to include #8015 before the 1,2,3 #'s.
;				- Changed (CW_ARC_MOVE = "w#2111{ ::WTa #1=[X] #2=[Y] #8015=0 #34=0 #8017=[Radius] }W")
;					 to (CW_ARC_MOVE = "W#2145{ ::WTa #3=[Z] #8015=0 #34=0 #32=[Y] #31=[X] }W")   	
;				  then to (CW_ARC_MOVE = "W#2101{ ::WTa #8015=0 #1=[X] #2=[Y] #3=[Z] #31=[ArcMidX] #32=[ArcMidY] #34=0}W")
;                         then to (CW_ARC_MOVE = "W#2101{ ::WTa  #8015=0 #1=[X] #2=[Y] #3=[Z] #31=[I] #32=[J] #34=0 }W")
;				  and in changing the CW_ARC_MOVE also updated	the CCW to match.
;				- Necessary Circular Tool Moves = FORMAT = [I|@||1.4]
;									    FORMAT = [J|@||1.4]
;				- Changed Z Values back to positive.
;				- Changed 	(END = "SIDE=2{") to (END = "SIDE#2{")
;				- Added (MAX_SEGMENT_LINES = 1750)
;				- Changed the feed_rate_move from (FEED_RATE_MOVE = "W#2201{ ::WT1  #8015=0 #1=[X] #2=[Y] #3=[Z] }W")
;                         to (FEED_RATE_MOVE = "W#2201{ ::WTl  #8015=0 #1=[X] #2=[Y] #3=[Z] }W")
;				  it looks like the same thing, but the WT needs to have an l for linear not a 1 (as in the number 1).
;				  The original post Busellato.con post contained this error.	
;				- Post verified by MD Construction on March 28, 2008.
;
;
DESCRIPTION = "Busellato_Jet200_Inch (*.cnc)"
;
FILE_EXTENSION = "cnc"
;
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 = 1
LINE_NUM_MAXIMUM   = 9999
MAX_SEGMENT_LINES = 1750
;LINE_NUM_INC_ON_USE = 1
;
; Set up default formating for variables
;
; Spindle Speed
FORMAT = [S|@|S|1.0]
; Feed Rate
FORMAT = [F|#||1.0]
; Tool moves in x,y and z
FORMAT = [X|@||1.4]
FORMAT = [Y|@||1.4]
FORMAT = [Z|@||1.4]
; Home tool positions 
FORMAT = [XH|@||1.4]
FORMAT = [YH|@||1.4]
FORMAT = [ZH|@||1.4]
; Circular tool moves Original
;FORMAT = [IA|@| X|+1,3]
;FORMAT = [JA|@| Y|+1,3]
; Circular tool moves
;FORMAT = [IA|@|I|1.4]
;FORMAT = [JA|@|J|1.4]
FORMAT = [I|@||1.4]
FORMAT = [J|@||1.4]
; Block size format
FORMAT = [XMIN|#||1.4]
FORMAT = [YMIN|#||1.4]
FORMAT = [ZMIN|#||1.4]
FORMAT = [XMAX|#||1.4]
FORMAT = [YMAX|#||1.4]
FORMAT = [ZMAX|#||1.4]
;
; Set up program header
;
; First line = controller software information
;
START = "TPA\ALBATROS\EDICAD\01.00:45:r0w0"
START = "::SIDE=1;"
START = "::UNi DL=[XSIZE] DH=[YSIZE] DS=[ZMATERIAL]"
START = "OFFS{"
START = "#0=0.0|0"
START = "#1=0.0|0"
START = "#2=0.0|0"
START = "#3=0|0"
START = "#4=0|0"
START = "#5=0|0"
START = "#6=0|0"
START = "#7=0|0"
START = "}OFFS"
START = "VARV{"
START = "#0=0.0|0"
START = "#1=0.0|0"
START = "#2=0.0|0"
START = "#3=0.0|0"
START = "#4=0.0|0"
START = "#5=0.0|0"
START = "#6=0.0|0"
START = "#7=0.0|0"
START = "}VARV"
START = "VAR{"
START = "}VAR"
START = "SPEC{"
START = "::0"
START = "::0"
START = "}SPEC"
START = "OPTI{"
START = "::0"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "::0;0;0;0;0;0;0;"
START = "}OPTI"
START = "LINK{"
START = "}LINK"
START = "PREV{"
START = "}PREV"
START = "SIDE#1{"
;START = "$=side 1"
START = "W#89{ ::WTs WS=[T]  #8015=0 #1=0 #2=0 #3=[ZMATERIAL] #8101=0 #8096=0 #201=1 #205=[T] #40=0 #8136=0 #8135=0 #9521=0 }W"
;
; Program moves
;
RAPID_FEED_RATE = 9999
FEED_RATE_MOVE = "W#2201{ ::WTl  #8015=0 #1=[X] #2=[Y] #3=[Z] }W"
;
;
; Setup Toolchange commands
;
TOOLCHANGE = "W#89{ ::WTs WS=[T]  #8015=0 #1=[XH] #2=[YH] #3=[ZH] #8101=0 #8096=0 #201=1 #205=[T] #40=0 #8136=0 #8135=0 #9521=0 }W"
;TOOLCHANGE = "[N] M6"
;TOOLCHANGE = "[N] TOOL DEF [T] L+0,000 R+0,000"
;TOOLCHANGE = "[N] TOOL CALL [T] Z [S]"
;TOOLCHANGE = "[N] L [X][Y][Z] M03"
;
;
; Setup Circular moves
;
CW_ARC_MOVE = "W#2101{ ::WTa  #8015=0 #1=[X] #2=[Y] #3=[Z] #31=[I] #32=[J] #34=0 }W"
;
CCW_ARC_MOVE = "W#2101{ ::WTa  #8015=0 #1=[X] #2=[Y] #3=[Z] #31=[I] #32=[J] #34=1 }W"
;
;
; End of file
;
END = "}SIDE"
END = "SIDE#2{"
;END = "$=side 2"
END = "}SIDE"
END = "SIDE#3{"
;END = "$=side 3"
END = "}SIDE"
END = "SIDE#4{"
;END = "$=side 4"
END = "}SIDE"
END = "SIDE#5{"
;END = "$=side 5"
END = "}SIDE"
END = "SIDE#6{"
;END = "$=side 6"
END = "}SIDE"


