Problem with G31 Trigger Z-height



  • Hello,
    after I rebuilt my IDEX printer, I wanted to do the software configuration today.
    As described in the documentation, I moved the nozzle onto the print bed and set G92 Z0. After measuring the Z offset (0.8404mm) several times, I entered it in the G31 Command of config.g.
    When I start a print with Tool 0, the nozzle is far too high above the print bed.
    I do not understand that.

    Anybody of yours offering an idea?

    Thanks
    gringo



  • always post your config.g


  • Moderator

    Can you post your config.g?
    Can you post your homeall.g?
    Can you send M122 and post the results?
    Can you send M98 P"config.g" and post the results?



  • After updating config.g did you reboot the printer or run config.g via M98?

    Frederick



  • Config.g :
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Der Duale" ; set printer name

    ;-------------------------------- Network ----------------------------------------------------------
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ;--------------------------------- Display PanelDue 7i ----------------------------------------------

    M575 P1 S1 B57600

    ;----------------------------------------- Drives ----------------------------------------------------
    M569 P0 S1 ; physical drive 0 goes backwards x
    M569 P1 S0 ; physical drive 1 goes backwards y
    M569 P3 S1 ; physical drive 3 goes forwards u
    M569 P2 S1 ; physical drive 2 goes forwards z links
    M569 P9 S0 ; physical drive 9 goes forwards z hinten rechts
    M569 P4 S1 ; physical drive 4 goes forwards z rechts
    M569 P5 S1 ; physical drive 5 goes backwards extruder links
    M569 P6 S1 ; physical drive 6 goes forwards extruder rechts

    M584 X0 Y1 Z2:9:4 U3 E5:6 ; set drive mapping
    M671 X-132:148:428 Y-25:385:-55 S5 ; Positionen der Trapezgewindespindel für das Bed Leveling
    M350 X16 U16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 U80.0 Y80.00 Z2133.33 E415.00:415.00 ; set steps per mm
    M566 X900.00 U900.00 Y900.00 Z12.00 E600.00:600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 U12000.00 Y12000.00 Z600.00 E36000.00:36000.00 ; set maximum speeds (mm/min)
    M201 X1000.00 U1000.00 Y1000.00 Z250.00 E800.00:800.00 ; set accelerations (mm/s^2)
    M906 X1000 U1000 Y1000 Z1000 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S120 ; Set idle timeout

    ;------------------------------------------------- Axis Limits -------------------------------------------------
    ;M208 X-88 U0 Y-40 Z0 S1 ; set axis minima
    ;M208 X278 U368 Y295 Z280 S0 ; set axis maxima
    M208 X-88: 290 U0: 380 Y-25: 325 Z0: 270

    ;------------------------------------------------- Endstops -------------------------------------------------------
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 U2 S1 P"e0stop" ; configure active-high endstop for low end on U via pin e0stop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    ;M574 Z2:4 S1 P"zstop + e1stop" ; configure active-high endstop for low end on 2 Z Motoren via pin zstop + e1stop
    M574 Z0 S2 ; Z-Home mit Sonde

    ;-------------------------------------------------- Z-Probe --------------------------------------------------------------
    M558 P5 C"zprobe.in" H5 F150 T10000 ; disable Z probe but set dive height, probe speed and travel speed
    G31 P500 X0 Y25 Z0.8404
    M557 X0:280 Y20:290 S20 ; 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 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M307 H0 A214.2 C887.4 D1.5 S1.00 V24.0 B0 ; PID Tuning
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"duex.e2heat" 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
    M307 H1 A606.0 C166.7 D3.6 S1.00 V24.1 B0 ; PID Tuning
    M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"duex.e3heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M307 H2 A581.7 C168.9 D3.2 S1.00 V24.1 B0 ; PID Tuning

    ;---------------------------------------------------- Fans -------------------------------------------------------------------
    M950 F0 C"duex.fan4" Q500 ; create fan 0 on pin duex.fan3 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"duex.fan3" Q500 ; create fan 1 on pin duex.fan4 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"duex.fan5" Q500 ; create fan 2 on pin duex.fan5 and set its frequency
    M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off
    M950 F3 C"duex.fan6" Q500 ; create fan 3 on pin duex.fan6 and set its frequency
    M106 P3 S1 H2 T45 ; set fan 3 value. Thermostatic control is turned on

    ;----------------------------------------------------- Tools ---------------------------------------------------------------
    M563 P0 S"Tool 1 links" 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
    M563 P1 S"Tool 2 rechts" D1 H2 X3 F2 ; define tool 1
    G10 P1 U0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined



  • @gringo said in Problem with G31 Trigger Z-height:

    the nozzle is far too high above the print bed.

    what do you mean far to high?
    normally after measuring the offset i adjust the first layer by babystepping and then add the babystepping to the offset to get the final result.

    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
    M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp

    B4138 is the default and wrong for your thermistors. find the correct beta value in your thermistor documentation.



  • When i Start a Printjob the Nozzle is 0,84mm above the Bed.
    That is excactly the G31 Z Trigger Distance.
    For testing i changed the G31 Z in Z-0,8404 and started a Printjob. The Nozzle was 1,6mm above the Bed.
    But why?



  • @gringo said in Problem with G31 Trigger Z-height:

    Z-0,8404

    because this defines the trigger height below the nozzle. so if you want the bed to be closer you have to add, not subtract.



  • Yes, this was a Test. To see what happened.

    But why do I have to enter the double distance in the G31 Command?

    Thanks for the Thermistor tip. I have installed Semitec 104GT2.



  • @gringo said in Problem with G31 Trigger Z-height:

    Thanks for the Thermistor tip. I have installed Semitec 104GT2.

    thats B4725 C7.06e-8

    But why do I have to enter the double distance in the G31 Command?

    that not required.
    maybe your bed is warping while beeing heated.



  • I determined the Z-trigger at the same temperature bed 80 ° C and not cold


  • Moderator

    @gringo said in Problem with G31 Trigger Z-height:

    But why do I have to enter the double distance in the G31 Command?

    We can only guess since you haven't shown us the rest of your gcode.

    @Phaedrux said in Problem with G31 Trigger Z-height:

    Can you post your homeall.g?
    Can you send M122 and post the results?
    Can you send M98 P"config.g" and post the results?

    Additionally show us your slicer start gcode and bed.g if you use G32 anywhere.



  • Now it works, i have performed the steps again.

    Thanks for your help


Log in to reply