Z height always not respected
-
@BoA said in Z height always not respected:
@Ducati87 You can try to add A parameter to M558, for example A4. And slow down probing speed to 120
ok I will try. Thank you BoA!
-
After you changed the hotend did you remeasure your trigger height?
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
-
@Phaedrux said in Z height always not respected:
After you changed the hotend did you remeasure your trigger height?
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
Yes of course but every time I have to adjust the height with babystep.
-
Could you share your current config.g, homeall/homez, bed.g, and your slicer start gcode all together in a single post? That way I can see what's going on more clearly.
If the amount of baby stepping required is consistent, you can modify the G31 and it should take effect. If it's not taking effect than something in the gcode order is not right.
-
config.g:
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.8 on Fri Nov 20 2020 20:14:09 GMT+0100 (Ora standard dell’Europa centrale) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Hypercube Evolution" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S0 ; physical drive 4 goes forwards M584 X0 Y1 Z2:4 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X161.12 Y160.37 Z393.18 E830.00 ; set steps per mm M566 X1000.00 Y1000.00 Z70.00 E2000.00 ; set maximum instantaneous speed changes (mm/min) M203 X15000.00 Y15000.00 Z1000.00 E2000.00 ; set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z40.00 E6000.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1500:Z1500 E1000 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 X0:300 Y-35:300 Z285 S0 ; set axis maxima ; Endstops M574 X1 S3 ; configure sensorless endstop for low end on X M574 Y1 S3 ; configure sensorless endstop for low end on Y M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H3 F250 T9000 A2 B1 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X22 Y-37 Z3.50 ; set Z probe trigger value, offset and trigger height M557 X0:280 Y25:230 S40:40 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; 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 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 ;M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp M308 S1 P"spi.cs2" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs2 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 S290 ; set temperature limit for heater 1 to 290C ; Fans M950 F0 C"Mat Fan1" 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"Hotend Fan" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"Mat Fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; Tools M563 P0 S"hotend 0" D0 H1 F0:2 ; 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 M404 N1.75 D0.4 ; Nozzle and filament diameter for monitor M200 D1.75 ; set all extruder filament diameters to 1.75mm M671 X40:280 Y145:145 S10 ; Define positions of Z leadscrews or bed levelling screws M376 H10 ; Set bed compensation taper ; 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
homeall.g:
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Jul 27 2020 14:28:18 GMT+0200 (Ora legale dell’Europa centrale) ;M400 ;M913 X50 Y50 ;M915 X F0 H400 S3 R0 ;M915 Y F0 H400 S2 R0 ;G91 ; relative positioning ;G1 H2 Z5 F7200 ; lift Z relative to current position ;G1 H1 X5 F5000 ;G1 H1 X-305 F5000 S1 ; move quickly to X or Y endstop and stop there (first pass) ;G1 H1 X10 M98 P"homex.g" ;G1 H1 Y5 F5000 ;G1 H1 Y-305 F5000 S1 ; move quickly to X or Y endstop and stop there (first pass) ;M913 X100 Y100 ; X motors to 100% current ;G90 ;G1 X120 Y170 F7000 ; go to first bed probe point and home Z ;G91 ; relative positioning ;G1 H2 Z5 F7200 ; lift Z relative to current position ;G90 ; absolute positioning ;G1 X110 Y210 F7000 ; go to first bed probe point and home Z ;G4 P750 ; pause ;G91 M98 P"homey.g" ;BLTouch Z ;G30 ;G90 ;G1 Z10 F500 M98 P"homez.g"
bed.g:
; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 11:59:18 GMT+0200 (Ora legale dell’Europa centrale) G29 S2 ; M561 ; clear any bed transform ;M98 P"homeall.g" ; home all axes while iterations <= 3 ; perform 4 passes G30 P0 X280 Y145 Z-99999 P8 ; probe near a leadscrew, half way along Y axis G30 P1 X40 Y145 Z-99999 S2 P8 ; probe near a leadscrew and calibrate 2 motors G1 Z3 F3000 ; raise head 3mm to ensure it is above the Z probe trigger height G90 ; back to absolute mode ;G29 S1
homez.g:
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Jul 27 2020 14:28:19 GMT+0200 (Ora legale dell’Europa centrale) G91 ; relative positioning ;G1 H2 Z5 F7200 ; lift Z relative to current position G90 ; absolute positioning G1 X130 Y170 F7000 ; go to first bed probe point and home Z G4 P750 ; pause G91 ;BLTouch Z G30 G90 ;G1 Z10 F500
start gcode:
G90 ; use absolute coordinates M83 ; extruder relative mode M190 S[first_layer_bed_temperature] ; wait for bed temp M109 S[first_layer_temperature] ; wait for extruder temp G28; homing G32; home all without mesh bed level G29 S1; mesh bed load G1 X5 Y5 Z0.1 F5000.0 ; go outside print area G92 E0.0 G1 X60.0 E9.0 F1000.0 ; intro line G1 X100.0 E20 F1000.0 ; intro line G92 E0.0
-
@Ducati87 said in Z height always not respected:
G30 P0 X280 Y145 Z-99999 P8 ; probe near a leadscrew, half way along Y axis
G30 P1 X40 Y145 Z-99999 S2 P8 ; probe near a leadscrew and calibrate 2 motorsWhat's with the P8s?
@Ducati87 said in Z height always not respected:
G28; homing
G32; home all without mesh bed level
G29 S1; mesh bed loadWhen is the last time you created a fresh heightmap?
-
@Phaedrux said in Z height always not respected:
@Ducati87 said in Z height always not respected:
G30 P0 X280 Y145 Z-99999 P8 ; probe near a leadscrew, half way along Y axis
G30 P1 X40 Y145 Z-99999 S2 P8 ; probe near a leadscrew and calibrate 2 motorsWhat's with the P8s?
@Ducati87 said in Z height always not respected:
G28; homing
G32; home all without mesh bed level
G29 S1; mesh bed loadWhen is the last time you created a fresh heightmap?
the P8 is an error, I deleted them. I created the mesh yesterday in the morning.
-
@Phaedrux said in Z height always not respected:
If the amount of baby stepping required is consistent, you can modify the G31 and it should take effect.
How much baby stepping are you applying and is it consistent?
-
@Phaedrux said in Z height always not respected:
@Phaedrux said in Z height always not respected:
If the amount of baby stepping required is consistent, you can modify the G31 and it should take effect.
How much baby stepping are you applying and is it consistent?
almost 0.160.
-
And if you modify G31 to account for the 0.16? (add it to get it closer, subtract to get it further)
-
@Phaedrux said in Z height always not respected:
And if you modify G31 to account for the 0.16? (add it to get it closer, subtract to get it further)
I've just done it, I'm going to try.