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

    Preview version of CNC optimized DWC.

    Scheduled Pinned Locked Moved
    CNC
    40
    191
    21.7k
    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.
    • wilrikerundefined
      wilriker @Sindarius
      last edited by

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

      I need to look further into continuous movement. I tried some experiments with it and the problem that I ran into is that it tends to overshoot because the gcode commands are queued. The other jog control plugin that I wrote for gamepads has a similar issue.

      An idea that just came to my mind: how about a user-switch to select between incremental and continuous movement and the latter will accumulate all jog commands until the user stops sending movement commands for e.g. 1s (possibly configurable). While this time show a small indicator on where the journey will end and only send the movement once this "presetting" is done?

      Not sure if it's a good idea to do it like that. But I wanted to toss it into the ring.

      Manuel
      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
      with probably always latest firmware/DWC (incl. betas or self-compiled)
      My Tool Collection

      Sindariusundefined 1 Reply Last reply Reply Quote 0
      • Sindariusundefined
        Sindarius @wilriker
        last edited by

        @wilriker I do something similar to what mention with my gamepad jogging plugin. When you first hold down a control on the game pad the first few moves stutter a little before moving at a smooth pace.

        The CNC control I have personally used the most uses a USB connection so it doesn't have to worry about packet travel.

        It's worth playing with it some more, I do understand the desire for continuous jogging especially on larger machines.

        https://github.com/Sindarius/DWC_GamepadJogger_Plugin

        1 Reply Last reply Reply Quote 0
        • AverageUserundefined
          AverageUser
          last edited by AverageUser

          Hi guys, I'm not really into this whole github thing. I think you are doing AN AMAZING work here. But I have no idea how i can run DWC-CNC on my Duet2wifi... can somebody give an idiot(me^^) a hint?!

          (I uploaded the files of the release: Duet Release.png
          into my www-folder of the SD Card.. But my interface still looks like the 3D-printer interface:
          Duet Interface.png

          I also added M453 into the config file:
          duet config.png

          can it be that my firmware is too old?
          Duet Firmware.png

          chrishammundefined weed2allundefined Phaedruxundefined 3 Replies Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @AverageUser
            last edited by

            @AverageUser Perhaps it's still cached. Try pressing Ctrl+Shift+R to reload DWC.

            Duet software engineer

            AverageUserundefined 1 Reply Last reply Reply Quote 1
            • AverageUserundefined
              AverageUser @chrishamm
              last edited by

              @chrishamm already tried: did not change.

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

                @AverageUser You can upload the DWC-SD ZIP file on the System page too. Does that work?

                Duet software engineer

                AverageUserundefined 1 Reply Last reply Reply Quote 0
                • AverageUserundefined
                  AverageUser @chrishamm
                  last edited by

                  @chrishamm And what do I do with the files inside the www-folder then? Erase them?

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

                    @AverageUser Under normal circumstances you don't need to worry about extra files, they don't take up much space. When you upload the ZIP bundle on the System Files page, the existing files in /www are automatically overwritten.

                    Duet software engineer

                    AverageUserundefined 1 Reply Last reply Reply Quote 0
                    • AverageUserundefined
                      AverageUser @chrishamm
                      last edited by AverageUser

                      @chrishamm Okey i put the zip.file in the sys-folder:
                      DWC in Sys.png

                      and deleted all the files in the www-folder. Let's see what happens.

                      No it says this:
                      mounted error.png

                      Im completely lost with this... lol ^^

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

                        @AverageUser Oh well, I wasn't talking about the physical sys directory but about the Files => System page on DWC itself. That lets you update DWC by using the Upload button.

                        Now that the www directory is gone, create a new 'www' directory in the root of your SD card and unzip the DWC zip file into it. Make sure you have index.html.gz in there so it can be loaded from the Duet again.

                        Duet software engineer

                        1 Reply Last reply Reply Quote 0
                        • AverageUserundefined
                          AverageUser
                          last edited by AverageUser

                          Nothing, i just cant make the dashboard change into cnc mode: CNC MODE Selected.png
                          here it states that it is in CNC Mode. After refreshing: nothing changes.

                          I have no idea what im doing wrong.

                          But the plugins are there, like jog...
                          Plugins.png

                          1 Reply Last reply Reply Quote 0
                          • chimaeraghundefined
                            chimaeragh
                            last edited by

                            I am facing the same issue. Duet2Wifi, Reprap firmware 2.05.1

                            Duet 2 Wifi, Ooznest Workbee CNC 1510

                            1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk
                              last edited by

                              do you have M453 in your config to put it into CNC mode?

                              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                              Sindariusundefined 1 Reply Last reply Reply Quote 1
                              • weed2allundefined
                                weed2all @AverageUser
                                last edited by

                                @AverageUser you need to update your duet wifi server...it wont work on 1.22

                                https://www.thingiverse.com/weed2all/designs

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

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

                                  can it be that my firmware is too old?

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

                                  I am facing the same issue. Duet2Wifi, Reprap firmware 2.05.1

                                  Yes. You're going to want to update your firmware and DWC first before trying the CNC stuff.

                                  If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/Duet2and3Firmware-3.2.zip
                                  That will get your firmware and DWC up to date.

                                  For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                                  https://configtool.reprapfirmware.org/Start

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  chimaeraghundefined 1 Reply Last reply Reply Quote 0
                                  • Sindariusundefined
                                    Sindarius @jay_s_uk
                                    last edited by

                                    As @jay_s_uk stated the machine has to be in CNC mode for the new dashboard to kick in.

                                    1 Reply Last reply Reply Quote 0
                                    • AverageUserundefined
                                      AverageUser
                                      last edited by

                                      Wow thank you very much for your help. I'll report tomorrow if everything worked. Thx again 👏 👏

                                      1 Reply Last reply Reply Quote 0
                                      • chimaeraghundefined
                                        chimaeragh @Phaedrux
                                        last edited by chimaeragh

                                        @Phaedrux I am currently using Ooznest's DWC with my Workbee CNC and wanted to try this one out. Since Workbee Control is not compatible with RRF3, I have been reluctant to do the upgrade and have to downgrade again.

                                        However, it states on the github page for this project

                                        Compatible versions:

                                        • DuetSoftwareFramework 3.2.0-RC1

                                        • RepRapFirmware 2 or newer (1.2x may work but untested)

                                        I was hoping it would work without having to upgrade firmware.
                                        PS: I tried upgrading but couldn't get the config right. Homing didn't work and emergency stop was triggered on startup

                                        Duet 2 Wifi, Ooznest Workbee CNC 1510

                                        Sindariusundefined Phaedruxundefined chimaeraghundefined 3 Replies Last reply Reply Quote 0
                                        • Sindariusundefined
                                          Sindarius @chimaeragh
                                          last edited by Sindarius

                                          @chimaeragh I’ll double check but I believe that RRF 2.x should work. The main thing is the object model needs to recognize that the printer is in CNC mode and it will change the dashboard over to the new set of controls.

                                          Edit : I rolled back a Duet 2 WiFi I have on hand and it appears that the State > machineMode is not populated in RRF 2.05.1 so the DWC-CNC dashboard will not show up. RRF 3.x will be necessary to make the dashboard switch over to the new ui.

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

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

                                            I was hoping it would work without having to upgrade firmware.
                                            PS: I tried upgrading but couldn't get the config right. Homing didn't work and emergency stop was triggered on startup

                                            Start a thread about updating. I'm sure we can work you through it.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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