Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +================================================
- +
- + Grbl - Vectric machine output configuration file
- +
- +================================================
- +
- + History https://jtechphotonics.com/Downloads/PostP/J_Tech_M106-M107_NoZ_MM_v4.pp
- +
- + Who When What
- + ======== ========== ===========================
- + JTechP 03/28/2016 Added laser commands to
- + every line. Changed laser
- + OFF command to both M03 S0 and
- + M05.
- + PaulW 01/20/2016 turn Spindle off during rapids
- + EdwardP 11/02/2015 Written from Grbl_mm.pp but
- + set G20
- + EdwardP 11/02/2015 Commented out arcs as these
- + slow GRBL performance appear
- + interpolated anyway
- + JayJ 3/10/2017 Changed for 3D printer fan
- + control of laser
- +================================================
- POST_NAME = "shapeoko lasercut (MM) (*.gcode)"
- FILE_EXTENSION = "gcode"
- UNITS = "MM"
- +------------------------------------------------
- + 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 FEED_RATE = [F|C|F|1.1]
- VAR X_POSITION = [X|C|X|1.4]
- VAR Y_POSITION = [Y|C|Y|1.4]
- +VAR Z_POSITION = [Z|C|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]
- +================================================
- +
- + Block definitions for toolpath output
- +
- +================================================
- +---------------------------------------------------
- + Commands output at the start of the file
- +---------------------------------------------------
- begin HEADER
- "M300 S1 P1500"
- +biep start
- "M220 S100"
- + ; snelheid op 100% zetten je weet nooit hoe de printer ervoor stond
- "M0 Click to continue"
- "M0 Kill to abort"
- "M117 Home x"
- "G28 X"
- +home x
- "M117 Home y"
- "G28 Y"
- +home x
- "M0 met G92 Z0 komt Z op 0"
- "M0 Staat laser focus?"
- "M300 S1 P100"
- "M300 S1 P100"
- "M300 S1 P100"
- "M75"
- +start de klok op lcd
- "M111 S247"
- +logging aangezet
- "M117 Vectric aspire"
- "M117 laseren maar"
- +einde vith edit
- "G90"
- "G21"
- "M106 S0"
- "M107"
- "G0 F500"
- +"G0[ZH]"
- "G0 [XH] [YH]"
- +---------------------------------------------------
- + Commands output for rapid moves
- +---------------------------------------------------
- begin RAPID_MOVE
- "G0 [X] [Y] [Z]"
- +---------------------------------------------------
- + Commands output for the first feed rate move
- +---------------------------------------------------
- begin FIRST_FEED_MOVE
- "M106 [S]"
- "G1 [X] [Y] [F]"
- +---------------------------------------------------
- + Commands output for feed rate moves
- +---------------------------------------------------
- begin FEED_MOVE
- "G1 [X] [Y]"
- +---------------------------------------------------
- + 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 Retract Moves
- + ---------------------------------------------------
- begin RETRACT_MOVE
- "M106 S0"
- +---------------------------------------------------
- + Commands output at the end of the file
- +---------------------------------------------------
- begin FOOTER
- "M106 S0"
- "M107"
- "G0 [ZH] M30"
- "G0 [XH] [YH]"
Advertisement
Add Comment
Please, Sign In to add comment