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

    Heaters turn off while bed moving to print start position

    Scheduled Pinned Locked Moved
    General Discussion
    2
    7
    226
    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.
    • kb58undefined
      kb58
      last edited by kb58

      I'm trying to solve a puzzle. When I start a print, the bed is leveled, then the start code waits for the heaters to come up to temperature, then it waits at "Click OK to begin printing". As soon as I click on it, the bed starts moving to the starting print position, BUT, both heaters turn off at the same time. Once the bed is in position, the heaters turn back on and the Duet waits for both to return to the commanded temperatures, then starts the print. Once the actual print starts, there are no further issues with the heaters.

      I can't see in the code where the heaters are being turned off after the "okay" message is posted. Thinking that maybe PrusaSlicer was adding something, I looked at the actual sliced gcode output.

      I'm still not seeing it - can you guys spot it?

      Portion of "print_begin":
      c805a4b3-dbd3-492b-92ab-ff91b3dbee5c-image.png

      Portion of PrusaSlicer output:
      e09ea734-3286-45eb-a4ae-ac5df0f27d38-image.png

      Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @kb58
        last edited by

        @kb58 said in Heaters turn off while bed moving to print start position:

        I'm trying to solve a puzzle. When I start a print, the bed is leveled, then the start code waits for the heaters to come up to

        Do you have this in print_begin.g:

        ; select tool and configure based on filament selected
        
        T0								; select tool 0 so extruder commands below will work
        M703							; configure selected filament (sets bed/extruder temps, extrusion multiplier)
        

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        kb58undefined 1 Reply Last reply Reply Quote 0
        • kb58undefined
          kb58 @fcwilt
          last edited by

          @fcwilt Yes. It's basically your print_start routine:

          55af2294-7474-4516-8c83-6ab2bef8cbc9-image.png

          Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @kb58
            last edited by fcwilt

            @kb58

            Well the M703 tries to execute the filament specific configuration file named config.g - not to be confused with the main config.g file.

            To get my approach of setting temps in the filament config.g file you have to:

            • Create one of more filaments configurations in the DWC
            • In each filament config.g file you have to have the commands needed to set Nozzle and Bed temps
            • In Prusa Slicer on the Printer Settings General page I have RepRapflavor selected
            • In Prusa Slicer on the Filament Settings Filament page I have the Nozzle and Bed temps set to 0

            With those settings this code is generated which minimizes the interactions with any code in the print_begin.g file or the filament specific *.g files (load, unload, config).

            M107                           ; fan off
            M98 P"print_begin.g" 
            G21                            ; set units to millimeters
            G90                            ; absolute XYZ moves
            M83                            ; relative E moves
            

            Compare this with the code currently generated by the slicer with your settings.

            I will have to duplicate your setup to determine what is going on.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            kb58undefined 1 Reply Last reply Reply Quote 1
            • kb58undefined
              kb58 @fcwilt
              last edited by kb58

              @fcwilt Thank you very much. If some good comes out of this, it'll be for others to learn from, "don't be that guy."

              I had no idea about the M703 command. I see that if no filament config file is present, it will do nothing and not flag an error. This still leaves the question of where the heaters are getting switched off, since the actual sliced file being sent to the printer doesn't appear to be turning them off.

              This touches on a question that's been bouncing around in my head, wondering where filament settings are intended to live, in the slicer or in the printer. I guess you feel it's best to have them reside within the printer.

              Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

              fcwiltundefined 2 Replies Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @kb58
                last edited by

                @kb58 said in Heaters turn off while bed moving to print start position:

                This touches on a question that's been bouncing around in my head, wondering where filament settings are intended to live, in the slicer or in the printer. I guess you feel it's best to have them reside within the printer.

                Some slicers (perhaps all) allow for creating a "catalog" of filaments.

                Since I use different slicers from time to time it is easier to me to keep the "catalog" in the DWC. Then with a simple selection of filament type I can usually use the same slicer generated gcode file for printing with the selected filament type.

                But it is strictly a personal preference based on experience and it works for me. You may find another approach suits you best.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @kb58
                  last edited by

                  @kb58 said in Heaters turn off while bed moving to print start position:

                  I had no idea about the M703 command. I see that if no filament config file is present, it will do nothing and not flag an error. This still leaves the question of where the heaters are getting switched off, since the actual sliced file being sent to the printer doesn't appear to be turning them off.

                  I've got a house full of guests but if I get I chance I will work to determine what is happening.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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