Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:17:28 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Homing slaved axis with a common switch
Pages: 1   Go Down
Print
Author Topic: Homing slaved axis with a common switch  (Read 575 times)
0 Members and 1 Guest are viewing this topic.
rrc1962
Active Member

Offline Offline

Posts: 434


View Profile
« on: November 07, 2010, 01:17:49 AM »

My current setup consists on a gantry with both sides driven through a drive shaft with one motor.  There are limit/home switches on all three axes.  They are all NC switches and connected in series.  Homing and limit functions work well and as expected.  I'm thinking about losing the drive shaft and going to 2 motors, so I'll have A slaved to X.  Ideally, I'd want to just add another switch to the A side of the gantry and wire it in series with all the others.  Will this work properly for homing the slaved axis or are two independent home switches needed?  What I'm after is for the gantry to square when it is homed.

One problem I can see is if X and A are homed together and the gantry is close to square,  X could hit first then A could hit before X has had a chance to back off it's switch... Or would A stop when the X switch makes contact, wait for X to back off then continue?  I'm low on inputs, so trying to figure out if this will work before making any machine changes...and trying to avoid the low tech method of squaring (Turning off machine and pushing the gantry against hard stops.)

Thanks


 
Logged
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« Reply #1 on: November 07, 2010, 02:03:46 AM »

For slaved axis homing you must have the two relevant home switches on separate inputs.

Greg
Logged
rrc1962
Active Member

Offline Offline

Posts: 434


View Profile
« Reply #2 on: November 07, 2010, 08:57:00 AM »

So could I just keep what I have, which is XYZ home and limits on one switch and just add an A home/limit on the other side of the gantry on it's own input?  That would separate the A switch from the rest of them.  That should work, right?  problem is that I only have one unused input, so I can't separate all of the home inputs.

Thanks
Logged
Fastest1
Active Member

Offline Offline

Posts: 443


Houston, TX



View Profile
« Reply #3 on: November 07, 2010, 09:39:11 AM »

You also have a change on the general logic configuration page, I think. Home Slave Master Axis needs to be checked. But I dont think the switches would work like you have it set up and just add 1 switch on another pin. Seems like it would put the gangtry well out of rack while homing. I could definitely be wrong.
Logged

I want to die in my sleep like my grandfather, not like the passengers in the car! :-)
ger21
Global Moderator
*
Offline Offline

Posts: 2,616



View Profile WWW
« Reply #4 on: November 07, 2010, 09:46:46 AM »

I could definitely be wrong.

Sorry, but you are.

Home Slave with Master should only be checked if using ONE Switch for two separate motors.

And yes, it should work if you just add one switch (with it's own input) to your existing setup. You may need to separate the XA homing from the Y (and Z), though. You'll need to test to be sure, although it should work fine as is.
Logged

rrc1962
Active Member

Offline Offline

Posts: 434


View Profile
« Reply #5 on: November 07, 2010, 11:07:11 AM »

Cool.   I figured I'd need change the referencing code to something like this...

DoButton( 24 )
DoButton( 23)
RefCombination( 9 )
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,616



View Profile WWW
« Reply #6 on: November 07, 2010, 02:32:14 PM »

Yes, homing the others first should work.
Logged

Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!