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

How do I enable the hot end heater

Scheduled Pinned Locked Moved
General Discussion
2
30
945
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.
  • undefined
    kb58 @fcwilt
    last edited by kb58 31 Jul 2021, 22:38

    @fcwilt I did at 14:58

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

    undefined 1 Reply Last reply 31 Jul 2021, 22:42 Reply Quote 0
    • undefined
      fcwilt @kb58
      last edited by 31 Jul 2021, 22:42

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

      @fcwilt I did at 14:58

      I know - I was working too fast and trying to juggle too many things at once - see my post before this one regards Prusa settings.

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 1 Reply Last reply 31 Jul 2021, 22:43 Reply Quote 0
      • undefined
        kb58 @fcwilt
        last edited by 31 Jul 2021, 22:43

        @fcwilt 8f97add0-6f43-4acf-9936-32bed6eff19a-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

        1 Reply Last reply Reply Quote 0
        • undefined
          kb58
          last edited by kb58 31 Jul 2021, 22:52

          A portion of "print_begin"
          ddfa6c28-0a66-437c-b68c-0be105aaab2a-image.png

          I think the clue is in this area. Even if the M703 on Line 12 isn't doing anything, I can't figure out why the messages on Line 20 and 22 aren't appearing.

          What's strange is that this all used to work fine before adding content to the filament files... Maybe I need to back up and delete it.

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

          undefined 1 Reply Last reply 31 Jul 2021, 22:55 Reply Quote 0
          • undefined
            fcwilt @kb58
            last edited by 31 Jul 2021, 22:55

            @kb58

            The G32 invokes bed.g

            Perhaps something is happening in bed.g that is causing the problem.

            Post bed.g, please.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            undefined 1 Reply Last reply 31 Jul 2021, 22:57 Reply Quote 0
            • undefined
              kb58 @fcwilt
              last edited by kb58 31 Jul 2021, 22:57

              @fcwilt

              ; bed.g
              ; called to perform automatic bed compensation via G32
              ;
              M561 ; clear any bed transform
              G28 ; home all
              G30 P0 X-139 Y-119 Z-99999 ; probe near left front leadscrew
              G30 P1 X0 Y150 Z-99999 ; probe near rear center leadscrew
              G30 P2 X145 Y-119 Z-99999 S3 ; probe near right front leadscrew, then perform 3-pt calibration
              G1 X0 Y0
              G30
              G30 s-1
              ;M291 P"Leveling finished" R"Probing..." S1 T2
              M291 P"Leveling finished" S1 T2

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

              undefined 1 Reply Last reply 31 Jul 2021, 23:04 Reply Quote 0
              • undefined
                fcwilt @kb58
                last edited by 31 Jul 2021, 23:04

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

                @fcwilt

                ; bed.g
                ; called to perform automatic bed compensation via G32
                ;
                M561 ; clear any bed transform
                G28 ; home all
                G30 P0 X-139 Y-119 Z-99999 ; probe near left front leadscrew
                G30 P1 X0 Y150 Z-99999 ; probe near rear center leadscrew
                G30 P2 X145 Y-119 Z-99999 S3 ; probe near right front leadscrew, then perform 3-pt calibration
                G1 X0 Y0
                G30
                G30 s-1
                ;M291 P"Leveling finished" R"Probing..." S1 T2
                M291 P"Leveling finished" S1 T2

                That last M291 doesn't have the R parameter - perhaps that is the problem.

                Also why are you doing the G30 S-1? It doesn't hurt but I'm just curious.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • undefined
                  kb58
                  last edited by kb58 31 Jul 2021, 23:07

                  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.

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

                  undefined undefined 2 Replies Last reply 31 Jul 2021, 23:18 Reply Quote 0
                  • undefined
                    kb58 @kb58
                    last edited by kb58 31 Jul 2021, 23:18

                    @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
                    • undefined
                      fcwilt @kb58
                      last edited by 31 Jul 2021, 23:22

                      @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      undefined 1 Reply Last reply 1 Aug 2021, 02:16 Reply Quote 0
                      • undefined
                        kb58 @fcwilt
                        last edited by kb58 8 Jan 2021, 02:24 1 Aug 2021, 02:16

                        @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

                        undefined 2 Replies Last reply 1 Aug 2021, 02:20 Reply Quote 0
                        • undefined
                          fcwilt @kb58
                          last edited by 1 Aug 2021, 02:20

                          @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          undefined 1 Reply Last reply 1 Aug 2021, 02:22 Reply Quote 0
                          • undefined
                            kb58 @fcwilt
                            last edited by 1 Aug 2021, 02:22

                            @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

                            undefined 1 Reply Last reply 1 Aug 2021, 02:31 Reply Quote 1
                            • undefined
                              fcwilt @kb58
                              last edited by 1 Aug 2021, 02:24

                              @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              undefined 1 Reply Last reply 1 Aug 2021, 02:26 Reply Quote 0
                              • undefined
                                kb58 @fcwilt
                                last edited by 1 Aug 2021, 02:26

                                @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

                                undefined 1 Reply Last reply 1 Aug 2021, 02:30 Reply Quote 0
                                • undefined
                                  kb58 @kb58
                                  last edited by kb58 8 Jan 2021, 02:31 1 Aug 2021, 02:30

                                  @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
                                  • undefined
                                    fcwilt @kb58
                                    last edited by 1 Aug 2021, 02:31

                                    @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    undefined 1 Reply Last reply 1 Aug 2021, 02:32 Reply Quote 0
                                    • undefined
                                      kb58 @fcwilt
                                      last edited by 1 Aug 2021, 02:32

                                      @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

                                      undefined 1 Reply Last reply 1 Aug 2021, 02:34 Reply Quote 1
                                      • undefined
                                        fcwilt @kb58
                                        last edited by 1 Aug 2021, 02:34

                                        @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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