Advertisement
Guest User

Untitled

a guest
May 8th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 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. + Tony 02/08/2005 Written
  12. +================================================
  13.  
  14. POST_NAME = "GCode_Laser_mm_No_Z (mm) (*.tap)"
  15.  
  16. FILE_EXTENSION = "tap"
  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. "T1M6"
  63. "G17"
  64. "M7"
  65. "M8"
  66. +"G0[ZH]"
  67.  
  68. +---------------------------------------------------
  69. + Commands output for rapid moves
  70. +---------------------------------------------------
  71.  
  72. begin RAPID_MOVE
  73.  
  74. "G0[X][Y]"
  75.  
  76.  
  77. +---------------------------------------------------
  78. + Commands output for the first feed rate move
  79. +---------------------------------------------------
  80.  
  81. begin FIRST_FEED_MOVE
  82.  
  83. "G1[X][Y][F]"
  84.  
  85.  
  86. +---------------------------------------------------
  87. + Commands output for feed rate moves
  88. +---------------------------------------------------
  89.  
  90. begin FEED_MOVE
  91.  
  92. "G1[X][Y]"
  93.  
  94. +---------------------------------------------------
  95. + Commands output for the plunge move
  96. +---------------------------------------------------
  97.  
  98. begin PLUNGE_MOVE
  99.  
  100. +"G4 P1"
  101. "M3 [S]"
  102. +"G4 P2"
  103.  
  104. + ---------------------------------------------------
  105. + Commands output for Retract Moves
  106. + ---------------------------------------------------
  107. begin RETRACT_MOVE
  108.  
  109. "G4 P2"
  110. "M3 S0"
  111. +"G4 P2"
  112.  
  113. +---------------------------------------------------
  114. + Commands output at the end of the file
  115. +---------------------------------------------------
  116.  
  117. begin FOOTER
  118.  
  119. "G0[XH][YH]"
  120. "M30"
  121. "M9"
  122. %
  123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement