Auto leveling questions with toolboard
-
Hi, I struggled with the new rrf e3 1.1 board. Unfortunately, I still don't know how to run auto-leveling properly. I've tried a lot of different things, but the changes seem a bit random. I will be very grateful for the advice.
Z-Probe Bltouch
M950 S0 C"servo0" ; create servo pin 0 for BLTouch
M558 P9 C"^probe" H8 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X44 Y0 Z0 ; set Z probe trigger value, offset and trigger height
M557 X30:210 Y20:210 S50 ; define mesh grid -
Please post your full config.g, your homing files and bed.g as well as the results of M122 and M98 P"config.g".
Also take a look at these:
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors
https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation
https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant -
@pelikán-jiří you also don;t have any z offset for the probe. For a bltouch I would expect this to be in the region of 2mm
-
-
@jay_s_uk
I also changed the offset, but the result was none. -
files in a more readable format
config.g
; Configuration file for BTT-E3-RRF (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"BTT-E3-RRF" ; set printer name ; Network M552 S0 M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes forwards using default driver timings M569 P1 S0 ; physical drive 1 goes forwards using default driver timings M569 P2 S1 ; physical drive 2 goes forwards using default driver timings M569 P3 S0 ; physical drive 3 goes forwards using default driver timings M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E93.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X12000.00 Y12000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X580 Y580 Z580 E650 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 X230 Y230 Z250 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop ;M591 D0 P7 C"e0stop" S1 R50:130 L7.0 E10 ; BTT Smart Filament Sensor ;M591 D0 P1 S1 ; Filament runout Sensor Z-Probe Bltouch M950 S0 C"servo0" ; create servo pin 0 for BLTouch M558 P9 C"^probe" H7 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 Y0 Z1.6 ; set Z probe trigger value, offset and trigger height M557 X45:230 Y40:215 S40 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0 M301 P21.73 I1.54 D76.55 ; disable bang-bang mode for the bed heater and set PWM limit M307 H0 R2 D65 B1 S2.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C M143 H0 S150 ; set temperature limit for heater 0 to 150C M308 S1 P"e0temp" Y"thermistor" T100000 B3950 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Fans M950 F0 C"fan0" Q1000 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q1000 ; create fan 1 on pin fan1 and set its frequency M106 P1 S0 H1 T60 ; 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 ;M575 P1 S1 B57600 ; enable support for PanelDue M575 P1 S2 B57600 M552 S1 ; enable network M150 X2 T0 P0 M918 P1 E4 F1000000
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-240 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-240 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-240 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z-255 F1800 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 Y-240 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-240 Y-240 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 H1 Z-255 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) M561 ; clear any bed transform G29 ; probe the bed and enable compensation
-
@pelikán-jiří
you're missing a ; in front of Z-Probe Bltouch in your config.gyou're missing x and y offsets for your bltouch in config.g
G31 P500 X0 Y0 Z1.6
you're homez and homeall haven't been adjusted as described here https://teamgloomy.github.io/skr_rrf_e3_bltouch.html#files-to-modify
-
@jay_s_uk
I have replaced the data as stated in the link. But unfortunately I don't know much about it, how do I make homeall work? Should I change something in config.g?;Homez ; ################# Home Z Preparation ################ G91 ; Relative mode G1 H2 Z5 F5000 ; Lower the bed G90 ; Back to absolute positioning G1 X0 Y0 F10000 ; Move to the center of the bed. Adjust to the co-ordinates required for the centre of your bed ; ################# Home Z Preparation ################ M558 F250 ; Set the probing speed G30 ; Probe a single point M558 F30 ; Set a slower probing speed G30 ; Probe a single point
;Homeall M98 P"homez.g"
-
@pelikán-jiří said in Auto leveling questions with toolboard:
G1 X0 Y0 F10000
you need to change that to be the centre of your bed.
If its an ender 3 thats typically around X115 Y115 -
@pelikán-jiří and if you're just oing to call homez then homeall should look like this
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 Y-240 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-240 Y-240 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 M98 P"homez.g"
-
@jay_s_uk
Thank you very much, at the moment the head always stops roughly in the middle of the bed just above it. But I don't know why, but the meshgrid setting doesn't work. I have the dimensions entered, but the probing always starts outside the bed. -
@pelikán-jiří have you set the X and Y offsets of the bltouch?
-
@jay_s_uk said in Auto leveling questions with toolboard:
@pelikán-jiří have you set the X and Y offsets of the bltouch?
Yes set. But suddenly it stopped working.
; Z-Probe Bltouch M950 S0 C"servo0" ; create servo pin 0 for BLTouch M558 P9 C"^probe" H7 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X44 Y0 Z1.6 ; set Z probe trigger value, offset and trigger height M557 X45:230 Y40:215 S40 ; define mesh grid
-
I tried to find the error, but I have everything set up, but the meshgrid still doesn't work.
-
@pelikán-jiří how far off the bed is the first probe point?
-
@jay_s_uk
About 24 mm away. And I have it set to x60 -
@pelikán-jiří said in Auto leveling questions with toolboard:
@jay_s_uk
About 24 mm away. And I have it set to x60And bed leveling also works unevenly, don't you know what the problem might be? I have already managed to start a functional autoleveling, but when I start printing, one side of the bed is too high and the other too low, because the motor balances the bed incorrectly.
-
@phaedrux said in Auto leveling questions with toolboard:
the results of M122 and M98 P"config.g".
I think if you send M98 P"config.g" you'll see some errors that your pinnames being used for the BLtouch are not correct.
C"servo0"
C"^probe"Those are not valid pin names.
zprobe.in
. is correct.
For the servo where are you actually connecting the yellow wire of the bltouch? -
@phaedrux they are correct for an SKR-RRF-E3.
Pin names are here https://teamgloomy.github.io/skr_rrf_e3_pins.html -
@jay_s_uk I completely missed that this was an SKR board.