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

    help with g32 and bed leveling

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    3
    5
    279
    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.
    • Javajoeukundefined
      Javajoeuk
      last edited by

      Hi everyone, I have 3 z axis (Front left, centre rear, front right) setup with independent levelling and a BL touch setup on the tool board which is all working OK. The problem is when it does the compensation for the auto bed levelling I can see that it's not adjusting in correctly, it's putting it too close to the hot end. It's probably something I've not setup correctly, so any help would be great.
      Thanks

      config.g

      ; Configuration file for Duet 3 (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Sat Jan 22 2022 15:15:22 GMT+0000 (Greenwich Mean Time)
      
      ; General preferences
      G90                                                  ; send absolute coordinates...
      M83                                                  ; ...but relative extruder moves
      M550 P"Duet 3"                                       ; set printer name
      M669 K1                                              ; select CoreXY mode
      G4 S2                                                ;wait for expansion boards to start
      
      ; Drives
      M569 P0.0 S1                                         ; physical drive 0.0 goes forwards
      M569 P0.2 S1                                         ; physical drive 0.2 goes forwards
      M569 P0.3 S1                                         ; physical drive 0.3 goes forwards z
      M569 P0.4 S1                                         ; physical drive 0.4 goes forwards z 
      M569 P0.5 S1                                         ; physical drive 0.5 goes forwards z
      M569 P121.0 S1                                       ; physical drive 121.0 goes forwards
      M584 X0.0 Y0.2 Z0.3:4:5 E121.0                       ; set drive mapping
      M671 X-23.188:193.021:409.23 Y-20.717:387.493:-20.717 S50
      M350 X16 Y16 Z16 U16 V16 E16 I1                              ; configure microstepping with interpolation
      M92 X160.00 Y160.00 Z800.00 E415.00                  ; set steps per mm
      M566 X1200.00 Y1200.00 Z30.00 E1800.00               ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z1800.00 E3000.00           ; set maximum speeds (mm/min)
      M201 X1600.00 Y1600.00 Z100.00 E2000.00              ; set accelerations (mm/s^2)
      M906 X1200 Y1200 Z800 E800 I30                       ; 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 X358 Y350 Z300 S0                               ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"121.io2.in"                             ; configure switch-type (e.g. microswitch) endstop for low end on X via pin 121.io2.in
      M574 Y1 S1 P"io2.in"                                 ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io2.in
      M574 Z1 S2                                           ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M950 S0 C"121.io0.out"                               ; create servo pin 0 for BLTouch
      M558 P9 C"121.io0.in" H15 F120 T9000                 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y0 Z4.6                               ; set Z probe trigger value, offset and trigger height
      M557 X50:350 Y50:350 S20                             ; define mesh grid
      
      ; Heaters
      M308 S0 P"spi.cs0" Y"rtd-max31865"                   ; configure sensor 0 as PT100 on pin spi.cs0
      M950 H0 C"out0" Q5 T0                                   ; create bed heater output on out0 and map it to sensor 0
      M307 H0 B1 S1.00                                     ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                              ; map heated bed to heater 0
      M143 H0 S120                                         ; set temperature limit for heater 0 to 120C
      M308 S1 P"121.temp0" Y"thermistor" T100000 B4267     ; configure sensor 1 as thermistor on pin 121.temp0
      M950 H1 C"121.out0" T1                               ; create nozzle heater output on 121.out0 and map it to sensor 1
      M307 H1 B0 S1.00                                     ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S280                                         ; set temperature limit for heater 1 to 280C
      
      ; Fans
      ;M950 F0 C"out9" Q500                                 ; create fan 0 on pin out9 and set its frequency
      ;M106 P0 S0 H-1                                       ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"121.out2" Q500                             ; create fan 1 on pin 121.out2 and set its frequency
      M106 P1 S1 H1 T45                                    ; set fan 1 value. Thermostatic control is turned on
      
      ; 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
      M501                                                 ; load saved parameters from non-volatile memory
      M911 S22 R23.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      
      
      

      homez.g

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Sat Jan 22 2022 15:15:24 GMT+0000 (Greenwich Mean Time)
      G91              ; relative positioning
      G1 H2 Z15 F9000  ; lift Z relative to current position
      G90              ; absolute positioning
      G1 X50 Y50 F9000 ; go to first probe point
      G30             ; home Z by probing the bed
      
      ; Uncomment the following lines to lift Z after probing
      ;G91             ; relative positioning
      ;G1 Z15 F150     ; lift Z relative to current position
      ;G90
      

      Bed.g

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Sat Jan 22 2022 15:15:22 GMT+0000 (Greenwich Mean Time)
      M561 ; clear any bed transform
      ;G29  ; probe the bed and enable compensation
      G30 P0 X35 Y15 Z-99999 ; probe near a leadscrew
      G30 P1 X205 Y350 Z-99999 ; probe near a leadscrew
      G30 P2 X355 Y15 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
      
      Stephen6309undefined massimilianocontiundefined 2 Replies Last reply Reply Quote 0
      • Stephen6309undefined
        Stephen6309 @Javajoeuk
        last edited by

        @javajoeuk I had the same problem on my 6HC 3.4.0beta7+7, may have had the drives in the wrong order. So I changed the Z drivers to 3,4,5. In order of the lead screws: rear center, right front, left front. So far, it's working. 300x400 bed, but have the bed too far to the left to reach X400.

        Relevant sections of config.g:

        M569 P0.3 S1
        M569 P0.4 S1
        M569 P0.5 S1
        M584 X0.0 Y0.1 Z0.3:0.4:0.5 E121.0        ; set drive mapping
        
        M671 X200:280:20 Y290:380:20 S2.0   ; leadscrews at rear middle, front left and front right, correct up to 2mm
        
        

        Probes in bed.g:

        G30 P0 X200 Y270 Z-99999   ; probe near a leadscrew, back middle
        G30 P1 X350 Y20 Z-99999   ; probe near a leadscrew, front right
        G30 P2 X20 Y20 Z-99999 S3 ; probe near a leadscrew, front left and calibrate 3 motors
        
        
        Javajoeukundefined 1 Reply Last reply Reply Quote 1
        • Javajoeukundefined
          Javajoeuk @Stephen6309
          last edited by

          @stephen6309 I had the front two drives switched FL and FR on the drive mapping which i have changed and will try later thanks for the help.

          1 Reply Last reply Reply Quote 1
          • Javajoeukundefined Javajoeuk marked this topic as a question
          • Javajoeukundefined Javajoeuk has marked this topic as solved
          • massimilianocontiundefined
            massimilianoconti
            last edited by massimilianoconti

            hello see https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/

            the various types of configurations are covered

            1 Reply Last reply Reply Quote 0
            • massimilianocontiundefined
              massimilianoconti @Javajoeuk
              last edited by

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