Slave an axis

More
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!
The following user(s) said Thank You: rodw

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

More
15 Apr 2023 02:36 #269051 by rodw
Replied by rodw on topic Slave an axis

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

More
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.

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

More
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

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
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.

More
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
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
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.

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

More
15 Apr 2023 16:38 #269129 by FabLabRacing
Replied by FabLabRacing on topic Slave an axis
Version 2.8.4
I downloaded the ISO from this link:
www.linuxcnc.org/iso/linuxcnc-2.8.4-buster.iso

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

More
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

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

More
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
Powered by Kunena Forum