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

    Grid bed compensation

    Scheduled Pinned Locked Moved
    Firmware wishlist
    23
    100
    19.6k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      In the M558 command, Z16 is the same as Z1 and means that the Z probe is used for Z homing. H3 is the dive height, which means that when you use G30 with defined XY coordinates to probe the bed (and also G29 in the 1.17 dev build), probing starts 3mm + the probe trigger height above where the bed is expected to be.

      In the G31 command, the Z parameter defines the trigger height of the Z probe.

      The documentation for how gcodes behave in RRF is the reprap.org wiki at http://reprap.org/wiki/G-code. Let me know if you think particular parts need to be clarified.

      HTH David

      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
      • Dougal1957undefined
        Dougal1957
        last edited by

        These are my results bit concerned by one reading noticed whilst it was probing that the LED on the IR Board lit but it kept on moving down (did this just once towards the end of the third row)

        David would appreciate it if you could cast you eyes over this and give any advice that you may have.

        RepRapFirmware height map file v1
        xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
        -140.00,140.10,-140.00,140.10,150.00,20.00,15,15
        0,0,0,0,0,-0.123,-0.137,-0.189,-0.191,-0.205,0,0,0,0,0
        0,0,0,-0.051,-0.052,-0.086,-0.113,-0.152,-0.211,-0.237,-0.263,-0.285,0,0,0
        0,0,0.053,0.026,-0.016,-0.051,-0.051,-0.123,-0.175,-0.203,-0.254,-0.264,-3.224,0,0
        0,0.140,0.072,0.038,0.001,-0.061,-0.051,-0.039,-0.174,-0.252,-0.265,-0.235,-0.237,-0.318,0
        0,0.177,0.129,0.086,0.112,-0.089,-0.062,-0.128,-0.148,-0.213,-0.202,-0.202,-0.286,-0.288,0
        0.304,0.226,0.178,0.123,0.124,0.042,-0.087,-0.422,-0.153,-0.212,-0.180,-0.223,-0.213,-0.347,-0.332
        0.308,0.249,0.366,0.125,0.174,0.077,-0.073,0.174,-0.091,-0.128,-0.087,-0.161,-0.172,-0.203,-0.173
        0.360,0.313,0.303,0.186,0.190,0.101,0.004,0.158,-0.071,-0.111,-0.148,-0.190,-0.175,-0.154,-0.225
        0.338,0.299,0.250,0.213,0.173,0.139,0.063,0.162,0.012,-0.074,-0.125,-0.185,-0.161,-0.163,-0.187
        0.400,0.375,0.296,0.274,0.236,0.197,0.110,-0.001,0.026,-0.062,-0.075,-0.124,-0.142,-0.113,-0.115
        0,0.234,0.180,0.214,0.216,0.191,0.127,0.086,0.061,0.005,-0.025,-0.024,-0.071,-0.061,0
        0,0.438,0.389,0.312,0.313,0.236,0.125,0.127,0.102,0.061,0.000,-0.121,-0.050,-0.040,0
        0,0,0.371,0.300,0.264,0.211,0.215,0.237,0.127,0.121,0.102,-0.046,-0.026,0,0
        0,0,0,0.387,0.324,0.339,0.226,0.226,0.150,0.153,0.100,0.049,0,0,0
        0,0,0,0,0,0.302,0.275,0.229,0.175,0.114,0,0,0,0,0

        Looking at the figures it would suggest that the bed is not flat however it is 6mm thick Ecocast Tooling plate with Printbite on it Think I will have to get a straight edge on it and check it?

        Doug

        PS not always repeatable run again I gat the following

        RepRapFirmware height map file v1
        xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
        -140.00,140.10,-140.00,140.10,150.00,20.00,15,15
        0,0,0,0,0,-0.139,-0.188,-0.139,-0.202,-0.224,0,0,0,0,0
        0,0,0,-0.058,-0.066,-0.109,-0.141,-0.129,-0.186,-0.198,-0.191,-0.176,0,0,0
        0,0,0.013,-0.008,-0.053,-0.071,-0.087,-0.113,-0.162,-0.190,-0.199,-0.267,-0.237,0,0
        0,0.124,0.076,0.025,-0.026,-0.054,-0.078,-0.137,-0.127,-0.165,-0.201,-0.189,-0.227,-0.226,0
        0,0.198,0.120,0.047,0.089,-0.074,-0.097,-0.153,-0.188,-0.477,-0.190,-0.199,-0.237,-0.211,0
        0.312,0.229,0.198,0.098,0.097,0.004,-0.089,-0.516,-0.150,-0.209,-0.197,-0.183,-0.216,-0.296,-0.250
        0.287,0.263,0.292,0.100,0.190,0.015,-0.102,-0.039,-0.125,-0.149,-0.137,-0.198,-0.188,-0.220,-0.192
        0.378,0.289,0.328,0.172,0.133,0.078,-0.086,0.134,-0.100,-0.150,-0.176,-0.234,-0.187,-0.199,-0.221
        0.360,0.291,0.260,0.185,0.111,0.108,0.024,0.073,-0.024,-0.116,-0.187,-0.252,-0.201,-0.215,-0.187
        0.447,0.397,0.336,0.276,0.180,0.164,0.073,-0.050,-0.049,-0.109,-0.151,-0.172,-0.211,-0.175,-0.161
        0,0.337,0.289,0.227,0.179,0.127,0.086,0.034,-0.039,-0.060,-0.113,-0.108,-0.171,-0.153,0
        0,0.478,0.397,0.374,0.270,0.141,0.085,0.074,0.037,-0.048,-0.080,-0.187,-0.126,-0.175,0
        0,0,0.373,0.364,0.265,0.161,0.139,0.212,0.040,0.046,-0.008,-0.149,-0.115,0,0
        0,0,0,0.346,0.295,0.273,0.148,0.136,0.084,0.024,-0.055,-0.078,0,0,0
        0,0,0,0,0,0.240,0.178,0.084,0.090,0.004,0,0,0,0,0

        Which to my untrained Eye looks much better Think I may have a wiring Crosstalk Issue to be honest Need to maybe re-wire the Hot End area using Screened Cable?

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

          Doug, I think you may have a bad connection between the IR sensor output and the Duet. I can't think why else the head would continue to move down after the LED has lit. I have a long unshielded cable between the hot end and the Duet too and it doesn't cause me any problems.

          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
          • Dougal1957undefined
            Dougal1957
            last edited by

            Thats what I am starting to think Myself (and with the PT100 as Well) will get some Shielded cable tomorrow and re-do those connections (If I have to re-do them I may as well use Shielded stuff)

            Doug

            1 Reply Last reply Reply Quote 0
            • Adamfilipundefined
              Adamfilip
              last edited by

              So Do I still need to run G32? after or before G29
              or

              Just a G29
              then A G28 to home then print?

              1 Reply Last reply Reply Quote 0
              • Adamfilipundefined
                Adamfilip
                last edited by

                Does the grid fade after a certain Z height or is it maintained all the way up?
                How can you tell if the Grid compensation is active?

                1 Reply Last reply Reply Quote 0
                • Adamfilipundefined
                  Adamfilip
                  last edited by

                  Here is my first grid result. had a error near the end when it probed on top of a clip holding down the glass

                  RepRapFirmware height map file v1 generated at 0116-10-27 16:15
                  xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
                  20.00,280.00,20.00,280.00,-1.00,28.00,10,10
                  0.002,0.080,0.121,0.163,0.171,0.142,0.100,-0.004,-0.135,-0.278
                  0.026,0.113,0.197,0.275,0.271,0.262,0.221,0.118,0.019,-0.161
                  0.039,0.141,0.225,0.283,0.314,0.280,0.257,0.180,0.103,-0.061
                  0.019,0.165,0.236,0.257,0.284,0.306,0.275,0.216,0.114,-0.016
                  0.019,0.139,0.220,0.277,0.295,0.296,0.276,0.235,0.134,0.001
                  -0.019,0.081,0.179,0.224,0.264,0.261,0.279,0.216,0.141,0.016
                  -0.095,0.031,0.105,0.179,0.223,0.243,0.216,0.194,0.120,0.015
                  -0.214,-0.039,0.027,0.098,0.173,0.197,0.183,0.119,0.065,-0.010
                  -0.279,-0.178,-0.094,0.027,0.070,0.134,0.125,0.046,0.005,-0.104
                  -0.395,-0.299,-0.212,-0.136,-0.054,-0.034,-1.277,-1.320,-1.651,-1.608

                  1 Reply Last reply Reply Quote 0
                  • Adamfilipundefined
                    Adamfilip
                    last edited by

                    You mentioned that you cant load a grid yet.
                    so if i restart the Duet Wifi G29 S1 wont load current csv?
                    G29 will just recreate a new mesh for now.

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

                      @Adamfilip:

                      You mentioned that you cant load a grid yet.
                      so if i restart the Duet Wifi G29 S1 wont load current csv?
                      G29 will just recreate a new mesh for now.

                      That's correct. I should get time to implement loading the height map from file later this week.

                      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
                      • jmjcoke2undefined
                        jmjcoke2
                        last edited by

                        Works like a charm, had to change dive height to 5mm.

                        1 Reply Last reply Reply Quote 0
                        • Adamfilipundefined
                          Adamfilip
                          last edited by

                          Where do you change this?

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

                            @Adamfilip:

                            Where do you change this?

                            If you mean the dive height, see http://reprap.org/wiki/G-code#M558:_Set_Z_probe_type.

                            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
                            • ronnien59undefined
                              ronnien59
                              last edited by

                              I am trying to run the grid bed compensation, however when i run the G29 I get:

                              7:10:20 PM G29 Error: No valid grid defined for G29 bed probing
                              7:04:32 PM G29 Error: No valid grid defined for G29 bed probing

                              I have placed M557 X10:250 Y40:260 S40 in my config.g.
                              Would like to get this working but do not know enough about it

                              1 Reply Last reply Reply Quote 0
                              • ronnien59undefined
                                ronnien59
                                last edited by

                                @ronnien59:

                                I am trying to run the grid bed compensation, however when i run the G29 I get:

                                7:10:20 PM G29 Error: No valid grid defined for G29 bed probing
                                7:04:32 PM G29 Error: No valid grid defined for G29 bed probing

                                I have placed M557 X10:250 Y40:260 S40 in my config.g.
                                Would like to get this working but do not know enough about it

                                I was able to run it but had to use the PanelDue to run it it would not run over the wifi??

                                1 Reply Last reply Reply Quote 0
                                • Adamfilipundefined
                                  Adamfilip
                                  last edited by

                                  I had no issue running over wifi

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

                                    @ronnien59:

                                    @ronnien59:

                                    I am trying to run the grid bed compensation, however when i run the G29 I get:

                                    7:10:20 PM G29 Error: No valid grid defined for G29 bed probing
                                    7:04:32 PM G29 Error: No valid grid defined for G29 bed probing

                                    I have placed M557 X10:250 Y40:260 S40 in my config.g.
                                    Would like to get this working but do not know enough about it

                                    I was able to run it but had to use the PanelDue to run it it would not run over the wifi??

                                    Perhaps you didn't restart the Duet after editing config.g?

                                    You can run M557 with no parameters to check that the grid is defined.

                                    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
                                    • ronnien59undefined
                                      ronnien59
                                      last edited by

                                      @dc42:

                                      @ronnien59:

                                      @ronnien59:

                                      I am trying to run the grid bed compensation, however when i run the G29 I get:

                                      7:10:20 PM G29 Error: No valid grid defined for G29 bed probing
                                      7:04:32 PM G29 Error: No valid grid defined for G29 bed probing

                                      I have placed M557 X10:250 Y40:260 S40 in my config.g.
                                      Would like to get this working but do not know enough about it

                                      I was able to run it but had to use the PanelDue to run it it would not run over the wifi??

                                      Perhaps you didn't restart the Duet after editing config.g?

                                      You can run M557 with no parameters to check that the grid is defined.

                                      That must have been it. I thought I had restarted. running fine this morning.

                                      1 Reply Last reply Reply Quote 0
                                      • chriscainundefined
                                        chriscain
                                        last edited by

                                        Erm!!!

                                        Bed probe has been working great with grid of S40 and S20,
                                        Though I would try a "high res" probe to see how flat the bed was rather than just how level
                                        so tried a S15 grid which at 100 points maxes the grid on my duet 0.6
                                        an got..
                                        RepRapFirmware height map file v1 generated at 0116-10-30 12:17
                                        xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
                                        40.00,180.00,30.00,170.00,-1.00,15.00,10,10
                                        0.017,0.103,0.102,0.094,0.089,0.092,0.129,0.105,0.100,0.112
                                        0.025,0.116,0.067,0.094,0.125,0.118,0.020,0.086,0.049,0.064
                                        0.084,0.119,0.149,0.122,0.123,0.112,0.087,0.052,0.059,0.129
                                        0.061,0.081,0.111,0.091,0.147,0.123,0.101,0.082,0.052,0.092
                                        0.156,0.143,0.127,-0.016,0.100,0.094,0.056,0.081,0.059,0.038
                                        0.201,0.144,0.116,0.030,0.062,-0.057,0.008,-0.012,0.029,0.035
                                        0.200,0.139,-0.027,0.060,0.057,-0.079,-0.069,-0.030,-0.026,0.001
                                        0.185,0.103,-0.002,0.223,0.030,0.028,0.010,-0.002,-0.021,-0.005
                                        0.116,0.126,0.135,0.086,0.082,-0.036,-0.295,-0.069,-0.100,-0.049
                                        -2.146,0.014,0.117,54548584975029841690624.000,-54548584975029841690624.000,54574818442859274829824.000,2572610785247232.000,2155874671919104.000,12844309018214137856.000,-0.126

                                        Something rather stage happened at the end 🙂
                                        This is reproducable, a second run gave
                                        RepRapFirmware height map file v1 generated at 0116-10-30 12:26
                                        xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
                                        40.00,180.00,30.00,170.00,-1.00,15.00,10,10
                                        0.005,0.088,0.093,0.082,0.086,0.084,0.114,0.098,0.087,0.089
                                        0.014,0.095,0.046,0.086,0.116,0.095,0.001,0.082,0.031,0.042
                                        0.064,0.105,0.133,0.114,0.112,0.093,0.080,0.031,0.051,0.122
                                        0.057,0.077,0.094,0.086,0.132,0.116,0.088,0.064,0.035,0.085
                                        0.140,0.137,0.120,-0.040,0.087,0.086,0.047,0.076,0.055,0.026
                                        0.198,0.136,0.113,0.024,0.059,-0.053,-0.004,-0.017,0.024,0.022
                                        0.192,0.133,-0.047,0.039,0.044,-0.099,-0.082,-0.038,-0.037,-0.002
                                        0.164,0.088,-0.017,0.210,0.014,0.016,-0.004,-0.020,-0.039,-0.014
                                        0.096,0.117,0.126,0.081,0.060,-0.051,-0.321,-0.093,-0.114,-0.047
                                        0.047,0.023,0.097,54548584975029841690624.000,-54548584975029841690624.000,54574818442859274829824.000,2572610785247232.000,2155874671919104.000,12844309018214137856.000,-0.146

                                        Reducing the grid slightly to 9x9 works as expected
                                        RepRapFirmware height map file v1 generated at 0116-10-30 12:34
                                        xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
                                        40.00,180.00,30.00,170.00,-1.00,16.00,9,9
                                        0.013,0.065,0.107,0.113,0.109,0.133,0.147,0.118,0.113
                                        0.077,0.058,0.083,0.092,-0.157,0.064,-0.177,0.131,0.131
                                        0.122,0.163,0.134,0.129,0.096,0.237,0.030,0.086,0.107
                                        0.032,0.005,0.052,0.015,0.090,0.085,0.015,0.141,0.071
                                        0.144,0.070,0.013,-0.023,0.116,-0.003,0.020,0.003,-0.013
                                        0.123,0.077,0.119,0.086,0.061,0.041,0.044,0.055,-0.003
                                        0.085,0.115,0.112,0.054,-0.171,-0.390,0.057,0.007,-0.015
                                        0.106,0.155,0.076,0.085,0.057,0.022,-0.007,-0.053,-0.015
                                        0.135,0.130,0.071,0.080,0.065,0.032,-0.039,-0.054,-0.043

                                        Looks like the memory block for the 10x10 grid might be a tad too small and the end is getting overwritten ?

                                        Chris

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

                                          Chris, is that on a Duet WiFi or a wired Duet? Please run M122 and report the "Never used memory".

                                          The date looks odd too.

                                          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
                                          • chriscainundefined
                                            chriscain
                                            last edited by

                                            Its on a wired duet 0.6

                                            Date is as it was in the heightmap file, just a cut and paste.

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