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

    Motor Stop Command

    Scheduled Pinned Locked Moved
    Gcode meta commands
    4
    5
    288
    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.
    • Sivaundefined
      Siva
      last edited by

      Hi,

      We are using Duet in our application where we need to control Stepper Pumps.
      How to stop a stepper motor properly during long moves.

      Eg:
      G1 X100000 f1000
      Here length of X travel is long enough so that we need to stop the stepper motor mid way once the tank is full.

      Which command is used to Stop specific motor in Async mode or is there a better way to control stepper pumps using duet?

      Regards
      Siva

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

        @Siva currently you would need to enable segmentation using M669, and use the M25 pause command to pause and then cancel motion. This would of course also pause and cancel any other movement that you command at the same time.

        We plan to add a feature to start a stepper motor at constant speed and to stop it again with a separate command, independently of the motion of other motors.

        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
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          If you're filling a tank, is there a way to add a switch that triggers when full? If so you could possibly use a homing move to run the pump until the switch is triggered.

          Z-Bot CoreXY Build | Thingiverse Profile

          Jos_mosaundefined 1 Reply Last reply Reply Quote 0
          • Jos_mosaundefined
            Jos_mosa @Phaedrux
            last edited by

            @Phaedrux that is a really interesting approach.
            I guess we can not send other commands while that homing is in progress?

            Is there an ETA on the feature @dc42 mentioned

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

              @Jos_mosa said in Motor Stop Command:

              I guess we can not send other commands while that homing is in progress?

              Correct, I believe it would be in a "Busy" state while the homing was in progress.

              Z-Bot CoreXY Build | Thingiverse Profile

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