-
-
Save jazzsequence/36600abb8f0655a63724fbe046899deb to your computer and use it in GitHub Desktop.
; Ender 5 Custom End G-code | |
G4 ; Wait | |
M220 S100 ; Reset Speed factor override percentage to default (100%) | |
M221 S100 ; Reset Extrude factor override percentage to default (100%) | |
G91 ; Set coordinates to relative | |
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing | |
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely | |
G90 ; Set coordinates to absolute | |
G1 X0 Y220 F1000 ; Move Heat Bed to the front for easy print removal | |
M106 S0 ; Turn off cooling fan | |
M104 S0 ; Turn off extruder | |
M140 S0 ; Turn off bed | |
M107 ; Turn off Fan | |
M84 ; Disable stepper motors | |
M117 That's All Folks! | |
; End of custom end GCode |
; Ender 5 Custom Start G-code | |
M104 S200 ; Set Extruder temperature to 200. | |
M140 S70 ; Set Heat Bed temperature to 70 | |
; 50 should be sufficient for the actual build but raising the temp can help builds stick to the base. | |
M190 S50 ; Wait for Heat Bed temperature. | |
M109 S200 ; Wait for Extruder temperature | |
G28 ; Home all axes | |
M117 ; Purge extruder | |
G92 E0 ; Reset Extruder | |
; Draw a line. This is for the test line, so it can be a little lower than we need. | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed. | |
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position | |
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line | |
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little | |
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line | |
G92 E0 ; Reset Extruder | |
G1 Z1.5 F3000 ; Move Z Axis up to where it should be for the actual print. | |
M117 By your command! | |
; End of custom start GCode |
Not sure when this started, but Cura 5.8.1 does wait for bed / nozzle temperature in filament settings.
We just have home and purge in start gcode.
I used the end code on my Ender 5 Plus in Cura, and after a print it will still crash into the back left of the fame.
:<
I used the end code on my Ender 5 Plus in Cura, and after a print it will still crash into the back left of the fame. :<
in my limited experience, there are several places that have information on what the machine should do at the end of a print... you'll need to check the full g-code that is run on your machine as the slicer may add something. Also need to check the Marlin (or whatever you use) to see where the Ender thinks is 'Home'...
Good Luck...
I used the end code on my Ender 5 Plus in Cura, and after a print it will still crash into the back left of the fame. :<
PROBLEM SOLVED:
If your printer is crashing into the back left of the frame after a print on klipper, go into the printer.cfg - stepper x
My setting at position_min was 0.
Change it to 10, so its a little away from the frame.
Note: Changing it to 20 will cause the print to be out of area and not print.
Works fine. No issues at all.