× Forum Header

Help with dual steppers on y axis and config

More
23 Jan 2016 04:25 #68953 by sandman92k
need some direction on how to configure linuxcnc to run two steppers for y axis, i have read through these forums and the manual and cant find what i am looking for

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

More
23 Jan 2016 10:59 - 23 Jan 2016 11:00 #68959 by andypugh

need some direction on how to configure linuxcnc to run two steppers for y axis,


This is partly because there are a number of different ways to do it.
In hardware you can wire the two motors in series (this is probably a bad idea) or parallel (also not a great idea)
In hardware you can take the step-dir wires to two drivers.

In software you can take the step pulses to two different sets of output pins.
in software you can send the motor position to two different step generators.
In software you can send the axis position to two different motor positions.

The last way is the most sophisticated, and the most difficult to set up, but does allow you to home both sides and auto-square.
The easiest way (and a way that does not require any hardware changes if you later decide on the last way) is to take the Y-stepgen step/dir signals to two sets of output pins. You can configure that way in Stepconf, see how Ystep and Ydir each go to two pins


Attachments:
Last edit: 23 Jan 2016 11:00 by andypugh.
The following user(s) said Thank You: sandman92k

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

More
23 Jan 2016 15:53 #68970 by sandman92k
first, thank you for clarifying this and including the information, i really and i mean really appreciate it.

one last question, do i config it as a xyz, or xyzw in the config settings. 3 or 4 axis?

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

More
23 Jan 2016 16:16 #68971 by andypugh
If you do it that way it is a 3-axis XYZ machine.

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

More
23 Jan 2016 20:07 #68994 by sandman92k
So i want to thank you again, I config this way making sure the parallel ports match, first try worked but the y axis were running in different direction, so i went back in and fixed that, it works and came alive.

So thank you very much for taking the time and doing this, i really appreciate the time you took.

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

More
23 Jan 2016 20:51 #68999 by andypugh
I should have anticipated the need to reverse an axis, the motors point in different directions.

If you later decide you want home switches on both sides for self-squaring then just ask.

In the meantime, enjoy making stuff.

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

More
24 Jan 2016 09:33 #69030 by Clive S

I should have anticipated the need to reverse an axis, the motors point in different directions.

If you later decide you want home switches on both sides for self-squaring then just ask.

In the meantime, enjoy making stuff.

Andy are you saying that homing and squaring dual axis is now doable !! :) Thanks

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

More
24 Jan 2016 11:46 - 24 Jan 2016 11:47 #69032 by Rick G

are you saying that homing and squaring dual axis is now doable !!

You will need to use gantrykins for that.

linuxcnc.org/docs/html/man/man9/gantrykins.9.html

Rick G
Last edit: 24 Jan 2016 11:47 by Rick G.

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

More
24 Jan 2016 12:37 #69034 by andypugh
Joints-axes and gentrivkins is likely to be better, but is quite a long way from standard.

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

More
25 Jan 2016 04:27 #69078 by Rick G

Joints-axes and gentrivkins is likely to be better, but is quite a long way from standard.

Yep, forgot to mention that.

Rick G

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

Time to create page: 0.100 seconds
Powered by Kunena Forum