+================================================ + + UCCNC - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + CHRISC 09/07/2022 written for CNC4Newbies UCCNC PWM +================================================ POST_NAME = "UCCNC PWM Laser (inch) (*.txt)" FILE_EXTENSION = "txt" 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 = [Q|A|Q|1.2] VAR FEED_RATE = [F|C|F|1.1] VAR X_POSITION = [X|C|X|1.3] VAR Y_POSITION = [Y|C|Y|1.3] VAR Z_POSITION = [Z|C|Z|1.3] VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.3] VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.3] VAR X_HOME_POSITION = [XH|A|X|1.3] VAR Y_HOME_POSITION = [YH|A|Y|1.3] VAR Z_HOME_POSITION = [ZH|A|Z|1.3] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "( [TP_FILENAME] )" "( File created: [DATE] - [TIME])" "( for UCCNC from CNC4Newbie )" "( Material Size)" "( X= [XLENGTH], Y= [YLENGTH], Z= [ZLENGTH])" "([FILE_NOTES])" "(Toolpaths used in this file:)" "([TOOLPATHS_OUTPUT])" "(Tools used in this file: )" "([TOOLS_USED])" "[N]G00G20G17G90G40G49G80" "[N]G70G91.1" "[N] ([TOOLNAME])" "[N](Toolpath:- [TOOLPATH_NAME])" "[N]([TOOLPATH_NOTES])" "[N]G94" "[N][ZH]" "[N][XH][YH][F]" "[N]M03" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[N]G0[X][Y][Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[N]G1[X][Y][Z][F]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "[N]G1[X][Y][Z]" +--------------------------------------------------- + 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 for Retract Moves-Turn Laser Off + --------------------------------------------------- begin RETRACT_MOVE "[N]M11" "[N]G1[X][Y][Z][F]" + --------------------------------------------------- + Commands output for Plunge Moves-Turn Laser On + --------------------------------------------------- begin PLUNGE_MOVE "[N]G1[X][Y][Z][F]" "[N]M10[Q]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "[N]M5" "[N]G0[ZH]" "[N]M30" "[N]G0[XH][YH]" "[N]M2"