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

    Duet3 6HC not deploying BL touch for mesh bed leveling

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    5
    79
    3.7k
    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.
    • autopilot.exeundefined
      autopilot.exe @Phaedrux
      last edited by

      @Phaedrux can do! I removed the extra microstep values. After initial configuration I had to remap a few things. The configuration tool doesnt account for 2 Z motors or Y motors so in the tool I just made them extra drivers so I could get all my drivers accounted for. Then after the config.g was generated I went in and manually mapped them. It was an oversight on my part not to delete the extra M350 values.

      So the reason I have no tool 0 or tool 3 yet is those tools havent been picked out yet by me team. I was thinking a sharpie to mark important locations (tool 0) and the fly cutter thing from E3D for tool 3.

      M122 B1
      Diagnostics for board 1:
      Board EXP3HC firmware 3.0RC1 2019-12-16b1
      Never used RAM 163.1Kb, max stack 344b
      HEAT 1228 CanAsync 1452 CanRecv 940 TMC 168 AIN 532 MAIN 2216
      Driver 0: standstill, reads 53889, writes 11 timeouts 0, SG min/max 0/0
      Driver 1: standstill, reads 53891, writes 11 timeouts 0, SG min/max 0/0
      Driver 2: standstill, reads 53894, writes 11 timeouts 0, SG min/max 0/0
      Moves scheduled 0, completed 0, hiccups 0
      VIN: 24.1V, V12: 12.3V
      MCU temperature: min 42.2C, current 42.5C, max 42.5C
      Ticks since heat task active 51, ADC conversions started 398294, completed 398294, timed out 0
      NVM user row de9a9239 aeecffb1 ffffffff ffffffff

      1 Reply Last reply Reply Quote 0
      • autopilot.exeundefined
        autopilot.exe
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          The expansion bird firmware is out of step with the mainboard. Send M997 B1 to flash the expansion. Make sure you have all the files from the 3.2.2 release in the system folder first. If in doubt just upload the full zip file again from the 3.2.2 release. That might actually get it to update on its own.

          Z-Bot CoreXY Build | Thingiverse Profile

          autopilot.exeundefined 1 Reply Last reply Reply Quote 0
          • autopilot.exeundefined
            autopilot.exe @Phaedrux
            last edited by

            @Phaedrux M122 B1
            Diagnostics for board 1:
            Duet EXP3HC firmware version 3.2.2 (2021-02-12)
            Bootloader ID: not available
            Never used RAM 154896, free system stack 200 words
            HEAT 92 CanAsync 94 CanRecv 87 TMC 64 MAIN 299 AIN 259
            Last reset 00:00:50 ago, cause: software
            Last software reset data not available
            Driver 0: position 0, 80.0 steps/mm, standstill, reads 48988, writes 11 timeouts 0, SG min/max 0/0
            Driver 1: position 0, 80.0 steps/mm, standstill, reads 48990, writes 11 timeouts 0, SG min/max 0/0
            Driver 2: position 0, 80.0 steps/mm, standstill, reads 48993, writes 11 timeouts 0, SG min/max 0/0
            Moves scheduled 0, completed 0, in progress 0, hiccups 0
            No step interrupt scheduled
            VIN: 24.1V, V12: 12.3V
            MCU temperature: min 42.2C, current 42.5C, max 42.5C
            Ticks since heat task active 97, ADC conversions started 50088, completed 50088, timed out 0
            Last sensors broadcast 0x00000000 found 0 100 ticks ago, loop time 0
            CAN messages queued 18, send timeouts 0, received 462, lost 0, free buffers 36

            successful update

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

              Ok now that those things were changed what happens when you send M98 P"config.g"? Still getting any errors?

              Just to confirm, bltouch and z motors are both on the mainboard right?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • autopilot.exeundefined
                autopilot.exe
                last edited by

                ![0_1615578697731_Screenshot 2021-03-12 135015.jpg](Uploading 100%)

                after the update I updated the config file with a new fan definition (I accidentally had too many assigned to each tool) and restarted the board. I retried G29 and let it play out. it did not deploy the probe, but this time it stopped at a z height of 0.50 and just gave me an error message instead of crashing. I consider this progress lol

                1 Reply Last reply Reply Quote 0
                • autopilot.exeundefined
                  autopilot.exe
                  last edited by

                  Good news: M98 P"config.g" now only returns a blue message about HTTP, FTP, and TELNET. no errors. confirmed. the only drivers being used on the expansion are D0 for extruder 0 and D1 for extruder 1. The BL touch is on io.7 on the mainboard

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

                    What was the error? Your screen shot didn't upload.

                    Z-Bot CoreXY Build | Thingiverse Profile

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

                      Only other suggestion I have at this point is to try using io_5 instead of 7.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • autopilot.exeundefined
                        autopilot.exe
                        last edited by

                        G29
                        

                        Error: Z probe was not triggered during probing move

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator @autopilot.exe
                          last edited by

                          @autopilot-exe said in Duet3 6HC not deploying BL touch for mesh bed leveling:

                          ;deselect tools T-1

                          Do you happen to have anything in your tool change files?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          autopilot.exeundefined 1 Reply Last reply Reply Quote 0
                          • autopilot.exeundefined
                            autopilot.exe
                            last edited by

                            So I just switched it from io.7 to io.5 and edited my config to match

                            ; Axis Limits
                            M208 X50 Y0 Z0 C0 S1                                                  ; set axis minima
                            M208 X550 Y550 Z550 C260 S0                                           ; set axis maxima
                            
                            ; Endstops
                            M574 X1 S1 P"!io1.in"                                                  ; configure active-high endstop for low end on X via pin !io1.in
                            M574 Y1 S1 P"!io0.in"                                                  ; configure active-high endstop for low end on Y via pin !io0.in
                            ;M574 Z1 S2 P"!io7.in"                                                            ; configure Z-probe endstop for low end on Z
                            
                            ; Stall detection for tool coupler
                            M915 C S5 F0 H200
                            
                            ; Z-Probe
                            M950 S0 C"io5.out"
                            M558 P9 C"io5.in" H2 F120 T6000 R0.2 A1 S0.01 ; 1 reading
                            ;M950 S0 C"io7.out"                                                     ; create servo pin 0 for BLTouch
                            ;M558 P9 C"^io7.in" H5 F120 T6000                                       ; set Z probe type to bltouch and the dive height + speeds
                            M557 X100:400 Y100:400 S25:25                                          ; define mesh grid
                            G31 P50 X-63 Y-61 Z2.5                                                 ; set Z probe trigger value, offset and trigger height
                            

                            Good news: it still works a z endstop. the probe deploys and retracts at the appropriate times.
                            Bad news: G29 still doesn't deploy the probe

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

                              Is there something about the position of the first probe point for G29 that is causing stress on the servo wiring and making a poor intermittent connection?

                              Can you try manually placing the print head at the same place it would be when doing G29 and then sending a manual G30? Does it work there?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • autopilot.exeundefined
                                autopilot.exe @Phaedrux
                                last edited by

                                @Phaedrux I do, the FDM Heads are set up in Tpre1, Tpre2 and the corresponding post and free files to make everything dock correctly.

                                ; tpre1.g
                                ; called before tool 1 is selected
                                
                                ;Unlock Coupler
                                M98 P/macros/Coupler - Unlock
                                
                                ;Move to location
                                G1 X130 Y350 F6000
                                
                                ;Move in
                                G1 Y475 F4000
                                
                                ;Collect
                                G1 Y523 F1500
                                
                                ;Close Coupler
                                M98 P/macros/Coupler - Lock
                                
                                ;WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
                                ;if you are using non-standard length hotends ensure the bed is lowered enough BEFORE undocking the tool!
                                G91
                                G1 Z10 F1000
                                G90
                                
                                ;Move Out
                                G1 Y350 F3000
                                
                                ; tpost1.g
                                ; called after tool 1 has been selected
                                
                                ;heatup
                                M116 P1
                                
                                ;prime nozzle
                                ;M98 Pprime.g
                                
                                ;mesh levelling on
                                G29 S1
                                
                                ;PCF fan on
                                M106 P2 R2
                                
                                ; tfree1.g
                                ; called when tool 1 is freed
                                
                                ;Drop the bed
                                G91
                                G1 Z5 F1000
                                G90
                                
                                ;mesh levelling off
                                G29 S2
                                
                                ;Purge nozzle
                                ;M98 Ppurge.g
                                
                                ;Move In
                                G53 G1 X130 Y350 F6000
                                G53 G1 Y475 F4000
                                G53 G1 Y523 F1500
                                
                                ;Open Coupler
                                M98 P/macros/Coupler - Unlock
                                
                                ;fan off
                                M106 P2 S0
                                
                                ;Move Out
                                G53 G1 Y200 F4000
                                
                                

                                it does error everytime though saying "no heightmap.csv found" since I can't execute g29 to create one.

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

                                  Can you create an empty file called heightmap.csv?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • autopilot.exeundefined
                                    autopilot.exe
                                    last edited by

                                    yes, I just dropped it in /sys

                                    1 Reply Last reply Reply Quote 0
                                    • autopilot.exeundefined
                                      autopilot.exe
                                      last edited by

                                      G30 does not deploy the probe either. the bed just moves up without the probe shooting down first

                                      fcwiltundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @autopilot.exe
                                        last edited by

                                        @autopilot-exe said in Duet3 6HC not deploying BL touch for mesh bed leveling:

                                        G30 does not deploy the probe either. the bed just moves up without the probe shooting down first

                                        So what happened since you posted this:

                                        Good news: it still works a z endstop. the probe deploys and retracts at the appropriate times.
                                        Bad news: G29 still doesn't deploy the probe

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @autopilot.exe
                                          last edited by

                                          @autopilot-exe said in Duet3 6HC not deploying BL touch for mesh bed leveling:

                                          G30 does not deploy the probe either. the bed just moves up without the probe shooting down first

                                          You mean at the same location as the G29 would use?

                                          If so, sounds like intermittent connection.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • autopilot.exeundefined
                                            autopilot.exe
                                            last edited by

                                            we've come full circle.

                                            the situation as it sits now:

                                            The BL Touch functions correctly after a machine reset. Issuing a G28 Z command sends the BL Touch to the correct spot and the probe deploys, reads, and then retracts. After that the probe becomes completely non responsive.

                                            M401, M402 say green in the console but no action actually happens in real life.

                                            After the first time XYZ, and C are homed the BL Touch wont respond to anything, including M280 S0 macros.

                                            This is leading me to believe that the Duet is not recognizing that servo number as a Z probe, since the location data is still being used but the actual probe is being ignored. i.e my mesh area is 100:400 in both X and Y and my probe offset is X-63 Y-61. When G29 is called, the toolhead moves to X161 Y161 and attempts to probe.

                                            ; Endstops
                                            M574 X1 S1 P"!io1.in"                                                  ; configure active-high endstop for low end on X via pin !io1.in
                                            M574 Y1 S1 P"!io0.in"                                                  ; configure active-high endstop for low end on Y via pin !io0.in
                                            ;M574 Z1 S2 P"!io7.in"                                                            ; configure Z-probe endstop for low end on Z
                                            
                                            ; Stall detection for tool coupler
                                            M915 C S5 F0 H200
                                            
                                            ; Z-Probe
                                            M950 S0 C"io5.out"
                                            M558 P9 C"io5.in" H5 F120 T6000 R0.2 A1 S0.01 ; 1 reading
                                            ;M950 S0 C"io7.out"                                                     ; create servo pin 0 for BLTouch
                                            ;M558 P9 C"^io7.in" H5 F120 T6000                                       ; set Z probe type to bltouch and the dive height + speeds
                                            M557 X100:400 Y100:400 S25:25                                          ; define mesh grid
                                            G31 P50 X-63 Y-61 Z2.5                                                 ; set Z probe trigger value, offset and trigger height
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA