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

    Manual leveling macro

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    17
    1.3k
    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.
    • Rudy2Aundefined
      Rudy2A
      last edited by

      Good morning all,

      I am looking to make a Macro for the leveling of my tray for a manual adjustment using the 4 screws ...

      How the Macro works:

      Example: the nozzle is placed in the left corner of the bed, the BLTouch takes the Z ... I have a message indicating to adjust my tray (manually using the screw), when I set my tray, I validate on the screen and the nozzle is placed in the right corner of the bed to perform the same operation for the other 2 corners. At the end of the last adjustment, the nozzle moves to its original position. A message indicates that leveling is OK.

      Thank you for your help.

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

        Does your machine have a Z probe? If so, see https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant.

        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

        Rudy2Aundefined 1 Reply Last reply Reply Quote 0
        • Rudy2Aundefined
          Rudy2A @dc42
          last edited by

          @dc42 said in Manual leveling macro:

          Votre machine a-t-elle une sonde Z? Si tel est le cas, voir https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant .

          Thanks as usual for your quick answers!

          I had already seen this option ... but I really try to create a macro as described above, finally if it is obviously possible?
          I have a BLTouch for the Z.

          Vetiundefined 1 Reply Last reply Reply Quote 0
          • mrehorstdmdundefined
            mrehorstdmd
            last edited by

            It sounds like you want to use the manual bed leveling assistant.

            https://drmrehorst.blogspot.com/

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

              @Rudy2A said in Manual leveling macro:

              had already seen this option ...

              what do you need that the leveling assistant does not give you?
              did you see the output?

              M671 X-15💯215 Y190:-10:190 P0.5 ; adjusting screws at rear left (-15,190), front middle (100,-10) and rear right (215,190), thread pitch 0.5mm

              1 Reply Last reply Reply Quote 0
              • Rudy2Aundefined
                Rudy2A @mrehorstdmd
                last edited by

                @mrehorstdmd said in Manual leveling macro:

                Il semble que vous souhaitiez utiliser l'assistant de mise à niveau manuelle du lit.

                First of all, I apologize to all the people, I am certainly not clear in my explanations, because I do not master English, I am using a translator not easy!

                So, I want to write a macro that would put my nozzle at the corners of my bed so that I can adjust the height of the tray with the help of the adjustment screws ...

                I understand that option https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant . does more or less what I want, but I do not want to use this option! I want to be able to adjust my tray easily when I want it without going through M671, and bed.g ...

                thank you for your understanding

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

                  @Rudy2A said in Manual leveling macro:

                  but I do not want to use this option! I want to be able to adjust my tray easily when I want it without going through M671, and bed.g

                  you will need to expand on your problem a bit more. you are saying despite it doing everything you want, you just dont want to use it.

                  you need to go into more detail as to what this does differently that what you want to achieve.
                  try using drawings.

                  or do you have problems with setting up the M671 and bed.g files?

                  Rudy2Aundefined 1 Reply Last reply Reply Quote 0
                  • Rudy2Aundefined
                    Rudy2A @Veti
                    last edited by

                    @Veti said in Manual leveling macro:

                    ou avez-vous des problèmes avec la configuration des fichiers M671 et bed.g?

                    I think there is a bad interpretation with the translator.

                    I will try to make it easier ...

                    I'm not saying that I do not want to use it. On the description https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant . of M671 this is very attractive.

                    But when I try to put in configuration, I can not understand the configuration and operation of M671 and bed.g

                    So, I thought that a macro would be simpler?

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

                      @Rudy2A said in Manual leveling macro:

                      So, I thought that a macro would be simpler?

                      No, as you would have to put in the same information into the macro to be able to calculate the required adjustments.

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

                        M671 X-15💯215 Y190:-10:190 P0.5 ; adjusting screws at rear left (-15,190), front middle (100,-10) and rear right (215,190), thread pitch 0.5mm

                        Here you put in the coordinates where your adjustment screws are. move the hotend to each position and record the coordinates of the screw. then put them into the M671 command

                        bed.g
                        G28 ; home
                        M401 ; deploy Z probe
                        G30 P0 X20 Y190 Z-99999 ; probe near an adjusting screw
                        G30 P1 X180 Y190 Z-99999 ; probe near an adjusting screw
                        G30 P2 X100 Y10 Z-99999 S3 ; probe near an adjusting screw and report adjustments needed
                        M402 ; retract probe

                        here you replace the X and Y of each G30 position with a position close to your screws

                        Rudy2Aundefined 1 Reply Last reply Reply Quote 0
                        • Rudy2Aundefined
                          Rudy2A @Veti
                          last edited by

                          @Veti

                          Okay, I wanted to do basic in the macro. I just wanted to enter the four positions of the probe. Using only one sheet of paper regardless of the diameter of the adjusting screws and without calculating the number of turns to be made ...

                          Thank you for your last example, I will again perform a configuration with your explanation.

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

                            @Rudy2A said in Manual leveling macro:

                            Using only one sheet of paper regardless

                            since you have a bltouch that will be far more accurate.

                            if you have a multible z motors this process can be automated.
                            see
                            https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

                            Rudy2Aundefined 1 Reply Last reply Reply Quote 0
                            • Rudy2Aundefined
                              Rudy2A @Veti
                              last edited by

                              @Veti said in Manual leveling macro:

                              puisque vous avez un bltouch qui sera beaucoup plus précis.

                              Thank you for your involvement, I will study this tonight. Thank you so much !

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

                                I do something similar, but without the probe. I manually jog the nozzle down to the bed once and then use the jog commands to move it up 2mm, and to the next leveling screw point and down 2mm again so i can adjust the screw to be just touching the nozzle. This works better for me than the probe because the nozzle can get much closer to the screws than the probe can due to the offset.

                                0_Auto Bed Level Assist.g

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Rudy2Aundefined 1 Reply Last reply Reply Quote 1
                                • Rudy2Aundefined
                                  Rudy2A @Phaedrux
                                  last edited by

                                  @Phaedrux said in Manual leveling macro:

                                  0_Aide au niveau du lit automatique.g

                                  Great, I'm testing !

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

                                    You'll have to go through it and make modifications for your own setup. Do not run it as is, I guarantee it won't go well.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Rudy2Aundefined 1 Reply Last reply Reply Quote 0
                                    • Rudy2Aundefined
                                      Rudy2A @Phaedrux
                                      last edited by

                                      @Phaedrux

                                      Yes of course, when I write I test ... I first look at the contents of your file and adapt it according to my machine. ☺

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