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

    explain interpolation settings please

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    7
    615
    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.
    • 57buickundefined
      57buick
      last edited by

      Im not understanding the effects of these settings.
      What is the difference for example between
      M350 X16 Y16 Z16 E16 I1 and M350 X16 Y16 Z16 E16 I256

      Or is there any difference?

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @57buick said in explain interpolation settings please:

        M350 X16 Y16 Z16 E16 I1 and M350 X16 Y16 Z16 E16 I256

        the first one is ok the second one does not work.
        see
        https://duet3d.dozuki.com/Wiki/Gcode#Section_M350_Set_microstepping_mode

        1 Reply Last reply Reply Quote 1
        • littlehobbyshopundefined
          littlehobbyshop
          last edited by

          I256 is is not a valid parameter. I = 0 or 1. Interpolation on or off.

          The Duet2 only supports interpolation for x16 microstepping. I believe the Duet3 supports interpolation at all microstepping levels but you'll have to check the documentation.

          Unless you have a very specific reason should go with x16 and interpolation on. So your command should look like this:

          M350 X16 Y16 Z16 E16 I1
          

          BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

            I1 means interpolation on, I0 means interpolation off. When it's on, the drivers will take the incoming step pulses and interpolate between them to produce 256 pulses for the motors.

            Interpolation always changes the incoming rate to 256.

            The Duet Wifi/Ethernet can only interpolate from x16 microstepping. The Maestro (and I think the Duet 3) can interpolate to 256 from any microstepping value.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • 57buickundefined
              57buick
              last edited by

              great thanks for the clarification

              1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta
                last edited by

                What does interpolation mean in this context? Smoother transition from one microstep to the next?

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

                  @zapta It means that the Duet generates x16 microstepping and sends that to the driver. The driver then takes that and sends x256 to the motors resulting in smoother, quieter movement.

                  The strain on the CPU is less, but you don't get the theoretically better positioning of actual x256 steps, but it's debatable if using actual x256 makes any sense at all. We're talking about microscopic amounts of movement, which would be obliterated by extrusion inaccuracies.

                  Z-Bot CoreXY Build | Thingiverse Profile

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