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

    BL Touch Problem Duet wifi 2

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    16
    1.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.
    • dc42undefined
      dc42 administrators @jackismad
      last edited by dc42

      @jackismad, to perform a plain G30 test (with no XYZP parameters), you don't need to home Z first, just X and Y.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

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

        @jackismad said in BL Touch Problem Duet wifi 2:

        I can't home the z axis to preform a G

        You can use G92 Z0 to set the z axis as homed, then you can jog it around.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @Phaedrux
          last edited by

          @phaedrux said in BL Touch Problem Duet wifi 2:

          BLTouch V3

          Is there a V3 ?

          According to Antclabs website the latest iteration is classified as V2.2

          Versions

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @A Former User
            last edited by

            @calvinx Yes, it's quite new though. They've only just posted the manual.
            https://www.antclabs.com/manual

            Z-Bot CoreXY Build | Thingiverse Profile

            A Former User? 1 Reply Last reply Reply Quote 0
            • jackismadundefined
              jackismad @dc42
              last edited by

              Thanks for the reponce.
              I looked at the problem with fresh eyes this morning. I Found in my Homeall.g file it was calling the wrong file on this line.
              M98 deployprobe.g ; deploy mechanical Z probe
              and
              M98 retractprobe.g ; retract mechanical Z probe
              They were both like the old style Pdeployprobe.g/Pretractprobe.g. So i changed this, set the offsets then did a static test where it worked. I then proceeded to do a test, i homed all, it deployed and lowered correctly, when it hit the bed it rose 5. I must have changed a setting somewhere to make it do that.

              The next issue i now face, is after it rises i get a warning where robe.g couldn't be found. I am assuming i am doing something incorrectly and its not searching for the full deployprobe.g or retractprobe.g

              I moved on with doing a static test recommended by @Phaedrux.
              The result was with the probe deployed using the M401, When triggered the pin rises, goes red then the pin drops again with Z-probe reading 0 both times.

              The G30 Test, it does what it is suppose to do, it lowers then when it triggers it rises 5 again. (Need to find that in the config to stop it from doing that)

              I did start the dynamic test to find the trigger height. Which i worked it out to be -0.148 lower then when it triggers. i was going to amend this when i know it is accurate with the static test working first...

              Thanks again

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @Phaedrux
                last edited by

                @phaedrux

                Thanks for the info.

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

                  Can you post your homing files and config.g?

                  You don't need to use M98 Pdeployprobe.g or M401 to control the pin. When using probe type P9 for the BLTouch the Duet will control the pin as needed when you call G30, G29, etc.

                  You still need to have deployprobe.g and retractprobe.g macros in the sys folder with the servo commands in them.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  jackismadundefined 1 Reply Last reply Reply Quote 0
                  • jackismadundefined
                    jackismad @Phaedrux
                    last edited by

                    @phaedrux Yeah sure, here they are, I

                    Config.g
                    ; Configuration file for Duet WiFi (firmware version 1.21)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Sat Apr 13 2019 16:24:07 GMT+0100 (British Summer Time)

                    ; General preferences
                    G90 ; Send absolute coordinates...
                    M83 ; ...but relative extruder moves

                    ; Network
                    M550 P"Jack" ; Set machine name
                    M552 S1 ; Enable network
                    ;*** Access point is configured manually via M587
                    M586 P0 S1 ; Enable HTTP
                    M586 P1 S1 ; Enable FTP
                    M586 P2 S0 ; Disable Telnet

                    ; Drives
                    M569 P0 S0 ; Drive 0 goes forwards
                    M569 P1 S0 ; Drive 1 goes forwards
                    M569 P2 S1 ; Drive 2 goes backwards
                    M569 P3 S1 ; Drive 3 goes forwards
                    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                    M92 X160.00 Y160.00 Z8000.00 E100.00 ; Set steps per mm
                    M566 X600.00 Y600.00 Z18.00 E300.00 ; Set maximum instantaneous speed changes (mm/min)
                    M203 X6000.00 Y6000.00 Z180.00 E6000.00 ; Set maximum speeds (mm/min)
                    M201 X1500.00 Y1500.00 Z100.00 E10000.00 ; Set accelerations (mm/s^2)
                    M906 X500.00 Y500.00 Z500.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
                    M84 S30 ; Set idle timeout

                    ; Axis Limits
                    M208 X-50 Y-10 Z0 S1 ; Set axis minima
                    M208 X220 Y220 Z200 S0 ; Set axis maxima

                    ; Endstops
                    M574 X1 Y1 S0 ; Set active low and disabled endstops

                    ; Z-Probe
                    M574 Z1 S2 ; Set endstops controlled by probe
                    M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                    M558 P9 H5 F120 T1500 ; Set Z probe type to bltouch and the dive height + speeds
                    G31 P1 X-50 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
                    M557 X20:200 Y20:200 S40 ; Define mesh grid

                    ; Heaters
                    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
                    M305 P0 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 0
                    M143 H0 S130 ; Set temperature limit for heater 0 to 130C
                    M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S275 ; Set temperature limit for heater 1 to 275C

                    ; Fans
                    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

                    ; Tools
                    M563 P0 D0 H1 ; 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

                    ; Automatic power saving
                    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

                    ; Custom settings are not configured

                    ; Miscellaneous
                    M501 ; Load saved parameters from non-volatile memory
                    T0 ; Select first tool

                    homeall.g
                    ; homeall.g
                    ; called to home all axes
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Sat Apr 13 2019 16:24:08 GMT+0100 (British Summer Time)
                    G91 ; relative positioning
                    G1 Z0.5 F1500 S2 ; lift Z relative to current position
                    M98 deployprobe.g ; deploy mechanical Z probe
                    G1 S1 X-258 Y-235 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                    G1 X5 Y5 F1500 ; go back a few mm
                    G1 S1 X-258 Y-235 F360 ; move slowly to X and Y axis endstops once more (second pass)
                    G90 ; absolute positioning
                    G1 X20 Y20 F1500 ; go to first bed probe point and home Z
                    G30 ; home Z by probing the bed

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

                    M98 retractprobe.g ; retract mechanical Z probe

                    homex.g
                    ; homex.g
                    ; called to home the X axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Sat Apr 13 2019 16:24:08 GMT+0100 (British Summer Time)
                    G91 ; relative positioning
                    G1 Z5 F1500 S2 ; lift Z relative to current position
                    G1 S1 X-258 F1800 ; move quickly to X axis endstop and stop there (first pass)
                    G1 X5 F1500 ; go back a few mm
                    G1 S1 X-258 F360 ; move slowly to X axis endstop once more (second pass)
                    G1 Z-5 F1500 S2 ; lower Z again
                    G90 ; absolute positioning

                    homey.g
                    ; homey.g
                    ; called to home the Y axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Sat Apr 13 2019 16:24:08 GMT+0100 (British Summer Time)
                    G91 ; relative positioning
                    G1 Z5 F1500 S2 ; lift Z relative to current position
                    G1 S1 Y-235 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                    G1 Y5 F1500 ; go back a few mm
                    G1 S1 Y-235 F360 ; move slowly to Y axis endstop once more (second pass)
                    G1 Z-5 F1500 S2 ; lower Z again
                    G90 ; absolute positioning

                    homez.g
                    ; homez.g
                    ; called to home the Z axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Sat Apr 13 2019 16:24:08 GMT+0100 (British Summer Time)
                    G91 ; relative positioning
                    G1 Z0 F1500 S2 ; lift Z relative to current position
                    G90 ; absolute positioning
                    G1 X20 Y20 F1500 ; 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 S2 Z5 F25 ; lift Z relative to current position
                    ;G90 ; absolute positioning

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

                      @jackismad said in BL Touch Problem Duet wifi 2:

                      M98 deployprobe.g ; deploy mechanical Z probe
                      M98 retractprobe.g ; retract mechanical Z probe

                      You can remove those from homeall.g

                      M558 H5 sets the dive height of the probe, so that explains it lifting.

                      In your homeall you have G1 Z0.5 F1500 S2 ; lift Z relative to current position which only lifts it 0.5mm, if you change that to 5mm things will be a bit smoother. I also like to return the nozzle to 5mm above the bed after the probe is finished just to keep the pin sufficiently above the bed.

                      If you make those changes I think things will work a bit more smoothly.

                      I think your probe is working as long as it's stopping the movement of the bed when you trigger the pin by hand during a G30 probe.

                      https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe to find your trigger height.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      jackismadundefined 1 Reply Last reply Reply Quote 0
                      • jackismadundefined
                        jackismad @Phaedrux
                        last edited by

                        @phaedrux Fantasic, thank you very much, just going to go through the test page now! I have just relised aswell my Z axis steps per mm is screwed up as 5mm seems more like 50mm!! Ill get this sorted then sort out the trigger height!

                        Thanks again for your help!

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