Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Simplify3d 4.0.1 gcode causing Duet to mess up

    Scheduled Pinned Locked Moved
    General Discussion
    4
    12
    1.7k
    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.
    • ElmoCundefined
      ElmoC @deckingman
      last edited by

      @deckingman Thanks. That is one of those, "was I even thinking" moments. The idea is to get both the bed and hotend heating at the same time. After switching the temps, it is working now. These are being set by variables in the script and I just had the wrong ones in the second set. Thanks.

      And that first T0 was left in after a test I did and shouldn't have been in there. Didn't make a difference if it was there or not.

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

        @elmoc

        No worries. We all have those moments☺ . BTW you can just take out the M104 and M140 commands - there is no point having them if they are immediately followed by M109 and M190. For info, although M104 will work it's been deprecated and we ought to be using G10 and "T" commands. I'd leave the T0 command in there unless you have a T0 in your config.g file. The reason being that if you try to heat the hot end with no tool selected, you'll get an error message.

        Hope you don't mind me pointing this out but this is little strange:
        M106 S255
        G4 P500
        M106 S0

        Turn fan on full, wait half a second then turn it off ?

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

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

          @deckingman The reason for the temperature combination is to start both the hotend and bed heating at the same time. So set and return. Then wait for the bed to heat up, slower of the two, then wait for the hotend. I picked this up from the Prusa Slic3r settings. Cuts down on the wait time for heating.

          As for the fan blip, yeah, that is strange, but is generated by the slicer and not my code.

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • fmaundefined
            fma
            last edited by fma

            I think it's to ensure the fan will turn, even when sending a low PWM...

            Frédéric

            ElmoCundefined 1 Reply Last reply Reply Quote 0
            • deckingmanundefined
              deckingman @ElmoC
              last edited by

              @elmoc said in Simplify3d 4.0.1 gcode causing Duet to mess up:

              @deckingman The reason for the temperature combination is to start both the hotend and bed heating at the same time. So set and return. Then wait for the bed to heat up, slower of the two, then wait for the hotend. ...........

              Ahh yes that's cool. My turn for "one of those moments" as I actually do the same thing, (well almost). I just start the bed heating, then do all the other stuff. The hot end gets heated as part of my home all routine which gets called form the start gcode. So we both achieve the same objective, just by slightly different routes.

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

              1 Reply Last reply Reply Quote 0
              • ElmoCundefined
                ElmoC @fma
                last edited by

                @fma said in Simplify3d 4.0.1 gcode causing Duet to mess up:

                I think it's to ensure the fan will turn, even when sending a low PWM...

                Yes, that is what the blipping is for. But in this case, it is to make sure the fan is off so just setting it to 0 wouldn't have that problem. Doesn't really hurt anything so not too concerned about it.

                1 Reply Last reply Reply Quote 0
                • demonio669undefined
                  demonio669
                  last edited by demonio669

                  @ElmoC, I have this start gcode for Simplify, hope it work for you

                  T0
                  M140 S[bed0_temperature] ; set bed temp no wait
                  M104 S[extruder0_temperature] ; set extruder temp no wait
                  M106 S0
                  G28 ; home all axes
                  M116 ; wait all temps
                  M98 P/macros/CleanNozzle ; clean the nozzle

                  ElmoCundefined 1 Reply Last reply Reply Quote 0
                  • ElmoCundefined
                    ElmoC @demonio669
                    last edited by

                    @demonio669 said in Simplify3d 4.0.1 gcode causing Duet to mess up:

                    @ElmoC, I have this start gcode for Simplify, hope it work for you

                    T0
                    M140 S[bed0_temperature] ; set bed temp no wait
                    M104 S[extruder0_temperature] ; set extruder temp no wait
                    M106 S0
                    G28 ; home all axes
                    M116 ; wait all temps
                    M98 P/macros/CleanNozzle ; clean the nozzle

                    Not familiar with the M116 command. Will look into that. Thanks.

                    1 Reply Last reply Reply Quote 1
                    • demonio669undefined
                      demonio669
                      last edited by demonio669

                      https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait

                      It will wait to all temps to reach the configured value . when all temps reach the configured temp continues

                      ElmoCundefined 1 Reply Last reply Reply Quote 0
                      • ElmoCundefined
                        ElmoC @demonio669
                        last edited by

                        @demonio669 looked it up on the wiki gcode page and see it's not supported in Marlin. But will probably update my Duet scripts to use it.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA