Z-Height



  • I went through the calibration several times, but somehow the nozzle keeps hitting the bed. I have a QQ-S Pro (Delta).
    Config
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri May 29 2020 13:42:29 GMT+0200 (Midden-Europese zomertijd)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"QQ-S PRO" ; set printer name
    M665 R143 L280 B130 H375 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them

    ; Network
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X100.00 Y100.00 Z100.00 E412.873 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E6000.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E6000.00 ; set maximum speeds (mm/min)
    M201 X2000.00 Y2000.00 Z2000.00 E2000.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 Z0 S1 ; set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; set active high endstops

    ; Z-Probe
    M558 P4 H5 F120 T3000 I1 ; set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z18.527 ; set Z probe trigger value, offset and trigger height
    M557 R130 S20 ; define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    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 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S0 I0 F500 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 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
    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

    ; config-override.g file generated in response to M500 at 2020-05-31 13:09
    ; This is a system-generated file - do not edit
    ; Delta parameters
    M665 L280.000:280.000:280.000 R9115.454 Hnan B130.0 X-426.430 Y93.121 Z0.000
    M666 Xnan Ynan Znan A0.00 B0.00
    ; Heater model parameters
    M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B0
    M307 H1 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    G10 L2 P1 X0.00 Y0.00 Z0.00
    G10 L2 P2 X0.00 Y0.00 Z0.00
    G10 L2 P3 X0.00 Y0.00 Z0.00
    G10 L2 P4 X0.00 Y0.00 Z0.00
    G10 L2 P5 X0.00 Y0.00 Z0.00
    G10 L2 P6 X0.00 Y0.00 Z0.00
    G10 L2 P7 X0.00 Y0.00 Z0.00
    G10 L2 P8 X0.00 Y0.00 Z0.00
    G10 L2 P9 X0.00 Y0.00 Z0.00

    ; bed.g
    ; called to perform automatic delta calibration via G32
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri May 29 2020 13:42:29 GMT+0200 (Midden-Europese zomertijd)
    M561 ; clear any bed transform
    G28 ; home all towers
    ; Probe the bed at 3 peripheral and 3 halfway points, and perform 6-factor auto compensation
    ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
    G30 P0 X0 Y84.9 H-5 Z-99999
    G30 P1 X73.53 Y-42.45 H0 Z-99999
    G30 P2 X-73.53 Y-42.45 H-10 Z-99999
    G30 P3 X0 Y42.4 H0 Z-99999
    G30 P4 X36.72 Y-21.2 H-10 Z-99999
    G30 P5 X-36.72 Y-21.2 H0 Z-99999
    G30 P6 X0 Y0 H0 Z-99999 S6
    ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
    ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)



  • @Brouwi said in Z-Height:

    G31 P500 X0 Y0 Z18.527 ; set Z probe trigger value, offset and trigger height

    How that works? What kind of probe is it? Trigger height seems to be very "interesting".



  • It is the standard Probe that comes with the QQ-P. It's a switch.20200606_194558[1].jpg



  • I see. So X and Y offsets of this are 0, so in bed.g H parameters should be 0 as well because trigger height should not change, why you have different H parameters there?



  • @aidar Good Question...
    So I can set all Z values in the G30 lines to 0 (zero)?



  • @Brouwi No the H value, or remove H value, default is 0.
    The explanation is in https://duet3d.dozuki.com/Wiki/Gcode#Section_G30_Single_Z_Probe

    The probe is in fact very interesting. How is it removed after probing? (You want to print after probing, I suspect). Edit: I found the answer on https://www.youtube.com/watch?v=vWdklcVWtpQ&t=90



  • @JoergS5
    Thanks!
    Regarding the probe; the idea is that as the bed on a Delta stays stationary, you don't need to probe before every print.
    As you can see in the video the probe attaches magnetically to the carriage.

    Maybe I can ask you another question... I am getting an error message saying the height map cannot be loaded. Any suggestions?

    Have a good sunday (Schöner Sonntag)!



  • @Brouwi thank you for your nice wished, Schönen Sonntag also!

    According to https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation you need to call G29 to run the probing sequence and save the heightmap. You will see an image of the result also, so you know how even your printbed is.

    The complete Delta calibration is more complicated and has a few steps, they are described in https://duet3d.dozuki.com/Wiki/Calibrating_a_delta_printer



  • @Brouwi You can load your already saved heighmap by G29 S1 in your slicer starting script for example. Anyway, this command can be used after homing your printer, so first G28 and then G29 S1. Assuming you have done G29 at least once before.



  • @JoergS5
    Holländer der in Deutschalnd wohnt. Nicht ganz Fehler frei 😉



  • @aidar Thanks!!!



  • @Brouwi Deutschland


Log in to reply