Z probe already triggered at start of probing move
-
@Phaedrux Yeah I know its very strange. Yeap the z axis is moving ok so far. If anything I will keep you updated.
I will post some pic soon of the machine
-
@Phaedrux I've fixed the steps per mm issue. Switching to an encoder driver and applying the equation resolved the problem for the X and Y axes, now set to 42 steps/mm.
However, there's an issue with the Z-axis. The offset from the G-code isn't functioning correctly, despite being shown on the Duet interface. I suspect it's due to the Z-axis calibration, especially since I'm using a leadscrew. How can I calculate the steps/mm for the Z-axis with a leadscrew?
-
I tried the setup. When I start the 3D print, instead of the Z-axis going down to -6.90, it goes up to 0.35. I don't know why it's doing this. I know it might seems a little exaggerated but I am just applying around and the printer does not go down.
Is the anything that I should add at the star of my G-code?
my set up
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.15 on Sun Feb 19 2023 20:39:14 GMT-0500 (Eastern Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"O&MAKERSLAB" ; 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 P5 R1 T2.5:2.5:5:5 S1 ; physical drive 5 goes forwards (X)
M569 P6 R1 T2.5:2.6:5:5 S0; physical drive 6 goes forwards (Y1)
M569 P7 R1 T2.5:2.6:5:5 S0 ; physical drive 7 goes forwards (Y2)
M569 P8 R1 T2.6:2.6:2.6:2.6 S1 ; physical drive 8 goes forwards (Z)M584 X6 Y7 Z5 E8 ; set drive mapping
M350 X32 Y32 Z16 E32 I1 ; configure microstepping with interpolation
M92 X42 Y42 Z250 E374.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E400.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E3000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E500.00 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z-8.30 S1 ; set axis minima
M208 X1005 Y970 Z700 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop; Z-Probe
M558 P1 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P1.0 X0 Y0 Z-5.50 ; set Z probe trigger value, offset and trigger height
M557 X15:1005 Y15:970 S110 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat 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 S300 ; set temperature limit for heater 0 to 300C
M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as PT1000 on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S0.50 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 280C
M308 S2 P"spi.cs2" Y"rtd-max31865" ; configure sensor 2 as PT1000 on pin e1temp
M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
M307 H2 B0 S0.50 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S315 ; set temperature limit for heater 2 to 315C; Fans
M950 F0 C"fan0" Q500 ; 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" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1:2 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1:2 S"Typhoon" ; 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
M575 P1 B57600 S1
T0; Z - config.g for Closed Loop motor
-
@JlunaMX said in Z probe already triggered at start of probing move:
How can I calculate the steps/mm for the Z-axis with a leadscrew?
Z_steps_per_mm = (motor_steps_per_rev * driver_microstep) / screw_lead
-
@Phaedrux it worked. Now how do I save the babystepping for when i am going to print the tip stay fixed at a proper distance. Because it not working from Custome G-code - PrusaSlicer
Any input on this? How should I approach this?
-
@JlunaMX said in Z probe already triggered at start of probing move:
how do I save the babystepping
Take the amount of baby stepping you are using and adjust the probe trigger height in config.g in the G31 Z value.
If you're not using a probe, you would need to adjust your Z homing macro to alter the homed position with a G92 Z
Does that make sense? Share your homing files if not.
-
Not clear for me. Here is the Homez
HomeZ
G90 ; absolute positioning
G1 X150 Y150 F6000
G30I am using a Probe
Above, I have posted my Config.g if you need to look at it.
-
@JlunaMX said in Z probe already triggered at start of probing move:
31 P1.0 X0 Y0 Z-5.50
It's the Z value you need to adjust.
Making it large in the positive direction will result in the nozzle being closer to the bed. Making it larger in the negative direction will make the nozzle farther from the bed.
What type of probe do you have? -5.5 would mean the tip of the nozzle is 5.5mm below the surface of the bed when the probe triggers.
-
@Phaedrux I have an Inductive Probe. Will try to adjust this on the printer and give you feedback.
-
You should measure your trigger height using this guide if you haven't already. This may remove the need to adjust with baby stepping in the first place.
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_testing
-
@Phaedrux thank you will try that!