;
; G - Code configuration file - with Arc Support
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; BEM 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 19/06/01 Added support for circular arc output 
;              move to home pos at end instead of 0,0,ZH
; bem 07/09/01 Added G17 to define plane for circular arcs
; tm  01/08/03 Configured for Biesse Rover 24 with TC
; sc	04/19/04 Configured for Biesse Rover 24 
;		   Origin must be in top left corner	
;
DESCRIPTION = "Biesse Rover24 XNC (mm) (*.*)"
;
FILE_EXTENSION = "anc"
;
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 = 1
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.0|0.001]
FORMAT = [FP|@||1.0|0.001]
FORMAT = [FC|@||1.0|0.001]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.3]
FORMAT = [Y|#|Y|1.3|-1]
FORMAT = [Z|#|Z|1.3|-1]
;
;FORMAT = [ZI|#|Z|1.3|-1]
;
; Arc Centre Cordinates
FORMAT = [IA|@|I|1.3]
FORMAT = [JA|@|J|1.3]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3|-1]
FORMAT = [ZH|@|Z|1.3|-1]
;
; 91 = ASCII for [
; 13 10 = ASCII for Carriage return
; 93 = ASCII for ]
; 34 = ASCII for "
;
START = "START"
START = "[91]COMMENTO[93]"
;START = "[FILENAME]"
; START = ""
; START = "[91]CENTRO01[93]"
; START = ""
START = "PARAMETRI=000000000"
START = "UTENSILI=000000000"
START = "LABELF=000000000"
START = "LABELC=000000000"
START = "FORATURA=000000000"
START = "CONTORNATURA=000000000"
START = "TABELLEFORI=000000000"
START = "CONFASSIST=000000000"
START = "ATTREZZAGGIO=000000000"
;
; Setup Material parameters
;
START = "[91]PARAMETRI01[93]"
START = "N10 G71 HC=1 LY=[YSIZE] PLPZ=[ZMATERIAL] PDM=0 PUOS=0 FIL=0 BLO=0 ACC=0 RUO=1 PRS=1 PRL=1 PPWQ=0.000 KA=256.000 LZ=[ZMATERIAL] LX=[XSIZE] "
START = "%"
;
START = "[91]UTENSILI01[93]"
START = "%"
START = "[91]CONTORNATURA01[93]"
;START = "%"
;
; Set up program header
;
START = "[N] PAN=1 ST[T]=[34][FILENAME][34] ST2=[34]NULL[34] ST3=[34]NULL[34] L=PCUA "
START = "[N] [XH] [YH] TP=1 PRF=0 VF=[FP] F[FC] G40 L=PON M55"
;
; Program moves
;
RAPID_RATE_MOVE        = "[N] G0 [X] [Y] [Z]"
;
FIRST_FEED_RATE_MOVE   = "[N] G1 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[N] [X] [Y] [Z]"
;
FIRST_CW_ARC_MOVE      = "[N] G5 [X] [Y] R-[Radius] [F]"
CW_ARC_MOVE            = "[N] G5 [X] [Y] R-[Radius]"
;
FIRST_CCW_ARC_MOVE     = "[N] G4 [X] [Y] R[Radius] [F]"
CCW_ARC_MOVE           = "[N] G4 [X] [Y] R[Radius]"
;
; G4 CCW Radius + End point
; G5 CW Radius + End point
; G7 + G8 Elipse
;
TOOLCHANGE = "[N] L=POFF"
TOOLCHANGE = "[N] PAN=1 ST1=[34][FILENAME][34] ST2=[34]NULL[34] ST3=[34]NULL[34] L=PCUA "
TOOLCHANGE = "[N] [XH] [YH] TP=1 PRF=0 VF=[FP] F[FC] G40 L=PON M55 "
;
; End of file
;
; END = "[N] G0 [ZH]"
; END = "[N] G0 [XH] [YH]"
END = "[N] L=POFF"
