+================================================ + + G Code - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Tim 02/22/2016 Written +================================================ POST_NAME = "CNCShark-Laser (inch) (*.tap)" FILE_EXTENSION = "tap" UNITS = "INCHES" DIRECT_OUTPUT = "" 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||1.0] VAR CUT_RATE = [FC|A|F|1.1] VAR PLUNGE_RATE = [FP|A|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 DWELL_TIME = [DWELL|A|P|1.2] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "( [TP_FILENAME] )" "( File created: [DATE] - [TIME])" "($DLDanger! Laser File Detected.)" "( for CNC Piranha from Vectric )" "( Material Size)" "( X= [XLENGTH], Y= [YLENGTH], Z= [ZLENGTH])" "( Z Origin for Material = [Z_ORIGIN])" "( XY Origin for Material = [XY_ORIGIN])" "( XY Origin Position = X:[X_ORIGIN_POS], Y:[Y_ORIGIN_POS])" "( Home Position)" "( X = [XH] Y = [YH] Z = [ZH])" "( Safe Z = [SAFEZ])" "([FILE_NOTES])" "(Toolpaths used in this file:)" "([TOOLPATHS_OUTPUT])" "(Tools used in this file: )" "([TOOLS_USED])" "([TOOLNAME])" "(|---------------------------------------)" "(| Toolpath:- '[TOOLPATH_NAME]' )" "(|---------------------------------------)" "G90" "G20" "[FC]" "G00 [ZH]" "M175 Q500 P0" "G04 P.5" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[FC]" "G00[X][Y][Z]" +--------------------------------------------------- + Commands output for the plunge move +--------------------------------------------------- begin PLUNGE_MOVE "G00[X][Y][Z]" + --------------------------------------------------- + Commands output for Retract Moves + --------------------------------------------------- begin RETRACT_MOVE "M175 Q500 P0" "G04 P.5" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[FC]" "M175 Q500 P[S]" "G01[X][Y][Z]" +--------------------------------------------------- + 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 "[FC]" "M175 Q500 P[S]" "G02[X][Y][I][J]" +--------------------------------------------------- + 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 "[FC]" "M175 Q500 P[S]" "G03[X][Y][I][J]" +--------------------------------------------------- + Commands output for counterclockwise arc move +--------------------------------------------------- begin CCW_ARC_MOVE "G03[X][Y][I][J]" +--------------------------------------------------- + Commands output for a new segment - toolpath +--------------------------------------------------- begin NEW_SEGMENT "(|---------------------------------------)" "(| Toolpath:- '[TOOLPATH_NAME]' )" "(|---------------------------------------)" +--------------------------------------------- + Commands output for a dwell move +--------------------------------------------- begin DWELL_MOVE "G04 [DWELL]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "G00 [ZH]" "G00 [XH] [YH]" "M65 P2" "M02"