z calibration fog



  • looking at "all" the information about calibrating my z probe confused me more than helped
    i am assuming im missing a G30 command in my homex.g file ????
    is this the command that uses the offset and what would be the proper way to fix my permanent z =0?? with the z offset recorded in the right location
    if i right click on the z prob entry on the dwc and it pops up a window and asks for a new offset to be entered,,what is this function exactly for ??? and does it save what i put in after reboot or a restart of the dwc

    currently after homing all axeses the probe returns a setting of 6.35 mm in the +
    i can bring the extruder to the glass

    i believe the G92 Z0 command i used some time ago i did after mechanical leveling the build platform and brining it to the paper then entered a G92 Z0 entry to lock in the 6.35mm
    i get now

    i allways home to the same 6,35mm

    so here is my question:
    am i using the right sequence to Configure the z prob file for Duet WiFi and where am i wrong ??
    second do i adjust my z home G30 entry to install the z offset (which i dont have in my home .gZ) ??
    or is this G30 command only suppose to be in my configG
    my intent is to calibrate the z probe and start a new thread about how activate bed mesh leveling if i cant figure it out ...here are the files i have for config and home all home z
    & home x

    (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 Pe3 ; Set machine name
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes forward
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes backwards

    M569 P3 S1 ; Drive 3 (Extruder 0) goes backwards

    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    ; M92 X79.7 Y320 Z400.4 E96 ; Set steps per mm
    M92 X79.2 Y320 Z400.5 E96 ; Set steps per mm

    M566 X1600 Y500 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000 Y1600 Z300 E1500 ; Set maximum speeds (mm/min)
    M201 X500 Y500 Z300 E5000 ; Set accelerations (mm/s^2) is 500
    M906 x950 Y1200 Z850 E950 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S300 ; Set idle timeout

    ; Axis Limits
    ; M208 X-5.5 Y-10 Z0 S1 ; Set axis minima
    ; M208 X495 Y495 Z460 S0 ; Set axis maxima

    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X500 Y500 Z500 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S1 ; Set endstops controlled by sw. x controlled by capasitive sensor

    ; Z-Probe
    ; M558 P5 H5 F100 T2000 ; Set Z probe type to capasitive and the dive height + speeds
    M558 P5 H5 F100 T4000 ; Set Z probe type to capasitive and the dive height + speeds
    G31 P500 X-42 Y-5 Z1.35 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger

    M557 X15:215 Y35:215 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 80C
    M305 P1 T100000 B4400 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 240C

    ; M307 H1 A245.3, C121.7, D4.0, S0.5 ; PID

    ; Fans
    ; M106 P0 S1 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    ; M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    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 D0 H1 ; 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

    ; Automatic saving after power loss is not enabled
    ; Custom settings are not configured
    ; Enable Bed Leveling
    G29 S1 ; Enable Mesh Bed Leveling of events to calibrate



  • FYI . capasitive sensor


  • Moderator

    @ziggymanpopo said in z calibration fog:

    G31 P500 X-42 Y-5 Z1.35 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger

    This is where the trigger height is set. This determines what height the nozzle is at when the probe triggers. Where are you getting 6mm?

    Please post your homeall and homez.

    @ziggymanpopo said in z calibration fog:

    ; Enable Bed Leveling
    G29 S1 ; Enable Mesh Bed Leveling of events to calibrate

    remove that from config.g it should not be loaded at startup. Move it to your slicer start gcode instead to load it before the print starts.



  • Will it prevent changes in g 31


  • Moderator

    I don't understand what you mean.



  • Having the bes mesh levaling in my config g


  • Moderator

    Loading the mesh before the Z0 point has been found with the probe can lead to stacking z offset errors.



  • That might be part of my problem my problem i cant seem to home in my z probe thru G 31. i make an ajustment in the z there and it seems to have no efect.
    I accidentally entered a wrong command last night and had to reload www file... my mistake, so they helped me get it up last night by re-entering the www file.. i noticed that afrer the reload now baby stepping wont work on the fly.. this is not related to my z probe issues i thought i would mention it.. i think maybe because i have the new duet interface (www. File is all that i loaded still running same ver. files as before ) i was up with it till 6:30 this morn ðŸĪŠðŸ˜ learned a whole bunch thou. So gotta get some sleep and ill hit it again later. here are a few thing for you to think on till i get back...... again thanks much


  • Moderator

    Here's an example of what can happen when loading the heightmap in config.g

    https://forum.duet3d.com/topic/16434/g29-mesh-level-error?_=1589864750622



  • Verry intrresting !! More clarity awesome !! so I probably dont see the baby sepping nor am i able to adjust the offset due to being off by two offsets instead of just the one incorect entry??
    Would that be a fair assumption?? So my plan could be ... for now, is to comment out bed leveling ?? At least untill i teach my self how to put those command in a slicer start code, then see what efect it has when i remove them??
    Where can i learn about how to instal the bed mesh and where.. is there enough info in the duet docs ??
    As far as where i got the 6mm from it would be the trigger heights that the duet flashes plus the estimated amount i needed to corect the z setting
    I will post what i have im my files later. All new stuff 😁 thanks


Log in to reply