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

    Set current to zero?

    Scheduled Pinned Locked Moved Solved
    General Discussion
    7
    20
    805
    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.
    • fcwiltundefined
      fcwilt
      last edited by

      As I recall you can turn individual stepper drivers off with M84.

      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

      tenajaundefined 1 Reply Last reply Reply Quote 0
      • tenajaundefined
        tenaja @garyd9
        last edited by

        @garyd9 , Yes, that is what I meant. This is not an axis that is "homed"--it is rotary, which needs to freewheel at times. So, how do I do that? I'm getting a "axis not homed" error or something like that.

        Should I just issue a G92 to set it to zero right before I turn it back on?

        Thanks again!

        1 Reply Last reply Reply Quote 0
        • tenajaundefined
          tenaja @fcwilt
          last edited by tenaja

          @fcwilt said in Set current to zero?:

          turn individual stepper drivers off with M84

          That did it, now I need to figure out how to "home" an axis that is not homed, and can not be homed.

          Vetiundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti @tenaja
            last edited by

            @tenaja said in Set current to zero?:

            That did it, now I need to figure out how to "home" an axis that is not homed, and can not be homed.

            use G92 to set a position

            https://duet3d.dozuki.com/Wiki/Gcode#Section_G92_Set_Position

            tenajaundefined 1 Reply Last reply Reply Quote 0
            • tenajaundefined
              tenaja @Veti
              last edited by tenaja

              @Veti said in Set current to zero?:

              G92

              I did that, from the command line (top of DWC web page), and it did not work.

              Perhaps G92 after a M913?
              coming back after Duet restart (because it always loses connection)

              Yes!

              M913 Y100 does not turn power back on... It's still freewheeling after that....but the commands do work. (M913 then G92)

              Thanks, I'm back in business!

              Vetiundefined tenajaundefined dc42undefined 3 Replies Last reply Reply Quote 0
              • Vetiundefined
                Veti @tenaja
                last edited by

                @tenaja said in Set current to zero?:

                I did that, from the command line (top of DWC web page), and it did not work.

                whats the exact G92 command you issued?

                tenajaundefined 1 Reply Last reply Reply Quote 0
                • tenajaundefined
                  tenaja @tenaja
                  last edited by

                  I guess the only question left is how you cancel an M84 (Stop Idle Hold), without issuing a move command? Or to put it another way, how do you Resume Idle Hold?

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • tenajaundefined
                    tenaja @Veti
                    last edited by

                    @Veti said in Set current to zero?:

                    @tenaja said in Set current to zero?:

                    I did that, from the command line (top of DWC web page), and it did not work.

                    whats the exact G92 command you issued?

                    G92 Y0

                    1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @tenaja
                      last edited by

                      @tenaja said in Set current to zero?:

                      I guess the only question left is how you cancel an M84 (Stop Idle Hold), without issuing a move command? Or to put it another way, how do you Resume Idle Hold?

                      What is the letter assigned to this axis and what G92 command did you issue?

                      Issuing a G1 command for that axis should turn the driver back on - is there some reason you cannot do that?

                      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
                      • Vetiundefined
                        Veti
                        last edited by

                        I just tested it and the axis became homed

                        40047db3-d653-4a9d-9361-beec41a7d811-image.png

                        tenajaundefined 1 Reply Last reply Reply Quote 0
                        • tenajaundefined
                          tenaja @Veti
                          last edited by tenaja

                          @Veti
                          Thanks, as I pointed out in Post #8, it does work if you put it in the gcode. But you have to do it in sequence, with the M913 first.

                          And, the motor does not have power, even though you issued an M913 Y100. ("Set motor percentage of normal current", to 100%)

                          Vetiundefined 1 Reply Last reply Reply Quote 0
                          • Vetiundefined
                            Veti @tenaja
                            last edited by

                            @tenaja

                            try a small movement G0 Y0.1 followed by G0 Y0

                            tenajaundefined 1 Reply Last reply Reply Quote 0
                            • tenajaundefined
                              tenaja @Veti
                              last edited by

                              @Veti said in Set current to zero?:

                              @tenaja

                              try a small movement G0 Y0.1 followed by G0 Y0

                              As expected, that will do it. It seems odd there's a way to power-down a motor, but not a "safe" way to power it back up. ("Safe" = no-motion).

                              I would like to know how to restore it safely, for trivial/future reasons, but for my current application, my needs are met.

                              I really appreciate all of the help provided.

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

                                @tenaja said in Set current to zero?:

                                M913 Y100 does not turn power back on... It's still freewheeling after that....but the commands do work. (M913 then G92)

                                Any movement command will turn it back on. RRF 3.3 (for which we will soon release a beta) also supports M17 to turn on motor 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

                                oozeBotundefined tenajaundefined 2 Replies Last reply Reply Quote 0
                                • oozeBotundefined
                                  oozeBot @dc42
                                  last edited by

                                  @dc42 said in Set current to zero?:

                                  Any movement command will turn it back on. RRF 3.3 (for which we will soon release a beta) also supports M17 to turn on motor current.

                                  I'm very interested in testing this as I believe it will really help when releasing the stepper brake on our z-axis.. currently, we have to slightly move the z-axis to energize the steppers to keep the gantry from dropping.

                                  dc42undefined 1 Reply Last reply Reply Quote 0
                                  • tenajaundefined
                                    tenaja @dc42
                                    last edited by

                                    @dc42 said in Set current to zero?:

                                    @tenaja said in Set current to zero?:

                                    M913 Y100 does not turn power back on... It's still freewheeling after that....but the commands do work. (M913 then G92)

                                    Any movement command will turn it back on. RRF 3.3 (for which we will soon release a beta) also supports M17 to turn on motor current.

                                    Thanks...

                                    Will a "relative" move of zero, like G1 Y0 do it? Or is physical motion the only way to get power back on?

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

                                      If you work out your step resolution you could have a move of exactly a single motor step.

                                      Z-Bot CoreXY Build | Thingiverse Profile

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

                                        @oozeBot said in Set current to zero?:

                                        @dc42 said in Set current to zero?:

                                        Any movement command will turn it back on. RRF 3.3 (for which we will soon release a beta) also supports M17 to turn on motor current.

                                        I'm very interested in testing this as I believe it will really help when releasing the stepper brake on our z-axis.. currently, we have to slightly move the z-axis to energize the steppers to keep the gantry from dropping.

                                        I expect to provide an unofficial 3.3beta tomorrow.

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