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

    BL Touch Flashing

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    18
    1.3k
    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.
    • Vetiundefined
      Veti
      last edited by

      From the linked document you can see the command to use is M280 with the parameters for your connection and the command to execute.

      Also for M557 you need to define the area of your bed where the probing is allowed.
      this depends on the location of your probe etc.
      You could also use the configurator which calculates these things for you.
      configurator.reprapfirmware.org

      1 Reply Last reply Reply Quote 0
      • WILLYD3113undefined
        WILLYD3113
        last edited by

        The BL touch is now solid red and will test when It turns on but I cannot get it to deploy or retract.

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

          if you cant get it working by adjusting the grub screw you will have to go in deeper.
          see https://www.youtube.com/watch?v=wq5QmN-MIJA

          1 Reply Last reply Reply Quote 1
          • WILLYD3113undefined
            WILLYD3113
            last edited by

            New Config:
            ; Configuration file for Duet WiFi (firmware version 1.21)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v2 on Tue Apr 30 2019 09:39:22 GMT-0500 (Central Daylight Time)

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

            ; Network
            M550 P"PussySlayer" ; Set machine name
            M552 S1 ; Enable network
            M587 S"11818e" P"endless.955.drift" ; Configure access point. You can delete this line once connected
            M586 P0 S1 ; Enable HTTP
            M586 P1 S0 ; Disable FTP
            M586 P2 S0 ; Disable Telnet

            ; Drives
            M569 P0 S0 ; Drive 0 goes backwards
            M569 P1 S1 ; Drive 1 goes forwards
            M569 P2 S0 ; Drive 2 goes backwards
            M569 P3 S1 ; Drive 3 goes forwards
            M350 X256 Y256 Z256 E256 I0 ; Configure microstepping without interpolation
            M92 X1280.00 Y1280.00 Z6400.00 E6790.61 ; Set steps per mm
            M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; Set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
            M906 X1200.00 Y1200.00 Z1200.00 E1600.00 I0 ; 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 X220 Y220 Z220 S0 ; Set axis maxima

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

            ; Z-Probe
            M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
            M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
            G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
            M557 X10:210 Y10:210 S25 ; Define mesh grid

            ; Heaters
            M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
            M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120 ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
            M143 H1 S280 ; Set temperature limit for heater 1 to 280C

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

            ; 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 saving after power loss is not enabled

            ; Custom settings
            M307 H3 A-1 C-1 D-1
            M558 P9 H5 F100 T2000
            G31 X0 Y0 Z0 P25

            ; Miscellaneous
            M501 ; Load saved parameters from non-volatile memory

            Deploy probe:
            ; deployprobe.g
            ; called to deploy a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v2 on Tue Apr 30 2019 09:39:22 GMT-0500 (Central Daylight Time)
            M280 P3 S10

            Retract Probe:
            ; retractprobe.g
            ; called to retract a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v2 on Tue Apr 30 2019 09:39:22 GMT-0500 (Central Daylight Time)
            M280 P3 S90

            1 Reply Last reply Reply Quote 0
            • WILLYD3113undefined
              WILLYD3113
              last edited by

              The interface reads 0 and the BL is solid red(turns off when I pull out the probe) and it does a few test clicks when I turn on the printer but any attempt to deploy or retract goes through the console fine but the BL doesn't do anything.

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by dc42

                @willyd3113 said in BL Touch Flashing:

                Deploy probe:
                ; deployprobe.g
                ; called to deploy a physical Z probe
                ;
                ; generated by RepRapFirmware Configuration Tool v2 on Tue Apr 30 2019 09:39:22 GMT-0500 (Central Daylight Time)
                M280 P3 S10
                Retract Probe:
                ; retractprobe.g
                ; called to retract a physical Z probe
                ;
                ; generated by RepRapFirmware Configuration Tool v2 on Tue Apr 30 2019 09:39:22 GMT-0500 (Central Daylight Time)
                M280 P3 S90

                See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_Duet_2_WiFi_Ethernet. You need to add the i1 parameter to your M280 commands. Then test M401 and M402 again.

                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

                1 Reply Last reply Reply Quote 0
                • WILLYD3113undefined
                  WILLYD3113
                  last edited by

                  All is working! Thanks Guys!

                  1 Reply Last reply Reply Quote 0
                  • WILLYD3113undefined
                    WILLYD3113
                    last edited by

                    Hey Guys I'm finding a weird issue with the probe. Ive set the probe as my Z Endstop now and I've configured the offset countless times but it doesn't seem to change where the printer thinks zero is. I will set the offset to 0, manually configure where Zero is G92, and run G30 S-1. The printer after restarting then homes when I command it to then goes to z = 5.0 but its really more like 8- 10 and I have no clue why. I've read the BeTrue article and can't figure it out.
                    Here's my Config:
                    ; Configuration file for Duet WiFi (firmware version 1.21)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Mon May 06 2019 22:38:59 GMT-0500 (Central Daylight Time)

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

                    ; Network
                    M550 P"Mods Suck" ; Set machine name
                    M552 S1 ; Enable network
                    M587 S"11818e" P"endless.955.drift" ; Configure access point. You can delete this line once connected
                    M586 P0 S1 ; Enable HTTP
                    M586 P1 S0 ; Disable FTP
                    M586 P2 S0 ; Disable Telnet

                    ; Drives
                    M569 P0 S0 ; Drive 0 goes backwards
                    M569 P1 S1 ; Drive 1 goes forwards
                    M569 P2 S0 ; Drive 2 goes backwards
                    M569 P3 S1 ; Drive 3 goes forwards
                    M350 X256 Y256 Z256 E256 I0 ; Configure microstepping without interpolation
                    M92 X1280.00 Y1280.00 Z6400.00 E6790.61 ; Set steps per mm
                    M566 X1800.00 Y1800.00 Z24.00 E240.00 ; Set maximum instantaneous speed changes (mm/min)
                    M203 X12000.00 Y12000.00 Z360.00 E2400.00 ; Set maximum speeds (mm/min)
                    M201 X1000.00 Y1000.00 Z2040.00 E500.00 ; Set accelerations (mm/s^2)
                    M906 X1200.00 Y1200.00 Z1200.00 E1700.00 I0 ; 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 X220 Y220 Z220 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 H10 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                    G31 P25 X15 Y20 Z3.4 ; Set Z probe trigger value, offset and trigger height
                    M557 X10:200 Y10:200 S30 ; Define mesh grid

                    ; Heaters
                    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
                    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
                    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

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

                    ; 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 saving after power loss is not enabled

                    ; Custom settings
                    M307 H3 A-1 C-1 D-1
                    M558 P9 H5 F100 T2000
                    G31 X0 Y0 Z0 P25

                    ; Miscellaneous
                    M501 ; Load saved parameters from non-volatile memory

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @WILLYD3113
                      last edited by

                      @willyd3113 said in BL Touch Flashing:

                      Ive set the probe as my Z Endstop now and I've configured the offset countless times but it doesn't seem to change where the printer thinks zero is. I will set the offset to 0, manually configure where Zero is G92, and run G30 S-1. The printer after restarting then homes when I command it to then goes to z = 5.0 but its really more like 8- 10 and I have no clue why

                      G30 S-1 measures the trigger height, but doesn't do anything with it apart form report it. See https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height.

                      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

                      1 Reply Last reply Reply Quote 0
                      • WILLYD3113undefined
                        WILLYD3113
                        last edited by

                        After Probing with G30 S-1 I take that height and plug it into the G31 line of config file, forgot to mention.

                        chriskimbrundefined 1 Reply Last reply Reply Quote 0
                        • chriskimbrundefined
                          chriskimbr @WILLYD3113
                          last edited by

                          @willyd3113 Ive done this countless times and it doesn't seem to effect where the bed/nozzle is. Mine still prints too far off the bed.

                          1 Reply Last reply Reply Quote 0
                          • WILLYD3113undefined
                            WILLYD3113
                            last edited by WILLYD3113

                            Is it like 4 to 5 mm away from bed even at z=0? @chriskimbr

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