;
; Buscellato Configuration file
;
; History
;
; Who When     What
; === ======== =============================================
; JF  29/08/03 First attempt at configuring busellato router
; JF  15/09/03 Edited first feed rate move
; JF  25/02/04 Added arc moves
;
DESCRIPTION = "Busellato - Arcs (*.cnc)"
;
FILE_EXTENSION = "cnc"
;
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 = 1
;LINE_NUM_MAXIMUM   = 999999
;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.2]
FORMAT = [Y|@||1.2]
FORMAT = [Z|@||1.2]
; Home tool positions 
FORMAT = [XH|@||1.2]
FORMAT = [YH|@||1.2]
FORMAT = [ZH|@||1.2]
; Circular tool moves
;FORMAT = [IA|@| X|+1,3]
;FORMAT = [JA|@| Y|+1,3]
; Block size format
FORMAT = [XMIN|#||1.2]
FORMAT = [YMIN|#||1.2]
FORMAT = [ZMIN|#||1.2]
FORMAT = [XMAX|#||1.2]
FORMAT = [YMAX|#||1.2]
FORMAT = [ZMAX|#||1.2]
;
; Set up program header
;
START = "TPA\ALBATROS\EDICAD\01.00:20:r0w0"
START = "::SIDE=1;"
START = "::UNm 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|0"
START = "#4=0.0|0"
START = "#5=0.0|0"
START = "#6=0.0|0"
START = "#7=0.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 = "}SPEC"
START = "OPTI{"
START = "}OPTI"
START = "LINK{"
START = "}LINK"
START = "PREV{"
START = "}PREV"
START = "SIDE#1{"
START = "$=side 1"
START = "W#89{ ::WTs WS=[T] #1=0 #2=0 #3=[ZMATERIAL] #8015=0 #8101=0 #8096=0 #40=0 #8135=0 #8136=0 #44=0 #201=1 #203=1 #205=[T] }W"

;
; Program moves
;
RAPID_FEED_RATE = 9999
FEED_RATE_MOVE  = "W#2201{ ::WTl  #1=[X] #2=[Y] #3=[Z] }W"
;
; Setup Toolchange commands
;
TOOLCHANGE = "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"
;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#2111{ ::WTa #1=[X] #2=[Y] #8015=0 #34=0 #8017=[Radius] }W"
;
;
CCW_ARC_MOVE = "w#2111{ ::WTa #1=[X] #2=[Y] #8015=0 #34=1 #8017=[Radius] }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"


