× Forum Header

Help with dual steppers on y axis and config

More
23 Jan 2016 04:25 #68953 by sandman92k
sandman92k created the topic: Help with dual steppers on y axis and config
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
More
23 Jan 2016 10:59 - 23 Jan 2016 11:00 #68959 by andypugh
andypugh replied the topic: Help with dual steppers on y axis and config

sandman92k wrote: 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
More
23 Jan 2016 15:53 #68970 by sandman92k
sandman92k replied the topic: Help with dual steppers on y axis and config
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?
More
23 Jan 2016 16:16 #68971 by andypugh
andypugh replied the topic: Help with dual steppers on y axis and config
If you do it that way it is a 3-axis XYZ machine.
More
23 Jan 2016 20:07 #68994 by sandman92k
sandman92k replied the topic: Help with dual steppers on y axis and config
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.
More
23 Jan 2016 20:51 #68999 by andypugh
andypugh replied the topic: Help with dual steppers on y axis and config
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.
More
24 Jan 2016 09:33 #69030 by Clive s
Clive s replied the topic: Help with dual steppers on y axis and config

andypugh wrote: 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
More
24 Jan 2016 11:46 - 24 Jan 2016 11:47 #69032 by Rick G
Rick G replied the topic: Help with dual steppers on y axis and config

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.
More
24 Jan 2016 12:37 #69034 by andypugh
andypugh replied the topic: Help with dual steppers on y axis and config
Joints-axes and gentrivkins is likely to be better, but is quite a long way from standard.
More
25 Jan 2016 04:27 #69078 by Rick G
Rick G replied the topic: Help with dual steppers on y axis and config

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

Yep, forgot to mention that.

Rick G
Time to create page: 0.092 seconds
Powered by Kunena Forum