Z-Offset not working?
-
Hi *,
I have some problems with a new probe type. (New for me)
The probe is called "vinda" and is commonly used in the Voron universe. It is basically a inductive probe 5V powered and a signal wire. https://vonwange.com/product/inductive-probe-aka-vinda/The probe works very well here at my setup, so it triggers and stops Z when I home Z, so far so good.
I measured the z-offset "somehow" and I came to "G31 Z1.80", changed the config.g and did a reset of the board.
Board reset, home all and I would expect now that I can dial the nozzle down till it barely touches the bed. (We all know the drill.)
But this actually is not happening. The nozzle stops at 1.8mm before it touches the bed. I can dial the nozzle the 1.8mm down via the babystepps but this should do the "G31 Z1.80".My configuration is copied from one of my other printers with a bl-touch and slightly changed. Did I forget something?
Any ideas?
Cheers, Chriss
; Default config.g template for DuetPi ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org) ; Display initial welcome message ;M291 P"Please go to <a href=""https://www.duet3d.com/StartHere"" target=""_blank"">this</a> page for further instructions on how to set it up." R"Welcome to your new Duet 3!" S1 T0 ; Hardware: Duet Mini 5+ ; Stepper XY = LDO 0,9° 2Amax LDO-42STH40-2004MAC ; Stepper Z = LDO 1,8° 2Amax LDO-42STH48-2004AC ; Stepper E = LDO 1,8 1Amax LDO-42STH20-1004ASH ; Enable network if {network.interfaces[0].type = "ethernet"} M552 P0.0.0.0 S1 else M552 S1 ; Network M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S1 ; enable Telnet G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"v2" ; set printer name M669 K1 ; 1=select CoreXY mode 0=Cadasian ;; Toolboards ; M115 B121 ; Show board 121 ; M997 B121 ; Update tool 121 ; M122 B121 ; Detailed status of toolboard G4 S1 ; wait for expansion boards to start ;;; Drives ;X M569 P0.2 S1 M584 X0.2 ;Y M569 P0.1 S0 M584 Y0.1 ;; Z ; - front left M569 P0.5 S1 ; physical drive 0.6 goes forward/backward - ; - front right M569 P0.6 S0 ; physical drive 0.5 goes forward/backward - ; - back right M569 P0.0 S1 ; physical drive 0.0 goes forward/backward - ; - back left M569 P0.4 S0 ; physical drive 0.4 goes forward/backward - M584 Z0.5:0.4:0.0:0.6 ;; E M569 P121.0 S0 M584 E121.0 ; Stepper settings M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160 Y160 Z240 E560 ; set steps per mm M92 X80.00 Y80.00 Z400.00 E420.00 M98 P"/macros/print_scripts/speed_printing.g" ; Accelerations and speed M906 X1400 Y1400 Z1400 E700 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle percent M84 S120 ; Idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X230 Y250 Z275 S0 ; set axis maxima ;; Endstops -- Display status with: M119 M574 Y2 S1 P"0.io5.in" ; Y M574 X2 S1 P"!0.io6.in" ; X M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z probe ; Vinda: Black = Signal - Brown = +5v - Blue = GND M574 Z1 S2 ; Configure Z-probe endstop for low end on Z M558 P8 C"^121.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 Y22 ; set Z probe offset G31 Z1.80 ; set Z probe trigger height M557 X0:270 Y0:290 S15 ; define mesh grid ; Z-level settings M671 X-75:-75:288:289 Y0:320:320:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) M557 X25:275 Y25:275 S100 ; Define bed mesh grid (inductive probe, positions include the Z offset!) ;M557 X25:275 Y25:275 S25 ; Define bed mesh grid (inductive probe, positions include the Z offset!) ;; Heaters :: Tune with: M303 H0 S115 ; Bed M308 S0 P"0.temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out6" T0 Q10 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable 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 ; Enable the LED stripe and turn it off HEATER Debug ;M950 F3 C"0.out6" Q10 ; LED on out6 ground on top pin, plus on 3rd pin from top (V_OUTLC1) ;M106 P3 C"LED" S0 ; Hotend ; Tune in with: M303 H1 S270 (270=Temp) (M500 to save) ; Show current settings M307 H1 M308 S1 P"121.temp0" Y"thermistor" T500000 B4702 C1.171057e-7 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"121.out0" T1 ; create nozzle heater output on 0.out3 and map it to sensor 1 M143 H1 S400 ; set temperature limit for heater 1 to 320C ;; Fans ; Fan for the printed part: M950 F0 C"121.out1" Q500 ; create fan 0 on pin 0.out9 and set its frequency M106 P0 S0 H-1 C"Part" ; set fan 0 value. Thermostatic control is turned off ; Fan for the Hotend: M950 F1 C"121.out2" Q500 ; create fan 1 on pin 0.out9 and set its frequency M106 P1 S1 H1 T45 C"Hotend" ; P="set fan 1" S="value" H="Thermostatic control Heater No." T=" is turned on at 45°C" ;; Tool M563 P0 S"Tool" D0 H1 F0 ; define tool G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ;;;;;;;;;;;; Setup Only ;M564 S0 H0 ; Allow movement over the endstops M302 P1 ; allow cold extrusion ;M302 S1 ; deny cold extrusion ;;;;;;;;;;;; Setup Only END M501 ; Load config-override.g ;; Serial interface M575 P1 B115200 S1 ;; Mini 12864 M918 P2 ;M918 P2 E4 R3 C100 ;M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white M150 X2 R0 U255 B0 S3 ; set all 3 LEDs to red T0 ; Select the tool 0 as default
homez.g
; homez.g ; called to home the Z axis ; G90 ; Absolute positioning M98 P"/macros/print_scripts/goto_center.g" ; Move to the center G91 ; relative positioning M98 P"/macros/print_scripts/z_current_low.g" M98 P"/macros/print_scripts/speed_probing.g" ;G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z-240 F500 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Z3 F2500 ; go back a few mm G1 H1 Z-4 F80 ; move slowly to Y axis endstop once more (second pass) ;G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning G1 Z5 F2500 ; Move away from the bed ;G1 H2 Y58 F2500 ; Restore high Z currents M98 P"/macros/print_scripts/z_current_high.g" M98 P"/macros/print_scripts/speed_printing.g" ; Homing done, enforce limits M564 S1 H1
-
@chriss you should keep the G31 in your config all on one line as sending G31 z1.80 by itself will set the X And Y offsets to 0.
In your homez you should be using G30 to home and not G1 H1
-
Thanks! That was the problem. My bad... I treated z the same way as y and x which is obviously wrong.
Thanks for pointing me into the right direction.... You saved my day.
Cheers, Chriss