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

    CNC style Pendant

    Scheduled Pinned Locked Moved
    Hardware wishlist
    28
    155
    17.6k
    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
      last edited by dc42

      I have converted my CNC pendant to use an Arduino Pro Micro and updated the firmware at https://github.com/Duet3D/CNC-Pendant-Firmware. I've also added a wiki page about CNC pendants at https://duet3d.dozuki.com/Wiki/CNC_Pendant.

      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

      CNCModellerundefined 1 Reply Last reply Reply Quote 3
      • tntjetundefined
        tntjet
        last edited by

        Is it possible to control a 4th axis in position 4?

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

          Yes, the pendant firmware is set up to control the U axis.

          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
          • tntjetundefined
            tntjet
            last edited by

            Thank you David !

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

              If you had the 6-axis version, it would control the V and W axes too. You can change which axes positions 4, 5 and 6 control in the firmware. It's an Arduino sketch, so easy to change and upload.

              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
              • tntjetundefined
                tntjet
                last edited by

                Thats awsome David , if wanted to change the increments on the rotary encoder feed switch to .01, .1, 1 what would I need to change?

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

                  @tntjet said in CNC style Pendant:

                  Thats awsome David , if wanted to change the increments on the rotary encoder feed switch to .01, .1, 1 what would I need to change?

                  Lines 268-270 of the .ino file currently read:

                      output.print(distance/10);
                      output.write('.');
                      output.print(distance % 10);
                  

                  I think changing them to this should work:

                      output.print(distance/100);
                      output.write('.');
                      output.print((distance % 100)/10);
                      output.print(distance % 10);
                  

                  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 1
                  • tntjetundefined
                    tntjet
                    last edited by

                    Thank you David , i did try the changes it gives me the same increment on the first and second switch positions . i have reverted back to your original sketch . I appreciate your effort and responses.

                    1 Reply Last reply Reply Quote 0
                    • FelixHundefined
                      FelixH
                      last edited by

                      Yesterday I noticed something weird while using the pendant. The multiplier knob was set at x10 and, not thinking about it, I tried to move the Z axis. Because I turned the wheel too much, I got a message on the display telling me to chill out (paraphrasing here) because I wanted to move more than the axis allows. So far, so good. However the X axis moved a little bit instead, even though the Z axis was selected on the axis knob. Now that's weird. Once I switched to x0.1 multiplier, the Z axis moved ok.
                      Knowing that, I'll be more careful from now on, but I am really curious if this is a "global" bug or it is just me.

                      I am using an Arduino Nano and I changed the resistor on it in order for the bypass of the display to work. The Arduino Pro Micro I ordered came when the Pendant was already assembled, so I saw no reason to open it up again. Also, I did not update the firmware to the latest version, as I understood it was only Pro Micro related and I didn't see a point on doing it.

                      Cheers!

                      jhonf441undefined 1 Reply Last reply Reply Quote 1
                      • jhonf441undefined
                        jhonf441 @FelixH
                        last edited by

                        @FelixH Hello, I don't use pendant but I have noticed that sometimes when I am moving the machine on the Y axis it moves a little on the positive X axis and vice versa

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

                          @jhonf441 said in CNC style Pendant:

                          @FelixH Hello, I don't use pendant but I have noticed that sometimes when I am moving the machine on the Y axis it moves a little on the positive X axis and vice versa

                          That will happen if you use skew compensation, M556 in config.g. It can also happen on a CoreXY machine that isn't constructed or set up properly.

                          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
                          • FelixHundefined
                            FelixH
                            last edited by

                            Hi all,

                            I have run to a problem with the Pendant-PanelDue configuration in which one of the macros I have does not respond and neither does the actual GCode of the macro sent by the PanelDue's console. When the pendant is not plugged in, it works just fine, apparently. It also works fine if the macro is executed via the web interface from a computer. The code of the Macro is:

                            G28 Z
                            G54 G1 X0 Y0 F1500
                            

                            Which just moves the tool back to the WCS #1 origin. When I execute the macro, only the G28 Z command is executed. On the screen or PanelDue there is no warning or message.

                            Has anybody experienced the same or similar?

                            PS: wouldn't it be a good idea to create a Pendant section on the forum??

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

                              I find that very odd. PanelDue just sends the M98 command to run the macro. The lines from the macro file are fetched from the SD card by the Duet.

                              Are you sure that this is reproducible?

                              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
                              • FelixHundefined
                                FelixH
                                last edited by

                                I am positive. Yes. I had the problem for many day and just two days ago I found out that it was working from the web interface. Apparently all other macros work just fine.

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

                                  What is the name of the macro file?

                                  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

                                  FelixHundefined 1 Reply Last reply Reply Quote 0
                                  • FelixHundefined
                                    FelixH @dc42
                                    last edited by FelixH

                                    @dc42 the macro name is 007-Go to WCS #1 Zero

                                    the curious thing is that the G28 Z command is executed. Sorry I forgot to mention that.

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

                                      Can you try renaming the macro to something which only has letters and digits in the name?

                                      Which version of PanelDueFirmware are you using?

                                      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
                                      • FelixHundefined
                                        FelixH
                                        last edited by

                                        I have to get out for a couple of hours, but I will try that when I'm back. The PanelDue firmware is not the most recent one. I will update it, just to be safe.

                                        1 Reply Last reply Reply Quote 0
                                        • FelixHundefined
                                          FelixH
                                          last edited by

                                          I just checked before leaving. PanelDue Firmware is 1.23.2

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

                                            Yes you may need to update it, because I AFAIR 1.24 surrounds the M98 macro file argument name in quotes, and 1.23 does not. The PanelDue pass-through may be relying on that if the filename contains special characters such as #.

                                            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