+================================================ + + Thermwood - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Mark 15/01/2008 Written + Mark 23/01/2008 Amended for Gary Urlacher + Charlie 15/09/2014 Added Absolute Arc Centres +================================================ POST_NAME = "Thermwood inv ARC CS45-G52L ATC inch(*.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] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "([TP_FILENAME])" "M98PSTRTTIME.SUBL1" "G70" "G07F0" "G90" "M48" "M999" "M00" "M61L8" "M00" "M62L8" "M60L8" "G901" "G800" "G09F1" "SET ZSHIFT = ?" "(Enter Material Thickness)" "[91]ADJFIXOFF, 1, -?[93]" "[91]ADJFIXOFF, 2, -?[93]" "G52L3" "[S]" "T[T] M03" "M31" "G0 [XH] [YH]" "G00 [ZH]" +--------------------------------------------------- + Commands output at toolchange +--------------------------------------------------- begin TOOLCHANGE "G00 [ZH]" "M5" "T[T] M3" "[S]" "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 G00 Z0" "X0. Y0." "M05" "M98PENDTIME.SUBL1" "M02"