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

    Spindle not showing in DWC-CNC RRF3 on Duet WiFi

    Scheduled Pinned Locked Moved
    CNC
    spindle control m950 web control tool cnc speed control setup cnc setup duet wifi
    7
    35
    2.4k
    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.
    • dc42undefined
      dc42 administrators @Wurke
      last edited by

      @bonjipoo I'm not certain, but you may need to switch into CNC mode using M453 before you configure the spindle using M950.

      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

      Wurkeundefined cjmundefined 2 Replies Last reply Reply Quote 0
      • Wurkeundefined
        Wurke @dc42
        last edited by

        @dc42 So I moved the M453 command to the top of the config.g file. The M950 and M563 come next and then the rest of the RepRap code ie General preferences, network, drives etc

        But this has not resolved the issue. I assume this is not expected behaviour? Could it be browser related? Or maybe I need to wait and see if the spindle pwm to analogue converter works as expected.

        One last mention... The board has been used before for a workbee machine. I erased the board but not sure if that erases the EPROM and any date stored on it. The SD card has been wiped and fresh reprap config files added. Could this be an issue?

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

          @bonjipoo said in Spindle not showing in DWC-CNC RRF3 on Duet WiFi:

          One last mention... The board has been used before for a workbee machine. I erased the board but not sure if that erases the EPROM and any date stored on it. The SD card has been wiped and fresh reprap config files added. Could this be an issue?

          No, as long as you've got a new firmware version flashed to the board and a compatible config.g on the SD card you're good to go.

          Have you tried moving the M950 and M563 to the bottom of config.g yet?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • cjmundefined
            cjm @Wurke
            last edited by cjm

            @Wurke If you're using the preview version of the excellent "CNC optimised DWC" then I believe this is a known issue and @Sindarius plans to resolve it in a future release:

            @sindarius said in Preview version of CNC optimized DWC.:

            @cjm The structure of the spindle in the object model has changed so I will be making some adjustments to fix it.

            1 Reply Last reply Reply Quote 0
            • Wurkeundefined
              Wurke
              last edited by

              @phaedrux I haven't tried this but will. Also not sure why I have R0 parameter in the M950? Cant see that that is actually a valid parameter? Could be this.

              Phaedruxundefined cjmundefined 2 Replies Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @Wurke
                last edited by Phaedrux

                @bonjipoo said in Spindle not showing in DWC-CNC RRF3 on Duet WiFi:

                Also not sure why I have R0 parameter in the M950? Cant see that that is actually a valid parameter? Could be this.

                https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M950_Create_heater_fan_spindle_or_GPIO_servo_pin

                It's spindle number.

                If you send M98 P"config.g" do you get any error messages back?

                Z-Bot CoreXY Build | Thingiverse Profile

                Wurkeundefined 1 Reply Last reply Reply Quote 0
                • cjmundefined
                  cjm @Wurke
                  last edited by cjm

                  @Wurke According to the Duet GCode directory, the R parameter in M950 is the spindle number, so R0 defines the spindle as spindle 0. My understanding is that this allows M563 to map the spindle to a tool and give a name to that specific spindle.

                  Wurkeundefined 1 Reply Last reply Reply Quote 0
                  • Wurkeundefined
                    Wurke @Phaedrux
                    last edited by

                    @phaedrux said in Spindle not showing in DWC-CNC RRF3 on Duet WiFi:

                    M98 P"config.g"

                    The reason why I couldn't R0 as a valid parameter is because I was looking at the reprap Gcode page and not the duet3d one. Lesson learnt.

                    Yes there are errors

                    M98 P"config.g"
                    Error: in file macro line 6 column 100: M950: control character in string
                    Error: unconfigured spindle
                    HTTP is enabled on port 80
                    FTP is disabled
                    TELNET is disabled
                    Tool 0 offsets: X0.000 Y0.000 Z0.000
                    

                    Good shout. Thank you

                    1 Reply Last reply Reply Quote 0
                    • Wurkeundefined
                      Wurke @cjm
                      last edited by

                      @cjm Thank you for that. I think the quote after exp.13 is curly not straight.

                      cjmundefined 1 Reply Last reply Reply Quote 0
                      • cjmundefined
                        cjm @Wurke
                        last edited by cjm

                        @Wurke Sorry about that - I pasted the code in from my CNC's config.g and then edited it using my iPad so perhaps I picked the wrong quotation mark? I've corrected my other post with this code in it.

                        1 Reply Last reply Reply Quote 0
                        • Wurkeundefined
                          Wurke
                          last edited by

                          @cjm No problem I just appreciate some help with it. Still no spindle showing up but at least when you run M98 P"config.g" there are no errors now.

                          cjmundefined 1 Reply Last reply Reply Quote 0
                          • cjmundefined
                            cjm @Wurke
                            last edited by cjm

                            @Wurke I have the same issue. My spindle responds to M3/M4/M5 correctly but is not shown on DWC, although it was in a previous version.

                            Interestingly, the object model reports the spindle's state correctly (i.e. shows the selected RPM and whether it is running, stopped etc) but always reports "configured = false":

                            df0738bc-0406-4fd0-a41d-90064a36b2e7-image.png

                            I suspect that DWC sees "configured = false" and then decides not to show any information in the spindle panel.

                            Wurkeundefined chrishammundefined 2 Replies Last reply Reply Quote 0
                            • Wurkeundefined
                              Wurke @cjm
                              last edited by

                              @cjm That sounds likely. How do I access the objects model? Is it worth adding this as an issue on the Github? It's not currently on there. Just as a reminder.

                              cjmundefined 1 Reply Last reply Reply Quote 0
                              • cjmundefined
                                cjm @Wurke
                                last edited by cjm

                                @Wurke Its available under the Settings menu item in DWC:
                                e2f31dcf-c2a8-4a82-91b9-217e253ec79a-image.png

                                I've raised the issue with @sindarius who generated the CNC version of DWC and understand he's working on a fix.

                                However, it's not entirely clear to me whether the root cause for the issue lies with DWC or the Duet firmware so perhaps worth raising on the Github.

                                1 Reply Last reply Reply Quote 0
                                • Wurkeundefined
                                  Wurke
                                  last edited by

                                  @cjm odd. I don't have object model in the side bar.

                                  cjmundefined 1 Reply Last reply Reply Quote 0
                                  • cjmundefined
                                    cjm @Wurke
                                    last edited by cjm

                                    @Wurke Maybe we're using different versions of DWC ?

                                    Wurkeundefined 1 Reply Last reply Reply Quote 0
                                    • Wurkeundefined
                                      Wurke @cjm
                                      last edited by Wurke

                                      @cjm mine shows as Duet Web Control 3.3.0-CNC07

                                      cjmundefined 1 Reply Last reply Reply Quote 0
                                      • cjmundefined
                                        cjm @Wurke
                                        last edited by cjm

                                        @Wurke Interesting, so does mine...

                                        cjmundefined 1 Reply Last reply Reply Quote 0
                                        • cjmundefined
                                          cjm @cjm
                                          last edited by

                                          @cjm I've just noticed that the CNC version of DWC has been merged into the latest "mainstream" DWC beta [Duet Web Control 3.4-b2] and have loaded this, but the spindle is still invisible.

                                          I can see the object model menu in this new version so perhaps worth your trying this?

                                          Wurkeundefined 1 Reply Last reply Reply Quote 0
                                          • cjmundefined
                                            cjm @dc42
                                            last edited by

                                            @dc42 I've tried placing M453 before and after the spindle configuration but the spindle is still not shown in DWC.

                                            Although my spindle appears to be configured correctly in that it responds properly to M3/M4/M5 and the object model shows the RPM and spindle state , I note that the object model always reports spindle "configuration = false".

                                            Could it be that this is why DWC doesn't display the spindle state on the Dashboard?

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