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

    Probe no retracting at end of macro

    Scheduled Pinned Locked Moved
    General Discussion
    3
    17
    420
    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.
    • JADoglioundefined
      JADoglio
      last edited by JADoglio

      So, without changing anything else, I added a G28 to home after the Z offset probing commands. With just the G28 the system homes but the probe still does not retract. However, if I add a M402 command after the G28, the system does the G30 probes, then the G28 homes, then M402 forces the probe to retract. I also added manual G1 commands to the end of the file to retract the probe and those work as well. Not sure if that helps understand what is going on, but I hope it means something to somebody here because I should not need the last G28/M402 or the manual movements to retract the probe in this macro. At least I have a work around for the issue but I would like to understand why macro does not work as it should. Thanks for any help anyone might have.

      ;Z Offset Calibration Finish
      
      M98 P"Check to see if probe is attached.g" 
      
      G90												;set absolute
      
      M401
      
      G1 Z20											;raise Z up 20 mm
      
      G30 S-1	F150									;(G30) home z (S-1) record z height
      
      G4 P500											;pause .5 sec
      
      G1 Z20											;raise Z up 20 mm
      
      G30 S-1	F150									;(G30) home z (S-1) record z height
      
      G4 P500											;pause .5 sec
      
      G1 Z20											;raise Z up 20 mm
      
      G30 S-1	F150									;(G30) home z (S-1) record z height
      
      G4 P500											;pause .5 sec
      
      G1 X175 Y175 Z25								;move Hot End to X175 Y175
      
      M291 P"Check Consule for Results of Probing "  S2 ;instruct user to check results in Consol
      
      G1 X63 Z20 F20000
      G1 Y345
      G1 X175
      G1 Y175
      
      ;G28 Z
      
      ;M402
      
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you update to 3.5.1 and see if the behaviour is the same there?

        Z-Bot CoreXY Build | Thingiverse Profile

        JADoglioundefined 1 Reply Last reply Reply Quote 0
        • JADoglioundefined
          JADoglio @Phaedrux
          last edited by JADoglio

          @Phaedrux Thanks. I wound up finding another version of this file online and it seems to work fine. I suspect there was some hidden control characters in the other file messing it up. For the moment no need to pursue further.

          However, I did download and install version 3.5.1 on my Duet 2 WiFi board. I down;oaded the zip from the Github page and used the installer in the DWC. It installed fine but when it was done it reported the following. I thought both the DWC and the Duet 2 should have updated to 3.5.1? Was this only a DWC update? Thanks

          03e5f5fe-2480-40ef-a4e6-770a1d61c166-image.png

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

            @JADoglio said in Probe no retracting at end of macro:

            used the installer in the DWC.

            what do you mean by installer?

            The best way to update is to download the release zip file and upload it to the DWC sys tab, it will extract it and install everything.

            Z-Bot CoreXY Build | Thingiverse Profile

            JADoglioundefined 1 Reply Last reply Reply Quote 0
            • JADoglioundefined
              JADoglio @Phaedrux
              last edited by JADoglio

              @Phaedrux I used the install update button on the machine-specific tab. I also, just tried to upload it again from the system tab and again, it installed without errors, but I still got the same result. I did not revert back to 3.4.6 first, not sure if that makes a difference. Thanks

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

                Please try sending M997 to force a firmware update.

                Z-Bot CoreXY Build | Thingiverse Profile

                JADoglioundefined 1 Reply Last reply Reply Quote 0
                • JADoglioundefined
                  JADoglio @Phaedrux
                  last edited by JADoglio

                  @Phaedrux Thanks...I tried here are the results

                  f9c77400-98a5-4860-a634-91375f65d1a0-image.png

                  I also then reinstalled 3.4.6. That installed and reset the DWC to 3.4.6. So, everything matched.

                  I then did a hard rest on the board powering off, then on.

                  I then redownloaded 3.5.1 and used the system tab upload to install it again.

                  Sadly, with the same result as before. Still showing firmware version as 3.4.6 and DWC as 3.5.1.

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

                    that's quite strange. Can you try using the fallback instructions?

                    https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#fallback-procedure-1

                    Start with #1 and then if that doesn't work still, try #2.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    JADoglioundefined 1 Reply Last reply Reply Quote 0
                    • JADoglioundefined
                      JADoglio @Phaedrux
                      last edited by

                      @Phaedrux Thanks again, I tried to do install procedure 1. I never did find the IAP file. Short editorial, as this is mandatory file to complete the install, it seems like it should be as easy to find as the bin file? You guys really do a yeoman's job keeping us all going, but as this is the second time I have had issues finding this file.. I am just saying.

                      In the Github repository I did find the Duet2Combinedfirmware.bin file. When I uploaded that, 3.5.1 installed as it should and the firmware and DWC are now both on 3.5.1.

                      On the original install of 3.5.1 I went to the github page using the link on General tab. I did not realize that that only took me to the DWC update file and not the firmware. So, it was doing what I was telling it to do, I just did not realize that.

                      As I understand it, you normally recommend updating both the DWC and the firmware and keep them on the same versions. If this is correct, then it would seem that the link should take me to a page where I would download both. As I am a long way from any kind of expert on how other people use these boards, maybe the link makes sense as is. In that case, perhaps adding another link to the combined DWC and the firmware download page could also be added.

                      Thanks again, I am not being critical, like I said you and David and whoever else are helping you do a great job. I always appreciate the support you all provide.

                      Jim

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

                        @JADoglio Thanks that's a good point on the link in the general tab.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        JADoglioundefined 1 Reply Last reply Reply Quote 0
                        • JADoglioundefined
                          JADoglio @Phaedrux
                          last edited by

                          @Phaedrux
                          Side note: We have gotten pretty off topic at this point, sorry about that, and I am sure there is probably a better string for this discussion. If you want to move it, please do. As your systems are open source, and used and modified by many for their custom purposes I am sure their is a need to continue updating and doing other things as Duet does today. Your devices are popular, well built, and very well supported and there is also a user base that does not care about the open source, or customization opportunities with your hardware. We are just end users looking for a reliable solution to a need. From that perspective, I offer the following comments.

                          Thanks again, One last suggestion.

                          If the link in the DWC system-specific tab actually was a "Check for Updates" link that looked at the Github repository, then verified if an update was available or not, and then it gave the user the option of downloading the update and automatically installing it, or not, that would be a huge help for users. That would probably save you all a lot time not having to answer these kind of questions because the right files would be downloaded and installed for the right hardware without the user needing to know any of the specifics.

                          Github is a great repository for all sorts of technical computer programming/development information. However, it can be very intimidating for many/maybe most, of your users. For me, it has been a very slow learning curve as nothing about navigating Github is obvious. I am a PC computer savvy user (started with an Apple II Plus in 1980). I also have some programming knowledge and a lot of web experience. And even with that, I am just starting to be mostly comfortable navigating Github. When Duet started out, I am sure Github was great/invaluable for the people using it.

                          Today, people are using your hardware for a lot of things. We have a job to do and we just want do it. We want the systems needed to just do the work and if they need updating periodically, we want them to update behind the scene, without a lot of need to know how it is being done. We just want our hardware to work. I guess the short version of what I am saying is that I think a lot of people using Duet hardware today just wants to know what time it is, we have no inclination to build a watch.

                          You have a phone and, I am sure, many computers. The programs on those devices update constantly. While that is sometimes annoying, it is at least seamless and does not require me to know anything about the program or how it is being updated.

                          As I noted at the beginning, this is concept is somewhat antithetical to the whole open source concept, but I think/hope they can both live in harmony making Duet hardware more attractive and easier to manage to a larger user base. Sorry for the long note, but I have been thinking about this since my first update on my Duet 2 WiFi over 4 years ago.

                          Thanks again for all your help over the past several years.

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