;
; G - Code configuration file - with Arc Support
; based on gcode_arc_mm.con
;
; 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
; HPL WINPCNC Postproc Ver 1.0
; HPL WINPCNC Postproc Ver 1.2
; HPL 03.12.09 Werkzeugwechsel eingefuegt
; HPL 12.12.09 Postproc Ver 1.3
; HPL 12.12.09 Radien wieder entfernt, wurden nicht durch Analystools unterstuezt
; HPL Wichtig: in WINPCNC unter Parameter->Datenformat->DIN/ISO die Kreisparameter n i c h t anhaken !!!
;
DESCRIPTION = "G-Code Arcs WINPC-NC (mm) (*.nc)"
;
FILE_EXTENSION = "nc"
;
UNITS = MM
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 5
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.3]
FORMAT = [Y|#|Y|1.3]
FORMAT = [Z|#|Z|1.3]
; Arc Centre Cordinates ABSOLUT Values (A nicht in Doku enthalten !)
FORMAT = [IA|@|I|1.3]
FORMAT = [JA|@|J|1.3]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3]
FORMAT = [ZH|@|Z|1.3]
;
; Set up program header
;
START = "(Comment1)"
START = "(Comment2)"
START = "([PATHNAME])"
START = "([TOOLDESC])"
START = "%"
START = "[N] G71 M06 T[T]"
START = "[N] G17 G90"
START = "[N] G0 [ZH]"
START = "[N] G0 [XH] [YH] [S] M03"
;
; Program moves
;
FIRST_RAPID_RATE_MOVE  = "[N] G0 [X] [Y] [Z]"
RAPID_RATE_MOVE        = "[N] [X] [Y] [Z]"
;
FIRST_FEED_RATE_MOVE   = "[N] G01 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[N] [X] [Y] [Z]"
;
FIRST_CW_ARC_MOVE      = "[N] G02 [X] [Y] I[I] J[J] [F]"
CW_ARC_MOVE            = "[N] G02 [X] [Y] I[I] J[J]"
;
FIRST_CCW_ARC_MOVE     = "[N] G03 [X] [Y] I[I] J[J] [F]"
CCW_ARC_MOVE           = "[N] G03 [X] [Y] I[I] J[J]"
;
; End of file
;
END = "[N] G0 [XH] [YH] [ZH]"
; END = "[N] G0 [ZH]"
;
END = "[N] M30"
;
TOOLCHANGE = "[N] G0 [ZH]"
TOOLCHANGE = "([TOOLDESC])"
TOOLCHANGE = "[N] M06 T[T]"



