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

    RPM mode?

    Scheduled Pinned Locked Moved
    Firmware wishlist
    4
    6
    306
    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.
    • JRDMundefined
      JRDM
      last edited by

      I'd like to set up a Duet3 board to run a step motor in a constant RPM indefinitely (or until I request a different RPM), where I set an RPM not a distance.

      If this is already available I'd appreciate a point in the right direction, I couldn't find it in the docs or the forum.

      jay_s_ukundefined o_lampeundefined dc42undefined 3 Replies Last reply Reply Quote 1
      • jay_s_ukundefined
        jay_s_uk @JRDM
        last edited by

        @JRDM its not currently available

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • o_lampeundefined
          o_lampe @JRDM
          last edited by o_lampe

          @JRDM I guess, you also want to use other steppers at the same time?
          Maybe it's possible with RRF3.5 dual gcode stream?
          I haven't seen any examples of dual stream yet. If anyone has done similar stuff, chime in please.

          You write a macro that converts RPM_to_gcode (calculate "F", based on steps/degree and the requested RPM)
          Start the move with a long travel as second gcode stream. RRF doesn't allow infinite moves, but +/- 2^31 steps per single move is quite a lot.
          Set M208 for this axis accordingly.

          Then you can start the first stream with the regular print file or whatever else you want to do

          JRDMundefined 1 Reply Last reply Reply Quote 0
          • JRDMundefined
            JRDM @o_lampe
            last edited by

            @o_lampe That's interesting. Can the second stream be interrupted?

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

              @JRDM it's not currently available but it's been requested before and is likely to be included in RRF 3.6. In the nearer term we will soon have an RPM limit implemented when using torque mode on an closed loop expansion board (1HCL) or our forthcoming closed loop motor, and that could be used to provide this functionality.

              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
              • o_lampeundefined
                o_lampe @JRDM
                last edited by

                @JRDM I guess you can use conditionals in the macro or start/stop the second stream from within the first stream. But I haven't tried it.
                There is this article Duet3 Wiki that might help you.

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