POST_NAME = "LowRider4 (mm) (*.gcode)" FILE_EXTENSION = "gcode" UNITS = "MM" DIRECT_OUTPUT = "VTransfer" LASER_SUPPORT = "NO" +------------------------------------------------ + 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.3] VAR DWELL_TIME = [DWELL|A|P|1.3] VAR POWER = [P|C|S|1.0|10.0] VAR SPINDLE_SPEED = [S|A|S|1.3] VAR FEED_RATE = [F|C|F|1.3] 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 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 X_LENGTH = [XLENGTH|A||1.3] VAR Y_LENGTH = [YLENGTH|A||1.3] VAR Z_LENGTH = [ZLENGTH|A||1.3] VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.3] VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.3] +================================================ + + Block definitions for toolpath output + +================================================ begin REVISION_COMMENT "(VECTRIC POST REVISION)" "([REVISION])" +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "; [TP_FILENAME]" "; Minimum extent ([XMIN], [YMIN], [ZMIN])" "; Maximum extent ([XMAX], [YMAX], [ZMAX]" "; Length of material in X = [XLENGTH]" "; Length of material in Y = [YLENGTH]" "; Depth of material in Z = [ZLENGTH]" "; Home X = [XH] Home Y = [YH] Home Z = [ZH]" "; Safe Z height: [SAFEZ]" "; Notes: [FILE_NOTES]" "; Generated [DATE] [TIME]" "; XY Origin Position = X:[X_ORIGIN_POS], Y:[Y_ORIGIN_POS]" " " "G21" "G90" "G94" "$H" "G10 L20 P0 X0 Y0 Z0 (clear offsets for X,Y & Z axes in coordinate system 1)" "G0 [XH] [YH] F900 (moves to location to be set as X0 Y0)" "G92 X0 Y0 (Set current coordinates as X0 Y0)" "G0 X100 Y100 F900 (Move to X100 Y100 to allow a safe location to probe)" "M0 (MSG Attach probe)" "G38.2 Z-110 F200 P1.5 (probe down set thickness )" "G1 X5 Y10 Z10 F900 (Move close to home to remove probe safely)" "M0 (MSG Remove probe, Start Router and Vacuum)" ; "; [TOOLPATH_NOTES]" +--------------------------------------------- + Commands output for a dwell move +--------------------------------------------- begin DWELL_MOVE "G4 [DWELL]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin INITIAL_RAPID_MOVE "G0 [X] [Y] F2100 (overrides default feed rate)" "G0 [Z] F500 (overrides default feed rate)" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "G0 [X] [Y] F2100 (overrides default feed rate)" "G0 [Z] F500 (overrides default feed rate)" +--------------------------------------------------- + Commands output for the plunge move +--------------------------------------------------- begin PLUNGE_MOVE "G1 [X] [Y] [Z] [F]" +--------------------------------------------------- + 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]" +--------------------------------------------------- + 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 at toolchange +--------------------------------------------------- begin TOOLCHANGE "; Tool change:" "; Tool [T]: [TOOLNAME]" " " "; M63 P1 (turn off pin 27)" "M0 (MSG STOP ROUTER)" "M0 (MSG change tool, Attach probe)" "$HZ" "G0 X0 Y0 F2520" "G38.2 Z-110 F200 P1.5 (Probe set thickness)" "G0 Z10 F900 (Clearance)" "M0 (MSG Remove probe)" "M0 (MSG START ROUTER)" "; M62 P1 (turn on pin27)" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "; Footer" "; M63 P1 (stop spindle pin27)" "G1 Z10 F500 (move z to safe height)" "M0 (MSG STOP ROUTER)" "$HZ" "G1 X10 Y10 F2100 (Move XY axis close to home rapid)" "G0 X0 Y0 F500 (Move XY axis to home)" "M30"