Jump to content

Help with start Gcodes Cura 4.11


Amazon62

Recommended Posts

Posted · Help with start Gcodes Cura 4.11

Hi,

 

Although I'm not new in 3D printing, I am a bit of a noob with gcodes editing. 

Now I'm running into a "problem". At the end of the print, I set the printer to retract 25mm filament (that much because I use a E3D Revo Micro).

So now I need to purge 25mm before starting the first test extrusion line (dont have the correct name for it). I was searching for this, because it is not a rare thing to do, but everybody uses G-codes in their start codes, but mine only shows M-codes. See below. So I'm confused what to do now.... Can someone help me adding the purge 25mm Gcode? Thanks!

 

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

 

Printer: Ender 5

Cura 4.11

Firmware: Th3d unified 2

  • Link to post
    Share on other sites

    Posted (edited) · Help with start Gcodes Cura 4.11

    If you happen to "Tune" a print while it is running (Ex.  You use the LCD to slow a print down to 80% feed rate) then that setting will stay active until you change it (or cycle the printer on/off, which will also reset it).  So the M220 and M221 lines are a reset in case a print was tuned on the fly.

    The M201 and M203 commands are setting up the firmware "speed limits".

    The M204 and M205 lines are the numbers that the printer will use in the calculations of movements.  If you DO NOT enable Accel and Jerk control in Cura, then the printer will use the numbers in the M203 and M204 lines in it's movement calculations.  They are the defaults.

    There are a couple of ways to get that prime move in.  The simplest is probably:

     

    M82 ;Absolute extrusion - if this line is already in your gcode then you don't need to put it in again.

    G92 E0 ;reset extruder location

    G1 F2100 E15 ;extrude 15mm of filament at 35mm/sec

    G92 E0 ;reset extruder location

     

    Make sure those lines go in AFTER the hot end is at printing temperature, and the print head is located somewhere like the left front corner so the oozing doesn't land on the build plate.  The nozzle should be at a Z of 5 or 10 as well so there is room to ooze.

    The MarlinFW site has all the Marlin G and M codes listed.  You should go over them to familiarize yourself with the common ones.

    Edited by GregValiant
  • Link to post
    Share on other sites

    Posted · Help with start Gcodes Cura 4.11

    Hi ,

     

    Thanks a lot for the reply. So, the only thing I see in the start code are the Mcodes. So how do I know where to put the G-codes you gave me? I searched, but I cant find the settings 'accel and jerk'. Thanks

  • Link to post
    Share on other sites

    Posted · Help with start Gcodes Cura 4.11

    This is the stock Creality Ender 5 StartUp Gcode from the Machine Settings in Cura.  This depends on Cura adding the temperature setting lines.  As a result of that, When this code runs the hot end is up to temperature.  You could put that code in here anywhere but it is good practice to put it after the G28 command, or G29/M420 if you have ABL.

     

    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

     

    G28 ;Home

     

    G92 E0 ;Reset Extruder

    G1 Z2.0 F3000 ;Move Z Axis up

    G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position

    G1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line

    G1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little

    G1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line

    G92 E0 ;Reset Extruder

    G1 Z2.0 F3000 ;Move Z Axis up

     

    The new lines are in bold type.  I went down a couple of lines to make sure the nozzle has room under it.

    G28 ;Home

     

    G92 E0 ;Reset Extruder

    G1 Z2.0 F3000 ;Move Z Axis up

    G1 F2100 E15 ;extrude 15mm of filament at 35mm/sec

    G92 E0 ;reset extruder location

    G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position

    • Like 1
    Link to post
    Share on other sites

    Posted (edited) · Help with start Gcodes Cura 4.11

    Sorry, I found the Gcodes after all. Somehow not alle the text was shown and I couldnt scroll.. I maximized the window and I saw the G-codes. Thanks for the help!

    Edited by Amazon62
  • 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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...