Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    BLTouch M401 M402 test does not work

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    17
    752
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • campeancalinundefined
      campeancalin
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • campeancalinundefined
          campeancalin
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • campeancalinundefined
            campeancalin
            last edited by

            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

            wdenkerundefined 1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by Veti

              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.

              1 Reply Last reply Reply Quote 0
              • campeancalinundefined
                campeancalin
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • campeancalinundefined
                  campeancalin
                  last edited by

                  Duex 5 pin config.jpg

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • campeancalinundefined
                      campeancalin
                      last edited by

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

                      H5 becomes H7?

                      1 Reply Last reply Reply Quote 0
                      • campeancalinundefined
                        campeancalin
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti
                          last edited by

                          @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

                          1 Reply Last reply Reply Quote 1
                          • campeancalinundefined
                            campeancalin
                            last edited by

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

                            Vetiundefined 1 Reply Last reply Reply Quote 0
                            • Vetiundefined
                              Veti @campeancalin
                              last edited by Veti

                              @campeancalin
                              the output value is inverted

                              1 Reply Last reply Reply Quote 0
                              • wdenkerundefined
                                wdenker @campeancalin
                                last edited by wdenker

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

                                www.bd3dcustoms.com | BD3DCUSTOMS Supercube

                                Vetiundefined 1 Reply Last reply Reply Quote 0
                                • Vetiundefined
                                  Veti @wdenker
                                  last edited by

                                  @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

                                  wdenkerundefined 1 Reply Last reply Reply Quote 1
                                  • wdenkerundefined
                                    wdenker @Veti
                                    last edited by

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

                                    www.bd3dcustoms.com | BD3DCUSTOMS Supercube

                                    1 Reply Last reply Reply Quote 1
                                    • campeancalinundefined
                                      campeancalin
                                      last edited by

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

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA