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

    someone please help me understand M84 new explanation...

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    3
    13
    627
    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.
    • A Former User?
      A Former User
      last edited by

      Hi,

      I remember dim that when I had a look around 2 years ago on the M84 explanation here https://duet3d.dozuki.com/Wiki/Gcode#Section_M84_Stop_idle_hold I understood it very well.

      BUT

      this new explanation now totally confuses me, I have no clue whatsoever what this command is now doing?

      My dim memory tells me something that by setting e.g. "M84 X S1" the x motor will use the Idle-percentage-of-current as specified within M906 after S seconds?

      Please someone help me understand it with an example

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @A Former User
        last edited by

        @lbi said in someone please help me understand M84 new explanation...:

        My dim memory tells me something that by setting e.g. "M84 X S1" the x motor will use the Idle-percentage-of-current as specified within M906 after S seconds?

        Yes that is correct.

        M84 will turn off all holding current immediately

        M84 S60 will turn off holding current after 60 seconds of idle.

        M84 X will turn off holding current for X axis immediately.

        M84 X S1 will turn off holding current for X after 1 second of idle.

        Z-Bot CoreXY Build | Thingiverse Profile

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @Phaedrux
          last edited by A Former User

          @phaedrux said in someone please help me understand M84 new explanation...:

          @lbi said in someone please help me understand M84 new explanation...:

          My dim memory tells me something that by setting e.g. "M84 X S1" the x motor will use the Idle-percentage-of-current as specified within M906 after S seconds?

          Yes that is correct.

          M84 will turn off all holding current immediately

          M84 S60 will turn off holding current after 60 seconds of idle.

          M84 X will turn off holding current for X axis immediately.

          M84 X S1 will turn off holding current for X after 1 second of idle.

          Thanks for the fast reply!

          As a non-native english speaker, I have to ask you again to be really sure:

          a)
          So you confirmed that with "turn off holding current" you actually refer to reducing the peak-current as set via M906 per axis from that peak value down to the % as specified within the Variable "I" within M906?

          b)
          You never actually refer to M18 (Turn motor "OFF"/cut power completely for motor) when you refer to "turn off holding current", right, but you refer to reducing the current as I asked within a) -> If this is the case you might consider to change on the g-code-website the term "turn off holding current" to something like "dimm from peak to Idle factor I as set in M906"

          c)
          There is no way of setting independet times for each axis, e.g. on a cartesian for X:Y S60 and for Z S1800 and for E S30 or so?

          I hope you can understand I have to ask this because in the "new" explanation on the g-code-website (with "new" I refer to being "new" then what was there 2 years or so ago) there is absolutely no reference any more to the M906 peak and I (idle) variables I dim remember it is connected to, but maybe I am dreaming this up that there was any hint before...

          Best regards

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

            M906 idle current is different. M84 stops sending that idle hold current entirely, effectively turning off the motor. Same as with M18.

            No independant time out for each axis. It's all or nothing.

            Z-Bot CoreXY Build | Thingiverse Profile

            A Former User? 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User @Phaedrux
              last edited by A Former User

              @phaedrux said in someone please help me understand M84 new explanation...:

              M906 idle current is different. M84 stops sending that idle hold current entirely, effectively turning off the motor. Same as with M18.

              No independant time out for each axis. It's all or nothing.

              Oh - so then I got it ALL WRONG
              -> now that should be written very clear there I guess

              So it is actually just like M18 just that it has the benefit of a timer?

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @A Former User
                last edited by

                @lbi said in someone please help me understand M84 new explanation...:

                So it is actually just like M18 just that it has the benefit of a timer?

                Yes.

                Z-Bot CoreXY Build | Thingiverse Profile

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @Phaedrux
                  last edited by A Former User

                  @phaedrux said in someone please help me understand M84 new explanation...:

                  @lbi said in someone please help me understand M84 new explanation...:

                  So it is actually just like M18 just that it has the benefit of a timer?

                  Yes.

                  So this example here describes it then (?):

                  M84 S3600 ;if printer is not doing anything for an hour (S=60*60=3600) then cut even the idle-factor current on motors
                  
                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    yes that is correct

                    Z-Bot CoreXY Build | Thingiverse Profile

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @Phaedrux
                      last edited by A Former User

                      @phaedrux said in someone please help me understand M84 new explanation...:

                      yes that is correct

                      Could you then please be so kind to think about eventually working over that phrase on the g-code-website

                      "For example, "M84 S10" will idle the stepper motors after 10 seconds of inactivity."
                      

                      by deleting the word "idle" there please, because it is not idling anything (at least not in the sense of how this word is used within M906), but rather "cutting off ALL current"/"setting current to 0" (FROM an eventual/original "idling", that might or not might have been set within M906...).

                      Misconceptions could be avoided, by leaving "idle" to the explanation of M906, and by not using it but rather using another term when explaining M84.

                      Thank you so much for the clearification!

                      Best regards

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

                        Maybe I've confused myself now. Let me verify.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • o_lampeundefined
                          o_lampe @A Former User
                          last edited by

                          @lbi
                          @Phaedrux
                          Easy to test: when M84 X S10 would set the X-axis in idle mode (here: reduced current) it would still be homed after > 10sec.

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            I think I was correct the first time.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @o_lampe
                              last edited by A Former User

                              @o_lampe
                              @Phaedrux

                              @o_lampe said in someone please help me understand M84 new explanation...:

                              @lbi
                              @Phaedrux
                              Easy to test: when M84 X S10 would set the X-axis in idle mode (here: reduced current) it would still be homed after > 10sec.

                              (For my defence: Pinter is at work, so most of the time I have to "queue in"/wait till late in the day, to do some tests, but somedays I am just too tired fot that, so like in this case have to wait for a day or two, till stuff that is urgent is printed and I can do the testing...)

                              So I found some time to test, and call me crazy, it seems like it is automatically "dimming"(idling) from peak-A down as much % as specified within M906 automatically(?) after 25s! So I just kicked out M84 for now since as long as I do not know what it exactly does I rather do not touch it...

                              Next thing to test:

                              • See if M84 S is there to alter the 25second default "idling-time" (with idling I refer to M906 I value)

                              Best regards

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