Jump to content
Ultimaker Community of 3D Printing Experts

Recommended Posts

Posted · cura generated gcode

Hi,

 

a part of the generated gcode of cura  always contains

M190 S65

M104 S210
M109 S210

for my used heatbed and extruder temperatures.

 

Is there any way to change the sequence to

M104 S210

M190 S65
M109 S210

in the settings?

 

It would speed up the preheating phase. Thanks in advance for an answer.

 


 

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    Which version of cura?  For which printer?  This sounds like a custom printer so you can mess with the "start" gcodes in the machine settings.  You can change these to whatever you want and cura will remember.

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    Thanks for your reply. 

    The commands I'm talking about is part of the gcode which is generated previous to my start gcode:

     

    ;FLAVOR:RepRap
    ;TIME:906
    ;Filament used: 0.566464m
    ;Layer height: 0.2
    ;Generated with Cura_SteamEngine 3.1.0
    T0
    M190 S65
    M104 S210
    M109 S210
    M82 ; absolute extrusion mode
    ;StartGCode defined for Marlin 1.1.6 DB version 20171210
    G21           ;metric values
    G90           ;absolute positioning
    M82           ;set extruder to absolute mode
    M107          ;start with the fan off
    G28 X Y  Z    ;move XYZ to min endstops
    G1 F1800      ;set speed to 50mm/s
    G1 X0 Y0      ;move to A8 heatbed-zero
    G1 Z15 F3600  ;move extruder up
    G92 E0        ;zero the extruded length
    G1 F600 E3    ;extrude 3mm of feed stock
    G92 E0        ;zero the extruded length again
    M117 Drucke...

     

    I'm looking for an idea to change the sequence of M190, M104 and M109.
     

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    And if you use an Ultimaker2 you have to change the default "UltiGcode" to reprap mode and you can also set custom start and end codes.

     

    About what you are trying to do, you heat up your nozzle to full temp and it will sit there waiting for the bed to heat, in the meantime potentially cooking the PLA in your nozzle.....  I think the saved time is limited, but if I would do a thing like this I would not bring the nozzle to full printing temperature.

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    @ultiarjan:

    At the moment I'm changing the generated gcode manually to get the desired result. And I have no problems with cooking PLA or anything similar. My question was simply if there is a chance to tell or setup cura to generate the desired gcode. 

     

    @yellowshark

    At the beginning I have used manual preheating of heatbed and  extruder. After reaching setpoints close to the values used in cura I started the printing. But why doing something manually if technology could be used to generate an aquivalent result. I thought that someone knows something like a patch or a way for an automated postprocessing with .......

     

    It seems that I have to accept that there is no way to change it. Nevertheless thanks for everyone for the comments.

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    Also I also recommend you minimize the pla cooking temp (although pla can take it for hours - still) by setting the bed to maybe 10 degrees below desired temp with the WAIT for temp method.  Then set the nozzle to desired temp (no waiting) and the bed to desired temp (with waiting) and finally the nozzle to desired temp (with waiting).

  • Link to post
    Share on other sites
    Posted · cura generated gcode
    41 minutes ago, DieterB said:

    My question was simply if there is a chance to tell or setup cura to generate the desired gcode.

     

    If i understand you right, you want to use Custom Start Gcode (follow the link).

    • Like 1
    Link to post
    Share on other sites
    Posted · cura generated gcode

    @tinkergnome:

    Thanks, that is what I was looking for.

  • Link to post
    Share on other sites
    Posted · cura generated gcode
    On 1/31/2018 at 11:14 PM, tinkergnome said:

     

    If i understand you right, you want to use Custom Start Gcode (follow the link).

     

    Any idea how you can prevent Cura from adding a forced temperature shutdown right after the custom end code where I'm trying to set the nozzle temp to a holding temp of 190ºC while I swap the flex plate for the next test print or product..?

    Or can that only be removed manually..?

    I put this:

      M104 S190 ; set holding temp

     

    but it's just putting this right after that:

      M104 S0
      ;End of Gcode

     

    😕

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    That last M104 may be there as a safety to insure that the hot end is indeed off. 

    In Cura you can use the plugin "Search and Replace".  Have the search term "M104 S0" and the replace term "M104 S190".  That will change those last two shut-offs and keep the hot end on.

    Be aware that as long as the plugin is active, ALL your gcode files would leave the hot end on.

  • Link to post
    Share on other sites
    Posted · cura generated gcode

    Thanks GregValiant!

    I'll try that.

    Someone also mentioned the extension "Modify G-code", or is that the same thing?

  • 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
    • 15 Visiting our virtual showroom

      1. 1. Have you visited our virtual showroom before?


        • Yes
        • No
      2. 2. If yes - what content did you find most interesting?


        • Information about Ultimaker ecosystem
        • Applications & application stories
        • Customer success stories
        • Webinar sessions
        • Material wall & ecosystem partners
        • New product introduction; software subscription plans
      3. 3. What of the below would make you consider visiting (again)?


        • New Live Ultimaker Webinar streams
        • ‘Ask Me Anything’ with industry experts or Ultimaker staff via main stage and public chat
        • New customer success stories
        • New applications
        • Presentations/news from ecosystem partners
        • Opportunity to meet representatives for an interactive tour
        • Helpful videos like Software tutorials
        • Other; leave input in a comment below!

    • Our picks

      • Ultimaker turns 10: A look back
        Ultimaker is turning 10 years old and that means it is story telling time! We'll explore 2010-2014, traveling through the evolution of the business from the Protobox and Ultimaker Original, to the major leaps forward with the Ultimaker 2 and Ultimaker 3.
        • 0 replies
      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 0 replies
    ×
    ×
    • Create New...