Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;; ----- start of slicer start gcode ----- ;;;
- M300 S660 P200 ;beep
- M300 S660 P200 ;beep
- @SPEAK Starting Print ;tell it like it is
- G4 P2000 ;pause for speech
- @EASYSERVO_ABS 12 105 ;sets wiper to home
- M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
- M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
- M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
- M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
- M220 S100 ;Reset Feedrate
- M221 S100 ;Reset Flowrate
- M400 ;Catchup
- @SPEAK Homing Ex and Why Axes ;speak, bitch
- G0 Z10 ; Move printhead up a bit
- G28 X Y ; home the print head in X/Y for wipe prep
- ;###### WIPE #######################
- G60 S1 ; save pos in slot 1
- M83 ; Extruder Relative
- G91 ; Make Movement Relative
- G1 E-3.5 F4500 ; Retract filament
- ; G0 Z5 ; Move printhead up a bit - nope, we're already up...
- G90 ; Make Movement Absolute
- M211 S0 ; disable sw endstops
- G0 F9000 X247 Y125 ; push gantry out to wipe (X=244) & image (X=244, Y=125) position
- M400 ; wait for the move to complete
- @SPEAK Wipes and Snaps are done at each layer change
- G4 P2500
- ; if OL enabled (does nothing if not enabled)
- @Octolapse take-snapshot
- M118 EASYSERVO_ABS 12 60 ; start the wipe in the first direction
- M118 EASYSERVO_ABS 12 110 ; finish the wipe in the opposite direction
- M211 S1 ; reenable sw endstops
- M82 ; Restore Extruder to absolute
- ;###### END WIPE ###################
- M400
- @SPEAK Homing Z Axis
- G4 P1200
- G28 Z ; Home the Z axis in prep for ABL
- ; then do the ABL
- M400
- @SPEAK Probing Mesh
- 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
- @BEDLEVELVISUALIZER ; instruct OctoPrint BedLevelVisualizer plugin to start listening for the bilinear mesh responses from printer.
- G29 S15000 ; kick off the bed level sensing process and then report the bed leveling mesh points when done
- M500 ; store mesh & other settings
- M155 S3 ; set the temperature reporting delay back to a shorter time span - 3 seconds
- M400
- @SPEAK Mesh Collected. Purging.
- ; then do a nozzle purge at very edge of bed
- G92 E0 ;Reset Extruder
- G1 Z2.0 F3000 ;Move Z Axis up
- G1 X2.1 Y20 Z0.28 F5000.0 ;Move to start position
- G1 X2.1 Y200.0 Z0.28 F2000.0 E15 ;Draw the first line
- G1 X2.4 Y200.0 Z0.28 F2000.0 ;Move to side a little
- G1 X2.4 Y20 Z0.28 F2000.0 E30 ;Draw the second line
- ; do a small post purge retract so no spooge related to the before layer wipe
- M83 ; Extruder Relative
- G1 E-0.5 F4500 ; Retract filament just a wee lil bitly
- M82 ; Restore Extruder to absolute
- ; then reset extruder and GTFO
- G92 E0 ;Reset Extruder
- G1 Z5.0 F3000 ;Move Z Axis up
- M400
- @SPEAK Purged. Away we GO!
- G4 P1200
- ;;; ----- end of slicer start gcode ----- ;;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement