Advertisement
Guest User

Marlin_mm.pp

a guest
Dec 13th, 2015
1,526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. +================================================
  2. +
  3. + G Code - Vectric machine output configuration file
  4. +
  5. +================================================
  6. +
  7. + History
  8. +
  9. + Who When What
  10. + ======== ========== ===========================
  11. + MikeK 13/12/2015 Written
  12. +================================================
  13.  
  14. POST_NAME = "Marlin (mm) (*.gcode)"
  15.  
  16. FILE_EXTENSION = "gcode"
  17.  
  18. UNITS = "MM"
  19.  
  20. +------------------------------------------------
  21. + Line terminating characters
  22. +------------------------------------------------
  23.  
  24. LINE_ENDING = "[13][10]"
  25.  
  26. +------------------------------------------------
  27. + Block numbering
  28. +------------------------------------------------
  29.  
  30. LINE_NUMBER_START = 0
  31. LINE_NUMBER_INCREMENT = 10
  32. LINE_NUMBER_MAXIMUM = 999999
  33.  
  34. +================================================
  35. +
  36. + Formating for variables
  37. +
  38. +================================================
  39.  
  40. VAR LINE_NUMBER = [N|A|N|1.0]
  41. VAR SPINDLE_SPEED = [S|A|S|1.0]
  42. VAR FEED_RATE = [F|C|F|1.1]
  43. VAR X_POSITION = [X|C|X|1.3]
  44. VAR Y_POSITION = [Y|C|Y|1.3]
  45. VAR Z_POSITION = [Z|C|Z|1.3]
  46. VAR X_HOME_POSITION = [XH|A|X|1.3]
  47. VAR Y_HOME_POSITION = [YH|A|Y|1.3]
  48. VAR Z_HOME_POSITION = [ZH|A|Z|1.3]
  49.  
  50. +================================================
  51. +
  52. + Block definitions for toolpath output
  53. +
  54. +================================================
  55.  
  56. +---------------------------------------------------
  57. + Commands output at the start of the file
  58. +---------------------------------------------------
  59.  
  60. begin HEADER
  61.  
  62.  
  63. "G90"
  64. "G21"
  65. "G1 [ZH]"
  66. "G1 [XH] [YH] [F]"
  67.  
  68.  
  69. +---------------------------------------------------
  70. + Commands output for rapid moves
  71. +---------------------------------------------------
  72.  
  73. begin RAPID_MOVE
  74.  
  75. "G1 [X] [Y] [Z]"
  76.  
  77.  
  78. +---------------------------------------------------
  79. + Commands output for the first feed rate move
  80. +---------------------------------------------------
  81.  
  82. begin FIRST_FEED_MOVE
  83.  
  84. "G1 [X] [Y] [Z] [F]"
  85.  
  86.  
  87. +---------------------------------------------------
  88. + Commands output for feed rate moves
  89. +---------------------------------------------------
  90.  
  91. begin FEED_MOVE
  92.  
  93. "G1 [X] [Y] [Z]"
  94.  
  95.  
  96. +---------------------------------------------------
  97. + Commands output at the end of the file
  98. +---------------------------------------------------
  99.  
  100. begin FOOTER
  101.  
  102. "G1 [ZH] ;goto safe z"
  103. "G1 [XH] [YH] ; goto xy home"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement