Fourth Axis Control - shortest move to 0.0 degree

More
03 Dec 2016 00:06 #83605 by an92626
I just got my fourth axis working and have been testing out some programming control. I programmed up machining a series of radial holes from 0.0 to 315 degrees. After I finished the last hole at 315 degrees, I want the fourth axis to go back to 0.0 degrees. I personally would move the last 45 degrees from 315 to 360 and then call that 0.0, but linuxcnc wants to rotate all the way back through the initial 315 degrees. Of course I can insert a G0 A360.0 to move to 0.0 or 360 degrees, but when I want to start my next machining operation and go to 45 degrees, the fourth axis rotates all the way back around.

I understand that there will be situations where one would want to continue the continuity of machining past 360 degrees, but there are also the times where it would be nice to tell linuxcnc that 360 is the same as 0.0 degrees.

Is there a way to tell linuxcnc to reset the fourth axis to 0.0 when you are at 360 degrees?

Please Log in or Create an account to join the conversation.

More
03 Dec 2016 02:15 #83608 by Todd Zuercher
I have no personal experience with this, but I believe what you are after is called wrapped rotary.
wiki.linuxcnc.org/cgi-bin/wiki.pl?WrappedRotaryAxes

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum