BL-Touch don´t trigger by Home Z



  • I have a other Problem with my Printer and BLTouch.
    I home X and Y, in the second step are Home Z.
    The Bed go´s UP but wehn i Trigger the BL-Touch mith my Finger the Pin are stif and the Bed want chrash into the BLTouch.

    my HomeZ config

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Thu Jan 09 2020 13:42:31 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X50 Y50 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 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    are those OK



  • @CupaCabra
    Have you edited also the homeall.g?
    You have to change the M98 for calling the macros for deploy and retract...



  • post your config.g



  • The homeall.g

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Thu Jan 09 2020 09:19:35 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-405 Y-405 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-405 ; home X axis
    G1 H1 Y-405 ; home Y axis
    G1 X5 Y5 F6000 ; go back a few mm
    G1 H1 X-405 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y-405 ; then move slowly to Y axis endstop
    G1 H1 Z505 F360 ; move Z up stopping at the endstop
    G90 ; absolute positioning
    G92 Z500 ; set Z position to axis maximum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning



  • and the config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Thu Jan 09 2020 09:19:35 GMT+0100 (Mitteleuropäische Normalzeit)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"My Printer" ; set printer name

    M667 S1 ; select CoreXY mode

    ; Network
    M551 P"123456" ; set password
    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 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z4000.00 E415.00:415.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1400 E800:800 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 X400 Y400 Z500 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-low endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-low endstop for low end on Y via pin ystop

    ; BLTouch - Heaters
    ;M307 H3 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.

    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F100 T2000 ; set Z probe type to bltouch and the dive height + speeds
    G31 X20 Y0 Z3.3 P25 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
    M557 X50:350 Y50:350 S50 ; 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
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
    M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
    M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M143 H2 S280 ; set temperature limit for heater 2 to 280C
    M307 H2 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" 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"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1:2 T45 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1:2 T45 ; set fan 2 value. 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
    M563 P1 H2 F0 ; define tool 1
    G10 P1 X0 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

    ; 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



  • @CupaCabra said in BL-Touch don´t trigger by Home Z:

    M574 X1 S1 P"xstop" ; configure active-low endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-low endstop for low end on Y via pin ystop

    there is no config for the probe
    add
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z



  • @CupaCabra said in BL-Touch don´t trigger by Home Z:

    B4138

    your thermistors are configured wrong. that is the default and incorrect for your thermistors.



  • @CupaCabra
    As far as I could see the deploy and retract of bltouch is missing on homeall.g.



  • Ok, i change the Config.g

    but the thermistors shows the Temp. right.

    i use the PT100 Thermistors



  • @CupaCabra said in BL-Touch don´t trigger by Home Z:

    i use the PT100 Thermistors

    that is in no way reflected in your config.



  • @DIY-O-Sphere are not in the G30 deploy and the retract command inside.



  • This post is deleted!


  • @Veti can you help me ar it´s possible 4 you.
    So i can change the right Data in the Config.
    Sry 4 the stupid Help Requests



  • @DIY-O-Sphere said in BL-Touch don´t trigger by Home Z:

    As far as I could see the deploy and retract of bltouch is missing on homeall.g.

    Probe P9 does not require that



  • @CupaCabra
    And where do you call the G30?
    It's not incuded in the homeall.g

    Normaly it would look like this:
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Jul 14 2018 17:15:09 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-310 Y-325 F3500 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-310 ; home X axis
    G1 H1 Y-325 ; home Y axis
    G1 X5 Y5 F6000 ; go back a few mm
    G1 H1 X-310 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y-325 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 X128 Y160 F6000 ; go to first bed probe point and home Z
    M98 "Pdeployprobe.g" ; deploy mechanical Z probe
    G30 ; home Z by probing the bed
    ;G1 H2 Z5 F100 ; uncomment this line to lift the nozzle after homing

    M98 "Pretractprobe.g" ; retract mechanical Z probe



  • PT 100 would be configured like this (change the spi to match the correct terminal)

    M308 S0 P"spi.cs1" Y"rtd-max31865" ; configure sensor 0 as thermocouple via CS pin spi.cs1
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
    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
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
    M308 S2 P"spi.cs3" Y"rtd-max31865" ; configure sensor 2 as thermocouple via CS pin spi.cs3
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M143 H2 S280 ; set temperature limit for heater 2 to 280C
    M307 H2 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit

    but if you get output without this, this strongly indicated that you do not have pt100 sensors.



  • @DIY-O-Sphere

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.4 on Fri Dec 20 2019 11:16:59 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X385 Y355 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X385 ; home X axis
    G1 H1 Y355 ; home Y axis
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 H1 X385 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y355 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 H2 X0 Y0 F6000 ; go to first bed probe point and home Z

    ;M280 P0 S10 ; deploy
    M98 "deployprobe.g" ; deploy mechanical Z
    G30 ; home Z by probing the bed
    ;M280 P0 S90 ; retract
    M98 "retractprobe.g" ; deploy mechanical Z probe

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning



  • @Veti said in BL-Touch don´t trigger by Home Z:

    Probe P9 does not require that

    As you have much more experience you should take over now...😊



  • @Veti YES 🙂 you are right there are

    100K 1% NTC



  • @CupaCabra
    That is not the same code as posted first ....



  • @DIY-O-Sphere said in BL-Touch don´t trigger by Home Z:

    @CupaCabra
    That is not the same code as posted first ....

    yes, there are the revisedet version with your command´s.
    i take your script as idol.



  • @CupaCabra
    as @Veti mentioned you can remove the M98
    I have removed them too, as they furthermore where not correctly coded.



  • Hello, i have clean all my Home Script´s.
    I have test with the Orginal Script´s

    like below

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Fri Jan 10 2020 12:51:00 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 Z505 F1800 ; move Z up until the endstop is triggered
    G92 Z500 ; set Z position to axis maximum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    and

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Fri Jan 10 2020 12:36:58 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X405 Y405 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X405 ; home X axis
    G1 H1 Y405 ; home Y axis
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 H1 X405 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y405 ; then move slowly to Y axis endstop
    G1 H1 Z-505 F360 ; move Z down stopping at the endstop
    G90 ; absolute positioning
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90

    the Pin don´t come Out i have try homeall und homez

    If i write on the DuePanel or in the WebBrowser
    M401 oder M402 der Pin get Out and In
    the same with M280 P0 S10 or S90

    But if i try G30 Code the Z Move UP but the Pin don´t come Out.

    If ist someone possible to Help me to fix the Prob. please



  • your home scripts are for switches and not for probes.
    there is no reason why the bltouch should deploy.

    please go to the configurator and select bltouch and generate new home scripts.


  • Moderator

    @CupaCabra said in BL-Touch don´t trigger by Home Z:

    But if i try G30 Code the Z Move UP but the Pin don´t come Out.

    Please post your deployprobe and retractprobe files.

    Does the pin respond when you send M401 and M402?


Log in to reply