Advertisement
TodWulff

Untitled

Dec 22nd, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. ;;; ----- start of slicer start gcode ----- ;;;
  2.  
  3. M300 S660 P200 ;beep
  4. M300 S660 P200 ;beep
  5.  
  6. @SPEAK Starting Print ;tell it like it is
  7. G4 P2000 ;pause for speech
  8.  
  9. @EASYSERVO_ABS 12 105 ;sets wiper to home
  10.  
  11.  
  12. M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
  13. M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
  14. M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
  15. M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
  16. M220 S100 ;Reset Feedrate
  17. M221 S100 ;Reset Flowrate
  18.  
  19. M400 ;Catchup
  20. @SPEAK Homing Ex and Why Axes ;speak, bitch
  21.  
  22. G0 Z10 ; Move printhead up a bit
  23. G28 X Y ; home the print head in X/Y for wipe prep
  24.  
  25. ;###### WIPE #######################
  26.  
  27. G60 S1 ; save pos in slot 1
  28.  
  29. M83 ; Extruder Relative
  30.  
  31. G91 ; Make Movement Relative
  32. G1 E-3.5 F4500 ; Retract filament
  33. ; G0 Z5 ; Move printhead up a bit - nope, we're already up...
  34. G90 ; Make Movement Absolute
  35.  
  36. M211 S0 ; disable sw endstops
  37.  
  38. G0 F9000 X247 Y125 ; push gantry out to wipe (X=244) & image (X=244, Y=125) position
  39. M400 ; wait for the move to complete
  40.  
  41. @SPEAK Wipes and Snaps are done at each layer change
  42. G4 P2500
  43.  
  44. ; if OL enabled (does nothing if not enabled)
  45. @Octolapse take-snapshot
  46.  
  47. M118 EASYSERVO_ABS 12 60 ; start the wipe in the first direction
  48. M118 EASYSERVO_ABS 12 110 ; finish the wipe in the opposite direction
  49.  
  50. M211 S1 ; reenable sw endstops
  51.  
  52. M82 ; Restore Extruder to absolute
  53.  
  54. ;###### END WIPE ###################
  55.  
  56. M400
  57. @SPEAK Homing Z Axis
  58. G4 P1200
  59.  
  60. G28 Z ; Home the Z axis in prep for ABL
  61.  
  62. ; then do the ABL
  63. M400
  64. @SPEAK Probing Mesh
  65.  
  66. M155 S150 ; stall temperature reporting, use a value longer than the time it takes for your leveling command to complete - 150 = 2.5min, long but is reset after the G29 T
  67. @BEDLEVELVISUALIZER ; instruct OctoPrint BedLevelVisualizer plugin to start listening for the bilinear mesh responses from printer.
  68. G29 S15000 ; kick off the bed level sensing process and then report the bed leveling mesh points when done
  69. M500 ; store mesh & other settings
  70. M155 S3 ; set the temperature reporting delay back to a shorter time span - 3 seconds
  71.  
  72. M400
  73. @SPEAK Mesh Collected. Purging.
  74.  
  75. ; then do a nozzle purge at very edge of bed
  76.  
  77. G92 E0 ;Reset Extruder
  78. G1 Z2.0 F3000 ;Move Z Axis up
  79. G1 X2.1 Y20 Z0.28 F5000.0 ;Move to start position
  80. G1 X2.1 Y200.0 Z0.28 F2000.0 E15 ;Draw the first line
  81. G1 X2.4 Y200.0 Z0.28 F2000.0 ;Move to side a little
  82. G1 X2.4 Y20 Z0.28 F2000.0 E30 ;Draw the second line
  83.  
  84. ; do a small post purge retract so no spooge related to the before layer wipe
  85.  
  86. M83 ; Extruder Relative
  87. G1 E-0.5 F4500 ; Retract filament just a wee lil bitly
  88. M82 ; Restore Extruder to absolute
  89.  
  90. ; then reset extruder and GTFO
  91.  
  92. G92 E0 ;Reset Extruder
  93. G1 Z5.0 F3000 ;Move Z Axis up
  94.  
  95. M400
  96. @SPEAK Purged. Away we GO!
  97. G4 P1200
  98.  
  99. ;;; ----- end of slicer start gcode ----- ;;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement