v12345vtm

postprocesor laser

Aug 19th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. +================================================
  2. +
  3. + Grbl - Vectric machine output configuration file
  4. +
  5. +================================================
  6. +
  7. + History https://jtechphotonics.com/Downloads/PostP/J_Tech_M106-M107_NoZ_MM_v4.pp
  8. +
  9. + Who When What
  10. + ======== ========== ===========================
  11. + JTechP 03/28/2016 Added laser commands to
  12. + every line. Changed laser
  13. + OFF command to both M03 S0 and
  14. + M05.
  15. + PaulW 01/20/2016 turn Spindle off during rapids
  16. + EdwardP 11/02/2015 Written from Grbl_mm.pp but
  17. + set G20
  18. + EdwardP 11/02/2015 Commented out arcs as these
  19. + slow GRBL performance appear
  20. + interpolated anyway
  21. + JayJ 3/10/2017 Changed for 3D printer fan
  22. + control of laser
  23. +================================================
  24.  
  25. POST_NAME = "shapeoko lasercut (MM) (*.gcode)"
  26.  
  27. FILE_EXTENSION = "gcode"
  28.  
  29. UNITS = "MM"
  30.  
  31. +------------------------------------------------
  32. + Line terminating characters
  33. +------------------------------------------------
  34.  
  35. LINE_ENDING = "[13][10]"
  36.  
  37. +------------------------------------------------
  38. + Block numbering
  39. +------------------------------------------------
  40.  
  41. LINE_NUMBER_START = 0
  42. LINE_NUMBER_INCREMENT = 10
  43. LINE_NUMBER_MAXIMUM = 999999
  44.  
  45. +================================================
  46. +
  47. + Formating for variables
  48. +
  49. +================================================
  50.  
  51. VAR LINE_NUMBER = [N|A|N|1.0]
  52. VAR SPINDLE_SPEED = [S|A|S|1.0]
  53. VAR FEED_RATE = [F|C|F|1.1]
  54. VAR X_POSITION = [X|C|X|1.4]
  55. VAR Y_POSITION = [Y|C|Y|1.4]
  56. +VAR Z_POSITION = [Z|C|Z|1.4]
  57. VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4]
  58. VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4]
  59. VAR X_HOME_POSITION = [XH|A|X|1.4]
  60. VAR Y_HOME_POSITION = [YH|A|Y|1.4]
  61. +VAR Z_HOME_POSITION = [ZH|A|Z|1.4]
  62.  
  63. +================================================
  64. +
  65. + Block definitions for toolpath output
  66. +
  67. +================================================
  68.  
  69. +---------------------------------------------------
  70. + Commands output at the start of the file
  71. +---------------------------------------------------
  72.  
  73. begin HEADER
  74.  
  75. "M300 S1 P1500"
  76. +biep start
  77. "M220 S100"
  78. + ; snelheid op 100% zetten je weet nooit hoe de printer ervoor stond
  79. "M0 Click to continue"
  80. "M0 Kill to abort"
  81. "M117 Home x"
  82. "G28 X"
  83. +home x
  84. "M117 Home y"
  85. "G28 Y"
  86. +home x
  87. "M0 met G92 Z0 komt Z op 0"
  88. "M0 Staat laser focus?"
  89. "M300 S1 P100"
  90. "M300 S1 P100"
  91. "M300 S1 P100"
  92. "M75"
  93. +start de klok op lcd
  94. "M111 S247"
  95. +logging aangezet
  96. "M117 Vectric aspire"
  97. "M117 laseren maar"
  98. +einde vith edit
  99.  
  100. "G90"
  101. "G21"
  102. "M106 S0"
  103. "M107"
  104. "G0 F500"
  105. +"G0[ZH]"
  106. "G0 [XH] [YH]"
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. +---------------------------------------------------
  115. + Commands output for rapid moves
  116. +---------------------------------------------------
  117.  
  118. begin RAPID_MOVE
  119.  
  120. "G0 [X] [Y] [Z]"
  121.  
  122.  
  123. +---------------------------------------------------
  124. + Commands output for the first feed rate move
  125. +---------------------------------------------------
  126.  
  127. begin FIRST_FEED_MOVE
  128.  
  129. "M106 [S]"
  130. "G1 [X] [Y] [F]"
  131.  
  132.  
  133. +---------------------------------------------------
  134. + Commands output for feed rate moves
  135. +---------------------------------------------------
  136.  
  137. begin FEED_MOVE
  138.  
  139. "G1 [X] [Y]"
  140.  
  141.  
  142. +---------------------------------------------------
  143. + Commands output for the first clockwise arc move
  144. +---------------------------------------------------
  145.  
  146. +begin FIRST_CW_ARC_MOVE
  147.  
  148. +"G2 [X] [Y] [I] [J] [F]"
  149.  
  150.  
  151. +---------------------------------------------------
  152. + Commands output for clockwise arc move
  153. +---------------------------------------------------
  154.  
  155. +begin CW_ARC_MOVE
  156.  
  157. +"G2 [X] [Y] [I] [J]"
  158.  
  159.  
  160. +---------------------------------------------------
  161. + Commands output for the first counterclockwise arc move
  162. +---------------------------------------------------
  163.  
  164. +begin FIRST_CCW_ARC_MOVE
  165.  
  166. +"G3 [X] [Y] [I] [J] [F]"
  167.  
  168.  
  169. +---------------------------------------------------
  170. + Commands output for counterclockwise arc move
  171. +---------------------------------------------------
  172.  
  173. +begin CCW_ARC_MOVE
  174.  
  175. +"G3 [X] [Y] [I] [J]"
  176.  
  177.  
  178. + ---------------------------------------------------
  179. + Commands output for Retract Moves
  180. + ---------------------------------------------------
  181. begin RETRACT_MOVE
  182.  
  183. "M106 S0"
  184.  
  185.  
  186. +---------------------------------------------------
  187. + Commands output at the end of the file
  188. +---------------------------------------------------
  189.  
  190. begin FOOTER
  191.  
  192. "M106 S0"
  193. "M107"
  194. "G0 [ZH] M30"
  195. "G0 [XH] [YH]"
Advertisement
Add Comment
Please, Sign In to add comment