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

    Report motor current with Stall Detection?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    9
    311
    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.
    • CJ.BRAVOundefined
      CJ.BRAVO
      last edited by

      Hi,
      was wondering if possible to report a motor current while running a gcode file with use of stall detect?

      Cheers

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @CJ.BRAVO
        last edited by

        @CJ-BRAVO said in Report motor current with Stall Detection?:

        Hi,
        was wondering if possible to report a motor current while running a gcode file with use of stall detect?

        Cheers

        I'm not sure what you mean. The motor current is the value set in M906 scaled by the percentage set in M913.

        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
        • CJ.BRAVOundefined
          CJ.BRAVO
          last edited by

          @dc42 said in Report motor current with Stall Detection?:

          M913

          I meant the load...

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

            M122 will report the minimum and maximum load recorded for each driver since M122 was last run (or since power up).

            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
            • CJ.BRAVOundefined
              CJ.BRAVO
              last edited by

              Driver 3: standstill, SG min/max 0/1023

              what is "1023"?

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

                1023 is the minimum possible load reported by the driver, and 0 is the maximum. 0/1023 is what is reported when the motor hasn't moved yet.

                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
                • CJ.BRAVOundefined
                  CJ.BRAVO
                  last edited by

                  Driver 0: standstill, SG min/max 37/201
                  Driver 1: standstill, SG min/max 19/272

                  sorry for the ignorance but what in what units is the measurement? watts? mAmps?

                  piperswundefined 1 Reply Last reply Reply Quote 0
                  • piperswundefined
                    pipersw @CJ.BRAVO
                    last edited by

                    @CJ-BRAVO It's a decimal value from a register. You have to take the datasheet in order to do the conversion bits value/ real value.

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

                      @pipersw said in Report motor current with Stall Detection?:

                      @CJ-BRAVO It's a decimal value from a register. You have to take the datasheet in order to do the conversion bits value/ real value.

                      Specifically, section 4 of https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2660_datasheet.pdf. M122 reports the minimum and maximum recorded values of the SG register.

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