+================================================ + + Emc2 - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Tony 02/08/2005 Written + Pieter 20/06/2008 adapted for EMC2, begin + end + its uses M7 to start coolant/vacu-cleaner + Mark 28/06/2008 Added Arcs and new segment section. + Mark 11/08/2008 Inch version. + Jay 7/19/2017 Added laser control +================================================ POST_NAME = "Probotix Laser M67-M68 Arcs(inch) V2(*.ngc)" FILE_EXTENSION = "ngc" 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| |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 SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.4] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "%" "M68 E0 Q0" "T1 M6" "G0 G17 G20 G90" "G0 [ZH]" "G0 [XH] [YH]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "G0[X][Y][Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "G1[X][Y][Z][F]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "[X][Y][Z]" +--------------------------------------------------- + Commands output for the first clockwise arc move +--------------------------------------------------- begin FIRST_CW_ARC_MOVE "G2[X][Y][I][J][F]" +--------------------------------------------------- + Commands output for clockwise arc move +--------------------------------------------------- begin CW_ARC_MOVE "G2[X][Y][I][J]" +--------------------------------------------------- + Commands output for the first counterclockwise arc move +--------------------------------------------------- begin FIRST_CCW_ARC_MOVE "G3[X][Y][I][J][F]" +--------------------------------------------------- + Commands output for counterclockwise arc move +--------------------------------------------------- begin CCW_ARC_MOVE "G3[X][Y][I][J]" + --------------------------------------------------- + Commands output for Plunge Moves + --------------------------------------------------- begin PLUNGE_MOVE "M67 E0 Q[S]" + --------------------------------------------------- + Commands output for Retract Moves + --------------------------------------------------- begin RETRACT_MOVE "M68 E0 Q0" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "M68 E0 Q0" "G0[ZH]" "G0[XH][YH]" "M2" "%"