CNC style Pendant
-
@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.
-
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??
-
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?
-
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.
-
What is the name of the macro file?
-
@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.
-
Can you try renaming the macro to something which only has letters and digits in the name?
Which version of PanelDueFirmware are you using?
-
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.
-
I just checked before leaving. PanelDue Firmware is 1.23.2
-
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 #.
-
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.
-
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?
-
@CTRDevelopments the pendant shown on this thread, that from ebay, has a 4th axis setting on the knob. Maybe you could implemented there?
-
@FelixH what would the 4the axis do as standard? Can anyone advise how to modify the code? Cheers
-
@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...
-
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.
-
Use the toggle switches to set distanceMultiplier to 1, 10, 100 or 1000. I think that should be sufficient.
-
@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 10const int PinTimes1000 = 12; const int feedAmountPins[] = { PinTimes1, PinTimes10, PinTimes100, PinTimes1000, }; pinMode(PinTimes1000, INPUT_PULLUP);
-
Are you sure that PinTimes100 isn't permanently active? It will override PinTimes1000 if it is.
-
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.