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

    BLTouch Homing in wrong direction

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    48
    3.6k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @chris
      last edited by Phaedrux

      @chris said in BLTouch Homing in wrong direction:

      G29 S1 ; Enable automatic bed mesh compensation

      Don't put this in config.g because it will load the heightmap before you have even homed the printer. A better place to put it is in your slicer start gcode after you've done a G28 to home all axis.

      The zprobe section is still formatted for RRF2. In RRF3 you should have something more like this:

      ; Z-Probe
      M950 S0 C"exp.heater7"                         ; 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 X46.5 Y0 Z3.6                         ; set Z probe trigger value, offset and trigger height
      M557 X50:280 Y45:310 S50                      ; define mesh grid
      
      ; deployprobe.g
      ; called to deploy a physical Z probe
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 15:12:19 GMT-0600 (Central Standard Time)
      M280 P0 S10 ; deploy BLTouch
      
      ; retractprobe.g
      ; called to retract a physical Z probe
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 15:12:33 GMT-0600 (Central Standard Time)
      M280 P0 S90 ; retract BLTouch
      

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • chrisundefined
        chris
        last edited by

        getting this error now
        G28 Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          It looks like you didn't take the full config file set from the configurator as suggested in your other thread. It would have made all the changes needed for RRF3.

          That warning is telling you that your homing files are using G1 S1 and G1 S2 and the S should be changed to H. (G1 S is now used for laser power when in laser mode)

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 15:29:23 GMT-0600 (Central Standard Time)
          G91                     ; relative positioning
          G1 H2 Z5 F6000          ; lift Z relative to current position
          G1 H1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
          G1 H2 X5 Y5 F6000       ; go back a few mm
          G1 H1 X-235 Y-215 F360  ; move slowly to X and Y axis endstops once more (second pass)
          G90                     ; absolute positioning
          G1 X-31.5 Y15 F6000     ; go to first bed probe point and home Z
          G30                     ; home Z by probing the bed
          

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • chrisundefined
            chris
            last edited by

            Used reprap firmware config tool tool to create new config .g file but now bltouch isn't deploying it does self test fine on powering up the printer but doesn't deploy with M280 P0 Z10.

            here is my new config .g now

            ; Configuration file for Duet WiFi (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 01 2020 12:28:30 GMT+0100 (British Summer Time)

            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Creality CR-10" ; set printer name

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

            ; Drives
            M569 P0 S0 ; physical drive 0 goes backwards
            M569 P1 S0 ; physical drive 1 goes backwards
            M569 P2 S0 ; physical drive 2 goes backwards
            M569 P3 S1 ; physical drive 3 goes forwards
            M584 X0 Y1 Z2 E3 ; set drive mapping
            M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm
            M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X60000.00 Y60000.00 Z30000.00 E1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
            M906 X1000 Y1000 Z1000 E1000 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 X310 Y320 Z400 S0 ; set axis maxima

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

            ; Z-Probe
            M950 S0 C"exp.heater7" ; 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 P500 X0 Y0 Z3.7 ; set Z probe trigger value, offset and trigger height
            M557 X50:280 Y50:280 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
            M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            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
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

            ; Fans
            M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
            M106 P0 S0 H1 T60 ; set fan 0 value. Thermostatic control is turned on
            M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
            M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

            ; Tools
            M563 P0 S"Extruder 1" 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

            1 Reply Last reply Reply Quote 0
            • chrisundefined
              chris
              last edited by

              here is home z

              ; homez.g
              ; called to home the Z axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 01 2020 12:28:31 GMT+0100 (British Summer Time)
              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

              1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt
                last edited by

                @chris said in BLTouch Homing in wrong direction:

                G31 P500 X0 Y0 Z3.7

                In your config.g file there is this line related to the Z probe.

                Being a BLTouch the P parameter should be 25.

                And I cannot image how the X and Y offsets could be 0. Those values are saying that the BLTouch pin is right where the nozzle is, along the X and Y axes.

                As to the probe self-testing but not working you need to verify that the wiring is correct. It's getting power but it seems it may not be getting the control signal.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                chrisundefined 1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Replace your zprobe section and deploy and retract macros with the ones I posted above. I took your values from your original config and brought them forward. The one you just generated doesn't have that.

                  Was the deploy and retract working before?

                  M280 P0 Z10.

                  That should be S10 not Z10

                  Z-Bot CoreXY Build | Thingiverse Profile

                  chrisundefined 1 Reply Last reply Reply Quote 0
                  • chrisundefined
                    chris
                    last edited by chris

                    yeah before I upgraded to v 3.1.1 yeah sorry was M280 P0 S10

                    1 Reply Last reply Reply Quote 0
                    • chrisundefined
                      chris @fcwilt
                      last edited by

                      @fcwilt Sorry this was g31

                      G31 P50 X46.5 Y0 Z3.7 ; set Z probe trigger value, offset and trigger height

                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • chrisundefined
                        chris
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • chrisundefined
                          chris @Phaedrux
                          last edited by chris

                          @Phaedrux yeah still no joy with G31 S-1 or M280 P0 S10. even when copied config u posted above using bltouch on heater 7 pwm on duet expansion breakout board. Obviously is wired correctly as does self test fine when power applied to the printer. Just not deploying.

                          fcwiltundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @chris
                            last edited by

                            @chris said in BLTouch Homing in wrong direction:

                            @fcwilt Sorry this was g31

                            G31 P50 X46.5 Y0 Z3.7 ; set Z probe trigger value, offset and trigger height

                            Those values look reasonable. But I believe that P50 should be P25.

                            Frederick

                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                            chrisundefined 1 Reply Last reply Reply Quote 0
                            • chrisundefined
                              chris @fcwilt
                              last edited by

                              @fcwilt Wouldn't have thought that would have stopped it deploying though isn't that just trigger value?

                              fcwiltundefined 1 Reply Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt @chris
                                last edited by

                                @chris said in BLTouch Homing in wrong direction:

                                @Phaedrux yeah still no joy with G31 S-1 or M280 P0 S10. even when copied config u posted above using bltouch on heater 7 pwm on duet expansion breakout board. Obviously is wired correctly as does self test fine when power applied to the printer. Just not deploying.

                                Self test only requires that the power and ground connections be correct.

                                If the control signal from the duet that triggers the probe deployment doesn't get to the probe then it won't work.

                                So either the configuration of the Z probe doesn't match the pin you are using to trigger the probe OR something has happened to the wiring .

                                Frederick

                                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @chris
                                  last edited by

                                  @chris said in BLTouch Homing in wrong direction:

                                  on heater 7 pwm on duet expansion breakout board.

                                  Can you post a photo of how you're connected? Are you connecting to the expansion pins on the duet or to a separate breakout board?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  chrisundefined 1 Reply Last reply Reply Quote 0
                                  • fcwiltundefined
                                    fcwilt @chris
                                    last edited by

                                    @chris said in BLTouch Homing in wrong direction:

                                    @fcwilt Wouldn't have thought that would have stopped it deploying though isn't that just trigger value?

                                    No it wouldn't cause it to fail to deploy but it can affect the accuracy of the readings - once you get it working.

                                    Frederick

                                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                    1 Reply Last reply Reply Quote 0
                                    • chrisundefined
                                      chris @Phaedrux
                                      last edited by chris

                                      @Phaedrux
                                      here is an image bltouch pwm on heater 7 pwm and the switch wires on z probe in. was working fine before upgrading to v3.1.1.
                                      image

                                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @chris
                                        last edited by

                                        @chris said in BLTouch Homing in wrong direction:

                                        @Phaedrux
                                        here is an image bltouch pwm on heater 7 pwm and the switch wires on z probe in. was working fine before upgrading to v3.1.1.

                                        I've not seen that little board before. Does it always use heater 7 for the Z probe?

                                        Frederick

                                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                        1 Reply Last reply Reply Quote 0
                                        • chrisundefined
                                          chris
                                          last edited by chris

                                          yeah just makes heater 7 and heater 6 available from the ide / ribbon pin connector

                                          https://www.duet3d.com/Expansion_Breakout

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by Phaedrux

                                            In that case I would suggest removing the breakout board entirely. You can connect directly to the needed pins on the expansion port. Using the breakout board is likely changing the name of the pin being used for the M950 definition, but I'll have to check what that is. In the meantime, just connect the BLtouch directly to the expansion pins as shown here.

                                            0e609858-1f97-44d9-b50d-7851f1946531-image.png

                                            Z-Bot CoreXY Build | Thingiverse Profile

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