Jump to content

Change the end position


Go to solution Solved by GregValiant,

Recommended Posts

Posted · Change the end position

Hi,

 

I currently own a Mingda Magician Pro 2 and i want to change the position at which the bed goes after the print finishes, since i want the bed to slide forwards for easier removal. Sadly I have tried messing around in the end G-code mashine settings, but for some reason it (extruder) always first goes forwards before very very slowly pushing the bed forwards. I am wondering if someone knows of a way to have the printer go to the desired location directly. Btw, here ist the original end G-code for reference:

M104 S0

M140 S0

;Retract the filament

G92 E1

G1 E-1 F300

G28 X0 Y0

M84

 

  • Link to post
    Share on other sites

    • Solution
    Posted (edited) · Change the end position

     

    This is what I use.  It retracts, slides to the side, moves up, and then the bed goes to max Y before shutting everything off.

    Cura uses "replacement patterns" that are essentially variable names.  When the project is sliced, Cura will replace the words with their values.  Speeds from Cura are in mm/sec but the gcode uses mm/minute so each speed must be multiplied by 60.

    The line in bold is really the one you asked for.  If it's all you want then it would replace your G28 X0 Y0 line.  If the Z doesn't go up a little bit first your nozzle could drag on the top surface of the print.

     

    ;-----------------Ending Gcode
    G91               ; Relative positioning
    M83               ; Relative Extrusion
    G1 F{retraction_retract_speed*60} E-{retraction_amount}      ; Retract
    G0 F{speed_z_hop*60} Z0.2 ; Raise Z
    G0 F{speed_travel*60} X5 Y5    ; Wipe out
    G0 F{speed_z_hop*60} Z10        ; Raise Z more
    G90               ; Absolute positioning
    M82               ; Absolute extrusion
    M220 S100         ; Reset FeedRate
    M221 S100         ; Reset FlowRate
    G0 F{speed_travel*60} X0 Y{machine_depth}        ; Present print
    M106 S0           ; Turn-off fan
    M104 S0           ; Turn-off hotend
    M140 S0           ; Turn-off bed
    M84 X Y E         ; Disable all steppers but Z
    ;-----------------End of Ending

     

    Edited by GregValiant
    • Like 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 7 replies
    ×
    ×
    • Create New...