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

Web Based Configuration Tool

Scheduled Pinned Locked Moved
General Discussion
19
67
21.1k
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
    sga
    last edited by 12 Sept 2016, 12:46

    Very nice!!! I was thinking would it be possible to actually have all these pages embedded in the duet webserver? Is this planned already?

    1 Reply Last reply Reply Quote 0
    • undefined
      chrishamm administrators
      last edited by 12 Sept 2016, 13:05

      W3DRK, thanks for the note. I was expecting JavaScript would display floats without exponent by default, but this doesn't seem to be the case. As a work-around the config tool will now convert the C value to fixed precision with 16 decimal places - I guess that should suffice.

      sga, I was thinking about integrating the config tool in DWC so that the template (i.e. config.json) can be loaded and edited using the online configurator at any time. But there are still many more items on my TODO list, so I think this will have to wait a bit longer. If more people are interested in this, I will try to include this feature in my next DWC release.

      Duet software engineer

      1 Reply Last reply Reply Quote 0
      • undefined
        deckingman
        last edited by 12 Sept 2016, 13:23

        @chrishamm:

        sga, I was thinking about integrating the config tool in DWC so that the template (i.e. config.json) can be loaded and edited using the online configurator at any time. But there are still many more items on my TODO list, so I think this will have to wait a bit longer. If more people are interested in this, I will try to include this feature in my next DWC release.

        That would be soooooo cool. Admittedly changing configuration settings is rarely done but when it is necessary, it would be so much easier to use the configurator than try to remember, or have to look up, the requisite M or G code along with all the associated parameters.

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

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 12 Sept 2016, 13:56

          I beleve RRF does recognize scientific notation. It uses the C library function strtod to parse floats. I've noticed that although you can usually leave out the spaces in gcode commands, you can't leave out the space before E in a command such as M906X800Y800Z800 E800.

          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
          • undefined
            chrishamm administrators
            last edited by 12 Sept 2016, 14:35

            I've just tested this and I must revise my previous statement: strtod can indeed parse numbers in scientific notation, so it should not matter which format the M305 C-parameter represents. I've just changed the config template to use the native JS float-to-string conversion again.

            Duet software engineer

            1 Reply Last reply Reply Quote 0
            • undefined
              W3DRK
              last edited by 12 Sept 2016, 15:00

              Works for me! Thanks!

              1 Reply Last reply Reply Quote 0
              • undefined
                sga
                last edited by 14 Sept 2016, 09:43

                @deckingman:

                @chrishamm:

                sga, I was thinking about integrating the config tool in DWC so that the template (i.e. config.json) can be loaded and edited using the online configurator at any time. But there are still many more items on my TODO list, so I think this will have to wait a bit longer. If more people are interested in this, I will try to include this feature in my next DWC release.

                That would be soooooo cool. Admittedly changing configuration settings is rarely done but when it is necessary, it would be so much easier to use the configurator than try to remember, or have to look up, the requisite M or G code along with all the associated parameters.

                Actually the fact that configuration settings are rarely done depends on your usage I guess, I have exchangeable print heads with dual and single heads and and the Vulcan requires a different Z heights as well… Having a laser head is also part of my plans for the next 3-4 month.
                So not only having the web based configuration tool embedded would be a dream but also being able to store, recall and edit multiple config files without uploading would be nice.

                1 Reply Last reply Reply Quote 0
                • undefined
                  deckingman
                  last edited by 27 Sept 2016, 14:21

                  Just noticed something else. In the generated config.g there is this line

                  M350 X16 X16 X16 X16 X16 X16 I0 ; Configure microstepping without interpolation

                  Should it not be M350 X16 Y16 Z16 Enn16 etc? At least that is how the wiki seems to read.

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

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 27 Sept 2016, 16:32

                    Yes, also the default should be I1 unless you turned interpolation off in the configurator.

                    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
                    • undefined
                      dc42 administrators
                      last edited by 27 Sept 2016, 16:38

                      @sga:

                      Actually the fact that configuration settings are rarely done depends on your usage I guess, I have exchangeable print heads with dual and single heads and and the Vulcan requires a different Z heights as well… Having a laser head is also part of my plans for the next 3-4 month.
                      So not only having the web based configuration tool embedded would be a dream but also being able to store, recall and edit multiple config files without uploading would be nice.

                      sga, is there any reason why you can't use a config.g file for your most common configuration, and then for each additional configuration, create a macro file that you run after starting up? The only commands in config.g that you can't override later are the network configuration commands to set MAC address, IP address etc. (which don't yet work on the Duet WiFi anyway). I even have a macro file to switch my Cartesian printer over to CoreXY mode, so that I can test CoreXY support in the firmware.

                      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
                      • undefined
                        deckingman
                        last edited by 27 Sept 2016, 17:21

                        @dc42:

                        Yes, also the default should be I1 unless you turned interpolation off in the configurator.

                        No I didn't turn it off. The configurator has "X16" as the default rather than "X16 (on)".

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

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          iDevelo
                          last edited by 27 Sept 2016, 19:08

                          @deckingman:

                          Just noticed something else. In the generated config.g there is this line

                          M350 X16 X16 X16 X16 X16 X16 I0 ; Configure microstepping without interpolation

                          Should it not be M350 X16 Y16 Z16 Enn16 etc? At least that is how the wiki seems to read.

                          No wonder when I change the stepping nothing works! X is always 16!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Sniffle
                            last edited by 27 Sept 2016, 20:03

                            Using the compensation tab, I just noticed for my 300x300 bed, I am receiving an error stating that values must be less than or equal to 210 for probe points. Is this a firmware limit for probe points or something that needs to be fixed in the configurator?

                            edit: missed a config tab that fixed the issue

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              sga
                              last edited by 27 Sept 2016, 22:12

                              @dc42:

                              sga, is there any reason why you can't use a config.g file for your most common configuration, and then for each additional configuration, create a macro file that you run after starting up? The only commands in config.g that you can't override later are the network configuration commands to set MAC address, IP address etc. (which don't yet work on the Duet WiFi anyway). I even have a macro file to switch my Cartesian printer over to CoreXY mode, so that I can test CoreXY support in the firmware.

                              Sorry, you are certainly right. I do have my effectors on magnet balls. I have the std one working now and all parts ready for a dual vulcan, as well as a ceramic paste extruder. In the future maybe next year I will probably add more (laser) but I have no parts or clear plans yet.

                              The main differences between the 3 current heads will be in the geometry:
                              -nozzle height and number and position
                              -z probe height
                              -Extruder steps per mm or mm3 for the paste.
                              -max speed etc…
                              The only risk is to crash the nozzle by pressing the bed autolevel button before selecting the appropriate config macro.

                              I was naively thinking a different config.h was required for every geometry but a macro library would be just as good.

                              Following your idea, what would be a good way to change the visual aspect of the webpage as a function of the currently selected configuration macro? ( i am thinking title, color theme, to avoid confusion)
                              Ideally I would put a different resistor in each effector (toolhead) and use that as a configuration selector. I have used that in the past in different projects and it was good enough up to 20 different calibrated modules.

                              Thank you again for giving us such a nice tool to play with.

                              sga

                              1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                T3P3Tony administrators
                                last edited by 28 Sept 2016, 17:32

                                You can use the M550 command to change the name at the top of the screen to reflect the setup you are using as part of the macro

                                www.duet3d.com

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Sniffle
                                  last edited by 28 Sept 2016, 19:12

                                  @chrishamm

                                  Found a bug while playing with the configurator, When the option to home all axis before running a G32 is checked, bothing changes in the bed.g file. it is identical to the bed.g file created when the option is disabled by default

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    3DSTB
                                    last edited by 13 Feb 2017, 10:32

                                    Hello together
                                    can i use the configuration tool also for the RADDS which is now implemented in the firmware?

                                    Many thanks for your reply,
                                    3DSTB

                                    1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators
                                      last edited by 13 Feb 2017, 10:44

                                      The configuration tool does not directly support RADDS however much of the configuration will be common - give it a go and see how you get on!

                                      www.duet3d.com

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        dc42 administrators
                                        last edited by 13 Feb 2017, 16:19

                                        The RADDS build should just ignore the commands in config.g that it doesn't support i.e. network parameters and motor currents. It's probably best to select board type Duet 085 rather than Duet WiFi in configtool.

                                        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
                                        • undefined
                                          brian
                                          last edited by 14 Jun 2017, 12:24

                                          A very nice tool.

                                          The duet wifi has 2 z motors but the configurator only list one, there may instances where i want to increase power to the second z motor.

                                          Theres no option for not using a z probe sensor.

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