+================================================ + + Thermwood - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Tony 14/03/2006 Written + Dave 10/31/2009 Modified Header + Dave 4/03/2010 Modified Header + Mark 27/04/2010 Added Arcs + JOSH 2 DEC 2011 MODIFIED HEADER +================================================ POST_NAME = "JOSH POST 120211(*.nc)" FILE_EXTENSION = "nc" 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 FEED_RATE = [F|C|F|1.1] VAR X_POSITION = [X|C|X|1.4] VAR Y_POSITION = [Y|C|Y|1.4] VAR Z_POSITION = [Z|C|Z|1.4] VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4] VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|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] VAR X_LENGTH = [XLENGTH|a||1.4] VAR Y_LENGTH = [YLENGTH|a||1.4] VAR Z_LENGTH = [ZLENGTH|a||1.4] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "M98PSTRTTIME.SUBL1" "G70" "G90" "(JOSH POST 120211)" "(LIST OF TOOLS USED IN THE FILE)" "([TOOLS_USED])" "[91]WINDOW ON[93]" "[91]CLS[93]" "[91]PRINT [34]VERIFY TOOLS ARE LOADED AND MEASURED[34] [93]" "[91]PRINT [34]CHANGE WASTEBOARD THICKNESS[34] [93]" "M00" "SET WASTEBOARD=0.99" "[91]WINDOW ON[93]" "[91]CLS[93]" "[91]PRINT [34]Locate MATERIAL, CHECK SIZE, CHECK G901 OR G902, Then Push Start Button[34] [93]" "M00" "[91]WINDOW OFF[93]" "SET ZSHIFT=[ZLENGTH]+WASTEBOARD" "SET XSHIFT=[XLENGTH]" "SET YSHIFT=[YLENGTH]" "[91]WINDOW OFF[93]" "G09F4" "G901" "T[T] M3" "[S]" "([TOOLNAME])" "G0 [XH] [YH]" "G00 [ZH]" "M31" "[91]WINDOW ON[93]" "[91]CLS[93]" "[91]PRINT [34]VERIFY TOOL IS AT MATERIAL X MAX AND Y MAX BOUNDARY[34] [93]" "[91]PRINT [34]THEN PUSH AND PRAY[34] [93]" "M00" "[91]WINDOW OFF[93]" +--------------------------------------------------- + Commands output at toolchange +--------------------------------------------------- begin TOOLCHANGE "G00 [ZH]" "M5" "T[T] M3" "[S]" "([TOOLNAME])" "M31" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "G00 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "G01 [X] [Y] [Z] [F]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "G01 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for the first clockwise arc move +--------------------------------------------------- begin FIRST_CW_ARC_MOVE "G02 [X] [Y] [I] [J] [F]" +--------------------------------------------------- + Commands output for clockwise arc move +--------------------------------------------------- begin CW_ARC_MOVE "G02 [X] [Y] [I] [J]" +--------------------------------------------------- + Commands output for the first counterclockwise arc move +--------------------------------------------------- begin FIRST_CCW_ARC_MOVE "G03 [X] [Y] [I] [J] [F]" +--------------------------------------------------- + Commands output for counterclockwise arc move +--------------------------------------------------- begin CCW_ARC_MOVE "G03 [X] [Y] [I] [J]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "G00 [ZH]" "G990" "G90 G0 Z0" "M5" "X0. Y0." "M98PENDTIME.SUBL1" "M02"