+================================================ + + G Code - Vectric machine output configuration file + +================================================ + + History + + Who When What + ======== ========== =========================== + Tim 08/09/2015 Written + Mark 11/5/2016 Renamed to be standard pp for V8.5 +================================================ POST_NAME = "CNCPiranha-Arcs (mm) (*.tap)" FILE_EXTENSION = "tap" UNITS = "MM" 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|S|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.3] VAR Y_POSITION = [Y|A| Y|1.3] VAR Z_POSITION = [Z|A| 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] 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])" "( 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" "G21" "[FC]" "G0 [ZH]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[FC]" "G00[X][Y][Z]" +--------------------------------------------------- + Commands output for the plunge move +--------------------------------------------------- begin PLUNGE_MOVE "[FP]" "G1[X][Y][Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[FC]" "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]" "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]" "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]" "M02"