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.
    • middlesundefined
      middles
      last edited by

      I am a member of the Workbee users group on Facebook where there are a number of continuing reports of the Ardunino pendant causing the Duet to disconnect. I have started using the wireless controller in the attached photo and have had the same problem, on a couple of occasions the WiFi has disconnected. I have tried two different Arduinos (pro micro) with the same result. Looking at the pendant output with a terminal emulator the pendant is producing an occasional abnormal output, shown in the attached screenshot. The previous line number is being added to the G0 command causing incorrect line sequencing. I have seen this where several line numbers have been added to multiple lines completely filling the screen with characters flooding the PanelDue port. Unfortunately, I cannot get the pendant to do this when I want to take a screenshot. It seems that the GcodeSerial library is not adding lines numbers correctly on occasion and this may be causing the Duet to disconnect. I don't think it's a hardware problem, unless generic to the ATmega32U4 chip, but I will change the Ardunino to an ATmega328 and see what happens.Screenshot 2021-08-25 at 09.22.11.png IMG_1608.jpg

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

        Firmware versions?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @phaedrux

          Its an Ooznest Duet with their latest firmware, 2.02 I think

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

            I'm really not sure. That firmware version is about 2 years old at this point.

            Can you give us more details about the pendant?

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @middles is the pendant running exactly the firmware from https://github.com/Duet3D/CNC-Pendant-Firmware ? If so then I will review the code.

              PS - also, which version of Arduino software did you built it with; and are you using the PanelDue pass-through facility?

              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 2 Replies Last reply Reply Quote 0
              • middlesundefined
                middles @dc42
                last edited by

                @dc42

                Yes it is the code you posted on Github, downloaded and used without change or modification, Arduino IDE 1.8.13. The micro-controller is a pro micro, I have tried two with the same result.

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

                  @dc42

                  Sorry missed the PanelDue off, no I am not it or the passthrough.

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