Help to set up Duet IR Probe
javcab last edited by javcab
I have installed the original IR Probe Duet sensor in my Ender 3 with the Duet Mini 5+ .
Installation and configuration it is all ok.
- The system detect the sensor with the right lights
- I have set in the firmware the height using the G92 Z0
- Send the command G30-S1 to test the Probe sensor and stops correctly before touching the bed (probably 1 or 2 mmm before touching the bed)
- I have repeated the steps multiple times to confirm the height of the nozzle in reference to the IR probe sensor
- I have declared the Z trigger height in my config.g file and checked is not duplicated in my config-override.g file
- Finally trigger height using M999 command
As you can see after this I have ran the bed leveling with success, but when I trying to print, the Nozzle start to scratch my bed from the very beginning.
I am sure that I am missing something but I am new in this kind of setting up a Probe sensor, always I was doing manually.
I have follow with attention the guides in your forum and other other sites but still I dont find the issue in my config.g file.
I know you guys can find the issue easy, here is my config.g
; 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 May 17 2021 14:10:06 GMT+0200 (Mitteleuropäische Sommerzeit) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro" ; 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 P0.0 S0 ; physical drive 0.0 goes backwards M569 P0.1 S0 ; physical drive 0.1 goes backwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S0 ; physical drive 0.3 goes backwards M584 X0.0 Y0.1 Z0.2 E0.3 ; 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 X1200.00 Y1200.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z600.00 E6000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z200.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E1000 I50 ; 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io5.in" ; configure active-high endstop for low end on X via pin io5.in M574 Y1 S1 P"io6.in" ; configure active-high endstop for low end on Y via pin io6.in M574 Z1 S1 P"io2.in" ; configure active-high endstop for low end on Z via pin io2.in ; Z-Probe M558 P8 C"io3.in" H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed G31 X-0 Y0 Z-1.3 M557 X40:215 Y40:195 S30 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T98801 B4185 ; 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 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 S80 ; set temperature limit for heater 0 to 80C M308 S1 P"temp1" Y"thermistor" T98801 B4185 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S240 ; set temperature limit for heater 1 to 240C ; Fans M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 C"PartCool" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 C"HotEnd" S1 H1:0 T45 ; set fan 1 name and value. Thermostatic control is turned on M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 C"CaseFan" S1 H1:0 T45 ; set fan 2 name and value. Thermostatic control is turned on ; Tools M563 P0 S"HotEnd" 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 M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool
I have here some photos
G31 X-0 Y0 Z-1.3
The Z offset should be positive; think of it as the nozzle height when the probe is triggered. See point 7, https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height
For any other type of Z probe where the probe triggers before the nozzle contacts the bed, it will be positive.
You also haven't set your X and Y offsets. X will be something like -30, Y will be close to 0.
Also be aware that, because your bed is not black all over, the probe may respond differently over the white areas.
Hi, very useful your help to setup much better my offset for X and Y.
Still I have the problem in the beginning. When the printer is in Home position (left-down) and I start a print, the nozzle hit the same left corner. There is a way to add in the code to avoid the contact with the bed?
I am trying to follow some guides but I am still not understanding how I can add the parameter in the code to avoid the bed. I mean I just need to put the nozzle a little bit higher when start to move from the home position.
Right now I am thinking in to change the position of Home to the center of the bed, probably this is easier. I dont know.
@javcab is it because Z homes in the corner, so the IR probe is off the bed? Change the homing position in homeall.g and homez.g. It’s the G1 X… Y… line just before G30. Often it is X15 Y15. Change it to the coordinates of the centre of the bed. Post your homeall.g if you are not sure.
For changing to X0 Y0 in the centre of the bed (I have all my printers set up this way) see https://duet3d.dozuki.com/Wiki/Centering_the_bed_or_setting_the_bed_origin
@droftarts Yes, is out of the bed the home in my Ender 3.
Very in the left-down corner
I will try and follow your indications and let you know how is going
@droftarts Well, I dont have G30 in my homeall.g and homez.g
Can you help me explaining what that I need to put there?
here my homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) 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-265 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
And here my home z.g
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z-265 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
Thank you very much
G1 H1 Z-265 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)
You need to replace those lines with
G1 X150 Y150 F6000 ; position probe at center of bed G30 ; probe for Z0
Right now you are setting Z0 with an endstop rather than the probe. Hence this incongruent height.
After changing to G30 to use the probe, you should redo the mesh compensation (G29)
Also check your trigger height again. a negative trigger height means the nozzle tip is BELOW the bed surface.