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

    CNC Pendant Disconnecting Duet

    Scheduled Pinned Locked Moved
    CNC
    5
    24
    1.2k
    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 @middles
      last edited by

      @middles please try the new version I have just committed to https://github.com/Duet3D/CNC-Pendant-Firmware.

      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

      middlesundefined Zakm0nundefined 2 Replies Last reply Reply Quote 0
      • middlesundefined
        middles @dc42
        last edited by

        @dc42

        Thank you for this. Unfortunately, I am not at home and away until the end of next week. I will try this when I return.

        1 Reply Last reply Reply Quote 0
        • Zakm0nundefined
          Zakm0n @dc42
          last edited by

          @dc42 Just built my pendant controller, and the most recent code causes the pendant to not work at all. I used the previous commit and it works fine. Whatever you did, broke it in a big way. I noticed it would not respond to movements, but after enough movements were commanded, my Duet 2 wifi had to be completely restarted

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

            @zakm0n that's strange because it works on my pendant, which uses the Arduino Pro Micro. I didn't test it on an Arduino Nano.

            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

            Zakm0nundefined middlesundefined 2 Replies Last reply Reply Quote 0
            • Zakm0nundefined
              Zakm0n @dc42
              last edited by

              @dc42 I'm using pro micro and Duet 2 wifi on the latest RRF2 build for it. Thought I had it wired wrong, but flashing the older sketch made it work. I am getting some wifi issues with it though.

              middlesundefined 1 Reply Last reply Reply Quote 0
              • middlesundefined
                middles @Zakm0n
                last edited by

                @zakm0n

                I have just returned from being away so I haven't tried the modified software. I will do it later today and reply to the forum.

                1 Reply Last reply Reply Quote 0
                • middlesundefined
                  middles @dc42
                  last edited by

                  @dc42

                  I have just tested both versions of the software, the original works the modified does not. I have repeated this several times with the same results. Attached are screenshots from both which are identical. The Ardunino seems to be outputting correctly but the duet is not responding to the modified software. This is a pro-micro connected to an Ooznest WiFi Duet running the latest firmware. Is there a possibility the new software is picking old include files, I assume the IDE by default uses the include files located in the same directory as the .ino file.Screenshot 2021-09-13 at 14.53.32.png Screenshot 2021-09-13 at 14.56.08.png

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined T3P3Tony referenced this topic
                  • madedi123undefined
                    madedi123
                    last edited by

                    Hello

                    My problem is that my pendant (the same as david's, with an arduino micro) only sends the M112 command, but does not perform any movement via the encoder. My hardware is a DUET3 6HC with SBC and without Panel DUE, Configuration CNC. The arduino sketch was uploaded with firmware 1.8.1 thank you for your help

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

                      @Zakm0n @middles @madedi123 you can trace what the Duet is receiving. Connect a PC running a terminal emulator (e.g. YAT) to the Duet USB port and send M111 S1 P3. Commands received by RRF will then be echoed to the terminal. Lines starting with "aux:" are commands received rom the PanelDue port.

                      @Zakm0n @middles do you also find that the emergency stop button on the pendant works, even though the other commands don't?

                      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
                      • madedi123undefined
                        madedi123
                        last edited by

                        i will test it tomorrow, yes i know that the emergency stop works but nothing else.

                        1 Reply Last reply Reply Quote 0
                        • madedi123undefined
                          madedi123
                          last edited by

                          Aux(bad-csum): G91 G0 F6000 X10.0<LF>Aux(bad-csum): G91 G0 F6000 X-10.0<LF>Aux(bad-csum): G91 G0 F6000 X10.0<LF>Aux(bad-csum): G91 G0 F6000 X-10.0<LF>Aux(bad-csum): G91 G0 F6000 X0.1<LF>Aux(bad-csum): G91 G0 F6000 X-0.1<LF>Aux(bad-csum): G91 G0 F6000 Y0.1<LF>Aux(bad-csum): G91 G0 F6000 Y-0.1<LF>Aux(bad-csum): G91 G0 F600 Z0.1<LF>Aux(bad-csum): G91 G0 F600 Z-0.1<LF>Aux(bad-csum): G91 G0 F600 Z0.1<LF>

                          Looks like the Duet3 and reprap get the commands from the ardiono correct, but why is there no movement ? and what is (bad-csum) after the command ?

                          dc42undefined 1 Reply Last reply Reply Quote 0
                          • madedi123undefined
                            madedi123
                            last edited by

                            i think that the emergency stop on pendant can“t reset duet3, is that whyle the config etc. is saved on the pi ?

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

                              @madedi123 thanks, the problem is that RRF thinks the checksums are invalid. That tells me where to look.

                              The pendant will halt and I think reset the Duet if you press the red emergency stop button.

                              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
                              • dc42undefined
                                dc42 administrators @madedi123
                                last edited by

                                @madedi123 I found a bug in the CNC pendant firmware that accounts for the bad checksums. I have committed a fix to github, however although it builds OK I don't have time to test it yet.

                                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
                                • madedi123undefined
                                  madedi123
                                  last edited by

                                  I will test it! Top David thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • madedi123undefined
                                    madedi123
                                    last edited by

                                    it works fine. thank you

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

                                      @madedi123 thanks for confirming.

                                      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
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA