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
- "M220 S100"
- + ; snelheid op 100% zetten je weet nooit hoe de printer ervoor stond
- "M117 Home x"
- "G28 X"
- +home x
- "M117 Home y"
- "G28 Y"
- +home x
- "T1M6"
- "G17"
- "G21"
- "; starscript lASER UIT/pen op"
- "M280 P0 S25"
- "M1 S1; 1sec pauze"
- +vith edit
- "M75"
- +start de klok op lcd
- "M111 S247"
- +logging aangezet
- "M117 Vectric aspire"
- "G90"
- + ;absolute positioning
- "M82"
- + ;set extruder to absolute mode
- +einde vith edit
- +---------------------------------------------------
- + Commands output for rapid moves
- +---------------------------------------------------
- begin RAPID_MOVE
- +"G0 [X] [Y] [Z]"
- "M400 ; elke G0 beweging afwechten ipv de door buffer te vliegen"
- "G0 [X] [Y]; vithlaser rapidmove pen OP"
- "M280 P0 S25"
- "M1 S0.5; 0.5sec pauze"
- +---------------------------------------------------
- + Commands output for the first feed rate move
- +---------------------------------------------------
- begin FIRST_FEED_MOVE
- +"G1 [X] [Y] [Z] [F] ;vithlaser firstfeedmove"
- "G1 [X] [Y] [F] ;vithlaser firstfeedmove pen neer"
- "M280 P0 S147"
- "M1 S0.5; 0.5sec pauze"
- +---------------------------------------------------
- + Commands output for feed rate moves
- +---------------------------------------------------
- begin FEED_MOVE
- "G1 [X] [Y] [Z] ;vithlaser feedmove"
- +---------------------------------------------------
- + 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 the end of the file
- +---------------------------------------------------
- begin FOOTER
- ";end script laser uit/op"
- "M280 P0 S25"
- "M1 S0.5; 0.5sec pauze"
- "G0 [XH] [YH]"
- "M300 S1 P500"
- "M400 ; volgende beweking volledig afwachten"
- "G4 P500 ; wait for 1/2 second"
- "M300 S1 P500"
- "G4 P5000 ; wait for 1/2 second"
- "M117 ist frezen gelukt ?"
- "M77"
- +stop de klok op lcd
Advertisement
Add Comment
Please, Sign In to add comment