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

Source of "Error: no tool selected"

Scheduled Pinned Locked Moved Solved
General Discussion
5
23
878
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
    fcwilt @kb58
    last edited by 1 Aug 2021, 23:23

    @kb58

    Hey Kurt,

    You have a knack for finding obscure errors. 😉

    You may be setting T0 active in your main config.g file.

    For example in mine I have this where I create the tool:

    ; tool 0
    M563 P0 S"T0" D0 H1 F0 ; define tool 0 to use extruder drive 0, heater 1, fan 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active/standby temperatures

    Do you have any of the tool handling files: t0pre, t0post, t0free in your System folder?

    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, 23:42 Reply Quote 0
    • undefined
      kb58 @fcwilt
      last edited by 1 Aug 2021, 23:42

      @fcwilt No, none of those files, just config.g. The fancy stuff will get added later 🙂

      Here's the only tool-related code in config.g:

      ================ Tools ==========================
      M563 P0 D0 H1 F0 ; define tool 0
      G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
      G10 P0 R0 S0 ; set initial tool 0 active and standby temps to 0C;

      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 2 Aug 2021, 00:02 Reply Quote 0
      • undefined
        fcwilt @kb58
        last edited by 2 Aug 2021, 00:02

        @kb58

        Well there in config.g is why tool 0 is already selected before the T0 in print_begin.g.

        It doesn't hurt to select it more than once so just leave that code in config.g as it is..

        What version of firmware are you running?

        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 2 Aug 2021, 00:03 Reply Quote 0
        • undefined
          kb58 @fcwilt
          last edited by 2 Aug 2021, 00:03

          @fcwilt Right, but that just deepens the mystery about the system error saying that no tool is selected.

          Code is in my signature, and is the latest stable releases for both the 6HC and tool board.

          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 2 Aug 2021, 00:39 Reply Quote 0
          • undefined
            fcwilt @kb58
            last edited by 2 Aug 2021, 00:39

            @kb58 said in Source of "Error: no tool selected":

            @fcwilt Right, but that just deepens the mystery about the system error saying that no tool is selected.

            Code is in my signature, and is the latest stable releases for both the 6HC and tool board.

            Well we are using the same firmware.

            I've got all the same hardware you do but it is on my workbench so it is free for testing.

            Zip up all your files and I will load them on my hardware and see if I get the same error.

            Post the ZIP file here (and to change the .ZIP to .TXT) or email it to me.

            Tomorrow should be a quiet day for me so I will be able to do some testing.

            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 2 Aug 2021, 01:25 Reply Quote 0
            • undefined
              kb58 @fcwilt
              last edited by 2 Aug 2021, 01:25

              @fcwilt zipped files have been emailed.

              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 2 Aug 2021, 01:43 Reply Quote 0
              • undefined
                fcwilt @kb58
                last edited by 2 Aug 2021, 01:43

                @kb58 said in Source of "Error: no tool selected":

                @fcwilt zipped files have been emailed.

                Haven't seen the ZIP file yet.

                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 2 Aug 2021, 02:13 Reply Quote 0
                • undefined
                  kb58 @fcwilt
                  last edited by 2 Aug 2021, 02:13

                  @fcwilt Sent again -

                  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 2 Aug 2021, 09:15 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @kb58
                    last edited by 2 Aug 2021, 04:40

                    @kb58 said in Source of "Error: no tool selected":

                    A print is started

                    Can you share the sliced gcode file?

                    @kb58 said in Source of "Error: no tool selected":

                    G30 s-1

                    Why do you have G30 S-1 in your bed.g?

                    G30 S-1 ; Probe the bed at the current XY position. When the probe is triggered, do not adjust the Z coordinate, just report the machine height at which the probe was triggered.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 2 Aug 2021, 12:56 Reply Quote 0
                    • undefined
                      dc42 administrators @kb58
                      last edited by 2 Aug 2021, 07:32

                      @kb58 it's probably some command in your print files that the slicer generates before it adds your start script. Post the start of the GCode file excluding any large comment blocks.

                      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

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        fcwilt @kb58
                        last edited by 2 Aug 2021, 09:15

                        @kb58 said in Source of "Error: no tool selected":

                        @fcwilt Sent again -

                        They are not coming through for some reason.

                        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 2 Aug 2021, 10:36 Reply Quote 0
                        • undefined
                          dc42 administrators @fcwilt
                          last edited by 2 Aug 2021, 10:36

                          @fcwilt it's probably simpler to extract the first 50 or so lines using an editor and post them here.

                          Some email systems don't allow .zip attachments.

                          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

                          undefined 1 Reply Last reply 2 Aug 2021, 12:53 Reply Quote 0
                          • undefined
                            kb58 @dc42
                            last edited by 2 Aug 2021, 12:53

                            @dc42 Good morning!

                            Okay, here's the first chunk of the PrusaSlicer-generated Gcode:
                            10d1ebcd-c9b5-4f3a-b73d-187b65346174-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

                            undefined 1 Reply Last reply 2 Aug 2021, 12:57 Reply Quote 0
                            • undefined
                              kb58 @Phaedrux
                              last edited by kb58 8 Feb 2021, 12:57 2 Aug 2021, 12:56

                              @phaedrux said in Source of "Error: no tool selected":

                              @kb58 said in Source of "Error: no tool selected":

                              G30 s-1

                              Why do you have G30 S-1 in your bed.g?

                              G30 S-1 ; Probe the bed at the current XY position. When the probe is triggered, do not adjust the Z coordinate, just report the machine height at which the probe was triggered.

                              A popular question, hah. Since it's a custom built printer, it's there just to offer reassurance that the probe trigger height remains consistent (bad experience with previous inductive probe). Once it's proven so, that line of code will be removed.

                              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
                                chrishamm administrators @kb58
                                last edited by 2 Aug 2021, 12:57

                                @kb58 It's the G10 S200 line at the top. It should be inserted after your print_begin.g macro.

                                Duet software engineer

                                undefined 1 Reply Last reply 2 Aug 2021, 13:03 Reply Quote 0
                                • undefined
                                  kb58 @chrishamm
                                  last edited by 2 Aug 2021, 13:03

                                  @chrishamm Nicely done, sir!

                                  If that line of code is slicer-generated, how would I move it, other than manually?

                                  (I realize that this has moved outside the scope of Duet products, so I won't keep going on and on about it.)

                                  Thank you very much for catching this. It wasn't a big problem, but a very nagging one!

                                  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 3 Replies Last reply 2 Aug 2021, 13:06 Reply Quote 0
                                  • undefined
                                    chrishamm administrators @kb58
                                    last edited by chrishamm 8 Feb 2021, 15:05 2 Aug 2021, 13:06

                                    @kb58 In my case it is sufficient to put T0 at the beginning of my Start G-code in PrusaSlicer v2.3.0, then the G10 code is generated below.

                                    PS: I just noticed I still have Marlin compatibility set in PrusaSlicer and not RepRapFirmware. If I change to RepRapFirmware I get the same message.

                                    Duet software engineer

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      fcwilt @kb58
                                      last edited by 2 Aug 2021, 14:42

                                      @kb58 said in Source of "Error: no tool selected":

                                      If that line of code is slicer-generated, how would I move it, other than manually?

                                      Did you specify temps in the slicer?

                                      Recall the conditions I specified for using Prusa:

                                      Prusa G-code flavor.png

                                      Prusa Temp Settings.png

                                      When you do that this is Prusa generated code - no temp commands and thus no problems with the tool not being activated.

                                      ; PrusaSlicer (RepRapflavor - no temps) inserts the following around the call to this file
                                      ;M107 ; fan off (should be M106 S0)
                                      ;M98 P"print_begin.g" ; invokes this file
                                      ;G21 ; set units to millimeters
                                      ;G90 ; absolute XYZ moves
                                      ;M83 ; relative E moves

                                      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 2 Aug 2021, 15:07 Reply Quote 0
                                      • undefined
                                        kb58 @fcwilt
                                        last edited by kb58 8 Feb 2021, 15:13 2 Aug 2021, 15:07

                                        @fcwilt Okay, thank you, now I understand more clearly. So (in your setup at least), you have the printer set most parameters before starting a job, and reduced your slicer's "contribution" to the job to just be the object shape.

                                        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 2 Aug 2021, 15:17 Reply Quote 0
                                        • undefined
                                          chrishamm administrators @kb58
                                          last edited by 2 Aug 2021, 15:10

                                          @kb58 See my updated comment. I just searched a bit and found this. I can confirm that once I change my start G-code to

                                          T0 ; select first tool
                                          G10 P0 S[first_layer_temperature]
                                          M140 S[first_layer_bed_temperature]
                                          M116 ; wait for all temps to be reached

                                          the final G-code is correct and no error message can be seen.

                                          Duet software engineer

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