BLTouch M401 M402 test does not work



  • Hello everyone,
    I've recently set up a coreXY machine for which the homing for the Z axs takes place through a Zprobe (BLTouch). once connected the BLTouch, when trying to perform the M401 M402 test, the sensor does not perform the movements; neither retract nor deploy.

    Bellow is the config.g

    Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 05 2020 11:50:08 GMT+0300 (Eastern European Summer Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Oscar" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M551 P"" ; set password
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M584 X1 Y0 Z2 E3:4 ; set drive mapping; INIT:X=0; Y=1; Z2;E3:4
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S1 ; physical drive 2 goes FORWARDS
    M569 P3 S1 ; physical drive 3 goes FORWARDS
    M569 P4 S0 ; physical drive 4 goes backwards

    M350 X16 Y16 Z16:16 E16:16 I1 ; configure microstepping with interpolation ; INIT- M350 X16 Y16 Z16 E16:16 I1
    M92 X160.00 Y160.00 Z3200.00 E420.00:420.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 X1400 Y1400 Z1200 E800:800 I80 ; 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 X500 Y500 Z500 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop -added "! to xstop"
    M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop - added"! to xstop"
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"duex.e5heat" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P25 X10 Y10 Z3.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:470 Y15:470 S20 ; define mesh grid

    There is also the homez.g bellow:
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 05 2020 11:50:09 GMT+0300 (Eastern European Summer Time)
    G91 ; relative positioning
    G1 H2 Z5 F800 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X15 Y15 F2400 ; 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 Z2 F100 ; lift Z relative to current position
    G90 ; absolute positioning

    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 05 2020 11:50:09 GMT+0300 (Eastern European Summer Time)
    M280 P0 S10 ; deploy BLTouch



  • please post the output of m115 to confirm that you have installed firmware version 3.1.1



  • @Veti said in BLTouch M401 M402 test does not work:

    please post the output of m115

    M115
    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later + DueX5 FIRMWARE_DATE: 2020-05-19b2



  • I would like to also add the following:

    ; retractprobe.g
    ; called to retract a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 05 2020 11:50:09 GMT+0300 (Eastern European Summer Time)
    M280 P0 S90 ; retract BLTouch

    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Oct 05 2020 11:50:09 GMT+0300 (Eastern European Summer Time)
    M280 P0 S10 ; deploy BLTouch



  • can you confirm that you have put a jumper on "5V AUX JUMPER SELECT PINS" between the 5V AUX and 5V INT pins on the duex.



  • ![0_1602247267920_Duex 5 pin config.jpg](Uploading 100%)



  • Duex 5 pin config.jpg



  • if heater 3 is PWM1 then pwm 5 should be heater 7 not 5



  • M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds.

    H5 becomes H7?



  • Nevermind the last question. I meant to ask that "duex.e5heat" becomes "duex.e7heat", in the M950 bellow?

    M950 S0 C"duex.e5heat" ; create servo pin 0 for BLTouch



  • @campeancalin said in BLTouch M401 M402 test does not work:

    M950 S0 C"duex.e5heat" ; create servo pin 0 for BLTouch

    the configurator even suggest to do this
    M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch



  • There 2 options in the configurator : "duex.pwm5" and "duex.pwm5"(active low). Wht's the diferrence between them?



  • @campeancalin
    the output value is inverted



  • @campeancalin your P0 should be P7 in your deploy and retractprobe.g



  • @wdenker said in BLTouch M401 M402 test does not work:

    your P0 should be P7 in your deploy and retractprobe.g

    P0 is correct for RRF3
    P7 was RRF2



  • @Veti you are right sorry I pulled from my 2.05 version. and 3.1 I only have working on duet 3 so far.



  • Thank you again for the info @Veti. Everything works with "duex.pwm5" set up.


Log in to reply