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

    Can't change current for new stepper

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    6
    24
    1.6k
    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 @PuterPro
      last edited by

      @puterpro said in Can't change current for new stepper:

      @dc42 - Any idea why the Machine Properties page isn't updating with the newly assigned currents?

      I presume it means that page only sends the rr_config command to read the configuration once. If you reload DWC in your browser, it should pick up the new values. You can also send M906 with no parameters from the GCode Console to get a readback of the motor currents.

      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
      • PuterProundefined
        PuterPro
        last edited by

        @dc42 said in Can't change current for new stepper:

        If you reload DWC in your browser, it should pick up the new values.

        Ummmm, nope. That's what I'm reporting. Warm boot or even cold shutdown doesn't change the values.
        M906 reports properly.

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by dc42

          Strange, it's working for me:

          • Load DWC 1.22.6 by entering the IP address in the browser followed by /reprap.htm (because I normally run DWC 2.0, which has no Machine Properties page)
          • Check XYZE currents on Machine Properties page
          • Go to GCode Console page and use M906 to change the currents
          • Go back to Machine Properties page, the new currents are displayed

          EDIT: but if I send the M906 command from the box at the top of the browser window when I am on the Machine Properties page, the displayed current doesn't update until I switch away from the Machine Properties page and back. So it looks like DWC only fetches the motor currents each time I switch to the Machine Properties page.

          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

          PuterProundefined 1 Reply Last reply Reply Quote 0
          • PuterProundefined
            PuterPro @dc42
            last edited by PuterPro

            @dc42 - Well, let me check what version of DWC I'm on. If you look up earlier in this thread you'll see a screen grab of what I'm seeing. I just changed the current to E1100 and M906, then rebooted as suggested. I then reloaded the browser page also for fun.

            Same problem, M906 displayed correct values, Machine Properties still look like the screenshot above.

            EDIT: 0_1555159821794_DWC Info.txt

            BTW - You need to fix the title of the RRF 3.0 post. 😇

            1 Reply Last reply Reply Quote 0
            • PuterProundefined
              PuterPro
              last edited by

              Here's my current setup:
              Firmware Name: RepRapFirmware for Duet 2 Maestro
              Firmware Electronics: Duet Maestro 1.0
              Firmware Version: 2.02RC5(RTOS) (2018-11-28b1)
              Web Interface Version: 1.22.5

              Should I update my Firmware?

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by dc42

                Yes. 2.02 release and DWC 1.22.6 are current.

                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

                PuterProundefined 1 Reply Last reply Reply Quote 0
                • PuterProundefined
                  PuterPro
                  last edited by

                  Thx. Do it later today and report back.

                  1 Reply Last reply Reply Quote 0
                  • PuterProundefined
                    PuterPro @dc42
                    last edited by

                    @dc42 said in Can't change current for new stepper:

                    Yes. 2.02 release and DWC 1.22.6 are current

                    Updated.

                    (because I normally run DWC 2.0, which has no Machine Properties page)

                    I misread that.

                    So Machine Properties is depreciated?
                    (I found it switching to the old interface after upgrade and the current listed was still wrong).
                    If it's depreciated I wouldn't have made a discussion of it, I'm not much for beating dead horses!!

                    Thanks! Sorry if it was a time suck I'd never do that to you of all people! Still have a stepper currents Q but I'll separate post it.

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by dc42

                      I'm not sure that the Machine Properties page is deprecated, it may just be that chrishamm hasn't implemented it yet in DWC2. In particular, the facility to see the endstop states is useful.

                      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
                      • Florentundefined
                        Florent
                        last edited by

                        For my part.
                        If I do not display the current values in the web page, there is a problem with the configuration.

                        For engines that the value does not change, I redo a configuration in another location (in the config.g), I think there are conflicts following the instructions that are used later.

                        In my case, I had a problem with extruders on the DUEX5, which remained at 0mA, while on the DUET the command worked.
                        Putting this line further in the code corrected the problem.

                        M906 E800:800 ; Set motor currents (mA);pour test>> necessaire sinon pas de courant du tout

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