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

M671: How to define and verify correct settings?

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
m671 leveling
3
5
441
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.
  • undefined
    fotomas
    last edited by 2 Jan 2023, 11:36

    During some re-calibration and reading the G-Code dictionary I think the leveling points a defined wrong in my Core-XY printer. (Board: Duet 3 Mini 5+ Firmware: 3.4.0 )

    M671 X-19:316 Y146:146 S10.0 
    

    (print area is 290 x 290)

    I have two independent Z-axis motors (see image) and so far I have set the leveling points to the center of the lead screws. Reading the instructions for M671 I know believe that the M671 should have the coordinates where the yellow lines cross in the picture. This is where height correction screws are positioned and where the bed pivots. Correct?

    A a second bed leveling, done after each other, should not result in any correction, right? Can this be used as way to verify correct vales for the M671 command?

    Doing a bed mesh leveling after a bed leveling should also result in the same height near the pivot points (see purple circles in heightmap below)?

    SapphirePlus.jpg image url)
    Screenshot 2023-01-02 122047.png

    undefined 1 Reply Last reply 3 Jan 2023, 18:19 Reply Quote 0
    • undefined
      dc42 administrators @fotomas
      last edited by 3 Jan 2023, 18:19

      @fotomas yes you should use the pivot points in the M671 command.

      The apparent bulge in the bed in the X direction suggests that the X gantry may be sagging a little under the weight of the print head.

      Ideally a second G32 would produce no further correction. In practice the bed rarely behaves exactly as the model assumes it does, so it's common that a second G32 produces an additional but smaller correction even if you have specified the M671 coordinates correctly.

      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

      undefined 1 Reply Last reply 4 Jan 2023, 07:25 Reply Quote 0
      • undefined
        fotomas @dc42
        last edited by 4 Jan 2023, 07:25

        @dc42 I have made some corrections and tests. A second G32 now results in a much smaller correction compared to before.

        And the first layer is so much better than before. Things went a big step away from black magic towards science. 😊 Thank you!

        I am guessing since the two Z-Motors may be more or less off for each start and the result of correction by G32 varied from each start (due to incorrectly configured M671). This would make the compensation by the mesh bed leveling more or less successful. If so that would explain my intermittent problem with a good first layer, and mostly on the side of the bed making the G32 correction.

        undefined 1 Reply Last reply 4 Jan 2023, 07:27 Reply Quote 0
        • undefined fotomas has marked this topic as solved 4 Jan 2023, 07:25
        • undefined
          jay_s_uk @fotomas
          last edited by 4 Jan 2023, 07:27

          @fotomas its best to use the built in iterations function to run G32 until a certain difference threshold is reached.
          We have an example code to use in bed.g here https://teamgloomy.github.io/useful_macros.html#bedg-file-for-g32

          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

          undefined 1 Reply Last reply 4 Jan 2023, 07:52 Reply Quote 1
          • undefined
            fotomas @jay_s_uk
            last edited by fotomas 1 Apr 2023, 07:53 4 Jan 2023, 07:52

            @jay_s_uk Great tip, thank you. i will look into that.

            Both that wiki and the GCode Dictionary explains thing with the term "Z leadscrews" which is correct in some hardware configurations. But it fooled me, maybe reading too quickly and not fully comprehending tings.

            I propose a change to the use of "pivot point" or equivalent to make things a bit less likely to misunderstand.

            1 Reply Last reply Reply Quote 3
            5 out of 5
            • First post
              5/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA