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.
    • Dougal1957undefined
      Dougal1957
      last edited by

      Ian Bare in mind that on a delta you home to Max Z tho I would think that it takes this into account (At least I hope so)

      Doug

      1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman
        last edited by

        @Dougal1957:

        Ian Bare in mind that on a delta you home to Max Z tho I would think that it takes this into account (At least I hope so)

        Doug

        Hi Doug,

        Yes the configurator does that. You can tell it whether home is max or min for any of the axes.

        Ian

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

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman
          last edited by

          I have found a wee bug, genuine this time and not just me. When configuring tools sharing the same heater (mixing hot end), the code for setting the mixing ratios should be M567 and for turning on mixing is M568. The configuration tool generates a config.g which has M569 (instead of M567) for setting the mixing ratios (but the M568 is correct). I just tried the tool again, being extra careful that I asked for all the right things and got the same result.

          Hope you don't mind me pointing that out.

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

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

            Thanks Ian, I've just fixed the config.g template. Now it should generate the right M567 code when a mixing tool is defined.

            Duet software engineer

            1 Reply Last reply Reply Quote 0
            • W3DRKundefined
              W3DRK
              last edited by

              Bump in case my question above got overlooked…

              1 Reply Last reply Reply Quote 0
              • DebugBearundefined
                DebugBear
                last edited by

                Just had a quick go with this, one thin I noticed was in the homeall.g file the z homing appears to be done at the corner (first point) rather than the middle.

                1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman
                  last edited by

                  @DebugBear:

                  Just had a quick go with this, one thin I noticed was in the homeall.g file the z homing appears to be done at the corner (first point) rather than the middle.

                  Under "Endstops", then "Z Probe", there are settings for Probe X offset and Probe Y offset. Put the values you want in here and it'll generate the x and y moves in the homeall.g and home Z files (at least I think it does).

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

                  1 Reply Last reply Reply Quote 0
                  • StephenRCundefined
                    StephenRC
                    last edited by

                    The probe offsets are for letting the firmware know the probe and nozzle are not in the same location.

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

                      @W3DRK:

                      I noticed this configuration tool mentions the ability to define a Steinhart-Hart coefficient as term C of the M306 gcode in Firmware 1.16.

                      Is this supported in the current version 1.15c or do we need to wait for 1.16?

                      Also, upon entering the appropriate values from the Semitec 104-2GT datasheet I get:
                      M305 P1 T100000 B4338 C7.034421808033219e-8 R4700 L0 H0

                      Is scientific notation OK or should that be 0.0000000703442181?

                      As the note says, you'll have to wait for RRF 1.16 because 1.15 doesn't support it yet. You can add already add the optional 'C' parameter though, it just isn't used at the moment. I don't think scientific notation will work, so I suggest you specify the whole number. That's what the config tool does, too.

                      Duet software engineer

                      1 Reply Last reply Reply Quote 0
                      • W3DRKundefined
                        W3DRK
                        last edited by

                        Thanks for the clarification. Unless something's been fixed since Friday, although it displays in decimal form on the website, it does indeed write it out to the config file in scientific notation.

                        @chrishamm:

                        As the note says, you'll have to wait for RRF 1.16 because 1.15 doesn't support it yet. You can add already add the optional 'C' parameter though, it just isn't used at the moment. I don't think scientific notation will work, so I suggest you specify the whole number. That's what the config tool does, too.

                        1 Reply Last reply Reply Quote 0
                        • sgaundefined
                          sga
                          last edited by

                          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
                          • chrishammundefined
                            chrishamm administrators
                            last edited by

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

                              @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
                              • dc42undefined
                                dc42 administrators
                                last edited by

                                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
                                • chrishammundefined
                                  chrishamm administrators
                                  last edited by

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

                                    Works for me! Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • sgaundefined
                                      sga
                                      last edited by

                                      @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
                                      • deckingmanundefined
                                        deckingman
                                        last edited by

                                        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
                                        • dc42undefined
                                          dc42 administrators
                                          last edited by

                                          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
                                          • dc42undefined
                                            dc42 administrators
                                            last edited by

                                            @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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA