Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Print starts prematurely based on waiting for temp of extruder

    General Discussion
    5
    8
    75
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gnydick
      gnydick last edited by

      my starting gcode has the following as the last code before any extruding happens. it's a little strange looking as the slicer is referring to tool 0 and the printer is using tool 1, but that's because it's a single extruder profile in the slicer that is using the non-default tool. it's worked perfectly fine for years this way.

      What I'm getting now, among other weirdnesses that are hard to quantify, is the print starts moving anywhere from 150 degrees to 200 degress, or other places. most of the time it waits for the temperature from the snippet below, but not always. it can even be the same file printed multiple times, works sometimes, and not others.

      Like I said, the only thing that's changed is the firmware version.

      M140 S[first_layer_bed_temperature]
      M104 S[first_layer_temperature_0] T1; set 1st nozzle heater to first layer temperature
      
      M190 S[first_layer_bed_temperature]
      M109 S[first_layer_temperature_0] T1; set 1st nozzle heater to first layer temperature
      
      deckingman A Former User dc42 3 Replies Last reply Reply Quote 0
      • deckingman
        deckingman @gnydick last edited by

        @gnydick That's weird. Any chance you can replace M104 with G10 S and R? I only mention it because technically M104 is deprecated but of course, most slicers haven't caught up with that fact. This is probably not what you want to hear but personally, I use "Pre-print" macros rather than the slicer start gcode because it gives me better control of what happens and in what order. That also allows me to easily use G10 which might be a work around for you (until someone comes up with a better idea).

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        gnydick 1 Reply Last reply Reply Quote 0
        • A Former User
          A Former User @gnydick last edited by

          @gnydick said in Print starts prematurely based on waiting for temp of extruder:

          Like I said, the only thing that's changed is the firmware version.

          did you say? and did you mention which versions?

          I'm using M116 to wait for heaters to come up to temp, not deprecated and seems to be working.

          1 Reply Last reply Reply Quote 1
          • dc42
            dc42 administrators @gnydick last edited by

            @gnydick said in [Print starts prematurely based on waiting for temp of extruder]

            Like I said, the only thing that's changed is the firmware version.

            From what to what?

            Have you tried putting T1 at the beginning of that starting GCode that you posted?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            deckingman gnydick 2 Replies Last reply Reply Quote 0
            • deckingman
              deckingman @dc42 last edited by

              @dc42 said in Print starts prematurely based on waiting for temp of extruder:

              Have you tried putting T1 at the beginning of that starting GCode that you posted?

              Doesn't the "M104 S[first_layer_temperature_0] T1;" that the OP is using do the same thing?

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • gnydick
                gnydick @dc42 last edited by

                @dc42 just anything in recent history.

                1 Reply Last reply Reply Quote 0
                • gnydick
                  gnydick @deckingman last edited by

                  @deckingman I don't see G10 being able to function like both M104 and M109

                  OwenD 1 Reply Last reply Reply Quote 0
                  • OwenD
                    OwenD @gnydick last edited by

                    @gnydick
                    You must put an M116 command after G10 to wait for any temps to be reached.

                    So your code could be something like this (For Prusa Slicer)

                    M140 S[first_layer_bed_temperature]  R{first_layer_bed_temperature[0]-50} ; Set fast bed temp & standby - Standby is 50 degrees less than first layer temp.
                    G10 P0 R{first_layer_temperature[0]-100}  S[first_layer_temperature_0] T[current_extruder] ; (set standby and active temperatures for active tool.  Standby is 100 degrees less than first layer temp )
                    M116 ; Wait for temps
                    
                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA