Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M104 Error?

    Duet Hardware and wiring
    3
    8
    1577
    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.
    • Socket5166
      Socket5166 last edited by

      Error: M104: Invalid tool number
      Error: M109: Invalid tool number
      Error: Invalid servo index 0 in M280 command

      Using S3D to slice for my Duet Wifi

      I don't understand what the issue is. The print runs fine other than this.
      It's more of an annoyance than a issue but I'd like to know more of what I'm doing instead of shooting in the dark and being ok with sub par coding.

      1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Please post the first 30 or so lines of the file that cause these messages. Do not post the Simplify3D comments that show how it was set up (these begin with a ";")

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • Socket5166
          Socket5166 last edited by

          G90
          M82
          M106 S0
          M140 S60
          M190 S60
          M104 S0 T0
          M104 S220 T2
          M109 S220 T2
          G92 E0
          M280 PS3 ; Set BLTouch to probing position (light on pin out)
          G90 ; Absolute Positioning
          G28 ; Home
          G1 Z15.0 F6000 ; Move the platform down 15mm
          G30 Z.75; Z Offset
          M280 PS7 ; Set BLTouch to idle position (light off pin in)
          G92 E0
          G1 E-6.0000 F600
          G1 Z1.170 F1002
          ; process Process1
          ; layer 1, Z = 0.170
          T1
          ; tool H0.200 W0.480
          ; skirt
          G1 X-18.859 Y-41.420 F12000
          G1 Z0.170 F1002
          G1 E0.0000 F180
          G92 E0
          G1 X-15.042 Y-45.237 E0.2155 F1500
          G1 X-14.601 Y-45.420 E0.2345
          G1 X14.601 Y-45.420 E1.4000
          G1 X15.042 Y-45.237 E1.4191

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

            The start GCode is referring to two tools, T0 and T2. What tools have you defined in the M563 commands in your config.g file?

            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
            • Socket5166
              Socket5166 last edited by

              T0 and T1 .. I think
              I'm not very good at this yet

              ; Tools
              M563 P0 D0 H1 ; tool 0 uses extruder drive 0 and heater 1
              G10 P0 S0 R0 X-8 Y-4 ; set tool 0 temperatures and offsets
              M563 P1 D1 H2 F2 ; tool 1 uses extruder drive 1 and heater 2. Fan 2 is mapped to fan 0
              G10 P1 S0 R0 X0.37 Y11.58 ; set tool 1 temperatures and offsets

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

                Yes you have defined tools 0 and 1 in config.g. But you appear to have configured your slicer to use tools 0 and 2.

                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

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

                  @dc42 I've fixed the tools on the slicer to be T0 and T1 but I have to set the heated bed to T2 and can't figuer out how to set it to T2 on the Duet WiFi

                  Thanks for all your help

                  1 Reply Last reply Reply Quote 0
                  • Socket5166
                    Socket5166 last edited by

                    I just had to redefine the Tools and Bed in S3d. Thanks for all the help guys

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