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

    not able to get a good first layer using 3PL and bed mesh

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    7
    70
    3.2k
    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.
    • moth4017undefined
      moth4017 @gloomyandy
      last edited by moth4017

      @gloomyandy
      bed size 304 x 304
      did a 3PL and i watch and recorded the z heights as it triggered
      Fl 10.06 x2 y2
      FR 10.06 x 304 y 2
      RC 10.07 x150 y277 ( its 277 not 304 as that the closest i can get the sensor to it)

      i then set the nozzel to the same coordinates and measured the distance nozzel to bed with fealer gauges
      g1 x2 y2 z0 >0.7 <0.8
      g1 x304 y2 z0 <0.0 in to the bed
      g1 x150 y277 z0 > 0.1mm <0.15

      just to check there is no offset with the difference in the 10mm off set im going to set z to 10mm and remeasure

      FL 10.06
      FR 9.81
      RC 10.06

      <

      1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017
        last edited by moth4017

        @gloomyandy

        i think this has fixed the issue but nut sure why, this is the only file i changed .

        before

        ; homeall.g
        echo "Home All.g "
        
        M98 P"/sys/homey.g"  		;P define the parameter and is not part of the name
        M98 P"/sys/homex.g"  		;P define the parameter and is not part of the name
        
        M98 P"/macros/ProbePickUp"	; probe pick up
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			 ;3 point leveling
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			 ;3 point leveling
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			 ;3 point leveling
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        
        M98 P"/macros/ProbeDropOff"	; probe drop off
        

        after, added the M561 and G29 s2, also removed the home z inbetween the 3PL

        ; homeall.g
        echo "Home All.g "
        M561						;clear bed transforms
        G29 S2						;delete bed mesh
        M98 P"/sys/homey.g"  		;P define the parameter and is not part of the name
        M98 P"/sys/homex.g"  		;P define the parameter and is not part of the name
        
        M98 P"/macros/ProbePickUp"	; probe pick up
        
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        
        ;M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        
        ;M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        
        ;M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        ;M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        
        ;M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name		
        M98 P"/macros/3PL"			; 3 point leveling;M98 P"/macros/3PL"			; 3 point leveling
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        
        M98 P"/macros/ProbeDropOff"	; probe drop offcode_text
        

        so after some test prints at 300 mm x 300mm its is much better i can still detect a difference of 0.18mm after the 3 point leveling.
        doing a g29 mesh does not improve the first layer at all
        1c00f943-e7ed-4969-a526-4926efc1ce45-image.png

        <

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

          It would help visualize the mesh accurately I think if you used a mesh with a 3x3 grid and used the center point for the same point you set Z0 with a G30. You'll get a truer sense of the actual bed.

          Z-Bot CoreXY Build | Thingiverse Profile

          moth4017undefined 1 Reply Last reply Reply Quote 0
          • moth4017undefined
            moth4017 @Phaedrux
            last edited by

            @Phaedrux 9 point
            2b87376f-7e83-43a8-9d7c-9083bd399248-image.png

            <

            moth4017undefined 1 Reply Last reply Reply Quote 0
            • moth4017undefined
              moth4017 @moth4017
              last edited by

              @Phaedrux 25 point
              8780a5f0-e10c-4c1f-be9c-b59b83c39161-image.png

              <

              1 Reply Last reply Reply Quote 0
              • o_lampeundefined
                o_lampe @moth4017
                last edited by

                @moth4017 said in not able to get a good first layer using 3PL and bed mesh:

                i can still detect a difference of 0.18mm after the 3 point leveling.

                Have you set your leadscrew positions correct? If no leadscrews, then use the pivot points of the bed instead. All the 3PL probing can only work with correct pivot point coordinates

                moth4017undefined 1 Reply Last reply Reply Quote 0
                • moth4017undefined
                  moth4017 @o_lampe
                  last edited by

                  @o_lampe ball joints
                  M671 X-10:320:155 Y-10:-10:320 S35

                  G30 P0 X27 Y27 Z-99999 ; probe near a leadscrew
                  G30 P1 X283 Y27 Z-99999 ; probe near a leadscrew
                  G30 P2 X155 Y283 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors

                  ;Mesh
                  M557 X27:283 Y27:283 S256

                  <

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

                    Looks a bit like a saddle shape as you'd see when the X axis sags slightly. There would also be a little left to right tilt along with that.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    moth4017undefined 1 Reply Last reply Reply Quote 0
                    • moth4017undefined
                      moth4017 @Phaedrux
                      last edited by moth4017

                      @Phaedrux
                      so i carnt work out my my nozel height from the bed is so far off ,
                      drawing below the inner 4 points is where i probe for Mesh the other middle point at the back of the bed used for 3PL.
                      The outer three points are the pivot points Z ( bottom = Front, Top = back of bed)

                      e3172663-bfbe-4f73-9ae0-86db0e4e0ca5-image.png

                      probe repeatability test just to make sure its ok.

                      bed probe heights: 0.027 0.027 0.027 0.025 0.025 0.025 0.025 0.024 0.024 0.024, mean 0.025, deviation from mean 0.001

                      G30 P0 X27 Y27 Z-99999 ; probe near a leadscrew
                      G30 P1 X283 Y27 Z-99999 ; probe near a leadscrew
                      G30 P2 X155 Y283 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors

                      3PL
                      12/17/2022, 10:20:58 AM Leadscrew adjustments made: -0.004 -0.003 -0.002, points used 3, (mean, deviation) before (-0.003, 0.001) after (0.000, 0.000)

                      home Z.g
                      12/17/2022, 10:20:28 AM Leadscrew adjustments made: 0.002 0.008 -0.002, points used 3, (mean, deviation) before (0.003, 0.003) after (0.000, 0.000)
                      3PL

                      12/17/2022, 10:19:58 AM Leadscrew adjustments made: 0.090 0.091 -0.004, points used 3, (mean, deviation) before (0.055, 0.035) after (-0.000, 0.000)
                      3PL

                      12/17/2022, 10:19:27 AM Leadscrew adjustments made: 0.481 -0.045 -0.147, points used 3, (mean, deviation) before (0.083, 0.214) after (0.000, 0.000)
                      3PL

                      measuring the nozel tip to the bed at the front locations

                      g1 x304 y27 z1 F15000 gap from nozel to bed 0.85mm
                      g1 x27 y27 z1 F15000 gap from nozel to bed 1.20.mm

                      Putting a 1mm shim between the y carrier and mgn block left side ( effect of lowering the left side of the x axis) just to see if it has an effect

                      g1 x304 y27 z1 F15000 gap from nozel to bed 0.95mm
                      g1 x27 y27 z1 F15000 gap from nozel to bed 0.65.mm

                      i dont get why the difference is around 0.4mm

                      i created a macro to probe the 3pl points to check if there is any discrepancy

                      ; Test repeatability at 3PL bed locations
                      M291 P"Probe will be tested 12 times and return mean and standard deviation. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
                      M98 P"/macros/ProbePickUp"
                      G30 P0 X27 Y27 Z-9999
                      G30 P1 X283 Y27 Z-9999
                      G30 P2 X155 Y283 Z-9999
                      G30 P3 X27 Y27 Z-9999
                      G30 P4 X283 Y27 Z-9999
                      G30 P5 X155 Y283 Z-9999
                      G30 P6 X27 Y27 Z-9999
                      G30 P7 X283 Y27 Z-9999
                      G30 P8 X155 Y283 Z-9999
                      G30 P9 X27 Y27 Z-9999
                      G30 P10 X283 Y27 Z-9999
                      G30 P11 X155 Y283 Z-9999 S-1
                      M98 P"/macros/ProbeDropOff"
                      M402

                      result

                      G32 bed probe heights: 0.116 0.063 0.092 0.097 0.091 0.095 0.097 0.098 0.095 0.098 0.095 0.096, mean 0.095, deviation from mean 0.011
                      ProbeDropOff

                      <

                      gloomyandyundefined 2 Replies Last reply Reply Quote 0
                      • gloomyandyundefined
                        gloomyandy @moth4017
                        last edited by

                        @moth4017 That looks like repeated running of your 3PL script is resulting in an increase in the correction each time. That usually indicates that the motor order for the Z axis does not match the order you have specified in M671 (see: https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_auto_levelling) if you run 3PL multiple times you should see the values converge. The other potential issue is that I think you mentioned earlier that you removed the call to home z from your 3PL macro. That is probably not a good idea. when you use the 3PL your Z=0 point will almost certainly no longer be correct, so you should really reprobe the bed after each iteration.

                        Other than that I have no idea what is going on with your setup. Sorry.

                        moth4017undefined 1 Reply Last reply Reply Quote 0
                        • moth4017undefined
                          moth4017 @gloomyandy
                          last edited by

                          @gloomyandy

                          the values are reducing oldest value at the bottom, here is the results with the values the other way around, newest at the top

                          12/19/2022, 9:53:55 AM ProbeDropOff
                          12/19/2022, 9:53:45 AM Leadscrew adjustments made: 0.000 0.000 0.000, points used 3, (mean, deviation) before (0.000, 0.000) after (0.000, 0.000)
                          3PL finished
                          home Z.g
                          12/19/2022, 9:53:12 AM Leadscrew adjustments made: -0.003 -0.011 -0.003, points used 3, (mean, deviation) before (-0.005, 0.003) after (-0.000, 0.000)
                          3PL finished
                          3PL
                          12/19/2022, 9:52:48 AM Leadscrew adjustments made: -0.013 0.012 0.004, points used 3, (mean, deviation) before (0.001, 0.008) after (-0.000, 0.000)
                          3PL finished
                          3PL
                          12/19/2022, 9:52:17 AM Leadscrew adjustments made: 0.491 0.261 -0.565, points used 3, (mean, deviation) before (0.027, 0.352) after (0.000, 0.000)
                          3PL finished
                          3PL

                          <

                          gloomyandyundefined 1 Reply Last reply Reply Quote 0
                          • gloomyandyundefined
                            gloomyandy @moth4017
                            last edited by

                            @moth4017 Ok, well so long as they converge, but I still think you should be resetting Z=0 after using 3PL. Other than that sorry no idea....

                            moth4017undefined 1 Reply Last reply Reply Quote 0
                            • moth4017undefined
                              moth4017 @gloomyandy
                              last edited by

                              @gloomyandy
                              Thanks il add back in the Z=0 after each 3PL to see if it makes a difference,

                              <

                              1 Reply Last reply Reply Quote 0
                              • moth4017undefined
                                moth4017
                                last edited by

                                with the z=0 in between the 3PL i have a 0.3mm differenced between left and right side

                                <

                                1 Reply Last reply Reply Quote 0
                                • moth4017undefined
                                  moth4017
                                  last edited by moth4017

                                  no matter what probe i use or method of checking the gap of the nozzle to the bed i seem to get around the same offset 0.3 to 0.4mm left side of the bed always further from the nozzle than the right .

                                  if the 3 probed points on 3PL always come out around these figures 0.002 0.008 -0.002, im not sure why the nozzle is then 0.35 mm ish off the probe values.

                                  yet if i do a probe test om the front and left corners i get these results

                                  M98 P"0:/macros/probe test front left"
                                  G32 bed probe heights: 0.144 0.141 0.141 0.141 0.141 0.144 0.147 0.147 0.147 0.147, mean 0.144, deviation from mean 0.003

                                  M98 P"0:/macros/probe test front right"
                                  G32 bed probe heights: 0.163 0.166 0.166 0.166 0.166 0.166 0.166 0.166 0.166 0.166, mean 0.165, deviation from mean 0.001

                                  it would suggest that when i move the nozzle to the same points the levels have changed .

                                  Open to any ideas or way to test this to find the offset

                                  i have done a 3PL with the z sensor , replaced the z sensor with a dial gauge sweeped the bed from left to right max error 0.055

                                  <

                                  gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                  • gloomyandyundefined
                                    gloomyandy @moth4017
                                    last edited by

                                    @moth4017 Do you see the same nozzle height of 0.3 all the way along the left side of the bed or does it change? TRy measuring the nozzle height at several points along the left edge front to back.

                                    What point are you probing when you get a "front left" result of 0.141 and "front right" result of 0.166? Why are these readings different to the results you are getting from the front points in your 3PL probes? If you position the probe at the same point as used for your 3PL operation what readings do you get there?

                                    moth4017undefined 1 Reply Last reply Reply Quote 0
                                    • moth4017undefined
                                      moth4017 @gloomyandy
                                      last edited by

                                      @gloomyandy
                                      so the front of the bed is supported at each corner and the back is supported in the middle. (i have 3 z axis)

                                      so the main error im concerned about is at the front as these 2 points should be the same height to keep the bed level.

                                      im always probing and measuring at the same points (see drawing above) , so the left front point always seem to be around 0.3mm further away from the nozzle then the front right point after a 3PL.

                                      i even took apart the x axis today just to make sure nothing was loose/broken/cracked etc at least i got to re-greese the x mgn.

                                      did another test same error, so now i have re-trammed y rails rebuilt x axis , ive also removed the belts on the z axis to make sure there is no debris around the bottom pulley's . as you can see im clutching at straws , i know its going to be something simple at the end of this so lucking forward to kicking myself in the future 😣

                                      <

                                      o_lampeundefined 1 Reply Last reply Reply Quote 0
                                      • o_lampeundefined
                                        o_lampe @moth4017
                                        last edited by

                                        @moth4017
                                        Did you mention, what type of z-probe sensor you're using? If it's an inductive or capacitive sensor, all sorts of issues can occur.

                                        moth4017undefined 1 Reply Last reply Reply Quote 0
                                        • moth4017undefined
                                          moth4017 @o_lampe
                                          last edited by

                                          @o_lampe I'm using a micro switch which is picked up and dropped off,

                                          <

                                          1 Reply Last reply Reply Quote 0
                                          • gloomyandyundefined
                                            gloomyandy @moth4017
                                            last edited by

                                            @moth4017 said in not able to get a good first layer using 3PL and bed mesh:

                                            M291 P"Probe will be tested 12 times and return mean and standard deviation. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
                                            M98 P"/macros/ProbePickUp"
                                            G30 P0 X27 Y27 Z-9999
                                            G30 P1 X283 Y27 Z-9999
                                            G30 P2 X155 Y283 Z-9999
                                            G30 P3 X27 Y27 Z-9999
                                            G30 P4 X283 Y27 Z-9999
                                            G30 P5 X155 Y283 Z-9999
                                            G30 P6 X27 Y27 Z-9999
                                            G30 P7 X283 Y27 Z-9999
                                            G30 P8 X155 Y283 Z-9999
                                            G30 P9 X27 Y27 Z-9999
                                            G30 P10 X283 Y27 Z-9999
                                            G30 P11 X155 Y283 Z-9999 S-1
                                            M98 P"/macros/ProbeDropOff"
                                            M402
                                            result
                                            G32 bed probe heights: 0.116 0.063 0.092 0.097 0.091 0.095 0.097 0.098 0.095 0.098 0.095 0.096, mean 0.095, deviation from mean 0.011

                                            These results seem to indicate that there is something odd happening with the first 2 probes compared to the later ones at the same point. This may indicate some sort of backlash problem or perhaps there is still something pulling on the printhead and causing some (small movement) perhaps only when the head is moved in a certain way. The other possibility is that the probe is not fully in place after being picked up and is moving slightly during the probing process. What happens if after probing three points you return to the point you use for the probe pickup/dropoff and then repeat the three probes again? Do you get the same readings or do they change like they are doing above?

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