Advertisement
TheVideoVolcano

Anet A8 Manual Bed Levelling Helper Script (For Octo-remote Android App)

Aug 9th, 2020 (edited)
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. ;Written by Riccardo Geraci
  2. ;For Anet A8
  3. ;Marlin GCODE
  4. ;Tested and working code
  5. ;10/08/20
  6.  
  7. ;This script helps do the tedious work of levelling the bed manually.
  8. ;This is an alternative I came up with because I could not get my induction sensor
  9. ;to work because I could not get true Marlin firmware to install on the Anet 1.5 or 1.7
  10. ;control boards without bricking them.
  11.  
  12. M117 Manual Bed Levelling...
  13. G28 ;home all
  14.  
  15. ;Front-Left (FL)
  16.  
  17. G0 Z5
  18. G0 X30 Y30 Z5
  19. M117 Place Paper...
  20. G4 S3 ;wait for user to place paper
  21. G0 Z0
  22. M117 FL 10... ;write to lcd
  23. G4 S1
  24. M117 FL 9...
  25. G4 S1
  26. M117 FL 8...
  27. G4 S1
  28. M117 FL 7...
  29. G4 S1
  30. M117 FL 6...
  31. G4 S1
  32. M117 FL 5...
  33. G4 S1
  34. M117 FL 4...
  35. G4 S1
  36. M117 FL 3...
  37. G4 S1
  38. M117 FL 2...
  39. G4 S1
  40. M117 FL 1...
  41. G4 S1
  42. M117 FL 0...
  43. G4 S1
  44.  
  45. ;Back-Right (BR)
  46.  
  47. G0 Z5
  48. G0 X190 Y190 Z5
  49. M117 Place Paper...
  50. G4 S3
  51. G0 Z0
  52. M117 BR 10... ;write to lcd
  53. G4 S1
  54. M117 BR 9...
  55. G4 S1
  56. M117 BR 8...
  57. G4 S1
  58. M117 BR 7...
  59. G4 S1
  60. M117 BR 6...
  61. G4 S1
  62. M117 BR 5...
  63. G4 S1
  64. M117 BR 4...
  65. G4 S1
  66. M117 BR 3...
  67. G4 S1
  68. M117 BR 2...
  69. G4 S1
  70. M117 BR 1...
  71. G4 S1
  72. M117 BR 0...
  73. G4 S1
  74.  
  75. ;Front-Right (FR)
  76.  
  77. G0 Z5
  78. G0 X190 Y30 Z5
  79. M117 Place Paper...
  80. G4 S3
  81. G0 Z0
  82. M117 FR 10... ;write to lcd
  83. G4 S1
  84. M117 FR 9...
  85. G4 S1
  86. M117 FR 8...
  87. G4 S1
  88. M117 FR 7...
  89. G4 S1
  90. M117 FR 6...
  91. G4 S1
  92. M117 FR 5...
  93. G4 S1
  94. M117 FR 4...
  95. G4 S1
  96. M117 FR 3...
  97. G4 S1
  98. M117 FR 2...
  99. G4 S1
  100. M117 FR 1...
  101. G4 S1
  102. M117 FR 0...
  103. G4 S1
  104.  
  105.  
  106. ;Back-Left (BL)
  107.  
  108. G0 Z5
  109. G0 X30 Y190 Z5
  110. M117 Place Paper...
  111. G4 S3
  112. G0 Z0
  113. M117 BL 10... ;write to lcd
  114. G4 S1
  115. M117 BL 9...
  116. G4 S1
  117. M117 BL 8...
  118. G4 S1
  119. M117 BL 7...
  120. G4 S1
  121. M117 BL 6...
  122. G4 S1
  123. M117 BL 5...
  124. G4 S1
  125. M117 BL 4...
  126. G4 S1
  127. M117 BL 3...
  128. G4 S1
  129. M117 BL 2...
  130. G4 S1
  131. M117 BL 1...
  132. G4 S1
  133. M117 BL 0...
  134. G4 S1
  135.  
  136. ;Middle
  137.  
  138. G0 Z5
  139. G0 X110 Y110 Z5
  140. M117 Place Paper...
  141. G4 S3
  142. G0 Z0
  143. M117 M 10... ;write to lcd
  144. G4 S1
  145. M117 M 9...
  146. G4 S1
  147. M117 M 8...
  148. G4 S1
  149. M117 M 7...
  150. G4 S1
  151. M117 M 6...
  152. G4 S1
  153. M117 M 5...
  154. G4 S1
  155. M117 M 4...
  156. G4 S1
  157. M117 M 3...
  158. G4 S1
  159. M117 M 2...
  160. G4 S1
  161. M117 M 1...
  162. G4 S1
  163. M117 M 0...
  164. G4 S1
  165. M117 Finished!
  166. G28 ;Home
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement