+================================================ + + Centroid - Vectric machine output configuration file + http://www.centroidcnc.com/ + +================================================ + + History + + Who When What + ======== ========== =========================== + Brian 11/01/2007 Written + Olivier 19/01/2007 compensate tool height, header, toolchange, footer + Olivier 19/01/2007 inches + Scott W. 08/26/2020 Modified for Jtech laser and no Z + Jay J 6/16/2022 Took out rotary +================================================ POST_NAME = "Centroid (Laser_Inch) V1_2 (*.cncl)" FILE_EXTENSION = "cncl" UNITS = "INCHES" RAPID_PLUNGE_TO_STARTZ = YES LASER_SUPPORT = "YES" +ROTARY_WRAP_X = "-B" +------------------------------------------------ + Line terminating characters +------------------------------------------------ LINE_ENDING = "[13][10]" +------------------------------------------------ + Block numbering +------------------------------------------------ LINE_NUMBER_START = 1 LINE_NUMBER_INCREMENT = 1 LINE_NUMBER_MAXIMUM = 999999 +================================================ + + Formating for variables + +================================================ VAR LINE_NUMBER = [N|A|N|1.0] VAR SPINDLE_SPEED = [S|A| S|1.0] VAR POWER = [P|C|S|1.0|10.0] VAR FEED_RATE = [F|C| F|1.1] VAR X_POSITION = [X|A| X|1.6] VAR Y_POSITION = [Y|A| Y|1.6] VAR Z_POSITION = [Z|A| Z|1.6] VAR X_HOME_POSITION = [XH|A| X|1.6] VAR Y_HOME_POSITION = [YH|A| Y|1.6] VAR Z_HOME_POSITION = [ZH|A| Z|1.6] +VAR WRAP_DIAMETER = [WRAP_DIA|A||1.3] VAR ARC_CENTRE_I_INC_POSITION = [I|A| I|1.6] VAR ARC_CENTRE_J_INC_POSITION = [J|A| J|1.6] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "G20 ; select Imperial units" "G90 ; absolute positioning" "G0 X0 Y0 ; rapid to X0Y0" "Z0 ; Move to Z zero" "G37 ON ; PWM Velocity Modulation ON (varies Laser power based on machine velocity)" "M3S0 ; Laser power off" "M37 ; Laser on" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE " G0[X][Y]" +--------------------------------------------------- + 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 " G1[X][Y][Z][F]" +--------------------------------------------------- + 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 a new segment - toolpath + with same toolnumber but maybe different feedrates +--------------------------------------------------- begin NEW_SEGMENT "" " ; Next toolpath - Toolpath name: [TOOLPATH_NAME]" "" +--------------------------------------------------- + Commands output when the jet is turned on +--------------------------------------------------- begin JET_TOOL_ON " [P]" +--------------------------------------------------- + Commands output when the jet is turned off +--------------------------------------------------- begin JET_TOOL_OFF " [P]" +--------------------------------------------------- + Commands output when the jet power is changed +--------------------------------------------------- begin JET_TOOL_POWER " [P]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "S0" "G90 ; Absolute positioning" "M38 ; Laser cool down time" ";END"