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

    BL Touch doesn't work

    Scheduled Pinned Locked Moved
    Third-party add-ons
    4
    24
    769
    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.
    • Hiroakiundefined
      Hiroaki
      last edited by

      Hello.
      Yes, This is the config file.
      ; Configuration file for Duet WiFi (firmware version 2.03)(+bed conpensation)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 04 2020 21:15:41 GMT+0900 (日本標準時)

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

      ; Network
      M551 P"3310" ; set password
      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 forwards
      M569 P1 S0 ; physical drive 1 goes forwards
      M569 P2 S1 ; physical drive 2 goes forwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M569 P4 S0 ; physical drive 4 goes forwards
      M569 P5 S1 ; physical drive 5 goes forwards
      M569 P6 S1 ; physical drive 6 goes forwards
      M569 P7 S1 ; physical drive 7 goes forwards

      M584 X0 Y1 Z2:5:6:7 E3:4 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X100.00 Y100.00 Z400.00 E381.97:381.97 ; set steps per mm
      M566 X600.00 Y600.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X12000.00 Y12000.00 Z600.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
      M201 X800.00 Y800.00 Z200.00 E500.00:500.00
      M906 X1500 Y1500 Z1200 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X-17 Y0 Z0 S1 ; set axis minima
      M208 X375 Y340 Z615 S0 ; set axis maxima

      ; Endstops
      M574 X1 Y1 S1 ; set active high endstops
      M574 Z1 S2 ; set endstops controlled by probe

      ; Z-Probe
      M307 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
      M558 P9 H3 F120 T6000 ; set Z probe type to BLTouch and the dive height + speeds
      G31 P25 X-25 Y0 Z4.75
      ; set Z probe trigger value, offset and trigger height
      M557 X10:340 Y10:330 S150

      ;leadscrews location
      M671 X410:410:-65:-65 Y35:305:305:35 S10 ; leadscrews at rear left, front left, front right, and rear right

      ; Heaters
      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 T45:65 H100:101:102 ; set fan speed half at MCU TEMP 45 Full at MCU TEMP 65
      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 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
      M563 P1 D1 H1 F0 ; define tool 1
      G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
      G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
      M563 P2 H1 F0 ; define tool 2
      G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
      G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

      ; Laser filament sensor
      M591 D0 P5 C3 S1 R1:120 E10.0 ;extruder drive 0 is connected to E0 endstop input, enabled, 40% to 130% tolerance, 3mm detection length

      ; Custom settings are not defined

      ; Miscellaneous
      M575 P1 S1 B57600 ; enable support for PanelDue
      T0 ; select first tool

      And here is the homeall.g
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-250 Y-250 F3000 ; move quickly to X or Y endstop and stop there (first pass)
      G1 H1 X-250 ; home X axis
      G1 H1 Y-258 ; home Y axis
      G1 X5 Y5 F6000 ; go back a few mm
      G1 H1 X-10 F360 ; move slowly to X axis endstop once more (second pass)
      G1 H1 Y-10 ; then move slowly to Y axis endstop
      G90 ; absolute positioning
      G1 X50 Y50 F6000 ; go to first bed probe point and home Z

      G30 ; home Z by probing the bed
      G1 X0 Y0 F6000

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

      Thank you.

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        What version of the firmware are you running?
        Output of M115 please

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

          what about the deploy and retract scripts?

          Hiroakiundefined 1 Reply Last reply Reply Quote 0
          • Hiroakiundefined
            Hiroaki @jay_s_uk
            last edited by

            @jay_s_uk Hello
            It's
            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet WiFi 1.02 or later + DueX5 FIRMWARE_DATE: 2020-02-09b1
            Thanks

            1 Reply Last reply Reply Quote 0
            • Hiroakiundefined
              Hiroaki @Veti
              last edited by

              @Veti Hello.
              I don't understand the meaning of scripts, but
              M280 P7 S90 and
              M280 P7 S10 are working correctly....

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

                @Hiroaki said in BL Touch doesn't work:

                @Veti Hello.
                I don't understand the meaning of scripts, but
                M280 P7 S90 and
                M280 P7 S10 are working correctly....

                Have you created, in the firmware System folder, the deployprobe.g and retractprobe.g files containing the appropriate M280 command?

                Frederick

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

                Hiroakiundefined 1 Reply Last reply Reply Quote 0
                • Hiroakiundefined
                  Hiroaki @fcwilt
                  last edited by

                  @fcwilt Hello.
                  Oh, I got it.
                  Yes, Deployprobe.g is
                  M280 P7 S90
                  and retractprobe.g is
                  M280 P7 S10

                  Vetiundefined 2 Replies Last reply Reply Quote 1
                  • Vetiundefined
                    Veti @Hiroaki
                    last edited by

                    @Hiroaki

                    are those file in the system folder and not the macro folder?

                    Hiroakiundefined 1 Reply Last reply Reply Quote 0
                    • Hiroakiundefined
                      Hiroaki @Veti
                      last edited by

                      @Veti Sorry
                      I should have put it.
                      Yes, these are in SYS folder.
                      Regards

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

                        can you issue M401 and M402 to to see if the deploy and retract work that way?

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

                          @Hiroaki said in BL Touch doesn't work:

                          Deployprobe.g

                          did you spell that with a captial D?

                          please rename the file

                          Hiroakiundefined 1 Reply Last reply Reply Quote 0
                          • Hiroakiundefined
                            Hiroaki @Veti
                            last edited by

                            @Veti
                            With M401 it's pulled up,
                            with M402 it's pulled down.

                            Vetiundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                            • Hiroakiundefined
                              Hiroaki @Veti
                              last edited by

                              @Veti
                              It's with "d" actually...

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

                                can you post the output of M558?

                                Hiroakiundefined 1 Reply Last reply Reply Quote 0
                                • Hiroakiundefined
                                  Hiroaki @Veti
                                  last edited by

                                  @Veti
                                  Z Probe type 9, input 0, invert no, dive height 3.0mm, probe speed 120mm/min, travel speed 6000mm/min, recovery time 0.00 sec, heaters normal, max taps 1, max diff 0.03

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

                                    @Hiroaki said in BL Touch doesn't work:

                                    With M401 it's pulled up,
                                    with M402 it's pulled down.

                                    M401: Deploy z-probe
                                    M402: Retract z-probe

                                    I think there is your problem.

                                    change the content of deploy and retract

                                    Hiroakiundefined 2 Replies Last reply Reply Quote 0
                                    • Hiroakiundefined
                                      Hiroaki @Veti
                                      last edited by

                                      @Veti Oh I see, let me confirm it.
                                      It's funny because I copied all the files from my first printer which works correctly,...
                                      Anyway thank you very much!

                                      1 Reply Last reply Reply Quote 0
                                      • jay_s_ukundefined
                                        jay_s_uk @Hiroaki
                                        last edited by

                                        @Hiroaki M401 should deploy the probe and not pull it up.
                                        you have the contents of your deploy and retract files the wrong way round.

                                        Deploy probe should be S10 and retract S90

                                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                        Hiroakiundefined 1 Reply Last reply Reply Quote 0
                                        • Hiroakiundefined
                                          Hiroaki @Veti
                                          last edited by

                                          @Veti I have confirmed that S10 and S90 were swapped in deployprobe.g and retractprobe.g
                                          Thank you very much.

                                          1 Reply Last reply Reply Quote 0
                                          • Hiroakiundefined
                                            Hiroaki @jay_s_uk
                                            last edited by

                                            @jay_s_uk Thank you.
                                            I got it.
                                            But I still wonder why it was ok with my first printer...

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