Slave an axis
- FabLabRacing
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
15 Apr 2023 01:23 #269047
by FabLabRacing
Slave an axis was created by FabLabRacing
So I am trying to setup LinuxCNC on a gantry style home built machine, and I don't understand how to slave an axis.
After a fair bit of searching, the only thing I found that seems to be an answer is from here:
forum.linuxcnc.org/49-basic-con ... xis-gantry
Is it really that complicated to slave a motor in LinuxCNC?
Thanks!
After a fair bit of searching, the only thing I found that seems to be an answer is from here:
forum.linuxcnc.org/49-basic-con ... xis-gantry
Is it really that complicated to slave a motor in LinuxCNC?
Thanks!
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11247
- Thank you received: 3758
15 Apr 2023 02:36 #269051
by rodw
Replied by rodw on topic Slave an axis
Its explained in detail here
linuxcnc.org/docs/2.9/html/config/ini-homing.html
linuxcnc.org/docs/2.9/html/config/ini-homing.html
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4947
15 Apr 2023 10:00 #269086
by andypugh
Replied by andypugh on topic Slave an axis
I can't get the link in the first post to work (I think it was probably copied in a truncated form)
Double-motor axes became much easier with LinuxCNC 2.8, and you should be careful of the data that forum posts were posted because of that. Ignore anything before September 2020.
The Stepconf and PncConf setup wizards both know how to set up a gantry. Just let them do it for you.
You should have an individual home-switch for each side of the ganttry to allow auto-squaring to work. These can't share a pin with each other, but can share with other axes.
Double-motor axes became much easier with LinuxCNC 2.8, and you should be careful of the data that forum posts were posted because of that. Ignore anything before September 2020.
The Stepconf and PncConf setup wizards both know how to set up a gantry. Just let them do it for you.
You should have an individual home-switch for each side of the ganttry to allow auto-squaring to work. These can't share a pin with each other, but can share with other axes.
Please Log in or Create an account to join the conversation.
- FabLabRacing
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
15 Apr 2023 14:43 #269111
by FabLabRacing
Replied by FabLabRacing on topic Slave an axis
When you say "The Stepconf and PncConf setup wizards both know how to set up a gantry. Just let them do it for you."
what do you mean that is what I was hoping I could do there is nothing there about slaving an axis.
Thanks
what do you mean that is what I was hoping I could do there is nothing there about slaving an axis.
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20211
- Thank you received: 6877
15 Apr 2023 16:20 #269120
by tommylight
Replied by tommylight on topic Slave an axis
In the wizards, choose normal axis for the first, and tandem axis for the second drive/motor of the gantry.
Please Log in or Create an account to join the conversation.
- FabLabRacing
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
15 Apr 2023 16:30 #269127
by FabLabRacing
Replied by FabLabRacing on topic Slave an axis
There is no normal or tandem choices in the stepconf wizard
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20211
- Thank you received: 6877
15 Apr 2023 16:32 #269128
by tommylight
Replied by tommylight on topic Slave an axis
What version ?
PncConf does that easily, have not used StepConf in quite some time, i am used to editing hal and ini files manually.
PncConf does that easily, have not used StepConf in quite some time, i am used to editing hal and ini files manually.
Please Log in or Create an account to join the conversation.
- FabLabRacing
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
15 Apr 2023 16:38 #269129
by FabLabRacing
Replied by FabLabRacing on topic Slave an axis
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4947
15 Apr 2023 18:14 #269138
by andypugh
Replied by andypugh on topic Slave an axis
Sorry, it looks like I was wrong. v2.9 has tandem axis setup included, but not v2.8.
(And 2.9 has not been released yet)
I don't know what the link that you posted originally points to, but you should ignore any mention of "gantrykins"
Make a 4-axis config and then look at this config to see what needs to change:
github.com/LinuxCNC/linuxcnc/blob/master...is/gantry/gantry.ini
github.com/LinuxCNC/linuxcnc/blob/master...gantry/gantry_mm.hal
(And 2.9 has not been released yet)
I don't know what the link that you posted originally points to, but you should ignore any mention of "gantrykins"
Make a 4-axis config and then look at this config to see what needs to change:
github.com/LinuxCNC/linuxcnc/blob/master...is/gantry/gantry.ini
github.com/LinuxCNC/linuxcnc/blob/master...gantry/gantry_mm.hal
Please Log in or Create an account to join the conversation.
- FabLabRacing
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
16 Apr 2023 20:26 #269232
by FabLabRacing
Replied by FabLabRacing on topic Slave an axis
Thank you, those example configs were a big help & did manage to get it working today
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds