+================================================ + + Mach2/3 - Vectric machine output configuration file + Version for Cut3D < Ver 1.502 + +================================================ + + History + + Who When What + ======== ========== =========================== + Tony 15/11/2005 Written + Tony 06/01/2006 Added ATC option + Tony 14/05/2006 Fixed G20 inch in header + Tony 24/07/2006 Added G2 & G3 Arc support + removed (( )) + Tony 18/06/2007 Replaced the Tool comment + Mark 14/08/2008 Added G1 to Feed moves, added New_Segment + Removed 2nd G20 in header. + BDring 10/1/2011 Major Changes for laser Usage +================================================ POST_NAME = "Buildlog.net Mach3 E1P0 Arcs (inch) (*.txt)" FILE_EXTENSION = "txt" UNITS = "inches" DIRECT_OUTPUT = "Mach|Mach4.Document" SUBSTITUTE = "({)}" +------------------------------------------------ + 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 SPINDLE_SPEED = [S|A|P|1.0] VAR FEED_RATE = [F|C|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 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 SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.4] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "( [TOOLPATH_NAME] )" "( Mach2/3 Postprocessor )" "[N]G00G20G17G90G40G49G80" "[N]G70" "[N]T[T]M06" "[N]G00G43H[T]" "[N]G94" "[N][XH][YH][F]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[N]E1P0" "[N]G00[X][Y]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[N]M666 [S]" "[N]E1P1" "[N]G1[X][Y][F]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "[N]G1[X][Y]" +--------------------------------------------------- + Commands output for the first clockwise arc move +--------------------------------------------------- begin FIRST_CW_ARC_MOVE "[N]G2[X][Y][I][J][F]" +--------------------------------------------------- + Commands output for clockwise arc move +--------------------------------------------------- begin CW_ARC_MOVE "[N]G2[X][Y][I][J]" +--------------------------------------------------- + Commands output for the first counterclockwise arc move +--------------------------------------------------- begin FIRST_CCW_ARC_MOVE "[N]G3[X][Y][I][J][F]" +--------------------------------------------------- + Commands output for counterclockwise arc move +--------------------------------------------------- begin CCW_ARC_MOVE "[N]G3[X][Y][I][J]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "[N]E1P0" "[N]G00" "[N]G00[XH][YH]" "[N]M30" %