Nozzle / Probe offset is whacky
-
I recently tossed my bl touch in the trash, and replaced it with a micro switch on a magnetic mount.
I used the reprap config tool to make the new config.g and for the homeall.gAfter i got all that set up with for the switch, when I probe the bed there's always a gap from the nozzle to the bed of 3mm
Important Info.
Duet wifi
Firmware 2.05
DWC 2 something " I dont have remote access to check right now"Heres the config and homeall files
; Configuration file for Duet WiFi (firmware version 2.03) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Sun Sep 19 2021 14:10:08 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Castle" ; set printer name M669 K1 ; select CoreXY mode ; Network M550 PCaslte ; Set machine name M552 S1 ; Enable network ;*** Access point is configured manually via M587 M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S0 ; Disable Telnet M587 S"RI-Wireless" P"Ridgeview8648" ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X32 Y32 I0 ; configure microstepping without interpolation M350 Z16 E16 I1 ; configure microstepping with interpolation M92 X325.00 Y325.00 Z1080.00 E700.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1500 E350 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 X343 Y325 Z750 S0 ; set axis maxima ; Endstops M574 Z1 S1 ; set active high endstops M574 X1 Y1 S3 ; set endstops controlled by motor stall detection ; Z-Probe M558 P5 H2 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X-24 Y0 Z6.5 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M305 P1 X200 ; configure PT100 for heater 1 M143 H1 S280 ; Set thermistor + ADC parameters for heater bed? ; Fans M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 S"Volcano" D0 H1:2 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
; homeall.g ; ; ; Home XY for Z homing G91 ; relative positioning M400 ; make sure everything has stopped before we make changes M574 X1 Y1 S3 ; set endstops to use motor stall M913 X35 Y35 ; drop motor currents to 50% ; ;M500 ;Slow print move speed for homing M566 X1000 Y1000 Z4 E120 ; Slow maximum instantaneous speed changes (mm/min) M203 X2000 Y2000 Z1500 E1200 ; Slow maximum speeds (mm/min) M201 X1050 Y1050 Z280 ; Set accelerations (mm/s^2) ; ; M915 X Y S2 F0 H200 R0 ; set sensitivity to +2 unfiltered G91 ; use relative positioning G1 S2 Z2 F200 ; lower bed 4mm to ensure it is above the switch trigger height G1 X-400 F4000 S1 ; move X all the way left and stop at end G1 Y-400 F4000 S1 ; move Y all the way left and stop at end G90 ; absolute G1 X22 Y15 ; move to edge of glass ; ;Restore print move speed for homing ;M566 X2500 Y2500 Z4 E120 ; maximum instantaneous speed changes (mm/min) ;M203 X1000 Y1000 Z1000 E1200 ; maximum speeds (mm/min) ;M201 X1950 Y1950 Z180 ; Set accelerations (mm/s^2) ;G91 ; use absolute positioning G30 ; Probe Z ;G90 ; use relative positioning ;G1 Z3 F300 ; lift Z relative to current position ;G90 ; absolute positioning M400 ; make sure everything has stopped before we reset the motor currents M913 X100 Y100 Z100 ; motor currents back to 100% ;G90 ; back to absolute positioning ;M501
A video of it happening https://youtu.be/tlciypIz7Yg
-
Your probe offset is wrong by 3mm, the process to calibrate the offset is outlined here:
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height you will need to adapt it slightly as you have a manual magnetic probe so you will need to add steps to put the probe on the machine and take it off.You will end up modifying this line
G31 P500 X-24 Y0 Z6.5 ; set Z probe trigger value, offset and trigger height
and I expect it will be roughly "Z9.5" as the correct offset.
-
@jbourns this is what i recommed people do with Euclid Probe. its loosely based on dc42's instrucitons for IR Probe an the page that T3P3Tony linked. Instead of using 0 as the refernce, I use a feeler of known thickness.
Narrative is written in general terms, using gcode commands. The process is basically starting with a known Z probe offset and then adding / subtracting the difference of the true and relative positions, or using the system to determine it exactly. Figure on doing it twice- once cold and then hot if you want more accurate height. Assign an initial Z probe offset SMALLER than you will actually use to stop the probe HIGHER off the bed. In RRF G31 … Z2.5 as example Home Z as you normally do. Move the carriage where its going to be easy to access with a strip of paper / feeler gauge. G1 X100 Y10 0.2mm or 0.3mm feeler gauge is ideal, 0.008in is close (0.207mm) 20# bond paper is about 0.1mm, or 0.004 inches Creep the nozzle down to touch it off on the feeler gauge, then use G92 to set the height to the gauge. If you have a display or machine console, use that to save yourself some work. Otherwise, issue terminal commands like this to jog down- G91 ; set the machine into relative coordinates mode G1 Z-0.05 ; move the bed UP 0.05mm Repeat the small Z motion until you just touch your feeler. You will feel a slight drag on the feller when the nozzle is touching it. Once you touch off the nozzle to the feeler gauge, set the machine’s Z position to that height. G92 Z0.2 ; set the Z axis to be the value of the feeler gauge ; 0.2 in this example Manually execute your deployprobe.g macro to pick up the probe. Move the carriage back to the spot you were at before. You can do it all in 1 G30 command, but I prefer to do it stepwise in this case. M401 P0 G1 X100 Y10 Then use a single probe commant to report the probe position when it triggers. Pay attention to the G-code options so at to no reset the Z or probe height. G30 S-1 ; Probe the bed at the current XY position. When the probe is triggered ; do not adjust the Z coordinate, just report the machine height at which the probe was triggered. ; dont forget to move Z away from the probe before you move again G30 S-1 X100 Y100 Stopped at height 3.610 mm That reported value is the best starting point to set your Z-probe offset for your system. Assign the probe offset to that value with G31. G31 X3.610 After assigning the Z value, stow and re-deploy the probe and probe again. You should get the same value. You will have to fine tune this a bit either by redoing the procedure hot, or using baby-stepping when you print. I find its easier to print a single 0.45mm wide perimeter, 0.3mm high around the bed and measure it to finally adjust the Z probe height. You can reprobe the SAME spot a few times and average the values: G30 S-1 for example in RRF to probe and report the trigger height. The result is the Z probe offset value to use in your config.