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

    How do I enable the hot end heater

    Scheduled Pinned Locked Moved
    General Discussion
    2
    30
    964
    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 @kb58
      last edited by kb58

      @kb58 Hah, I'm back at the same point when this thread was started. I can make everything work if I manually enable the hot end heater via the DWC. I had expected the filament code to enable the hot end heater and it simply doesn't. I'll have to review that code, or insert some new code to make it happen.

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

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

        @kb58 said in How do I enable the hot end heater:

        Don't see how, given that:
        ed7461d6-8f84-4229-97d5-4738c7b1d45a-image.png

        So R is just an option title.

        About the G30 s-1, it's just for checking on what the printer thinks the probe to bed offset is. Want to make sure it's not drifting.

        Hmm... You are correct. I thought I read where it was required but it works without it.

        OK - add some M291 commands with an S2 parameter and a meaningful message to print_begin.g so you can determine what is being executed and what is not.

        For example before the G32 you could have:

        M291 P"About to execute G32" S2

        Then before the T0 you could have:

        M291 P"About to execute T0" S2

        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 kb58

          @fcwilt So to sort of bring this to a close, I found out through dumb luck that I have to click on the filament type in this window.

          ed06b619-12de-4b57-b058-265e9adfdfc1-image.png

          With that solved, another has to pop up, and it did. Right when it starts to do its bed leveling, it pops up a warning about "Tool not selected", but it is, and if the warning is ignored, everything works as it should anyway. While a nuisance warning, it would be nice to know why it's happening and correct it.

          Here's the relevant bit:

          ; select tool and configure based on filament selected
          T0                              ; select tool 0 so extruder commands work
          M703                            ; loads selected filament configuration (bed/extruder temps, extrusion
          				; multiplier, etc). See config.g in filament folder.
          G32				; home and level bed, then move to bed center and set Z datum
          

          I don't get it; T0 is selected right before setting up the filament, and the tool-not-selected warning appears right when the G32 command starts. Huh.

          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

            Did you remove these "sanity" checks I had in print_begin.g:

            ; check for selected filament
            
            if move.extruders[0].filament = ""
              M291 R"No Filament Selected" P"Cannot Continue" S2 T0
              abort
            
            ; check bed heater active temp setting
            
            if heat.heaters[0].active = 0 
              M291 R"Bed Heater Active Temp = 0" P"Cannot Continue" S2 T0
              abort
            
            ; check extruder heater active temp setting
            
            if heat.heaters[1].active = 0 
              M291 R"Extruder Heater Active Temp = 0" P"Cannot Continue" S2 T0
              abort
            
            

            You will notice the first one checks if a filament has been selected.

            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... and no.

              Yes they were removed, with the thinking that once I had it basically working, I'd add it back in. During figuring this out I looked back through your code and realized those are pretty good checks, so added in that chunk. See, it takes me a while to wrap my head around new code 🙂

              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 1
              • fcwiltundefined
                fcwilt @kb58
                last edited by

                @kb58 said in How do I enable the hot end heater:

                With that solved, another has to pop up, and it did. Right when it starts to do its bed leveling, it pops up a warning about "Tool not selected", but it is, and if the warning is ignored, everything works as it should anyway. While a nuisance warning, it would be nice to know why it's happening and correct it.

                I've got a printer that uses G32 in that location and I am not getting any warning.

                You have G28 in your bed.g file.

                Does your home all code have anything that would de-select all tools?

                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 Good point, that would do it, but no. I need to snoop around and see if there's any deselection of tools anywhere. There should not be because this is, and probably always will be, a single tool machine:

                  ; homeall.g
                  
                  ; called to home all axes
                  ;
                  
                  G91                     ; relative positioning
                  
                  G1 H2 Z5 F10000         ; lift Z relative to current position
                  
                  G1 H1 X-355 Y-355 F3000 ; move quickly to X or Y endstop and stop (first pass)
                  
                  G1 H1 X-355             ; coarse home X
                  
                  G1 H1 Y-355             ; coarse home Y
                  
                  G1 X5 Y5 F600	  	; go back a few mm
                  
                  G1 H1 X-10	        ; move slowly to X axis endstop once more (second pass)
                  
                  G1 H1 Y-10  	        ; then move slowly to Y axis endstop
                  
                  
                  G1 H1 Z-355 F360        ; move Z down, stopping at the endstop
                  G90                     ; absolute positioning
                  G92 Z4.5                ; set Z position to axis minimum (may need to adjust)
                  

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

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

                    @kb58 Searched all files and there is no "T-1" anywhere. I'm wondering if it takes time to take effect, but that seems highly unlikely given what it's doing. It's not like it's physically moving anything, or doing nasty math.

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

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

                      @kb58 said in How do I enable the hot end heater:

                      @fcwilt Yes... and no.

                      Yes they were removed, with the thinking that once I had it basically working, I'd add it back in. During figuring this out I looked back through your code and realized those are pretty good checks, so added in that chunk. See, it takes me a while to wrap my head around new code 🙂

                      I don't add code just for the "fun" of adding code - I try to protect my 71 year old mind from doing stupid things. 😉

                      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 I may add in several print statements to see what the tool state is, but obviously that's not a fix, but would still be curious where or how it's not happening.

                        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 1
                        • fcwiltundefined
                          fcwilt @kb58
                          last edited by

                          @kb58 said in How do I enable the hot end heater:

                          @fcwilt I may add in several print statements to see what the tool state is, but obviously that's not a fix, but would still be curious where or how it's not happening.

                          I wish the DWC had a means to search all files which would make finding errant code bits easier.

                          Yes I can download everything into my standalone editor which will do such a search but I tend to avoid doing it.

                          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