+================================================ + + ShopSabre Post Processor for WinCNC Control using Vectric Software + +================================================ + + History + + Who When What + =========== ========== =========================== + Tony 05/08/2006 Written + Mike Queen 07/15/2011 Edited to work correctly with WinCNC +================================================ POST_NAME = "Shopsabre Laser INCH (*.tap)" FILE_EXTENSION = "tap" UNITS = "INCHES" +------------------------------------------------ + Line terminating characters +------------------------------------------------ LINE_ENDING = "[13][10]" +------------------------------------------------ + Block numbering +------------------------------------------------ LINE_NUMBER_START = 1 LINE_NUMBER_INCREMENT = 1 LINE_NUMBER_MAXIMUM = 9999999 +================================================ + + Formating for variables + +================================================ VAR LINE_NUMBER = [N|A|N|1.0] VAR SPINDLE_SPEED = [S|A|P|1.0] VAR FEED_RATE = [F|A|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 ARC_CENTRE_I_INC_POSITION = [I|A|I|1.6] VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.6] 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 " [91]VECTRIC CNC OUTPUT FOR SHOPSABRE SINGLE TOOL [93]" " [91]MACHINES WITH WINCNC CONTROL ONLY[93]" " " " [91]FILENAME: [TP_FILENAME][93]" " [91][TIME], [DATE][93]" " " " [91]MATERIAL size: [XLENGTH][34] x [YLENGTH][34] x [ZLENGTH][34][93]" " [91]Z Zero Position: [Z_ORIGIN][93]" " " " G90 [91]ABSOLUTE MODE[93]" " " " M5 [91]SPINDLE OFF[93]" " G53 Z0 [91]LIFT Z TO TOP[93]" " " " [91][TOOLNAME][93]" " " " L251" " G53 Z0 [91]LIFT Z TO TOP[93]" " " " L249[S]" " " " [91]TOOLPATH NAME: [TOOLPATH_NAME][93]" " F[FC] XY [91]SET FEEDRATE FOR X AND Y[93]" " F[FP] Z [91]SET FEEDRATE FOR Z[93]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin INITIAL_RAPID_MOVE " G0 [X] [Y]" " G0 [ZH]" begin RAPID_MOVE " G0 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE " G1 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE " G1 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for clockwise arc move +--------------------------------------------------- begin CW_ARC_MOVE " G2 [X] [Y] [I] [J]" +--------------------------------------------------- + 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 " " " " " [91]TOOLPATH NAME: [TOOLPATH_NAME][93]" " F[FC] XY [91]SET FEEDRATE FOR X AND Y[93]" " F[FP] Z [91]SET FEEDRATE FOR Z[93]" " " +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER " G0 " " L250" " G53 Z0"