+================================================ + + G Code - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Tony 11/12/2007 Written + Mark 19/01/2009 Separated Plunge and cut feed, addded Arcs to name. + Mark 16/02/2009 Added move to Home at EOF + Mark 19/05/2009 Removed Arcs for PVC. +================================================ POST_NAME = "CNCShark-USB (inch) (*.tap)" FILE_EXTENSION = "tap" UNITS = "INCHES" +------------------------------------------------ + Line terminating characters +------------------------------------------------ LINE_ENDING = "[13][10]" +------------------------------------------------ + Block numbering +------------------------------------------------ LINE_NUMBER_START = 0 LINE_NUMBER_INCREMENT = 10 LINE_NUMBER_MAXIMUM = 999999 +================================================ + + Formating for variables + +================================================ VAR LINE_NUMBER = [N|A|N|1.0] VAR SPINDLE_SPEED = [S|A|S|1.0] VAR CUT_RATE = [FC|A|F|1.1] VAR PLUNGE_RATE = [FP|A|F|1.1] VAR X_POSITION = [X|A| X|1.4] VAR Y_POSITION = [Y|A| Y|1.4] VAR Z_POSITION = [Z|A| Z|1.4] VAR X_HOME_POSITION = [XH|A| X|1.4] VAR Y_HOME_POSITION = [YH|A| Y|1.4] VAR Z_HOME_POSITION = [ZH|A| Z|1.4] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "G90" "G20" "[FC]" "G64 P.01" "S 2000" "M3" "G0 [ZH]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[FC]" "G00[X][Y][Z]" +--------------------------------------------------- + Commands output for the plunge move +--------------------------------------------------- begin PLUNGE_MOVE "[FP]" "G1[X][Y][Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[FC]" "G01[X][Y][Z]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "G01[X][Y][Z]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "G00 [ZH]" "G00 [XH] [YH]" "M02"