Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Col_Clucks
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Best 1
    • Controversial 0
    • Groups 0

    Col_Clucks

    @Col_Clucks

    1
    Reputation
    1
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Col_Clucks Unfollow Follow

    Best posts made by Col_Clucks

    • RE: Help with mesh leveling

      Just wanted to post an update to this solved problem. I went through all my files on this machine and could not find anything that might be causing issues. As a last ditch effort I grabbed a sheet of aluminum foil and flattened it out on the bed and ran a g29 command to generate a height map. the map looked a lot different than the one I had previously generated so I decided to try and do a test print with that height map. adjusted live z and it started to print perfectly.

      I think the issue is the pinda 2 probe and the bed probe points with the MK 42 bed not triggering consistently. I am going to print for a while with the height map I made with the foil and will probably buy the MK 52 bed and a spring steel sheet to see if that gives more reliable leveling.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks

    Latest posts made by Col_Clucks

    • RE: Help with mesh leveling

      Just wanted to post an update to this solved problem. I went through all my files on this machine and could not find anything that might be causing issues. As a last ditch effort I grabbed a sheet of aluminum foil and flattened it out on the bed and ran a g29 command to generate a height map. the map looked a lot different than the one I had previously generated so I decided to try and do a test print with that height map. adjusted live z and it started to print perfectly.

      I think the issue is the pinda 2 probe and the bed probe points with the MK 42 bed not triggering consistently. I am going to print for a while with the height map I made with the foil and will probably buy the MK 52 bed and a spring steel sheet to see if that gives more reliable leveling.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Help with mesh leveling

      @fcwilt I do have a g30 at the center of the bed in bed.g

      In my start gcode g32 is followed by g29

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Help with mesh leveling

      @stephen6309 it looks like the only difference between the code is the remove baby steps when I include my start gcode.I do like how you code is structured though so I’ll probably be changing to it.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • Help with mesh leveling

      I am having trouble getting mesh leveling to work properly on my prusa i3 printer with a duet 3 mini 5+. The issue I have is it seems like the printer over compensates for points on the bed. So for example the points that are close to z=0 print just fine. As you get to z=-.2 the printer pushes down into the print bed too far and when you go to z=.2 its printing above the print surface and not sticking at all. Its a pinda 2 probe so maybe I have it set up wrong?

      I have printed test prints with out applying a mesh and the points it are taking are definitely correct. Do I have a setting wrong that causes the mesh to over compensate for a mesh or do I just not have it set up right. I have attached my config file please let me know if you think something else may be affecting it also.

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 19:09:36 GMT+0100 (Mitteleuropäische Normalzeit)
      
      ; ##### General preferences
      G90                                          						; send absolute coordinates...
      M83                                          						; ...but relative extruder moves
      M550 P"Prusa MK2.25 S DUET"                          					; set printer name
      
      ; ##### Network
      M552 S1                                      						; enable network
      M586 P0 S1                                   						; enable HTTP
      M586 P1 S0                                  						; disable FTP
      M586 P2 S0                                   						; disable Telnet
      
      ; ##### Drives
      M569 P4 S0 D3 V10                                					; X drive @1
      M569 P2 S0 D3 V10                                					; Y drive @2
      M569 P0 S0 D3 V100                               					; Z left drive @0
      M569 P1 S0 D3 V100                               					; Z right drive  @4
      M569 P3 S1 D3 V1000                               					; E drive @3 - inversed
      M584 X4 Y2 Z1:0 E3                     							; set drive mapping
       
      M671 X-37:287 Y0:0 S10                                     				; define dual driven z-axis 
      
      M350 X16 Y16 Z16 E16 I1                      						; configure microstepping with interpolation
      M92 X100.00 Y100.00 Z400.00 E155.00             					; set steps per mm
      M566 X600.00 Y600.00 Z48.00 E300.00        						; set maximum instantaneous speed changes (mm/min)
      M203 X8000.00 Y8000.00 Z720.00 E7200.00      						; set maximum speeds (mm/min)
      M201 X1250.00 Y1250.00 Z1250.00 E2000.00        					; set accelerations (mm/s^2)
      M906 X750 Y750 Z600 E700 I30                						; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                      						; Set idle timeout
      
      ; ##### Axis Limits
      M208 X0 Y-5 Z-1 S1                             						; set axis minima
      M208 X250 Y210 Z215 S0                       						; set axis maxima
      
      ; ##### Endstops
      M574 X1 S1 P"io0.in"                        						; X endstop
      M574 Y1 S1 P"io1.in"                        						; Y endstop
      
      ; ##### Filament Sensor
      M591 D0 P2 C"io3.in" S1                                    				; Filament Runout Sensor
      
      ; ##### Z-Probe Settings for PINDA 2
      M558 P5 C"io2.in" I1 H1 F1000 T6000 A3              					; Prusa PindaV2 Endstop
      M308 S2 P"temp2" A"Pinda V2" Y"thermistor" T100000 B3950      				; Prusa PindaV2 Thermistor
      G31 P1000 X22.5 Y5 Z.475                          					; Nozzle offset
      M574 Z1 S2                                                 				; Set Z axis endstop, controlled by probe
      M557 X36:236 Y7:205 P3                                    				; Define mesh grid for probing
      M376 5											; Fade height 5mm
      
      ; ##### Heaters
      ; Bed Heater
      M308 S0 P"temp1" Y"thermistor" B4725 C7.060000e-8 					; configure sensor 0 as thermistor on pin temp1
      M950 H0 C"out0" Q25 T0                           					; create bed heater output on out0 and map it to sensor 0, PWM frequency: 25Hz
      M307 H0 B0 R0.298 C372.8 D11.53 S1.00 V12.2						; Bed tuning values, enable PID
      M140 H0                                                    				; Bed uses Heater 0
      M143 H0 S120                                               				; Set temperature limit for heater 0 to 120C Bed
      ; Hotend heater
      M308 S1 P"temp0" Y"thermistor" T100000 B4725 C7.060000e-8 				; configure sensor 1 as thermistor on pin temp0
      M950 H1 C"out1" T1                           						; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 R2.164 C276.6 D4.16 S1.00 V12.2
      M307 H1 B0 S1.00                             						; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S295                                 						; set temperature limit for heater 1 to 295C
      M302 S170 R170                                         					; allow extrusion starting from 170°C and retractions already from 170°C
      
      ; ##### Fans
      ; Part cooling fan
      M950 F0 C"out3" Q100                         						; create fan 0 on pin out3 and set its frequency
      M106 P0 S0 H-1                               						; set fan 0 value. Thermostatic control is turned off
      ; Hotend cooling fan
      M950 F1 C"out6" Q5000									; NOCTUA fan an pin out6 with 5000Hz PWM frequency
      M106 P1 T55 S255 H1  									; Temperature control: turn fan on at 55°C
      
      ; ##### 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
      M572 D0 S0.06								 		; Pressure Advance
      
      ; ##### Startup
      M18 XYE                                                					; release / unlock X, Y, and E axis
      M501                                                   					; use config-override (for Thermistor Parameters and other settings)
      G90                                                    					; send absolute coordinates...
      M83                                                   					; ... but relative extruder moves
      

      I am using bed.g to run gantry leveling before g29 which levels my gantry correctly but I don't know if something in there could be jacking up my mesh. Here is the bed.g

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      
      M561                            	; Clear any existing bed transform.
      
      G28
      
      G1 Z210 F10000
      M558 F10000
      G30
      
      M558 F100 A5 S0.003
      G30 P0 X33 Y106 Z-99999 		; probe near a leadscrew, half way along Y axis
      G30 P1 X235 Y106 Z-99999 S2 		; probe near a leadscrew and calibrate 2 motors
      
      G1 X112 Y101;
      G30;
      
      M558 F200 A1
      
      G1 X10 Y210 Z10 F10000
      
      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Issues with mesh leveling.

      @fcwilt so I took that out and it is changing the z height now so great success there. However it doesn’t seem like it is correcting enough. That may be an issue with the pinda 2 I’m using so I’ll start looking there

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Issues with mesh leveling.

      @engikeneer The bed.g works just fine as is. I still need help getting the printer to apply them mesh though.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Issues with mesh leveling.

      @fcwilt The point I put is correct for the G30 but even after doing that it still isn't using the mesh.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Issues with mesh leveling.

      I should probably add comments to my code when I'm asking for help haha.

      @fcwilt said in Issues with mesh leveling.:

      @col_clucks said in Issues with mesh leveling.:

      @fcwilt
      But I don't understand your current bed.g file.

      There is this section - the G28 is fine but what is the intent of the next 3 commands?

      > G28 ; home
      > G1Z220 F10000
      > M558 F10000
      > G30
      

      These commands run the gantry to the top and physically levels the gantry by hitting the top of my z axis. When the printer powers off the axis sags a bit and it want to get the gantry as close to level before I apply any correction. I changed the feed rate because the default rate was miserably slow to run all the way to the top and back down.

      There is this section - the G30s look fine but why the M558? Typically you set M558 once and use it for all probing procedures.

      M558 F100 A5 S0.003
      G30 P0 X33 Y106 Z-99999 ; probe near a leadscrew, half way along Y axis
      G30 P1 X235 Y106 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors```
      

      Here I am setting the feed rate to a lower speed for accuracy before I probe for gantry leveling.

      There is this section - you cannot probe a single point that way to set the Z=0 Datum. You have to use a G1 Xnnn Ynnn move to position the probe taking into account the probe X and Y offsets. Then you just do a plain G30.

      ;add here G30 X112 Y101
      

      So this is how you would do it?

      G1 X112 Y101;
      G30;
      

      And at the end you once again use M558. Same observation as above applies.

      The last step is to move my print head to the park position. i am just changing the feed rate to make the move faster as I am impatient.

      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • RE: Issues with mesh leveling.

      @fcwilt Would it be better to do this in firmware by adding that in my bed.g or in my start gcode? or if I add it to g32 is it going to try and include it in my gantry leveling? This has the center probe added in.

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 19:09:36 GMT+0100 (Mitteleuropäische Normalzeit)
      M561                                                       ; Clear any existing bed transform.
      G28 ; home
      G1 Z220 F10000
      M558 F10000
      G30
      
      M558 F100 A5 S0.003
      G30 P0 X33 Y106 Z-99999 ; probe near a leadscrew, half way along Y axis
      G30 P1 X235 Y106 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
      
      ;add here G30 X112 Y101
      
      M558 F200 A1
      
      G1 X10 Y210 Z10 F10000
      
      
      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks
    • Issues with mesh leveling.

      A few months ago I watched CNC kitchen's video about putting a duet board in a prusa machine and decided to follow his guide. I have it up and running now and I have to say that its my favorite printer right now. It does have an issue however with mesh leveling.

      My height map shows that the difference between the highest point and the lowest point is .345 mm. Is the difference too much?

      I have it set up and it will probe 9 points on my bed and generate a height map, but it doesn't look like it's using it on the print. To test it out I printed little squares on top of my probe points. When printing the squares are too close, too far, and just perfect. It's also an exact match to the height map that G29 generates where the low points are too far and the high points are too close. I've added my start gcode so maybe yall can pick out something I am doing wrong. I am using G32 to level the X Gantry. I am using G29 S0 to run auto level and then right after it G29 S1 to apply it.

      G90 ; use absolute coordinates
      M83 ; extruder relative mode
      
      M140 S[first_layer_bed_temperature] ; set bed temp
      
      G28 ; home all axis
      
      M190 S[first_layer_bed_temperature] ; wait for bed temp
      M104 S[first_layer_temperature] ; set extruder temp
      
      G32 ; gantry leveling
      
      G29 S0 ; mesh bed leveling
      G29 S1 ; apply mesh
      
      M109 S[first_layer_temperature] ; wait for extruder temp
      
      G1 X10 Y-3.0 Z0.5 F6000.0 ; go outside print area
      G92 E0.0
      G1 X60.0 E9.0 F1000.0 ; intro line
      G1 X100.0 E12.5 F1000.0 ; intro line
      G92 E0.0
      M221 S{if layer_height<0.075}100{else}95{endif}
      
      posted in Tuning and tweaking
      Col_Clucksundefined
      Col_Clucks