• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    dc42 administrators
    last edited by 8 Jul 2020, 10:33

    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

    undefined 1 Reply Last reply 8 Jul 2020, 10:38 Reply Quote 0
    • undefined
      FelixH @dc42
      last edited by FelixH 7 Aug 2020, 10:39 8 Jul 2020, 10:38

      @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.

      undefined 1 Reply Last reply 8 Jul 2020, 10:48 Reply Quote 0
      • undefined
        dc42 administrators @FelixH
        last edited by dc42 7 Aug 2020, 10:49 8 Jul 2020, 10:48

        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
        • undefined
          FelixH
          last edited by 8 Jul 2020, 10:51

          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
          • undefined
            FelixH
            last edited by 8 Jul 2020, 10:55

            I just checked before leaving. PanelDue Firmware is 1.23.2

            undefined 1 Reply Last reply 8 Jul 2020, 11:13 Reply Quote 0
            • undefined
              dc42 administrators @FelixH
              last edited by 8 Jul 2020, 11:13

              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
              • undefined
                FelixH
                last edited by 8 Jul 2020, 14:22

                changing the name did the trick. Thanks! I will now update the firmware anyway. I find it curious that the G28 Z command dis actually work.

                1 Reply Last reply Reply Quote 0
                • undefined
                  CTRDevelopments
                  last edited by 11 Jul 2020, 06:56

                  I am really keen on this, coming from cnc world. Would it be possible to somehow allow the pendant to also operate baby stepping in z? Nit sure if we can have an additional selector in the pendant that selects baby step?

                  undefined 1 Reply Last reply 11 Jul 2020, 09:30 Reply Quote 0
                  • undefined
                    FelixH @CTRDevelopments
                    last edited by 11 Jul 2020, 09:30

                    @CTRDevelopments the pendant shown on this thread, that from ebay, has a 4th axis setting on the knob. Maybe you could implemented there?

                    undefined 1 Reply Last reply 11 Jul 2020, 19:21 Reply Quote 0
                    • undefined
                      CTRDevelopments @FelixH
                      last edited by 11 Jul 2020, 19:21

                      @FelixH what would the 4the axis do as standard? Can anyone advise how to modify the code? Cheers

                      undefined 1 Reply Last reply 11 Jul 2020, 19:25 Reply Quote 0
                      • undefined
                        FelixH @CTRDevelopments
                        last edited by 11 Jul 2020, 19:25

                        @CTRDevelopments there are machines with 4 or even 5 axis. The A position on the knob is for the 4th axis, if it exists.

                        Take your time and see the existing code. I am not expert either, but it doesn‘t seem the most complicated thing I‘ve seen...

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          dhusolo
                          last edited by 1 Oct 2020, 00:57

                          I've taken this code and made a pendant with toggle switches. It's working great but I can't figure out how to be able to move in increments of .1, 1, 10, and 100. Currently I can only do .1, 1, and 10.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by dc42 10 Mar 2020, 07:28 3 Oct 2020, 07:26

                            Use the toggle switches to set distanceMultiplier to 1, 10, 100 or 1000. I think that should be sufficient.

                            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

                            undefined 1 Reply Last reply 3 Oct 2020, 07:50 Reply Quote 0
                            • undefined
                              dhusolo @dc42
                              last edited by 3 Oct 2020, 07:50

                              @dc42
                              I tried but it doesn't work as I thought it would. I've added the parameters I thought that would be needed to the sketch to add but when I select 100 it moves 10

                              const int PinTimes1000 = 12;
                              const int feedAmountPins[] = { PinTimes1, PinTimes10, PinTimes100, PinTimes1000, };
                              pinMode(PinTimes1000, INPUT_PULLUP);
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators
                                last edited by 3 Oct 2020, 10:09

                                Are you sure that PinTimes100 isn't permanently active? It will override PinTimes1000 if it is.

                                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
                                • undefined
                                  dhusolo
                                  last edited by 3 Oct 2020, 16:59

                                  I've tried multiple switches and it's the same outcome. I know when I flip it to 1000 100 isn't active. I've tested it with a multimeter.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    sinned6915
                                    last edited by 13 Nov 2020, 00:55

                                    I have been researching this and am almost ready to undertake this... but one thought keeps coming to my mind..

                                    since there is an Arduino Pro/Mini in there, what would it take to add a 0.96 OLED display to display things like position feedback for X/Y/Z/E and maybe display a menu list of macros that you would navigate with the wheel?

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      rilot
                                      last edited by 30 Mar 2021, 14:18

                                      I set up a CNC pendant using DC42's excellent sketch. I felt it was missing something though.
                                      With the support for 12864 displays for DuetWifis being added in 3.2 I set about a modification to the design.

                                      alt text

                                      Luckily there are enough wires in the stock CNC pendant cable to support this so I just needed to make a small loom using some breadboard at both ends.

                                      alt text

                                      Works like a charm

                                      alt text

                                      Made some hangers for it:

                                      alt text

                                      alt text

                                      CNCModellerundefined weed2allundefined chimaeraghundefined 3 Replies Last reply 30 Mar 2021, 14:33 Reply Quote 3
                                      • CNCModellerundefined
                                        CNCModeller @rilot
                                        last edited by 30 Mar 2021, 14:33

                                        @rilot this is brilliant... I will be going through the thread and attempting to replicate!

                                        From a quick scan of the thread, do I have to have a panel due or can I do it with just a duet ethernet a pendant, and a 12864 display?

                                        Polar Duet3 Mini + 1HCL
                                        https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                                        Wanhao D4S: Duet2
                                        https://forum.duet3d.com/post/296755
                                        K40 Laser, Duet2
                                        https://forum.duet3d.com/post/312082
                                        Wanhao D5S
                                        https://www.youtube.com/CNCModellerUK

                                        1 Reply Last reply Reply Quote 0
                                        • weed2allundefined
                                          weed2all @rilot
                                          last edited by weed2all 31 Mar 2021, 01:04

                                          @rilot that is really nice work...when you can share the project?...I'm about to start making the normal pendant for duet 3 board but now seeing this I want to add the lcd as well...!

                                          https://www.thingiverse.com/weed2all/designs

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