axis double joints detach and atach
- fehim
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 2
13 Sep 2021 05:57 #220396
by fehim
axis double joints detach and atach was created by fehim
hello all,
My question is about two joint for one axis. We are controlling these joints like another axis as XYZU which need double X axis like XYZX. For G1 codes it is not problem but we can not use G2 codes with this application. We need to pull back joints according to the material's length and first joint should stay and second should move then vice versa. Have you any recommendation to solve this problem? Any help will be appreciated.
thank you
My question is about two joint for one axis. We are controlling these joints like another axis as XYZU which need double X axis like XYZX. For G1 codes it is not problem but we can not use G2 codes with this application. We need to pull back joints according to the material's length and first joint should stay and second should move then vice versa. Have you any recommendation to solve this problem? Any help will be appreciated.
thank you
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
13 Sep 2021 11:11 #220423
by tommylight
Replied by tommylight on topic axis double joints detach and atach
From version 2.8 onwards LinuxCNC can have many joints for the same axis, so you can have any combination of joints/axis.
What version are you using?
What version are you using?
Please Log in or Create an account to join the conversation.
- fehim
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 2
16 Sep 2021 07:18 #220772
by fehim
Replied by fehim on topic axis double joints detach and atach
We are using 2.7 and we do not have problem with multiple joints in one axis. They are moving together at the same time. But sometimes we want to detach these joints and moving them individually. For example, joint x1 and joint x2 gone 500 together, then I want to move x1 -300 and then x2 -300 respectively. Is it possible or any way to over with this problem?
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4023
- Thank you received: 1734
16 Sep 2021 08:29 #220775
by Aciera
linuxcnc.org/docs/devel/html/motion/switchkins.html
The initial motivation for this feature was to be able to switch between trivial and non-trivial kinematics. But you could also use it to switch, as an example, between x1yz and x2yz kinematic. You could even add a third more complex kinematic like (x1+x2)yz. The switching between kinematics can then be done inside a GCode program.
Replied by Aciera on topic axis double joints detach and atach
Maybe the new 'switchable kinematics' feature in the 'master' version could be helpful to you.We need to pull back joints according to the material's length and first joint should stay and second should move then vice versa.
linuxcnc.org/docs/devel/html/motion/switchkins.html
The initial motivation for this feature was to be able to switch between trivial and non-trivial kinematics. But you could also use it to switch, as an example, between x1yz and x2yz kinematic. You could even add a third more complex kinematic like (x1+x2)yz. The switching between kinematics can then be done inside a GCode program.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
16 Sep 2021 19:41 #220811
by Todd Zuercher
Replied by Todd Zuercher on topic axis double joints detach and atach
I've done something similar to this using only some complex hal trickery.
I have a couple of machines with two parallel Z axis, set up as Z and W. I wanted the ability to temporarily slave them together so I could run the machine as XYZZ (mostly because the new trajectory planner didn't work for W.) But I wanted to retain the ability to move each Z and W separately for homing and touching off and setting tool depth. So I set up the tools and set the Z and W offsets. Then start the milling file the Z and W move independently to a coordinated starting point above the material. A custom M-code is issued that slaves the W head to the Z axis and the file is ran using only XYZ commands. At the end of the file, another custom M-code unslaves the W axis and each head moves independently again back to their park positions at the top of their axis travels.
Here is a link to where I posted some example configurations for both step/dir and analog servos.
forum.linuxcnc.org/forum/38-general-linu...e-questions?start=20
I have a couple of machines with two parallel Z axis, set up as Z and W. I wanted the ability to temporarily slave them together so I could run the machine as XYZZ (mostly because the new trajectory planner didn't work for W.) But I wanted to retain the ability to move each Z and W separately for homing and touching off and setting tool depth. So I set up the tools and set the Z and W offsets. Then start the milling file the Z and W move independently to a coordinated starting point above the material. A custom M-code is issued that slaves the W head to the Z axis and the file is ran using only XYZ commands. At the end of the file, another custom M-code unslaves the W axis and each head moves independently again back to their park positions at the top of their axis travels.
Here is a link to where I posted some example configurations for both step/dir and analog servos.
forum.linuxcnc.org/forum/38-general-linu...e-questions?start=20
The following user(s) said Thank You: tommylight, Aciera
Please Log in or Create an account to join the conversation.
- fehim
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 2
17 Sep 2021 11:22 #220880
by fehim
Replied by fehim on topic axis double joints detach and atach
Thank you sir. I will try your advice
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds