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

    M122 meaning

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    6
    497
    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.
    • JoergS5undefined
      JoergS5
      last edited by

      I would like to better understand the M122 detailed information. I know the information changes between the firmware versions, but then a version specific information is necessary.

      To start discussion, can someone please explain the meaning of SG max value? When the value is high (above 1000), does this mean the stepper was under heavy load and high risk of loosing steps, or what does it mean? Does a value always under eg 200 mean, the stepper could be replaced by a weaker (and lighter) one?

      dc42undefined 1 Reply Last reply Reply Quote 2
      • dc42undefined
        dc42 administrators @JoergS5
        last edited by

        @joergs5 the meaning of the SG value register is described in the TMC2660 data sheet. It's actually the other way round; high values indicate light load, low values indicate heavy load.

        SG 10-bit unsigned integer stallGuard2
        measurement value. A higher value indicates
        lower mechanical load. A lower value indicates
        a higher load and therefore a higher load angle.
        For stall detection, adjust SGT to return an SG
        value of 0 or slightly higher upon maximum
        motor load before stall.
        0… 1023 0: highest load
        low value: high load
        high value: less load

        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

        JoergS5undefined 1 Reply Last reply Reply Quote 1
        • JoergS5undefined
          JoergS5 @dc42
          last edited by

          @dc42 thank you for explanation, that was surprising.

          1 Reply Last reply Reply Quote 0
          • JoergS5undefined
            JoergS5
            last edited by

            Another question I have is about hiccups: does they mean lost steps or microsteps? Which value is acceptable and is it useful to check for hiccups after every layer and rehome before proceeding if there were hiccups?

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

              @joergs5 said in M122 meaning:

              Which value is acceptable

              In cases where it's shown as a problem in the print it's been in the hundreds of thousands or even millions. From what I gather it's basically when the step generation has been overwhelmed and a tiny micro pause is inserted to allow it to catch up. Usually that wouldn't be detectable, but if it happened an excessive amount you'd start to get degraded motion.

              You can try and simulate it yourself by setting your microstepping on all axis to x265, then print a very high resolution model at high speed.

              @joergs5 said in M122 meaning:

              is it useful to check for hiccups after every layer and rehome before proceeding if there were hiccups?

              I would say no, because a hiccup doesn't necessarily mean that a full step has been lost and position has been impacted. You could also have sources of lost steps that don't have anything to do with hiccups at all and wouldn't show up in the count.

              Z-Bot CoreXY Build | Thingiverse Profile

              JoergS5undefined 1 Reply Last reply Reply Quote 0
              • JoergS5undefined
                JoergS5 @Phaedrux
                last edited by

                @phaedrux thank you for explanations, so its main purpose will be to detect wrong config or wrong stepper dimensioning. Not a means for quality improvement during print.

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