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

Duet Web Control 1.17 RC

Scheduled Pinned Locked Moved
Firmware installation
19
47
6.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.
  • undefined
    chrishamm administrators
    last edited by 27 Jul 2017, 19:52

    @kazolar:

    I have 4 extruders configured and I only see Fan1 in the Fans section of DWC, can other fans be added there? Technically Fan1 corresponds to Fan0 – so presumably you'd see Fan0,Fan2,Fan4,Fan6?

    DWC supports 3 fans at the moment. You can toggle their visibility on the settings page.

    Duet software engineer

    1 Reply Last reply Reply Quote 0
    • undefined
      deckingman
      last edited by 27 Jul 2017, 20:00

      @chrishamm.

      Chris,

      Have you seen this thread that I started ? https://www.duet3d.com/forum/thread.php?id=2094

      I wasn't sure if it was firmware or DWC so I didn't post the issue in this thread. It seems now that it is DWC related.

      Ian

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

      1 Reply Last reply Reply Quote 0
      • undefined
        deckingman
        last edited by 27 Jul 2017, 21:01

        Another little thing. DWC disconnects after what seems to be a period of inactivity - reason timeout. Is it supposed to?

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • undefined
          joestefano
          last edited by 29 Jul 2017, 17:54

          @joestefano:

          Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.

          Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?

          1 Reply Last reply Reply Quote 0
          • undefined
            fcwilt
            last edited by 30 Jul 2017, 01:02

            @joestefano:

            @joestefano:

            Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.

            Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?

            There is a down arrow next to each Tool. Click on that and you will see "Load Filament".

            If you select that you will be shown a list of possible Filaments to choose from.

            If a Filament is already loaded to the Tool when you click the down arrow you will see options to "Change Filament" or "Unload Filament".

            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

            1 Reply Last reply Reply Quote 0
            • undefined
              Zesty_Lykle
              last edited by 30 Jul 2017, 06:41

              You know, every time I come to this forum I am struck by 2 things.

              1 The incredible amount of knowledge and sharing that goes on here.
              2 The enormous amount of support offered by Tony, Chris and DC.

              As for the new DWC, thank you for a great job.

              Oh, and I would like to be able to control my sliders with more accuracy as well.

              Lykle
              Design, make and enjoy life

              Co Creator of the Zesty Nimble

              1 Reply Last reply Reply Quote 0
              • undefined
                joestefano
                last edited by 1 Aug 2017, 23:45

                @fcwilt:

                @joestefano:

                @joestefano:

                Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.

                Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?

                There is a down arrow next to each Tool. Click on that and you will see "Load Filament".

                If you select that you will be shown a list of possible Filaments to choose from.

                If a Filament is already loaded to the Tool when you click the down arrow you will see options to "Change Filament" or "Unload Filament".

                Frederick

                Thank you Frederick, That worked great

                1 Reply Last reply Reply Quote 0
                • undefined
                  duetino
                  last edited by 20 Sept 2017, 13:14

                  Hi,
                  First things first: GREAT JOB -> NICE ; rinse and repeat (as long as you can take it ;-))!!!

                  I had this strong tendency to create a conky plugin for my printer so that I have it always insight on my desktop (I believe linux users only might be interrested in that).

                  So I gave the API a try and voila I get answers to my request. Whoooheee !!! Then I thought that a M408S0 will be a great addition to my findings and -> stuck/stop/end of story.

                  which brings me to the ultimate question -> why do I not get a response from gcode I submit to webcontrol via curl? I only get {"buff":250}. I looked it up in the communication of the https://github.com/chrishamm/DuetWebControl/blob/dev/core/js/comm.js and voila here is the problem @ the end of the file in the function```
                  [[language]]
                  function sendGCode(gcode, fromInput) {
                  if (gcode == "") {
                  return;
                  }
                  lastSentGCode = gcode;

                  // Although rr_gcode gives us a JSON response, it doesn't provide any useful values for DWC.
                  // We only need to worry about an AJAX error event, which is handled by the global AJAX error callback.
                  $.ajax(ajaxPrefix + "rr_gcode?gcode=" + encodeURIComponent(gcode), {
                  	dataType: "json"
                  });
                  
                  Why is it not possible to return whatever the firmware sends back?
                  Interresting thing: when I submit a M408S0, I get the response on my Gcode Console in the webinterface?!?!
                  
                  Please could you explain why and if it would be possible to reroute it to a request?
                  
                  thanks and all the best from
                  duetino

                  do it to it -> rinse and repeat

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 20 Sept 2017, 13:44

                    This is all to do with the way that gcodes are buffered by the firmware, and the fact that some gcodes (e.g. G28, G32) take too long to execute so DWC would time out if it had to wait for a response. The most common gcodes don't generate any response at all unless an error occurs. There is a separate rr_ command to get recent responses.

                    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
                    • tomasfundefined
                      tomasf
                      last edited by 20 Sept 2017, 14:09

                      @duetino:

                      Please could you explain why and if it would be possible to reroute it to a request?

                      Yeah, unfortunately, the way G-code request/result is handled in RRF is kind of broken, and isn't suitable for programmatic usage. You would need to poll [c]rr_command[/c] and hope you're getting the correct response. If several clients are polling it, they will often get each other's responses. You can reproduce it pretty easily by having two browser windows connected to the same DWC instance and using the console.

                      One dangerous thing about the web interface is that it applies the AJAX retry count to all XHR requests. This means that DWC will resubmit G-code requests if they fail to return a response, even if the G-code was actually run on your printer. So if your retry count is 2, moving the head down 100 mm can, in unfavourable circumstances, actually move it down 300 mm.

                      1 Reply Last reply Reply Quote 0
                      • T3P3Tonyundefined
                        T3P3Tony administrators
                        last edited by 20 Sept 2017, 16:24

                        Tom, that is a issue I was not aware of. Do you have suggestions on how to fix it (preferably without breaking old versions of either RRF or DWC?). I hope Christian will see this thread and add his input.

                        www.duet3d.com

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          dc42 administrators
                          last edited by 20 Sept 2017, 16:29

                          @tomasf:

                          @duetino:

                          Please could you explain why and if it would be possible to reroute it to a request?

                          One dangerous thing about the web interface is that it applies the AJAX retry count to all XHR requests. This means that DWC will resubmit G-code requests if they fail to return a response, even if the G-code was actually run on your printer. So if your retry count is 2, moving the head down 100 mm can, in unfavourable circumstances, actually move it down 300 mm.

                          If you are sure that's true, please log it as an issue in the DWC github repo. Retries make sense for status requests, but not for commands.

                          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
                          • tomasfundefined
                            tomasf
                            last edited by 21 Sept 2017, 10:30

                            @dc42:

                            If you are sure that's true, please log it as an issue in the DWC github repo. Retries make sense for status requests, but not for commands.

                            Done. https://github.com/chrishamm/DuetWebControl/issues/58
                            I just reproduced it by using a network link conditioner to simulate bad network conditions.

                            tomasf created this issue 21 Sept 2017, 10:28 in chrishamm/DuetWebControl

                            closed DWC retries all XHR requests #58

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