5 axis CNC Router/3d printer
Moderators: TomKerekes, dynomotion
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, how would I get my Jog buttons in KMotionCNC to correspond to the
axis channels that I have set up. Channel 0&1 are for Xaxis, Channel 2 is for Y,
Channel 3 is for Z, channel 4 is for Baxis and Channel 5 is for Caxis.
Thanks
George
axis channels that I have set up. Channel 0&1 are for Xaxis, Channel 2 is for Y,
Channel 3 is for Z, channel 4 is for Baxis and Channel 5 is for Caxis.
Thanks
George
- TomKerekes
- Posts: 2752
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Well that is obvious!
thanks
George
thanks
George
- TomKerekes
- Posts: 2752
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
I assumed Axis 0 is the Master Axis for X
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Yes, that is correct. Will give it a try tomorrow.
Thanks again
George
Thanks again
George
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, I got my machine working nicely running in 3 axis mode and can run your ear.ngc file in KmotionCNC. Now it's time to work out the RTCP for C&B Axis. My machine has a 5AxisGimbalCB setup. The setup is following the right hand rule with C rotating about Z axis and B rotating about Y axis. (picture attached). I have looked over the links you have sent me about setting up the RTCP. Unfortunately I am having problems following
the logic used to implement the programs needed. I set up the Kinematics.txt file set to run 5AxisGimbleCB. After that there is talk about
Kinematics5AxisGimblalCB.cpp, Kinematics5AxisGimbal.h and stdafx.h which seems to be part of Kinematics5AxisGimblalCB.cpp. What I am having problems with is the logic flow on how all this fits together. I have KmotionCNC set to run my C program once it starts. I have started
KmotionCNC in the custom setup option and set it up for 5Axis operation. Can you give me a run down on how this all fits together.
Thanks
George
the logic used to implement the programs needed. I set up the Kinematics.txt file set to run 5AxisGimbleCB. After that there is talk about
Kinematics5AxisGimblalCB.cpp, Kinematics5AxisGimbal.h and stdafx.h which seems to be part of Kinematics5AxisGimblalCB.cpp. What I am having problems with is the logic flow on how all this fits together. I have KmotionCNC set to run my C program once it starts. I have started
KmotionCNC in the custom setup option and set it up for 5Axis operation. Can you give me a run down on how this all fits together.
Thanks
George
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, I got my machine working nicely running in 3 axis mode and can run your ear.ngc file in KmotionCNC. Now it's time to work out the RTCP for C&B Axis. My machine has a 5AxisGimbalCB setup. The setup is following the right hand rule with C rotating about Z axis and B rotating about Y axis. (picture attached). I have looked over the links you have sent me about setting up the RTCP. Unfortunately I am having problems following
the logic used to implement the programs needed. I set up the Kinematics.txt file set to run 5AxisGimbleCB. After that there is talk about
Kinematics5AxisGimblalCB.cpp, Kinematics5AxisGimbal.h and stdafx.h which seems to be part of Kinematics5AxisGimblalCB.cpp. What I am having problems with is the logic flow on how all this fits together. I have KmotionCNC set to run my C program once it starts. I have started
KmotionCNC in the custom setup option and set it up for 5Axis operation. Can you give me a run down on how this all fits together.
Thanks
George
the logic used to implement the programs needed. I set up the Kinematics.txt file set to run 5AxisGimbleCB. After that there is talk about
Kinematics5AxisGimblalCB.cpp, Kinematics5AxisGimbal.h and stdafx.h which seems to be part of Kinematics5AxisGimblalCB.cpp. What I am having problems with is the logic flow on how all this fits together. I have KmotionCNC set to run my C program once it starts. I have started
KmotionCNC in the custom setup option and set it up for 5Axis operation. Can you give me a run down on how this all fits together.
Thanks
George
- TomKerekes
- Posts: 2752
- Joined: Mon Dec 04, 2017 1:49 am
Re: 5 axis CNC Router/3d printer
Hi George,
Did you read this?
You are lucky Kinematics5AxisGimbalCB exists and should work for you. So you shouldn't need to add a new class. However that class has a hard coded value of:
Its possible to modify the code to read this from the Kinematics.txt file so re-compile isn't required for such changes. See the GetParameter calls in later Kinematics classes.
You will probably need to change that and re-compile the class. To re-build the libraries after changes see here.
However without re-compiling the kinematics should still work but with the wrong Tool Length. If you adjust the Tool length to compensate for the difference between your chuck PivotToChuckLength and the compiled PivotToChuckLength it should work.
Let me know how much of this makes sense.
Did you read this?
You are lucky Kinematics5AxisGimbalCB exists and should work for you. So you shouldn't need to add a new class. However that class has a hard coded value of:
Code: Select all
PivotToChuckLength = 7.874; // distance from Gimbal point to chuck ie 0 length tool
You will probably need to change that and re-compile the class. To re-build the libraries after changes see here.
However without re-compiling the kinematics should still work but with the wrong Tool Length. If you adjust the Tool length to compensate for the difference between your chuck PivotToChuckLength and the compiled PivotToChuckLength it should work.
Let me know how much of this makes sense.
Last edited by TomKerekes on Wed Jan 18, 2023 5:16 pm, edited 1 time in total.
Reason: Fixed link
Reason: Fixed link
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 111
- Joined: Sun Mar 22, 2020 9:36 pm
Re: 5 axis CNC Router/3d printer
Hi Tom, can you resend the first link. Does not want to connect.
George
George
- TomKerekes
- Posts: 2752
- Joined: Mon Dec 04, 2017 1:49 am