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.
    • kb58undefined
      kb58 @fcwilt
      last edited by

      @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

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

        @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

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

          @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

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @kb58
            last edited by

            @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

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

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

                @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

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @fcwilt
                  last edited by

                  @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

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

                    @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

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

                      @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
                      • chrishammundefined
                        chrishamm administrators @kb58
                        last edited by

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

                        Duet software engineer

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

                          @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

                          chrishammundefined fcwiltundefined 3 Replies Last reply Reply Quote 0
                          • chrishammundefined
                            chrishamm administrators @kb58
                            last edited by chrishamm

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

                              @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

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

                                @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

                                fcwiltundefined 1 Reply Last reply Reply Quote 0
                                • chrishammundefined
                                  chrishamm administrators @kb58
                                  last edited by

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

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

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

                                    Exactly.

                                    The settings I mentioned are required to make it work.

                                    I previously experimented with the slicer settings of S3D, CURA and PRUSA to find those settings that minimized the code the slicer generated to eliminate any conflicts like you encountered.

                                    Which is why I had them appear at the beginning of my print_begin.g to remind me so I wouldn't forget to set them in the slicer.

                                    At 71 forgetting is one of my new skills.

                                    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

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

                                      @fcwilt Okay, thanks. This relates to my earlier comments about not knowing "who wins" as far as applying settings. Prusa sets temperature and other filament-related variables, yet, so can the printer/Duet code, so it was confusing about who's driving the bus, so to speak. Your configuration makes it clear that the Duet code applies all pertinent settings.

                                      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
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA