Jump to content
Ultimaker Community of 3D Printing Experts

Gcode question


zoev89
 Share

Recommended Posts

Posted · Gcode question

I am using a UM original with a heated bed. It takes some time to heat-up the bed so what I usually do is manually heat the bed with control->temperature->bed to avoid having my nozzle heated up all the time while the bed is warming up. Then I start a print. Being a lazy guy I would like to do this in the startup code. So I enabled the

M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line

M109 S{print_temperature} ;Uncomment to add your own temperature line

lines in the start code. According to the documentation M190 S code waits for the bed temperature to reach the target temp. But what I see that it did not wait it also started heating up the nozzle while the bed is heating up and is not ready. I added a M0 command and that did seem to fix it like this

M190 S{print_bed_temperature}

M0 ;Pause

M109 S{print_temperature}

 

Actually I expected that the M0 would ask for a conformation from the user but it did not in this case. It does ask for conformation in the 3 point bedleveling procedure that is found on this forum.

So currently with the M0 command I have been able to get the required startup sequence of my machine but actually I don't understand why the M190 command did not wait, and it does wait when I add the M0 command. And why the M0 asks for a conformation or not depended on the code following....

 

  • Link to post
    Share on other sites

    Posted · Gcode question

    Which version that is a good question but how to get that info...

    I took it from

    http://marlinbuilder.robotfuzz.com/

    In may 2014

    I can't get info or the version from the controller. The build_summary.txt at that time does not show a version number. There is the hex file but that does no help me much I guess.

    I feel so stupid that I don't know hot to get the version number....

    I saved the diff files for future reference.

     

  • Link to post
    Share on other sites

    Posted · Gcode question

    When I look at the generated gcode I see that the values are correctly taken over like

    M190 S115

    M0 ;Pause

    M109 S250

    I am still looking into the version. Try to connect the machine to the PC again but I am running ubuntu so there are some libusb acces rights to fix before it works I guess. I programmed it at that time on windows xp.....

     

     

  • Link to post
    Share on other sites

    Posted · Gcode question

    115°C for the heated bed is not low. I don't know where Marlin has the safety maximum. And I don't know what Marlin does if an external command exceeds this level. It might be worth checking if this causes your issue.

     

  • Link to post
    Share on other sites

    Posted · Gcode question

    True 115 is not low that is why it is taking about 15 minutes. I need to compensate for the 4 mm glas plate and I am printing ABS. Marlin has no issues with this temp I already did 125 for a experiment some time ago.

  • Link to post
    Share on other sites

    Posted · Gcode question

    HA I figured it out. There must have been a error in coping the data to the SD card.... When I have

    M190 S115

    M109 S250

    it correctly waits until the headedbed warms up and only starts heating up the nozzle when the bed is warm.

     

  • 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
     Share

    • Our picks

      • New here? Get ahead with a free 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.
          • Like
        • 8 replies
    ×
    ×
    • Create New...