BL Touch flashes after homing z



  • hey,
    I can maka a normal homing z and after it, the BL isn´t working anymore. no m401 / m402( when pushed manually in). It is also flashing red... I can´t stop it.
    Sometimes it calls ´´already triggered´´ when trying G32

    Duet 3
    M303 H0 P1 S65
    Status
    Idle
    Mode: FFF
    Tool Position
    X
    35.0
    Y
    35.0
    Z
    232.60
    Extruder Drives
    Drive 0
    0.0
    Drive 1
    0.0
    Drive 2
    0.0
    Speeds
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    Sensors
    Vin
    24.0 V
    V12
    12.2 V
    MCU Temperature
    39.8 C
    Z-Probe
    1000
    Tools
    Extra
    Control All
    Tool Heater Current Active Standby
    Tool 0
    T0 - Load Filament Heater 1
    off 21.0 C
    0
    0
    Bed Heater 0
    active 20.8 C
    0
    0
    Temperature Chart
    Macros Directory

    sys
    0:/macros/sys/config.g
    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)

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

    ; Drives
    M569 P0.0 S1 ; physical drive 0.0 goes forwards
    M569 P0.1 S1 ; physical drive 0.1 goes forwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    M569 P0.5 S1 ; physical drive 0.5 goes forwards
    M569 P1.0 S1 ; physical drive 1.0 goes forwards
    M569 P1.1 S1 ; physical drive 1.1 goes forwards
    M569 P1.2 S1 ; physical drive 1.2 goes forwards
    M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E1.0:1.1:1.2 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16:16:16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00 E1600.00:1600.00:1600.00:92.70:92.70:92.70 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00:120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E3600.00:3600.00:3600.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00:250.00:250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z3000 E3000:3000:3000:1200:1200:1200 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 X750 Y750 Z800 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"!io3.in" ; configure active-high endstop for high end on X via pin !io3.in
    M574 Y2 S1 P"!io0.in" ; configure active-high endstop for high end on Y via pin !io0.in

    ; Z-Probe
    M558 P9 C"io4.in" H15 F120 T1200 ; set Z probe type to bltouch and the dive height + speeds
    M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
    G31 P500 X-20 Y-20 Z4 ; set Z probe trigger value, offset and trigger height
    M557 X15:650 Y15:650 S60 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 S1 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S90 ; set temperature limit for heater 0 to 90C
    M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
    M106 P0 S0.8 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out7" Q500 ; create fan 1 on pin out7 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"out8" Q500 ; create fan 2 on pin out8 and set its frequency
    M106 P2 S1 H 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

    ; Custom settings are not defined
    M671 X-12:92:92:-12 Y185:185:615:615 S4

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power

    deploy----------------------------
    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    M280 P0 S10 ; deploy BLTouch

    retract.g--------------------------------
    ; retractprobe.g
    ; called to retract a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    M280 P0 S90 ; retract BLTouch

    homez.g-------------------------
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Thu Jun 25 2020 00:21:12 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X15 Y15 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    Duet Web Control 3.1.1



  • @barbarossa-cologne said in BL Touch flashes after homing z:

    I would check wiring first and whether the core has the right position (allen key on top of the BLtouch).
    I would change G31 P500 ... to P25.
    I don't know whether io4 needs a pullup resistor at the Duet3, in this case would be necessary to set the ^: M558 P9 C"^io4.in" H15 F120 T1200
    => I found an old thread where you need pullup for both M558 and M950:
    M558 P9 C"^io4.in" H15 F120 T1200
    M950 S0 C"^io4.out"

    Probably nothing to do with the problem, but you have 3 mappings for E, but 6 values for E at the following settings.


  • Moderator

    Using your pins in the configurator I get this:

    ; Z-Probe
    M950 S0 C"io4.out"                                    ; create servo pin 0 for BLTouch
    M558 P9 C"^io4.in" H5 F60 T6000                     ; set Z probe type to bltouch and the dive height + speeds
    G31 P25 X0 Y0 Z2.5                                   ; set Z probe trigger value, offset and trigger height
    

    So you may need the pullup ^ enabled on io4.in

    The other thing I notice is that your homez places the probe outside the bed if your G31 X Y offsets are correct.

    G1 X15 Y15 F6000 ; go to first probe point
    G31 P500 X-20 Y-20 Z4 ; set Z probe trigger value, offset and trigger height

    Also Z4 for a trigger height seems very high for the BLtouch.

    What is in your homeall?



  • It was the thread https://forum.duet3d.com/topic/15823/duet-3-inverted-pull-up-inverted-pull-up where it was told that io4.in and io4.out should be pulled up with ^ with the Duet3.



  • @JoergS5 said in BL Touch flashes after homing z:

    Probably nothing to do with the problem, but you have 3 mappings for E, but 6 values for E at the following settings.

    What do you mean with it and how can I change this?



  • This post is deleted!


  • This post is deleted!


  • @JoergS5
    Yes.. thank you. But the problem is still, that the no touch flashes after doing a z probe. Z probe, but then I have to deconnect the cable and then it's working. M401 / M402.
    Also after successfully probe the first point (G32) it's stopping,and it says ''z probe was not triggered during probing move''.



  • @barbarossa-cologne it is some time ago, so I don't remember well.

    First you should update to firmware 3.1.1, if you have an older version.

    Then please make an image of the BLtouch 5-pin connector and the wiring on the Duet to check wiring.

    In the meantime I know that
    M558 P9 C"io4.in" H5 F60 T6000
    doesn't need ^ because it already has pullup acticated automatically.


  • Moderator

    Post your homeall.g and bed.g please.



  • 
    Duet 3
    g32
    Status
    Idle
    Mode: FFF
    Tool Position
    X
    35.0
    Y
    35.0
    Z
    -12.50
    Extruder Drives
    Drive 0
    0.0
    Drive 1
    0.0
    Drive 2
    0.0
    Speeds
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    Sensors
    Vin
    24.0 V
    V12
    12.1 V
    MCU Temperature
    44.8 C
    Z-Probe
    0
     Tools
     Extra
     Control All
    Tool	Heater	Current	Active	Standby
    Tool 0
    T0 - Load Filament	Heater 1
    off	25.9 C	
    0
    0
    Bed	Heater 0
    fault	25.9 C	
    70
    0
    Temperature Chart
    Macros Directory
    >
    sys
    0:/macros/sys/homeall.g
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91                   ; relative positioning
    G1 H2 Z15 F2400       ; lift Z relative to current position
    G1 H1 X805 Y805 F1200 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 H2 X-5 Y-5 F2400   ; go back a few mm
    G1 H1 X805 Y805 F360  ; move slowly to X and Y axis endstops once more (second pass)
    G1 H1 Z-805 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 Z15 F40           ; lift Z relative to current position
    ;G90                  ; absolute positioning
    
    
    


  • @Phaedrux

    
    Duet 3
    g32
    Status
    Idle
    Mode: FFF
    Tool Position
    X
    35.0
    Y
    35.0
    Z
    -12.50
    Extruder Drives
    Drive 0
    0.0
    Drive 1
    0.0
    Drive 2
    0.0
    Speeds
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    Sensors
    Vin
    24.0 V
    V12
    12.1 V
    MCU Temperature
    44.8 C
    Z-Probe
    0
     Tools
     Extra
     Control All
    Tool	Heater	Current	Active	Standby
    Tool 0
    T0 - Load Filament	Heater 1
    off	25.9 C	
    0
    0
    Bed	Heater 0
    fault	25.9 C	
    70
    0
    Temperature Chart
    Macros Directory
    >
    sys
    0:/macros/sys/bed.g
    ; bed.g
    ; Called using G32
    ; Called to perform True Autolevel using 4-point probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    
    M561 ; clear any bed transform
    G29 S3; Clear bed height map
    ; Probe 4-point
    
    G30 P0 X150 Y135 Z-9999 ; Front Right
    G30 P1 X550 Y135 Z-9999 ; Front Left
    G30 P2 X550 Y565 Z-9999 ; Back Left
    G30 P3 X150 Y565 Z-9999 S4 ; Back Right
    
    
    
    
    
    

  • Moderator

    Let's try and keep it to a single thread please.



  • sorry
    That was not my plan.....



  • @barbarossa-cologne in the other thread you say firmware is 3.01 beta 9, you should update to 3.1.1 first before doing anything else.


Log in to reply