Advertisement
StrangeCrunchy1

Ender-3 Style Z Axis Lubrication Routine

Feb 2nd, 2023 (edited)
652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | Source Code | 0 0
  1. G90 ; Absolute Positioning
  2. G28 ; Home all axes
  3.  
  4. ; 0.125 second pauses were implemented to make the LCD messages display properly.
  5. ; Feel free to modify
  6.  
  7. M117 Beginning Lubrication cycle
  8. G4 P5000 ; Pause for user to remove tool caddy
  9. M117 Moving Z Axis to top
  10. G1 Z200.0 F3000 ; Move Z Axis up to the top extent of its range
  11. G4 P125 ; Pause for 0.125 seconds
  12. M117 Apply lubricant to Z Axis nut
  13. G4 P10000 ; Pause for lubrication
  14. G1 Z220.0 F1500 ; Move Z Axis up 20mm to get the oil into the screw
  15. G4 P125 ; Pause for 0.125 seconds
  16. M117 Moving Z Axis to 75%
  17. G1 Z150.0 F3000 ; Move Z Axis down to 75% of its range
  18. G4 P125 ; Pause for 0.125 seconds
  19. M117 Apply lubricant to Z Axis nut
  20. G4 P10000 ; Pause for lubrication
  21. G1 Z170.0 F1500 ; Move Z Axis up 20mm to get the oil into the screw
  22. G4 P125 ; Pause for 0.125 seconds
  23. M117 Moving Z Axis to 50%
  24. G1 Z100.0 F3000 ; Move Z Axis down to 50% of its range
  25. G4 P125 ; Pause for 0.125 seconds
  26. M117 Apply lubricant to Z Axis nut
  27. G4 P10000 ; Pause for lubrication
  28. G1 Z120.0 F1500 ; Move Z Axis up 20mm to get the oil into the screw
  29. G4 P125 ; Pause for 0.125 seconds
  30. M117 Moving Z Axis to 25%
  31. G1 Z50.0 F3000 ; Move Z Axis down to 25% of its range
  32. G4 P125 ; Pause for 0.125 seconds
  33. M117 Apply lubricant to Z Axis nut
  34. G4 P10000 ; Pause for lubrication
  35. G1 Z70.0 F1500 ; Move Z Axis up 20mm to get the oil into the screw
  36. G4 P125 ; Pause for 0.125 seconds
  37. M117 Moving Z Axis to lowest
  38. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  39. G4 P125 ; Pause for 0.125 seconds
  40. M117 Apply lubricant to Z Axis nut
  41. G4 P10000 ; Pause for lubrication
  42. G1 Z22.0 F1500 ; Move Z Axis up 20mm to get the oil into the screw
  43. G1 Z0.0 F750 ; Move Z Axis down to the Z 0 point
  44.  
  45.  
  46. G4 P2000 ; Pause for 2 seconds
  47. M117 Beiginning Z Axis Oil wipe
  48. G4 P5000 ; Pause for 5 seconds
  49. M117 Z Axis Oil Wipe 1/5
  50. G1 Z220.0 F3000 ; Move Z Axis up to the top extent of its range
  51. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  52. G4 P125 ; Pause for 0.125 seconds
  53. M117 Z Axis Oil Wipe 2/5
  54. G1 Z220.0 F3000 ; Move Z Axis up to the top extent of its range
  55. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  56. G4 P125 ; Pause for 0.125 seconds
  57. M117 Z Axis Oil Wipe 3/5
  58. G1 Z220.0 F3000 ; Move Z Axis up to the top extent of its range
  59. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  60. G4 P125 ; Pause for 0.125 seconds
  61. M117 Z Axis Oil Wipe 4/5
  62. G1 Z220.0 F3000 ; Move Z Axis up to the top extent of its range
  63. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  64. G4 P125 ; Pause for 0.125 seconds
  65. M117 Z Axis Oil Wipe 5/5
  66. G1 Z220.0 F3000 ; Move Z Axis up to the top extent of its range
  67. G1 Z2.0 F1500 ; Move Z Axis down just short of touching the bed
  68. G4 P125 ; Pause for 0.125 seconds
  69. M117 Z Axis lubrication complete
  70. G4 P5000 ; Pause for 5 seconds
  71. M117 Homing all axes
  72. G28 ; Home all axes
  73. M84 ; Disable motors
  74.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement