;
; Weeke configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; bmd 25/01/08 Modified the Discription Line
; bmd 05/02/08 Added Arc calls as per sample code from Stiles
; 
;
DESCRIPTION = "HOMAG - Weeke MPR Arcs TC (*.mpr)"
;
FILE_EXTENSION = "mpr"
;
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.4]
FORMAT = [Y|@| Y|1.4]
FORMAT = [Z|@| Z|1.4]
; Home tool positions 
FORMAT = [XH|@| X|1.4]
FORMAT = [YH|@| Y|1.4]
FORMAT = [ZH|@| Z|1.4]
; Arc moves 4 decimal call out
FORMAT = [I|@| I|1.4]
FORMAT = [J|@| J|1.4]
;
; Set up program header
;
START = "[91]H"
START ="VERSION=[34]4.0 Alpha[34]"
START ="MAT=[34]WEEKE[34]"
;
START = "<100 \WerkStck\"
START = "LA=[34][XSIZE][34]"
START = "BR=[34][YSIZE][34]"
START = "DI=[34][ZMATERIAL][34]"
START =" "
START =" "
START ="[91]001"
START ="L=[34][XSIZE][34]"
START ="KM=[34]length of workpiece[34]"
START ="W=[34][YSIZE][34]"
START ="KM=[34]width of workpiece[34]"
START ="T=[34][ZMATERIAL][34]"
START ="KM=[34]thickness of workpiece[34]"
START ="FNX=[34]0[34]"
START ="FNY=[34]0[34]"
START ="RNX=[34]0[34]"
START ="RNY=[34]0[34]"
START ="RNZ=[34]0[34]"
START ="AX=[34]0[34]"
START ="AY=[34]0[34]"
START =" "
START ="<119 \Polygonzug\"
START ="NM=[34][34]"
START ="LOCAL=[34]1[34]"
START ="WZ=[34][T][34]"
START ="RK=[34]NOWRK[34]"
START ="F_=[34]5[34]"
START ="WI=[34]0[34]"
START ="TI=[34]0[34]"
START ="EN=[34]1[34]"
START ="ASG=[34]2[34]"
START ="MX=[34]0[34]"
START ="MY=[34]0[34]"
START ="MZ=[34]0[34]"
START ="XA=[34]L/2[34]"
START ="YA=[34]W/2[34]"
START ="BR=[34][XSIZE][34]"
START ="HE=[34][YSIZE][34]"
START ="HP=[34]0[34]"
START ="SP=[34]0[34]"
START =" "
START =STARTLOCAL
START = "SIZE X[XSIZE] Y[YSIZE]"
START ="U"
START ="[XH] [YH]"
START ="[ZH]"
START ="D"
;
; Program moves
;
;FIRST_RAPID_RATE_MOVE  ="[X][Y][13][10][Z]"
RAPID_RATE_MOVE        ="[X][Y][Z]"
FIRST_FEED_RATE_MOVE   ="[X][Y][Z]"
FEED_RATE_MOVE         ="[X][Y][Z]"
;
FIRST_CW_ARC_MOVE      = "[X][Y][I][J] CW"
CW_ARC_MOVE            = "[X][Y][I][J] CW"
;
FIRST_CCW_ARC_MOVE     = "[X][Y][I][J] CCW"
CCW_ARC_MOVE           = "[X][Y][I][J] CCW"
;
;Setup Toolchange Commands 
;
TOOLCHANGE ="U"
TOOLCHANGE = ENDLOCAL
TOOLCHANGE = "HP=[34]0[34]"
TOOLCHANGE ="<119 \Polygonzug\"
TOOLCHANGE = "NM=[34][34]"
TOOLCHANGE = "LOCAL=[34]1[34]"
TOOLCHANGE =  "WZ=[34][T] [34]"
TOOLCHANGE = "F_=[34]5[34]"
TOOLCHANGE =  "WI=[34]0[34]"
TOOLCHANGE =  "TI=[34]0[34]"
TOOLCHANGE =  "EN=[34]1[34]"
TOOLCHANGE =  "ASG=[34]2[34]"
TOOLCHANGE =  "MX=[34]0[34]"
TOOLCHANGE =  "MY=[34]0[34]"
TOOLCHANGE =  "MZ=[34]0[34]"
TOOLCHANGE = "XA=[34]L/2[34]"
TOOLCHANGE = "YA=[34]W/2[34]"
TOOLCHANGE = "BR=[34][XSIZE][34]"
TOOLCHANGE =  "HE=[34][YSIZE][34]"
;
TOOLCHANGE =  "SP=[34]0[34]"
TOOLCHANGE =   " "
TOOLCHANGE =   STARTLOCAL
TOOLCHANGE= "SIZE X[XSIZE] Y[YSIZE]"
TOOLCHANGE ="U"
TOOLCHANGE ="[XH][YH]"
TOOLCHANGE ="[ZH]"
TOOLCHANGE="D"
;
; End of file
END ="U"
END = ENDLOCAL
END = "HP=[34]0[34]"
END = "!"
;