Thanks: 0
Likes: 0
Needs Pictures: 0
Picture(s) thanks: 0
Results 1 to 15 of 20
Thread: Dual driving x axis setup
-
12th July 2012, 09:58 AM #1
Dual driving x axis setup
Can someone point me to the best way to drive my dual screw setup within Mach3 and my G540?
I suspect I would need to connect the "x axis" and "a axis" output to each motor. Does the a axis slave to the x axis some how in Mach and what do I need to consider in the motor settings?
I suspect I have to match on the following at least.
1. Ramp accel/decel
2. Steps
3. Polarity for rotation
Have I missed something?
On another note, has anyone tried the free screen set from calypso ventures. I read about this a while back and liked how he changed the screens to suit a better work flow. I have downloaded the latest version, but need to upgrade my Mach 3 version first so I haven't used it for producing anything. This is the STDmill screen, not the new turning screen, however I'll need this for my next project which is to get the cnc lathe I have up and running.
-
12th July 2012 09:58 AM # ADSGoogle Adsense Advertisement
- Join Date
- Always
- Location
- Advertising world
- Posts
- Many
-
12th July 2012, 12:16 PM #2GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
Hi Mike
Go Config Menu then Slave Axis.
Screen attached shows X axis slaved to A.
I set the same motor setting to each axis but Mach should be good enough to work it out if they vary.Cheers,
Rod
-
12th July 2012, 12:24 PM #3GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
Hi Mike,
You most likely will have to run the A motor backwards so first time you jog do it gently so the gantry doesn't do the splits.Cheers,
Rod
-
12th July 2012, 12:28 PM #4
thanks Rod,
I thought i could connect one side up and float the other side (ie not connect the block to the gantry side) for the first run. This would allow me to check the direction of travel of the connection block from the linear nut.
I was just looking at your Tubot photos online and noticed that you had an adjustment link from the screw nut plate to the gantry side. Did you need this fine adjustment to provide proper alignment between both sides of the gantry? I have noticed on my unit (still slightly out of square) that the left side hits just before the right side. I can try to take most of this out when i go over the unit and start to square it all up 100%, but should I incorporate some fine adjustment into the system just in case?
-
12th July 2012, 12:39 PM #5GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
-
12th July 2012, 12:53 PM #6
Ok, so i should look at adding the fine adjustment in so i can do the fine tuning too. I have added a couple of pictures showing the current setup. The screw will be covered up by a plate all the way along which i hope will keep all the crud off of it.
One photo shows the steel adaptor plates I made up, which now need to have a thread added in the side for the adjustment screw. I can use a lock nut and put a fixed block on the gantry to give me the fixing position for the bolt. More maching, yipee. Been having lots of fun lately making those adapter blocks.
-
12th July 2012, 01:05 PM #7GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
Hi Mike,
Nice work.
Square rails and extrusion should make it a strong machine. I enjoy the machining side of a build too.Cheers,
Rod
-
12th July 2012, 09:39 PM #8SENIOR MEMBER
- Join Date
- May 2005
- Location
- Cockatoo Vic
- Posts
- 996
During normal operation the slave just follows the master and the steps per, velocity and acceleration of the master is used. The tuning settings for the slave are ignored.
The gotcha is, when you home with dual home switches, Mach decouples the slaved axis and then uses the slaves tuning settings for that side.
This is when you will suddenly come unstuck if settings differ.
Greg
-
12th July 2012, 09:52 PM #9
So is it typical to run dual home switches for the X Axis? I would have thought that at some stage I would "slam the gantry" against the end stop to ensure alignment. From here on cant i just home to one switch and assume both sides are aligned?
I think i'm trying to get my head around how I would run/operate the machine over a period of time
/M
-
13th July 2012, 12:33 AM #10Bob Willson
The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.
-
13th July 2012, 10:26 AM #11GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
Hi Bob,
If you have a smoothstepper I am not surprised. I have not been able to get a repeatable homing on X/A with the smoothstepper.
Just a check have you set general config to "Home slave with master" - see attached.Cheers,
Rod
-
13th July 2012, 11:17 AM #12
Hi Rod
No smoothstepper yet. Not enough money yet.
Yes, I do have a tick to home them together. I just went downstairs and then unticked the box; turned off the power to the steppers and then purposely misaligned them; tried to get Mach to home both axis. This still failed, so I reticked the box and tried again - still no Mach realignment of both axis.
In the end, I had to turn the A and X axis back of, hand align them and then let Mach do its own thing - but it still only does the one axis.Bob Willson
The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.
-
13th July 2012, 11:20 AM #13Bob Willson
The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.
-
13th July 2012, 11:38 AM #14GOLD MEMBER
- Join Date
- May 2003
- Location
- Perth WA
- Posts
- 3,784
Mike/Bob
Yeah slamming the gantry is fun.
I think some of the readers took me seriously when I said this so to make it perfectly clear I really don't recommend doing this.Cheers,
Rod
-
13th July 2012, 01:11 PM #15SENIOR MEMBER
- Join Date
- May 2005
- Location
- Cockatoo Vic
- Posts
- 996
Lets call it "Auto Gantry Squaring" for want of a better name.
For this to work you need separate home switches on each side of the gantry, each with their own input pin.
Lets say we have B axis slaved to X axis. (keep A for your rotary axis)
When we issue a "DoOEMButton (1022)" command (ref X), as we do when referencing, this is what happens;
X and B move simultaneously toward the home switch. Hits X axis home switch and moves off the switch.
Then X remains still while B moves towards its home switch and then moves off the switch. This movement should be no more than a mm or so, depending on your switch setup.
That's how mine works. I find it reassuring to see that little dance.
Alternatively, we can use the "RefCombination(17)" command (ref X and B)
This will home both sides of the axis simultaneously. No little dance but still "Squares the Gantry". Still needs separate home switches.
Setting "Home Slave with Master Axis" disables "Auto Gantry Squaring" altogether and homes the axis as if it only had one home switch.
Note that all of the above is when using the LPT.
SmoothStepper does homing internally. And it seems every new firmware version has the homing method changed. This is why I don't use a SS on my router.
Greg
Similar Threads
-
Idiots Guide to Z axis setup in mach3
By pkowal in forum CNC MachinesReplies: 6Last Post: 19th September 2011, 07:51 PM -
Z axis
By Ch4iS in forum CNC MachinesReplies: 1Last Post: 20th August 2008, 12:43 PM -
Driving
By munruben in forum WOODIES JOKESReplies: 2Last Post: 21st July 2007, 10:55 PM -
I was out driving the other day
By simon c in forum WOODIES JOKESReplies: 10Last Post: 21st April 2005, 10:27 PM -
driving
By ken yates in forum WOODIES JOKESReplies: 0Last Post: 12th February 2002, 02:58 PM