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

    G29 / 3 point bed compensation - always tilted slightly

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    6
    26
    1.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.
    • Martin1454undefined
      Martin1454 @Veti
      last edited by

      @Veti
      This is the complete config.g

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 12 2020 17:14:31 GMT+0200 (Centraleuropæisk sommertid)
      
      ; General preferences
      G90                                          ; send absolute coordinates...
      M83                                          ; ...but relative extruder moves
      M550 P"Duet 3"                               ; set printer name
      M669 K1                                      ; select CoreXY mode
      
      ; Drives
      M569 P0.1 S1                                 ; physical drive 0.1 goes forwards
      M569 P0.2 S1                                 ; physical drive 0.2 goes forwards
      M569 P0.3 S0                                 ; physical drive 0.3 goes forwards
      M569 P0.4 S0                                 ; physical drive 0.4 goes forwards
      M569 P0.5 S0                                 ; physical drive 0.5 goes forwards
      M569 P0.0 S0                                 ; physical drive 0.0 goes forwards
      M584 X0.2 Y0.1 Z0.4:0.3:0.5 E0.0             ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                      ; configure microstepping with interpolation
      M92 X200 Y200 Z800.00 E415.00           	 ; set steps per mm
      M566 X1500.00 Y1500.00 Z12.00 E120.00        ; set maximum instantaneous speed changes (mm/min)
      M203 X8400.00 Y8400.00 Z4000.00 E1200.00      ; set maximum speeds (mm/min)
      M201 X800.00 Y500.00 Z200.00 E250.00          ; set accelerations (mm/s^2)
      M906 X1200 Y1200 Z800 E800 I40                 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                      ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                             ; set axis minima
      M208 X300 Y250 Z480 S0                       ; set axis maxima
      
      ; Endstops
      
      M574 X1 S3                                                          ; Set endstops controlled by motor load detection
      M574 Y1 S3                                                          ; Set endstops controlled by motor load detection
      M574 Z0 															; Set endstop Z to be probe
      M915 X Y H200 S1 R0 F0						 						; set X and Y to sensitivity , do nothing when stall, unfiltered
      
      ; Z-Probe
      
      M558 P9 C"^io7.in" H5 F100 T6000             ; set Z probe type to bltouch and the dive height + speeds
      M950 S0 C"io7.out"                           ; create servo pin 7 for BLTouch
      G31 P500 X30 Y70 Z1.48                          ; set Z probe trigger value, offset and trigger height
      M557 X40:300 Y80:195 S30                     ; define mesh grid
      
      ; Define the X and Y coordinates of the leadscrews.
      ; Must come after M584 (Set drive mapping), M667 (Select CoreXY Mode) and M669 (Choosing Kinematics type)
      ; Motor order: Front right (1), front left (2), rear center (3).
      ; Snn Maximum correction in mm to apply to each leadscrew (optional, default 1.0)
      M671 X-55:360:360.0 Y170:40:310 S20 P2
      
      ; Heaters
      M308 S0 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                           ; create bed heater output on out0 and map it to sensor 0
      M140 H0                                      ; map heated bed to heater 0
      M143 H0 S120                                 ; set temperature limit for heater 0 to 120C
      
      M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp2
      M950 H1 C"out1" T1                           ; create nozzle heater output on out1 and map it to sensor 1
      
      
      ; Fans
      M950 F1 C"out7" Q500 L127 C"Heat sink"             ; create fan 1 on pin out7 and set its frequency
      M106 P1 H1 T45                             ; set fan 1 value. Thermostatic control is turned on
      
      M950 F0 C"out4" Q500                         ; create fan 0 on pin out4 and set its frequency
      M106 P0 H-1 C"Part cooler"            ; set fan 0 value. Thermostatic control is turned off
      
      ; Tools
      M563 P0 D0 H1 F0                             ; define tool 0
      G10 P0 X0 Y0 Z0                              ; set tool 0 axis offsets
      G10 P0 R0 S0                                 ; set initial tool 0 active and standby temperatures to 0C
      
      ; Custom settings are not defined
      
      ; Miscellaneous
      T0                                           ; select first tool
      
      M501;											Read config override
      
      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

        M574 Z0 ; Set endstop Z to be probe

        thats not the command for Set endstop Z to be probe
        this is
        M574 Z1 S2 ; configure Z-probe endstop for low end on Z

        M308 S0 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
        M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp2

        Your thermistor is configured incorrectly. Find the correct Beta value in your thermistor documentation.

        M906 X1200 Y1200 Z800 E800 I40 ; set motor currents (mA) and motor idle factor in per cent

        are these correct? what stepper motors do you have?

        Martin1454undefined 1 Reply Last reply Reply Quote 0
        • Martin1454undefined
          Martin1454 @Veti
          last edited by Martin1454

          @Veti said in G29 / 3 point bed compensation - always tilted slightly:

          @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

          M574 Z0 ; Set endstop Z to be probe

          thats not the command for Set endstop Z to be probe
          this is
          M574 Z1 S2 ; configure Z-probe endstop for low end on Z

          M308 S0 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
          M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp2

          Your thermistor is configured incorrectly. Find the correct Beta value in your thermistor documentation.

          M906 X1200 Y1200 Z800 E800 I40 ; set motor currents (mA) and motor idle factor in per cent

          are these correct? what stepper motors do you have?

          The motors are all E3D high torque motors rated at 1.6A, except the extruder which is a small pancake stepper - current seems okay on it - Will look into the thermistors and change it from M574 Z0 to Z1 S2

          EDIT: I got the Z0 from the Gcode page
          "The S2 option of M574 is intended for use only when axes other than Z are using the Z probe for homing. The only printers known that do this using Duet electronics are the RepRapPro Ormerod, Huxley Duo, and Mendel Tricolour machines. When using the Z probe to home Z, M574 Z0 should be used."

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

            so you are running your z steppers with not enought current

            set the current to 1200

            Martin1454undefined 1 Reply Last reply Reply Quote 0
            • Martin1454undefined
              Martin1454 @Veti
              last edited by

              @Veti
              Increased the current to 1200 - still gets the large offset
              29f9ea73-b4b9-4f75-8ffb-fd8a10257be3-image.png

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

                that make zero sense.

                G28 Z should establish Z=0 using G30.

                G29 getting a different offset would mean that the trigger point is different.

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

                  @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                  G1 X30 Y80 F6000 ; G30 ;

                  @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                  G1 X160 Y170 F6000 ; G30

                  Your homeall and homez place the probe at different locations. Make them the same.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Martin1454undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • Martin1454undefined
                    Martin1454 @Phaedrux
                    last edited by

                    @Phaedrux Hmm....

                    That got me thinking - I Use the X30 Y80 because that places the probe not that far from my first lead screw and that saves time since it doesnt have to move when it starts the 3 point leveling - But! since it is not level when it does the first zeroring of Z, will placeing it off center, make the axis it rotates about not centered also? Or since its a plane, it doesnt matter?

                    But I'll change it when I get home

                    1 Reply Last reply Reply Quote 0
                    • sinned6915undefined
                      sinned6915
                      last edited by

                      Are you certain that you dont have a dropped corner on one of your axis?

                      Martin1454undefined 1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User
                        last edited by A Former User

                        You also need to remember there is a huge difference between a surface being level and it being flat...

                        if it ispossible to use a digital inclinometer you can check the level, first zero the inclinometer to the surface the printer sits on (firstly on the X axis) then carry out 3 point leveling and check how level it is, then zero the inclinometer on the surface on the Y axis orientation and carry out the same 3 point leveling and see what it says. and you will have your answer, which i think might be that your bed it level but not completely flat.

                        you can also check that your rails are level too.

                        Martin1454undefined 1 Reply Last reply Reply Quote 0
                        • Martin1454undefined
                          Martin1454 @sinned6915
                          last edited by

                          @sinned6915 said in G29 / 3 point bed compensation - always tilted slightly:

                          Are you certain that you dont have a dropped corner on one of your axis?

                          Im pretty sure non of the corners is dropped - But even if one corner is lower, shouldent the whole system stay "parallel"?

                          Im wondering if the M561 in my HomeZ.g have anything with the offset to do?

                          sinned6915undefined 1 Reply Last reply Reply Quote 0
                          • Martin1454undefined
                            Martin1454 @A Former User
                            last edited by

                            @CaLviNx I dont have one of those tools (yet) but the surface of the bed is a cast aluminium plate that is bought with a really flat surface, so Im suprised if its not flat. As I see it in the first picture, it looks like a flat planar that is just tilted, and not bend.

                            I'm gonna get the offset working again, and then I'll try to place a bit around with the Z-leadscrews placement and see the impact on the leveling.

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

                              @Phaedrux said in G29 / 3 point bed compensation - always tilted slightly:

                              @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                              G1 X30 Y80 F6000 ; G30 ;

                              @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                              G1 X160 Y170 F6000 ; G30

                              Your homeall and homez place the probe at different locations. Make them the same.

                              Did this make any difference?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Martin1454undefined 1 Reply Last reply Reply Quote 0
                              • Martin1454undefined
                                Martin1454 @Phaedrux
                                last edited by

                                @Phaedrux said in G29 / 3 point bed compensation - always tilted slightly:

                                @Phaedrux said in G29 / 3 point bed compensation - always tilted slightly:

                                @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                                G1 X30 Y80 F6000 ; G30 ;

                                @Martin1454 said in G29 / 3 point bed compensation - always tilted slightly:

                                G1 X160 Y170 F6000 ; G30

                                Your homeall and homez place the probe at different locations. Make them the same.

                                Did this make any difference?

                                No not really

                                1 Reply Last reply Reply Quote 0
                                • Garfieldundefined
                                  Garfield
                                  last edited by Garfield

                                  Unless you spent a lot of money the tolerance for flatness and parallelism in cast aluminium tool plate can vary significantly, many suppliers don't list their tolerances other than the cut dimension. Even in cast plates with a milled finish some twist or unevenness can't be excluded, you also cannot assume that the two faces of the plate are parallel, it also isn't clear how you have mounted / constrained the plate, an over constrained plate can twist and bow as it expands when heated.

                                  I don't understand your commands either - Z screws aren't calibrated with G28 ???

                                  3 Axis Levelling

                                  Either way a Z screw can only adjust if it is free to do so, if it is over constrained you will be over stressing the plate and probably twisting it to some degree depending on your mounting method - don't underestimate the strength of steppers with lead screws. If your mount to the bed is rigid there are limits to how much a z axis can help overcome errors, they may even introduce some.

                                  You need to make sure it is as close to mechanically level as possible in relation to the X and Y axis before trying to take out any error with the Z screws. You then need to ensure that when you do calibrate Z using the steppers that you don't cause binding on the lead screws for one or more steppers.

                                  Mark Rehorst Bed Mounting

                                  1 Reply Last reply Reply Quote 0
                                  • sinned6915undefined
                                    sinned6915 @Martin1454
                                    last edited by

                                    @Martin1454 said in

                                    Im pretty sure non of the corners is dropped - But even if one corner is lower, shouldent the whole system stay "parallel"?

                                    Im wondering if the M561 in my HomeZ.g have anything with the offset to do?

                                    I don't believe so.

                                    Level is the average of the 3 points that you are probing.

                                    Flatness is what mesh bed leveling is trying to improve.

                                    If your motion system is not parallel to the level plane, then nothing you can do to fix it. Imagine if you have sag in your gantry, you will have a hollow that the controller will try to fox by filling it in wich makes the problem worse.

                                    Not knowing your machine or machanics, I am imagining rods with holders, try loosening and then retightneing the rod holders, or if you can, loosen and them shim them 'down' with a shim of known thickness just to see what the effect is. Even the thickness of a piece of paper will show you clear results.

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