z probe wont respond to G31



  • im wondering why if i change the settings in G31 for my z probe why would the height not change if i change the z value in G31

    ; 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 Z7.75

    my problem is in doing somthing wrong calibrating the offset i must be in the wrong spot??
    been thru it now 4 time just dont see it one of you suggested an other command ?? def. lost
    🙃 maybe if i look at it this way lol


  • administrators

    Maybe you're using config-override.g and there is still one defined in there? Does it work when you execute it from the DWC console?



  • thats where im changing it from the dwc,, funny thing ive allways had this prob.
    there is no config.goveride file at all in my system.
    baby stepping quit working when i changed to the v2 interface it only works if the printer isnt running a file weird ??
    i have never been able to get an offset entered



  • Make sure you don't have a G31 later in config.g. I use a macro to set it, since I use a few different filaments that use different temperatures. Like PLA and PETG.



  • No other entires just in config.g



  • Is G 31 the place i need to set my off
    set?? Im not sure at all


  • Moderator

    Do you have a G31 in your homing files or beg.g?



  • No more entries in any other files that i know of.


  • administrators

    1. Is it the height after homing Z that isn't changing? If so then that may indicate an error in your homeall.g and/or homez.g files.
    2. What Duet and firmware version are you using?


  • i believe the corect anser to be ver1.12
    also remeber ihad to reload my www. file
    so ver1.12. with the v2 dwc interface. would that be correct?

    heres the config g < home all< and the home z files for you to see

    ( ill remove G29 S1 )
    ; Configuration file for Duet WiFi (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 Z7.75 ; Set Z probe trigger value, offset and trigger height - is Nozzle higer

    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

    home all; 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

    Home All
    G91 ; relitave mode
    G1 S2 Z4 F3000 ; raize head 4mm
    G1 S1 X-500 Y-600 f3000 ; move y and x to endstops in -neg direction until end sw trip
    G1 S2 X4 Y4 f600 ; move slowly 6mm in + direction
    G1 S1 X-10 Y-10 ; move up to 10mm in the Y- andX- directions untill the homming switches are trigered
    G90 ; back to absolute mode
    G1 X125 Y125 F3000 ; put head at fist probe piont
    G30 ; lower head , stop when z probe is trigered

    home z
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 Z2.5 F6000 S2 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X51 Y20 F6000 ; go to first probe point
    G30 ; home Z by probing the bed
    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z2.5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning



  • also just found this file called bed g.
    ; called to perform automatic bed compensation via G32
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time)
    M561 ; clear any bed transform

    G29 ; probe the bed and enable compensation

    not sure, but is this for slicer start code??



  • will this also add another error for z offset or ??? is this one o k in its separate system fie



  • lets start over new thread
    re ask the question

    this is where im at
    duet reports z at 12.75 after homeing
    trigger height is at 7.75
    zerro is at is at 6.30

    during a print the duet throws back the Z tool position as 1.42 with the nozzle burried in the glass
    in my mind all Entries are a positive #

    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 Z7.75 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger



  • is this my error ...Z7.75 should it read Z-7.75 is it a flipin - that been hanging Me???



  • I dont know if it is related to your problem or not, but you should remove G29 S1 from config.g. You can not enable mesh compensation before homing. G29 should come after homing, not before.



  • i believe its commented out wouldn't that do the same



  • @ziggymanpopo said in z probe wont respond to G31:

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

    Does not seems to be commented out.



  • ; Automatic saving after power loss is not enabled
    ; Custom settings are not configured
    ; Enable Bed Leveling
    ;G29 S1



  • think i did it right after im just stumped?? are my settings right ??



  • other than that ??



  • offset suppose to be a neg. # instead of pos #...maybe????



  • Only thing i recommend is, for me changing Z offset works if i change it in config.g G31 command and restart printer. I know it should work "on the fly", but for some reason sometimes doesnt work for me.



  • And no, offset should be positive, until your probe is not your nozzle like smart effector or piezo something...



  • @ziggymanpopo said in z probe wont respond to G31:

    G31 P500 X-42 Y-5 Z7.75 ; Set Z probe trigger value, offset and trigger height

    so note no neg for Z



  • ???? not sure the instructions said pos triger hieght all other sensors other than toutch nozzel ???


Log in to reply