;
; Andersen Router with Fanuc control configuration file
;
; History
;
; Who When     What
; === ======== ========================================
; TRB 01/31/02 Written
; TRB 02/18/02 changed Radii and toolchange sections
;
;
DESCRIPTION = "Andersen (*.ncc)"
;
FILE_EXTENSION = "ncc"
;
UNITS = INCH
;
; 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.1]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.4]
FORMAT = [Y|#|Y|1.4]
FORMAT = [Z|#|Z|1.4]
;
; Arc Center
FORMAT = [R|@|R|1.4]
;
; Home tool positions
FORMAT = [XH|@|X|1.4]
FORMAT = [YH|@|Y|1.4]
FORMAT = [ZH|@|Z|1.4]
;
; Set up program header
;
START = "%"
START = "O1234"
START = "[N] G17 G90 G20 G40"
START = "[N] G08 P1"
START = "[N] G91 G28 Z0"
START = " "
START = "(MATERIAL:)"
START = "(   X MIN:[XMIN]  Y MIN:[YMIN]   Z MIN:[ZMIN])"
START = "(   X MAX:[XMAX]  Y MAX:[YMAX]   Z MAX:[ZMAX])"
START = "(   X SIZE:[XSIZE]  Y SIZE:[YSIZE]  Z SIZE:[ZSIZE])"
START = "(   THICKNESS:[ZMATERIAL])"
START = " "
START = "(FIRST TOOL INFORMATION)"
START = "(   TOOL NUMBER:[T])"
START = "(   DESCRIPTION:[TOOLDESC])"
START = " "
START = "(FEED RATES IN INCHES PER MINUTE) "
START = "(   CUTTING FEED RATE:[FC])"
START = "(   PLUNGE FEED RATE :[FP])"
START = "(   RAPID FEED RATE  :[FR])"
START = "(   SPINDLE SPEED    :[S] r.p.m)"
START = "[N] T[T]"
START = "[N] M13 [S]"
START = "[N] G0 G90 G54 [XH] [YH]"
START = "[N] M11"
START = "[N] G43 H[T] [ZH]"
;
; 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]"
;
;
; Arc Section
;
FIRST_CW_ARC_MOVE      = "[N] G2 [X] [Y] R[Radius] [F]"
CW_ARC_MOVE            = "[N] G2 [X] [Y] R[Radius]"
;
FIRST_CCW_ARC_MOVE     = "[N] G3 [X] [Y] R[Radius] [F]"
CCW_ARC_MOVE           = "[N] G3 [X] [Y] R[Radius]"
;
;
;
; Toolchange Sections
;
TOOLCHANGE = "[N] G91 G28 Z0 M15"
TOOLCHANGE = "[N] M92"
TOOLCHANGE = " "
TOOLCHANGE = "(######## ToolChange ########)"
TOOLCHANGE = " "
TOOLCHANGE = "(FIRST TOOL INFORMATION)"
TOOLCHANGE = "(   TOOL NUMBER:[T])"
TOOLCHANGE = "(   DESCRIPTION:[TOOLDESC])"
TOOLCHANGE = " "
TOOLCHANGE = "(FEED RATES IN INCHES PER MINUTE) "
TOOLCHANGE = "(   CUTTING FEED RATE:[FC])"
TOOLCHANGE = "(   PLUNGE FEED RATE :[FP])"
TOOLCHANGE = "(   RAPID FEED RATE  :[FR])"
TOOLCHANGE = "(   SPINDLE SPEED    :[S] r.p.m)"
TOOLCHANGE = "[N] T[T]"
TOOLCHANGE = "[N] M13 [S]"
TOOLCHANGE = "[N] G0 G90 G54 [XH] [YH]"
TOOLCHANGE = "[N] M11"
TOOLCHANGE = "[N] G43 H[T] [ZH]"
;
; End of file
;
END = "[N] G91 G28 Z0 M15"
END = "[N] M92"
END = "[N] G91 G28 X0 Y0"
END = "[N] G08 P0"
END = "[N] M30"
END = "%"

